Skip to contentSkip to conversation

ts-kernel-build: add kernel kconfig for the Arndale

OSSTEST Luca Fancellu 4 participants 6 messages Jul 21, 2023 – Jul 24, 2023

lore
Share & tools
lore
#0 lore raw

The Linux commit 33629d35090f5ce2b1b4ce78aa39954c603536d5 has removed the 'snps,dwc-ahci' compatible from the generic AHCI-platform driver control module selected by CONFIG_SATA_AHCI_PLATFORM.

A new driver, the DWC AHCI SATA platform driver is now implemented and handles the above compatible when CONFIG_AHCI_DWC is selected.

The module is needed for the Arndale board to have the SATA controller working, so enable the CONFIG_AHCI_DWC as additional kconfig parameter in ts-kernel-build.

---
Tested successfully on:
- arndale-lakeside
- arndale-metrocentre
- arndale-westfield

arndale-bluewater must have some HW issue, don't have much more info ATM.

---
 ts-kernel-build | 1 +
 1 file changed, 1 insertion(+)
ts-kernel-build +1 -0
index 6c8f1d6a..73104874 100755
@@ -245,6 +245,7 @@ setopt CONFIG_SENSORS_LM90 n
 setopt CONFIG_ICS932S401 n
 
 # Enable some additional drivers for Arndale.
+setopt CONFIG_AHCI_DWC y
 setopt CONFIG_PHY_EXYNOS5250_SATA m
 setopt CONFIG_USB_EHCI_EXYNOS m
 setopt CONFIG_USB_OHCI_EXYNOS m
Signature · 1 line
2.20.1
#1 lore raw
Quoted 5 lines · Luca Fancellu

The Linux commit 33629d35090f5ce2b1b4ce78aa39954c603536d5 has removed the 'snps,dwc-ahci' compatible from the generic AHCI-platform driver control module selected by CONFIG_SATA_AHCI_PLATFORM.

Quoted 8 lines

A new driver, the DWC AHCI SATA platform driver is now implemented and handles the above compatible when CONFIG_AHCI_DWC is selected.

The module is needed for the Arndale board to have the SATA controller working, so enable the CONFIG_AHCI_DWC as additional kconfig parameter in ts-kernel-build.

Quoted 16 lines

---
Tested successfully on:
- arndale-lakeside
- arndale-metrocentre
- arndale-westfield

arndale-bluewater must have some HW issue, don't have much more info ATM.

---
 ts-kernel-build | 1 +
 1 file changed, 1 insertion(+)
ts-kernel-build +0 -0
index 6c8f1d6a..73104874 100755

ts-kernel-build setopt CONFIG_SENSORS_LM90 n · line 248

Quoted 4 lines
ts-kernel-build +1 -0
@@ -245,6 +245,7 @@ setopt CONFIG_SENSORS_LM90 n
 setopt CONFIG_ICS932S401 n
 
 # Enable some additional drivers for Arndale.
+setopt CONFIG_AHCI_DWC y

I would have added at the bottom of the Arndale list, but it's easier for context to see it belongs in the Arndale section.

Thanks, Roger.

#2 lore raw
In reply to Luca Fancellu
Quoted 11 lines · Luca Fancellu

The Linux commit 33629d35090f5ce2b1b4ce78aa39954c603536d5 has removed the 'snps,dwc-ahci' compatible from the generic AHCI-platform driver control module selected by CONFIG_SATA_AHCI_PLATFORM.

A new driver, the DWC AHCI SATA platform driver is now implemented and handles the above compatible when CONFIG_AHCI_DWC is selected.

The module is needed for the Arndale board to have the SATA controller working, so enable the CONFIG_AHCI_DWC as additional kconfig parameter in ts-kernel-build.

Largely out of curiosity: Since you say "module" here, ...

ts-kernel-build setopt CONFIG_SENSORS_LM90 n · line 248

Quoted 7 lines
ts-kernel-build +1 -0
@@ -245,6 +245,7 @@ setopt CONFIG_SENSORS_LM90 n
 setopt CONFIG_ICS932S401 n
 
 # Enable some additional drivers for Arndale.
+setopt CONFIG_AHCI_DWC y

... does it really need to be y (and not m) here?

Jan

#3 lore raw
Quoted 10 lines · Jan Beulich
Quoted 5 lines · Luca Fancellu

The Linux commit 33629d35090f5ce2b1b4ce78aa39954c603536d5 has removed the 'snps,dwc-ahci' compatible from the generic AHCI-platform driver control module selected by CONFIG_SATA_AHCI_PLATFORM.

Quoted 6 lines
Quoted 6 lines

A new driver, the DWC AHCI SATA platform driver is now implemented and handles the above compatible when CONFIG_AHCI_DWC is selected.

The module is needed for the Arndale board to have the SATA controller working, so enable the CONFIG_AHCI_DWC as additional kconfig parameter in ts-kernel-build.

Hi Jan,

Quoted 8 lines

Largely out of curiosity: Since you say "module" here, ...

Quoted 5 lines
ts-kernel-build +0 -0
@@ -245,6 +245,7 @@ setopt CONFIG_SENSORS_LM90 n

setopt CONFIG_ICS932S401 n

Quoted 4 lines
Quoted 2 lines

# Enable some additional drivers for Arndale.
+setopt CONFIG_AHCI_DWC y

... does it really need to be y (and not m) here?

I didn’t try with m before because I was unsure where the kernel module were put (in the disk? But then we need to read it), but now I did a try with ‘m’ and it works, so I guess the module are put in some ramdisk instead of the disk we want to read.

Thanks for pointing that out.

@Roger, is it possible to change it on commit or should I send a v2?

Cheers,
Luca

Quoted 2 lines

Jan

#4 lore raw
Quoted 12 lines · Luca Fancellu
Quoted 11 lines · Jan Beulich
Quoted 7 lines · Luca Fancellu
ts-kernel-build +0 -0
@@ -245,6 +245,7 @@ setopt CONFIG_SENSORS_LM90 n

setopt CONFIG_ICS932S401 n

# Enable some additional drivers for Arndale.
+setopt CONFIG_AHCI_DWC y

... does it really need to be y (and not m) here?

Quoted 6 lines

I didn’t try with m before because I was unsure where the kernel module were put (in the disk? But then we need to read it), but now I did a try with ‘m’ and it works, so I guess the module are put in some ramdisk instead of the disk we want to read.

Thanks for pointing that out.

@Roger, is it possible to change it on commit or should I send a v2?

I've pushed the patch to "pretest" with this modification.

If osstest is happy with the patch (that is no regression with a "xen-unstable" flight), it will be committed.

Thanks,

Signature · 1 line
Anthony PERARD
#5 lore raw
Quoted 17 lines · Anthony PERARD
Quoted 12 lines · Luca Fancellu
Quoted 11 lines · Jan Beulich
Quoted 7 lines · Luca Fancellu
ts-kernel-build +0 -0
@@ -245,6 +245,7 @@ setopt CONFIG_SENSORS_LM90 n

setopt CONFIG_ICS932S401 n

# Enable some additional drivers for Arndale.
+setopt CONFIG_AHCI_DWC y

... does it really need to be y (and not m) here?

Quoted 8 lines
Quoted 6 lines

I didn’t try with m before because I was unsure where the kernel module were put (in the disk? But then we need to read it), but now I did a try with ‘m’ and it works, so I guess the module are put in some ramdisk instead of the disk we want to read.

Thanks for pointing that out.

@Roger, is it possible to change it on commit or should I send a v2?

I've pushed the patch to "pretest" with this modification.

Thanks Anthony

Quoted 3 lines

If osstest is happy with the patch (that is no regression with a "xen-unstable" flight), it will be committed.

Fingers crossed

Cheers,
Luca

Quoted 5 lines

Thanks,

Signature · 1 line
Anthony PERARD