* [PATCH v1 1/1] ACPI: LPSS: Remove AudioDSP related ID
@ 2025-06-25 17:21 Andy Shevchenko
2025-06-26 7:54 ` Cezary Rojewski
0 siblings, 1 reply; 3+ messages in thread
From: Andy Shevchenko @ 2025-06-25 17:21 UTC (permalink / raw)
To: linux-acpi, linux-kernel
Cc: Rafael J. Wysocki, Len Brown, Cezary Rojewski, Andy Shevchenko
The AudioDSP drivers are in control for all functions of the hardware
they have (they are multi-functional devices). The LPSS driver prepares
for enumeration only single devices, such as DMA, UART, SPI, I²C. Hence
the registration of AudioDSP should not be covered. Moreover, the very
same ACPI _HID has been added by the catpt driver a few years ago.
And even more serious issue with this, is that the register window at
offset 0x800 is actually D-SRAM0 in case of AudioDSP and writing to it
is a data corruption.
That all being said, remove the AudioDSP ID from the LPSS driver,
where it doesn't belong to.
Fixes: fb94b7b11c6a ("ASoC: Intel: Remove SST firmware components")
Fixes: 05668be1b364 ("ASoC: Intel: Remove SST ACPI component")
Fixes: 7a10b66a5df9 ("ASoC: Intel: catpt: Device driver lifecycle")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/acpi/x86/lpss.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/acpi/x86/lpss.c b/drivers/acpi/x86/lpss.c
index 258440b899a9..6daa6372f980 100644
--- a/drivers/acpi/x86/lpss.c
+++ b/drivers/acpi/x86/lpss.c
@@ -387,9 +387,6 @@ static const struct acpi_device_id acpi_lpss_device_ids[] = {
{ "INT3435", LPSS_ADDR(lpt_uart_dev_desc) },
{ "INT3436", LPSS_ADDR(lpt_sdio_dev_desc) },
- /* Wildcat Point LPSS devices */
- { "INT3438", LPSS_ADDR(lpt_spi_dev_desc) },
-
{ }
};
--
2.47.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] ACPI: LPSS: Remove AudioDSP related ID
2025-06-25 17:21 [PATCH v1 1/1] ACPI: LPSS: Remove AudioDSP related ID Andy Shevchenko
@ 2025-06-26 7:54 ` Cezary Rojewski
2025-06-26 13:24 ` Andy Shevchenko
0 siblings, 1 reply; 3+ messages in thread
From: Cezary Rojewski @ 2025-06-26 7:54 UTC (permalink / raw)
To: Andy Shevchenko; +Cc: Rafael J. Wysocki, Len Brown, linux-acpi, linux-kernel
On 2025-06-25 7:21 PM, Andy Shevchenko wrote:
> The AudioDSP drivers are in control for all functions of the hardware
> they have (they are multi-functional devices). The LPSS driver prepares
> for enumeration only single devices, such as DMA, UART, SPI, I²C. Hence
> the registration of AudioDSP should not be covered. Moreover, the very
> same ACPI _HID has been added by the catpt driver a few years ago.
>
> And even more serious issue with this, is that the register window at
> offset 0x800 is actually D-SRAM0 in case of AudioDSP and writing to it
> is a data corruption.
>
> That all being said, remove the AudioDSP ID from the LPSS driver,
> where it doesn't belong to.
>
> Fixes: fb94b7b11c6a ("ASoC: Intel: Remove SST firmware components")
> Fixes: 05668be1b364 ("ASoC: Intel: Remove SST ACPI component")
> Fixes: 7a10b66a5df9 ("ASoC: Intel: catpt: Device driver lifecycle")
Hi Andy,
A nitpick:
The fixes tags used here seem incorrect. The catpt-driver replaced its
predecessor (the haswell driver) providing no interface changes. Usage
of INT3438 ID has been introduced with commit c2f8783fa2d0 ("ASoC:
Intel: Add common SST driver loader on ACPI systems"), if that's what
you have been looking for.
In regard to the code - the change has been reviewed by me and tested in
our CI, no regression on the audio side observed:
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Tested-by: Cezary Rojewski <cezary.rojewski@intel.com>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
> drivers/acpi/x86/lpss.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/drivers/acpi/x86/lpss.c b/drivers/acpi/x86/lpss.c
> index 258440b899a9..6daa6372f980 100644
> --- a/drivers/acpi/x86/lpss.c
> +++ b/drivers/acpi/x86/lpss.c
> @@ -387,9 +387,6 @@ static const struct acpi_device_id acpi_lpss_device_ids[] = {
> { "INT3435", LPSS_ADDR(lpt_uart_dev_desc) },
> { "INT3436", LPSS_ADDR(lpt_sdio_dev_desc) },
>
> - /* Wildcat Point LPSS devices */
> - { "INT3438", LPSS_ADDR(lpt_spi_dev_desc) },
> -
> { }
> };
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] ACPI: LPSS: Remove AudioDSP related ID
2025-06-26 7:54 ` Cezary Rojewski
@ 2025-06-26 13:24 ` Andy Shevchenko
0 siblings, 0 replies; 3+ messages in thread
From: Andy Shevchenko @ 2025-06-26 13:24 UTC (permalink / raw)
To: Cezary Rojewski; +Cc: Rafael J. Wysocki, Len Brown, linux-acpi, linux-kernel
On Thu, Jun 26, 2025 at 09:54:21AM +0200, Cezary Rojewski wrote:
> On 2025-06-25 7:21 PM, Andy Shevchenko wrote:
> > The AudioDSP drivers are in control for all functions of the hardware
> > they have (they are multi-functional devices). The LPSS driver prepares
> > for enumeration only single devices, such as DMA, UART, SPI, I²C. Hence
> > the registration of AudioDSP should not be covered. Moreover, the very
> > same ACPI _HID has been added by the catpt driver a few years ago.
> >
> > And even more serious issue with this, is that the register window at
> > offset 0x800 is actually D-SRAM0 in case of AudioDSP and writing to it
> > is a data corruption.
> >
> > That all being said, remove the AudioDSP ID from the LPSS driver,
> > where it doesn't belong to.
> >
> > Fixes: fb94b7b11c6a ("ASoC: Intel: Remove SST firmware components")
> > Fixes: 05668be1b364 ("ASoC: Intel: Remove SST ACPI component")
> > Fixes: 7a10b66a5df9 ("ASoC: Intel: catpt: Device driver lifecycle")
>
> Hi Andy,
>
> A nitpick:
>
> The fixes tags used here seem incorrect. The catpt-driver replaced its
> predecessor (the haswell driver) providing no interface changes. Usage of
> INT3438 ID has been introduced with commit c2f8783fa2d0 ("ASoC: Intel: Add
> common SST driver loader on ACPI systems"), if that's what you have been
> looking for.
Okay, thanks for a hint. I will use that in v2.
> In regard to the code - the change has been reviewed by me and tested in our
> CI, no regression on the audio side observed:
>
> Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
> Tested-by: Cezary Rojewski <cezary.rojewski@intel.com>
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-06-26 13:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-25 17:21 [PATCH v1 1/1] ACPI: LPSS: Remove AudioDSP related ID Andy Shevchenko
2025-06-26 7:54 ` Cezary Rojewski
2025-06-26 13:24 ` Andy Shevchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox