summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorAhsan Atta <ahsan.atta@intel.com>2026-05-13 18:16:56 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2026-05-22 15:25:29 +0300
commite5712ff82947dd02d118cee119ed36cec671d814 (patch)
tree55459678712dc405895c6a38d5a62384e3ecc2a3 /scripts/cleanpatch
parent6931835f2fdd0cb9b1c7791748d7e67d0749056a (diff)
downloadlinux-e5712ff82947dd02d118cee119ed36cec671d814.tar.xz
crypto: qat - centralize bus master enable
QAT driver currently toggles PCI bus mastering in multiple places (probe paths, and reset callbacks). This makes BME state depend on call ordering and on what PCI command bits were captured in saved PCI config state. Make BME control explicit and deterministic: - remove pci_set_master() from device-specific probe paths - add adf_set_bme() and call it from adf_dev_init() so BME is enabled at one point before device bring-up - drop redundant pci_set_master() and pci_clear_master from adf_aer.c and rely on the unified init path for BME enablement This is in preparation for adding reset_prepare() and reset_done() hooks. In the PCI reset callback flow, the PCI core saves and restores device configuration state around reset_prepare() and reset_done(). This change is needed to ensure that we are able to properly shutdown or reinitialize the device post sysfs triggered resets. Cc: stable@vger.kernel.org Signed-off-by: Ahsan Atta <ahsan.atta@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Suggested-by: Andy Shevchenko <andriy.shevchenko@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions