libata fixes for 5.16-rc2
Linus,
The following changes since commit fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf:
Linux 5.16-rc1 (2021-11-14 13:56:52 -0800)
are available in the Git repository at:
ssh://[email protected]/pub/scm/linux/kernel/git/dlemoal/libata tags/libata-5.16-rc2
for you to fetch changes up to 6873c30c1b797997f302fe1707bee9a7f247dfe2:
sata_fsl: fix warning in remove_proc_entry when rmmod sata_fsl (2021-11-19 13:57:18 +0900)
----------------------------------------------------------------
libata fixes for 5.16-rc2
* Prevent accesses to unsupported log pages as that causes device scan failures with LLDDs using libsas (from me).
* A couple of fixes for AMD AHCI adapters handling of low power modes and resume (from Mario).
* Fix a compilation warning (from me).
* Fix sata_fsl driver problems on PPC64 (from Baokun).
----------------------------------------------------------------
Baokun Li (2):
sata_fsl: fix UAF in sata_fsl_port_stop when rmmod sata_fsl
sata_fsl: fix warning in remove_proc_entry when rmmod sata_fsl
Damien Le Moal (3):
ata: libata: improve ata_read_log_page() error message
ata: libata: add missing ata_identify_page_supported() calls
ata: libata-sata: Declare ata_ncq_sdev_attrs static
Mario Limonciello (2):
ata: ahci: Add Green Sardine vendor ID as board_ahci_mobile
ata: libahci: Adjust behavior when StorageD3Enable _DSD is set
drivers/ata/ahci.c | 1 + drivers/ata/libahci.c | 15 +++++++++++++++ drivers/ata/libata-core.c | 11 ++++++++--- drivers/ata/libata-sata.c | 2 +- drivers/ata/sata_fsl.c | 21 +++++++++++++++------ 5 files changed, 40 insertions(+), 10 deletions(-)
Hello!
Quoted 24 lines · Damien Le Moal
Linus,
The following changes since commit
fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf:Linux 5.16-rc1 (2021-11-14 13:56:52 -0800)are available in the Git repository at:
ssh://[email protected]/pub/scm/linux/kernel/git/dlemoal/libata tags/libata-5.16-rc2
for you to fetch changes up to
6873c30c1b797997f302fe1707bee9a7f247dfe2:sata_fsl: fix warning in remove_proc_entry when rmmod sata_fsl (2021-11-19 13:57:18 +0900)----------------------------------------------------------------
libata fixes for 5.16-rc2* Prevent accesses to unsupported log pages as that causes device scan failures with LLDDs using libsas (from me).
* A couple of fixes for AMD AHCI adapters handling of low power modes and resume (from Mario).
* Fix a compilation warning (from me).
* Fixsata_fsldriver problems on PPC64 (from Baokun).
Quoted 5 lines
----------------------------------------------------------------
Baokun Li (2):
sata_fsl: fix UAF insata_fsl_port_stopwhen rmmodsata_fsl
sata_fsl: fix warning inremove_proc_entrywhen rmmodsata_fsl
At least this one needs fixing! You were too fast at merging... :-/ Well, I guess this will need a follow-up fix now...
[...]
MBR, Sergey
Quoted 7 lines · Sergei Shtylyov
Quoted 3 lines · Damien Le Moal
Baokun Li (2):
sata_fsl: fix UAF insata_fsl_port_stopwhen rmmodsata_fsl
sata_fsl: fix warning inremove_proc_entrywhen rmmodsata_fslAt least this one needs fixing! You were too fast at merging... :-/ Well, I guess this will need a follow-up fix now...
Hmm. I'm missing the context, but considering this note I have skipped this libata pull request.
Damien?
Linus
Quoted 10 lines · Linus Torvalds
Quoted 7 lines · Damien Le Moal
Quoted 3 lines
Baokun Li (2):
sata_fsl: fix UAF insata_fsl_port_stopwhen rmmodsata_fsl
sata_fsl: fix warning inremove_proc_entrywhen rmmodsata_fslAt least this one needs fixing! You were too fast at merging... :-/ Well, I guess this will need a follow-up fix now...
Hmm. I'm missing the context, but considering this note I have skipped this libata pull request.
The patch replaced irq_of_parse_and_map() with platform_get_irq() but
didn't update the error check from (!irq) to (irq < 0)... Quite frequent mistake in the past; it actually helps if you look at the function itself before starting to use it. :-)
[...]
MBR, Sergei
Quoted 7 lines · Linus Torvalds
Quoted 5 lines · Sergei Shtylyov
Quoted 3 lines · Damien Le Moal
Baokun Li (2):
sata_fsl: fix UAF insata_fsl_port_stopwhen rmmodsata_fsl
sata_fsl: fix warning inremove_proc_entrywhen rmmodsata_fsl
Quoted 7 lines
Quoted 2 lines
At least this one needs fixing! You were too fast at merging... :-/ Well, I guess this will need a follow-up fix now...
Hmm. I'm missing the context, but considering this note I have skipped this libata pull request.
Damien?
My apologies about that. I am going to update the PR and resend. The read log patches need to go in. Without them, some drives fail to be detected at boot time with some HBAs.
Quoted 3 lines
Linus
Signature · 2 lines
Damien Le Moal Western Digital Research
Quoted 28 lines · Sergei Shtylyov
Hello!
Quoted 24 lines · Damien Le Moal
Linus,
The following changes since commit
fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf:Linux 5.16-rc1 (2021-11-14 13:56:52 -0800)are available in the Git repository at:
ssh://[email protected]/pub/scm/linux/kernel/git/dlemoal/libata tags/libata-5.16-rc2
for you to fetch changes up to
6873c30c1b797997f302fe1707bee9a7f247dfe2:sata_fsl: fix warning in remove_proc_entry when rmmod sata_fsl (2021-11-19 13:57:18 +0900)----------------------------------------------------------------
libata fixes for 5.16-rc2* Prevent accesses to unsupported log pages as that causes device scan failures with LLDDs using libsas (from me).
* A couple of fixes for AMD AHCI adapters handling of low power modes and resume (from Mario).
* Fix a compilation warning (from me).
* Fixsata_fsldriver problems on PPC64 (from Baokun).
Quoted 7 lines
Quoted 5 lines
----------------------------------------------------------------
Baokun Li (2):
sata_fsl: fix UAF insata_fsl_port_stopwhen rmmodsata_fsl
sata_fsl: fix warning inremove_proc_entrywhen rmmodsata_fslAt least this one needs fixing! You were too fast at merging... :-/
Arg... And I did read about that function to check before applying the patch. But I missed the error check. I am going to drop these patches for now. They can go into rc3 after fixing.
Quoted 1 line
Well, I guess this will need a follow-up fix now...
I will request a V2 to the author so that it gets tested (I do not have that hardware, so I cannot test myself).
Quoted 5 lines
[...]
MBR, Sergey
Signature · 2 lines
Damien Le Moal Western Digital Research