5.4.78, 5.9.9

This commit is contained in:
Tk-Glitch 2020-11-18 23:38:12 +01:00
parent 902391bb45
commit 4818f69efa
3 changed files with 5 additions and 52 deletions

View File

@ -91,7 +91,7 @@ case $_basever in
0012-linux-hardened.patch 0012-linux-hardened.patch
) )
sha256sums=('bf338980b1670bca287f9994b7441c2361907635879169c64ae78364efc5f491' sha256sums=('bf338980b1670bca287f9994b7441c2361907635879169c64ae78364efc5f491'
'0b63a75f07f235a895438f8483ed38509e2b60f43ec2b91dc19e01828a33a930' 'daf11c33fa8a53a06b7e9a2ff5ba30e5104f18b8e1e19bc9672fb07085bcc2d8'
'27b7fc535ade94b636c3ec4e809e141831e9465a0ef55215a9852b87048629e2' '27b7fc535ade94b636c3ec4e809e141831e9465a0ef55215a9852b87048629e2'
'55dd5117c1da17c9ec38d7bc995958958bcc8b7ebcfd81de1d4c7650b85537ab' '55dd5117c1da17c9ec38d7bc995958958bcc8b7ebcfd81de1d4c7650b85537ab'
'1f4a20d6eaaa0d969af93152a65191492400c6aa838fc1c290b0dd29bb6019d8' '1f4a20d6eaaa0d969af93152a65191492400c6aa838fc1c290b0dd29bb6019d8'
@ -260,14 +260,14 @@ case $_basever in
0012-misc-additions.patch 0012-misc-additions.patch
) )
sha256sums=('3239a4ee1250bf2048be988cc8cb46c487b2c8a0de5b1b032d38394d5c6b1a06' sha256sums=('3239a4ee1250bf2048be988cc8cb46c487b2c8a0de5b1b032d38394d5c6b1a06'
'e7f7801ee9c422ddea719a19c91c22dd392c0707fb9116aa3fb10c5125fc5b95' '7f548412d23162565f028006cb7bf949a641571ce789ce2fa66e3361d39cabe0'
'126cd35b1153b69dd8d713f902d09ecc64ce8af2e4fa6f021219a65e62e13875' '126cd35b1153b69dd8d713f902d09ecc64ce8af2e4fa6f021219a65e62e13875'
'958333f18de79c19ccf9eccb4e16e2a217a0619a1d96c2c65ccba23628815bab' '958333f18de79c19ccf9eccb4e16e2a217a0619a1d96c2c65ccba23628815bab'
'1e15fc2ef3fa770217ecc63a220e5df2ddbcf3295eb4a021171e7edd4c6cc898' '1e15fc2ef3fa770217ecc63a220e5df2ddbcf3295eb4a021171e7edd4c6cc898'
'66a03c246037451a77b4d448565b1d7e9368270c7d02872fbd0b5d024ed0a997' '66a03c246037451a77b4d448565b1d7e9368270c7d02872fbd0b5d024ed0a997'
'f6383abef027fd9a430fd33415355e0df492cdc3c90e9938bf2d98f4f63b32e6' 'f6383abef027fd9a430fd33415355e0df492cdc3c90e9938bf2d98f4f63b32e6'
'35a7cde86fb94939c0f25a62b8c47f3de0dbd3c65f876f460b263181b3e92fc0' '35a7cde86fb94939c0f25a62b8c47f3de0dbd3c65f876f460b263181b3e92fc0'
'fe13aa1ab002ebdb85569d892a7cf6c9bb60b5d0412c10c76914efaebfd89e2e' '902885088ed0748e40372e04a8ec11adf5acf3d935abffc6737dd9e6ec13bb93'
'7058e57fd68367b029adc77f2a82928f1433daaf02c8c279cb2d13556c8804d7' '7058e57fd68367b029adc77f2a82928f1433daaf02c8c279cb2d13556c8804d7'
'c605f638d74c61861ebdc36ebd4cb8b6475eae2f6273e1ccb2bbb3e10a2ec3fe' 'c605f638d74c61861ebdc36ebd4cb8b6475eae2f6273e1ccb2bbb3e10a2ec3fe'
'2bbbac963b6ca44ef3f8a71ec7c5cad7d66df860869a73059087ee236775970a' '2bbbac963b6ca44ef3f8a71ec7c5cad7d66df860869a73059087ee236775970a'

View File

@ -1,9 +1,9 @@
#!/bin/bash #!/bin/bash
ver54=77 ver54=78
ver57=19 ver57=19
ver58=18 ver58=18
ver59=8 ver59=9
ver510=rc4 ver510=rc4
_tkg_initscript() { _tkg_initscript() {

View File

@ -767,50 +767,3 @@ index 6f12bab4d2fa..610ed0817bd7 100644
hci_find_irk_by_addr(hdev, &b->bdaddr, b->bdaddr_type)) { hci_find_irk_by_addr(hdev, &b->bdaddr, b->bdaddr_type)) {
return 0x00; return 0x00;
} }
From: Rajat Jain <rajatja@google.com>
Subject: [PATCH] PCI: Always call pci_enable_acs() regardless of pdev->acs_cap
Date: Wed, 28 Oct 2020 16:15:45 -0700
Some devices may have have anomalies with the ACS cpability structure,
and they may be using quirks to support ACS functionality via other
registers. For such devices, it is important we always call
pci_enable_acs() to give the quirks a chance to enable ACS in other ways.
For Eg:
There seems a class of Intel devices quirked with *_intel_pch_acs_*
functions, that do not expose the standard ACS capability structure. But
these quirks help support ACS on these devices using other registers:
pci_quirk_enable_intel_pch_acs() -> doesn't use acs_cap to enable ACS
This has already been taken care of in the quirks, in the other direction
i.e. when checking if the ACS is enabled or not. So no need to do
anything there.
Reported-by: Boris V <borisvk@bstnet.org>
Fixes: 52fbf5bdeeef ("PCI: Cache ACS capability offset in device")
Signed-off-by: Rajat Jain <rajatja@google.com>
---
drivers/pci/pci.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 6d4d5a2f923d..ab398226c55e 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -3516,8 +3516,13 @@ void pci_acs_init(struct pci_dev *dev)
{
dev->acs_cap = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_ACS);
- if (dev->acs_cap)
- pci_enable_acs(dev);
+ /*
+ * Attempt to enable ACS regardless of capability because some rootports
+ * (e.g. the ones quirked with *_intel_pch_acs_*) may not expose
+ * standard rootport capability structure, but still may support ACS via
+ * those quirks.
+ */
+ pci_enable_acs(dev);
}
/**