All of lore.kernel.org
 help / color / mirror / Atom feed
* ARM juno R2 board USB Issue (EHCI probe failed)
@ 2016-09-27  7:03 ` Sajjan, Vikas C
  0 siblings, 0 replies; 20+ messages in thread
From: Sajjan, Vikas C @ 2016-09-27  7:03 UTC (permalink / raw)
  To: linux-arm-kernel, linux-acpi
  Cc: mark.rutland, lorenzo.pieralisi, Sudeep Holla

Hi All,

I working on ARM juno R2 board, with latest kernel 4.8.rc7 and I get below USB EHCI probe error while booting with acpi=force. 

EFI stub: Booting Linux Kernel...
ConvertPages: Incompatible memory types
EFI stub: Using DTB from command line
EFI stub: Exiting boot services and installing virtual address map...
[    0.000000] Booting Linux on physical CPU 0x100
[    0.000000] Linux version 4.8.0-rc7-00142-gb1f2beb (vikas@dctxvm241) (gcc version 4.8.3 20140401 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro GCC 4.8-2014.04) ) #48 SMP PREEMPT Mon Sep 26 15:31:48 IST 2016
[    0.000000] Boot CPU: AArch64 Processor [410fd033]
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: EFI v2.50 by ARM Juno EFI Oct 15 2015 14:16:39
[    0.000000] efi:  ACPI=0xfe750000  ACPI 2.0=0xfe750014  PROP=0xfe794370 
[    0.000000] cma: Reserved 16 MiB at 0x00000000fd400000
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000FE750014 000024 (v02 ARMLTD)
[    0.000000] ACPI: XSDT 0x00000000FE7400E8 00003C (v01 ARMLTD ARM-JUNO 20140727      01000013)
[    0.000000] ACPI: FACP 0x00000000FE720000 00010C (v05 ARMLTD ARM-JUNO 20140727 ARM  00000099)
[    0.000000] ACPI: DSDT 0x00000000FE6F0000 000317 (v01 ARMLTD ARM-JUNO 20140727 INTL 20140214)
[    0.000000] ACPI: GTDT 0x00000000FE710000 000060 (v02 ARMLTD ARM-JUNO 20140727 ARM  00000099)
[    0.000000] ACPI: APIC 0x00000000FE700000 000224 (v01 ARMLTD ARM-JUNO 20140727 ARM  00000099)
[    0.000000] psci: probing for conduit method from ACPI.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] percpu: Embedded 21 pages/cpu @ffff80097feb8000 s47488 r8192 d30336 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 2060048
[    0.000000] Kernel command line: dtb=board.dtb initrd=ramdisk.img console=ttyAMA0,115200 acpi=force root=/dev/sda1
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 20480 bytes
. .  . . . .  . .
. .  . . . .  . .
. .  . . . .  . .
. .  . . . .  . .
[    1.223662] VFIO - User Level meta-driver version: 0.3
[    1.229335] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.235882] ehci-pci: EHCI PCI platform driver
[    1.240359] ehci-platform: EHCI generic platform driver
[    1.245619] ehci-platform ARMH0D20:00: Error: DMA mask configuration failed
[    1.272491] ehci-platform: probe of ARMH0D20:00 failed with error -5
[    1.278876] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.285071] ohci-pci: OHCI PCI platform driver
[    1.289548] ohci-platform: OHCI generic platform driver
[    1.294884] usbcore: registered new interface driver usb-storage
[    1.301231] mousedev: PS/2 mouse device common for all mice
[    1.307197] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
 
But this error goes off, if I don't force ACPI booting, i.e., if I remove acpi=force from kernel command line , USB is detected  and my RFS which is in the usb drive, gets mounted successfully. 

Thanks and Regards
Vikas Sajjan

^ permalink raw reply	[flat|nested] 20+ messages in thread

* ARM juno R2 board USB Issue (EHCI probe failed)
@ 2016-09-27  7:03 ` Sajjan, Vikas C
  0 siblings, 0 replies; 20+ messages in thread
From: Sajjan, Vikas C @ 2016-09-27  7:03 UTC (permalink / raw)
  To: linux-arm-kernel

Hi All,

I working on ARM juno R2 board, with latest kernel 4.8.rc7 and I get below USB EHCI probe error while booting with acpi=force. 

EFI stub: Booting Linux Kernel...
ConvertPages: Incompatible memory types
EFI stub: Using DTB from command line
EFI stub: Exiting boot services and installing virtual address map...
[    0.000000] Booting Linux on physical CPU 0x100
[    0.000000] Linux version 4.8.0-rc7-00142-gb1f2beb (vikas at dctxvm241) (gcc version 4.8.3 20140401 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro GCC 4.8-2014.04) ) #48 SMP PREEMPT Mon Sep 26 15:31:48 IST 2016
[    0.000000] Boot CPU: AArch64 Processor [410fd033]
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: EFI v2.50 by ARM Juno EFI Oct 15 2015 14:16:39
[    0.000000] efi:  ACPI=0xfe750000  ACPI 2.0=0xfe750014  PROP=0xfe794370 
[    0.000000] cma: Reserved 16 MiB at 0x00000000fd400000
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000FE750014 000024 (v02 ARMLTD)
[    0.000000] ACPI: XSDT 0x00000000FE7400E8 00003C (v01 ARMLTD ARM-JUNO 20140727      01000013)
[    0.000000] ACPI: FACP 0x00000000FE720000 00010C (v05 ARMLTD ARM-JUNO 20140727 ARM  00000099)
[    0.000000] ACPI: DSDT 0x00000000FE6F0000 000317 (v01 ARMLTD ARM-JUNO 20140727 INTL 20140214)
[    0.000000] ACPI: GTDT 0x00000000FE710000 000060 (v02 ARMLTD ARM-JUNO 20140727 ARM  00000099)
[    0.000000] ACPI: APIC 0x00000000FE700000 000224 (v01 ARMLTD ARM-JUNO 20140727 ARM  00000099)
[    0.000000] psci: probing for conduit method from ACPI.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] percpu: Embedded 21 pages/cpu @ffff80097feb8000 s47488 r8192 d30336 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 2060048
[    0.000000] Kernel command line: dtb=board.dtb initrd=ramdisk.img console=ttyAMA0,115200 acpi=force root=/dev/sda1
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 20480 bytes
. .  . . . .  . .
. .  . . . .  . .
. .  . . . .  . .
. .  . . . .  . .
[    1.223662] VFIO - User Level meta-driver version: 0.3
[    1.229335] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.235882] ehci-pci: EHCI PCI platform driver
[    1.240359] ehci-platform: EHCI generic platform driver
[    1.245619] ehci-platform ARMH0D20:00: Error: DMA mask configuration failed
[    1.272491] ehci-platform: probe of ARMH0D20:00 failed with error -5
[    1.278876] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.285071] ohci-pci: OHCI PCI platform driver
[    1.289548] ohci-platform: OHCI generic platform driver
[    1.294884] usbcore: registered new interface driver usb-storage
[    1.301231] mousedev: PS/2 mouse device common for all mice
[    1.307197] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
 
But this error goes off, if I don't force ACPI booting, i.e., if I remove acpi=force from kernel command line , USB is detected  and my RFS which is in the usb drive, gets mounted successfully. 

Thanks and Regards
Vikas Sajjan

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: ARM juno R2 board USB Issue (EHCI probe failed)
  2016-09-27  7:03 ` Sajjan, Vikas C
@ 2016-09-27  8:14   ` Vikas Sajjan
  -1 siblings, 0 replies; 20+ messages in thread
From: Vikas Sajjan @ 2016-09-27  8:14 UTC (permalink / raw)
  To: linux-usb, linux-arm-kernel, linux-acpi
  Cc: mark.rutland, lorenzo.pieralisi, Sudeep Holla, Sajjan, Vikas C

Adding USB mailing list.


On Tue, Sep 27, 2016 at 12:33 PM, Sajjan, Vikas C
<vikas.cha.sajjan@hpe.com> wrote:
> Hi All,
>
> I working on ARM juno R2 board, with latest kernel 4.8.rc7 and I get below USB EHCI probe error while booting with acpi=force.
>
> EFI stub: Booting Linux Kernel...
> ConvertPages: Incompatible memory types
> EFI stub: Using DTB from command line
> EFI stub: Exiting boot services and installing virtual address map...
> [    0.000000] Booting Linux on physical CPU 0x100
> [    0.000000] Linux version 4.8.0-rc7-00142-gb1f2beb (vikas@dctxvm241) (gcc version 4.8.3 20140401 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro GCC 4.8-2014.04) ) #48 SMP PREEMPT Mon Sep 26 15:31:48 IST 2016
> [    0.000000] Boot CPU: AArch64 Processor [410fd033]
> [    0.000000] efi: Getting EFI parameters from FDT:
> [    0.000000] efi: EFI v2.50 by ARM Juno EFI Oct 15 2015 14:16:39
> [    0.000000] efi:  ACPI=0xfe750000  ACPI 2.0=0xfe750014  PROP=0xfe794370
> [    0.000000] cma: Reserved 16 MiB at 0x00000000fd400000
> [    0.000000] ACPI: Early table checksum verification disabled
> [    0.000000] ACPI: RSDP 0x00000000FE750014 000024 (v02 ARMLTD)
> [    0.000000] ACPI: XSDT 0x00000000FE7400E8 00003C (v01 ARMLTD ARM-JUNO 20140727      01000013)
> [    0.000000] ACPI: FACP 0x00000000FE720000 00010C (v05 ARMLTD ARM-JUNO 20140727 ARM  00000099)
> [    0.000000] ACPI: DSDT 0x00000000FE6F0000 000317 (v01 ARMLTD ARM-JUNO 20140727 INTL 20140214)
> [    0.000000] ACPI: GTDT 0x00000000FE710000 000060 (v02 ARMLTD ARM-JUNO 20140727 ARM  00000099)
> [    0.000000] ACPI: APIC 0x00000000FE700000 000224 (v01 ARMLTD ARM-JUNO 20140727 ARM  00000099)
> [    0.000000] psci: probing for conduit method from ACPI.
> [    0.000000] psci: PSCIv1.0 detected in firmware.
> [    0.000000] psci: Using standard PSCI v0.2 function IDs
> [    0.000000] psci: MIGRATE_INFO_TYPE not supported.
> [    0.000000] percpu: Embedded 21 pages/cpu @ffff80097feb8000 s47488 r8192 d30336 u86016
> [    0.000000] Detected VIPT I-cache on CPU0
> [    0.000000] CPU features: enabling workaround for ARM erratum 845719
> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 2060048
> [    0.000000] Kernel command line: dtb=board.dtb initrd=ramdisk.img console=ttyAMA0,115200 acpi=force root=/dev/sda1
> [    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
> [    0.000000] log_buf_len total cpu_extra contributions: 20480 bytes
> . .  . . . .  . .
> . .  . . . .  . .
> . .  . . . .  . .
> . .  . . . .  . .
> [    1.223662] VFIO - User Level meta-driver version: 0.3
> [    1.229335] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [    1.235882] ehci-pci: EHCI PCI platform driver
> [    1.240359] ehci-platform: EHCI generic platform driver
> [    1.245619] ehci-platform ARMH0D20:00: Error: DMA mask configuration failed
> [    1.272491] ehci-platform: probe of ARMH0D20:00 failed with error -5
> [    1.278876] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> [    1.285071] ohci-pci: OHCI PCI platform driver
> [    1.289548] ohci-platform: OHCI generic platform driver
> [    1.294884] usbcore: registered new interface driver usb-storage
> [    1.301231] mousedev: PS/2 mouse device common for all mice
> [    1.307197] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
>
> But this error goes off, if I don't force ACPI booting, i.e., if I remove acpi=force from kernel command line , USB is detected  and my RFS which is in the usb drive, gets mounted successfully.
>
> Thanks and Regards
> Vikas Sajjan
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 20+ messages in thread

* ARM juno R2 board USB Issue (EHCI probe failed)
@ 2016-09-27  8:14   ` Vikas Sajjan
  0 siblings, 0 replies; 20+ messages in thread
From: Vikas Sajjan @ 2016-09-27  8:14 UTC (permalink / raw)
  To: linux-arm-kernel

Adding USB mailing list.


On Tue, Sep 27, 2016 at 12:33 PM, Sajjan, Vikas C
<vikas.cha.sajjan@hpe.com> wrote:
> Hi All,
>
> I working on ARM juno R2 board, with latest kernel 4.8.rc7 and I get below USB EHCI probe error while booting with acpi=force.
>
> EFI stub: Booting Linux Kernel...
> ConvertPages: Incompatible memory types
> EFI stub: Using DTB from command line
> EFI stub: Exiting boot services and installing virtual address map...
> [    0.000000] Booting Linux on physical CPU 0x100
> [    0.000000] Linux version 4.8.0-rc7-00142-gb1f2beb (vikas at dctxvm241) (gcc version 4.8.3 20140401 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro GCC 4.8-2014.04) ) #48 SMP PREEMPT Mon Sep 26 15:31:48 IST 2016
> [    0.000000] Boot CPU: AArch64 Processor [410fd033]
> [    0.000000] efi: Getting EFI parameters from FDT:
> [    0.000000] efi: EFI v2.50 by ARM Juno EFI Oct 15 2015 14:16:39
> [    0.000000] efi:  ACPI=0xfe750000  ACPI 2.0=0xfe750014  PROP=0xfe794370
> [    0.000000] cma: Reserved 16 MiB at 0x00000000fd400000
> [    0.000000] ACPI: Early table checksum verification disabled
> [    0.000000] ACPI: RSDP 0x00000000FE750014 000024 (v02 ARMLTD)
> [    0.000000] ACPI: XSDT 0x00000000FE7400E8 00003C (v01 ARMLTD ARM-JUNO 20140727      01000013)
> [    0.000000] ACPI: FACP 0x00000000FE720000 00010C (v05 ARMLTD ARM-JUNO 20140727 ARM  00000099)
> [    0.000000] ACPI: DSDT 0x00000000FE6F0000 000317 (v01 ARMLTD ARM-JUNO 20140727 INTL 20140214)
> [    0.000000] ACPI: GTDT 0x00000000FE710000 000060 (v02 ARMLTD ARM-JUNO 20140727 ARM  00000099)
> [    0.000000] ACPI: APIC 0x00000000FE700000 000224 (v01 ARMLTD ARM-JUNO 20140727 ARM  00000099)
> [    0.000000] psci: probing for conduit method from ACPI.
> [    0.000000] psci: PSCIv1.0 detected in firmware.
> [    0.000000] psci: Using standard PSCI v0.2 function IDs
> [    0.000000] psci: MIGRATE_INFO_TYPE not supported.
> [    0.000000] percpu: Embedded 21 pages/cpu @ffff80097feb8000 s47488 r8192 d30336 u86016
> [    0.000000] Detected VIPT I-cache on CPU0
> [    0.000000] CPU features: enabling workaround for ARM erratum 845719
> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 2060048
> [    0.000000] Kernel command line: dtb=board.dtb initrd=ramdisk.img console=ttyAMA0,115200 acpi=force root=/dev/sda1
> [    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
> [    0.000000] log_buf_len total cpu_extra contributions: 20480 bytes
> . .  . . . .  . .
> . .  . . . .  . .
> . .  . . . .  . .
> . .  . . . .  . .
> [    1.223662] VFIO - User Level meta-driver version: 0.3
> [    1.229335] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [    1.235882] ehci-pci: EHCI PCI platform driver
> [    1.240359] ehci-platform: EHCI generic platform driver
> [    1.245619] ehci-platform ARMH0D20:00: Error: DMA mask configuration failed
> [    1.272491] ehci-platform: probe of ARMH0D20:00 failed with error -5
> [    1.278876] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> [    1.285071] ohci-pci: OHCI PCI platform driver
> [    1.289548] ohci-platform: OHCI generic platform driver
> [    1.294884] usbcore: registered new interface driver usb-storage
> [    1.301231] mousedev: PS/2 mouse device common for all mice
> [    1.307197] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
>
> But this error goes off, if I don't force ACPI booting, i.e., if I remove acpi=force from kernel command line , USB is detected  and my RFS which is in the usb drive, gets mounted successfully.
>
> Thanks and Regards
> Vikas Sajjan
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: ARM juno R2 board USB Issue (EHCI probe failed)
  2016-09-27  8:14   ` Vikas Sajjan
@ 2016-09-27  8:50     ` Sudeep Holla
  -1 siblings, 0 replies; 20+ messages in thread
From: Sudeep Holla @ 2016-09-27  8:50 UTC (permalink / raw)
  To: Vikas Sajjan, linux-usb, linux-arm-kernel, linux-acpi
  Cc: Sudeep Holla, mark.rutland, lorenzo.pieralisi, Sajjan, Vikas C

Hi Vikas,

On 27/09/16 09:14, Vikas Sajjan wrote:
> Adding USB mailing list.
>
>
> On Tue, Sep 27, 2016 at 12:33 PM, Sajjan, Vikas C
> <vikas.cha.sajjan@hpe.com> wrote:
>> Hi All,
>>
>> I working on ARM juno R2 board, with latest kernel 4.8.rc7 and I get below
>> USB EHCI probe error while booting with acpi=force.
>>

Are you using the latest UEFI EDK2 ?

>> [    1.223662] VFIO - User Level meta-driver version: 0.3
>> [    1.229335] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
>> [    1.235882] ehci-pci: EHCI PCI platform driver
>> [    1.240359] ehci-platform: EHCI generic platform driver
>> [    1.245619] ehci-platform ARMH0D20:00: Error: DMA mask configuration failed
>> [    1.272491] ehci-platform: probe of ARMH0D20:00 failed with error -5
>> [    1.278876] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
>> [    1.285071] ohci-pci: OHCI PCI platform driver
>> [    1.289548] ohci-platform: OHCI generic platform driver
>> [    1.294884] usbcore: registered new interface driver usb-storage
>> [    1.301231] mousedev: PS/2 mouse device common for all mice
>> [    1.307197] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
>>
>> But this error goes off, if I don't force ACPI booting, i.e., if I remove
>> acpi=force from kernel command line , USB is detected  and my RFS which is
>> in the usb drive, gets mounted successfully.
>>

As I mentioned in private, I do get the same error if I drop _CCA in
USB object of ACPI DSDT. Can you give it a spin with latest UEFI ?

-- 
Regards,
Sudeep

^ permalink raw reply	[flat|nested] 20+ messages in thread

* ARM juno R2 board USB Issue (EHCI probe failed)
@ 2016-09-27  8:50     ` Sudeep Holla
  0 siblings, 0 replies; 20+ messages in thread
From: Sudeep Holla @ 2016-09-27  8:50 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Vikas,

On 27/09/16 09:14, Vikas Sajjan wrote:
> Adding USB mailing list.
>
>
> On Tue, Sep 27, 2016 at 12:33 PM, Sajjan, Vikas C
> <vikas.cha.sajjan@hpe.com> wrote:
>> Hi All,
>>
>> I working on ARM juno R2 board, with latest kernel 4.8.rc7 and I get below
>> USB EHCI probe error while booting with acpi=force.
>>

Are you using the latest UEFI EDK2 ?

>> [    1.223662] VFIO - User Level meta-driver version: 0.3
>> [    1.229335] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
>> [    1.235882] ehci-pci: EHCI PCI platform driver
>> [    1.240359] ehci-platform: EHCI generic platform driver
>> [    1.245619] ehci-platform ARMH0D20:00: Error: DMA mask configuration failed
>> [    1.272491] ehci-platform: probe of ARMH0D20:00 failed with error -5
>> [    1.278876] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
>> [    1.285071] ohci-pci: OHCI PCI platform driver
>> [    1.289548] ohci-platform: OHCI generic platform driver
>> [    1.294884] usbcore: registered new interface driver usb-storage
>> [    1.301231] mousedev: PS/2 mouse device common for all mice
>> [    1.307197] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
>>
>> But this error goes off, if I don't force ACPI booting, i.e., if I remove
>> acpi=force from kernel command line , USB is detected  and my RFS which is
>> in the usb drive, gets mounted successfully.
>>

As I mentioned in private, I do get the same error if I drop _CCA in
USB object of ACPI DSDT. Can you give it a spin with latest UEFI ?

-- 
Regards,
Sudeep

^ permalink raw reply	[flat|nested] 20+ messages in thread

* RE: ARM juno R2 board USB Issue (EHCI probe failed)
  2016-09-27  8:50     ` Sudeep Holla
@ 2016-09-27  8:55       ` Sajjan, Vikas C
  -1 siblings, 0 replies; 20+ messages in thread
From: Sajjan, Vikas C @ 2016-09-27  8:55 UTC (permalink / raw)
  To: Sudeep Holla, Vikas Sajjan, linux-usb, linux-arm-kernel, linux-acpi
  Cc: mark.rutland, lorenzo.pieralisi

Hi Sudeep,

-----Original Message-----
From: Sudeep Holla [mailto:sudeep.holla@arm.com] 
Sent: Tuesday, September 27, 2016 2:21 PM
To: Vikas Sajjan <sajjan.linux@gmail.com>; linux-usb@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux-acpi@vger.kernel.org
Cc: Sudeep Holla <sudeep.holla@arm.com>; mark.rutland@arm.com; lorenzo.pieralisi@arm.com; Sajjan, Vikas C <vikas.cha.sajjan@hpe.com>
Subject: Re: ARM juno R2 board USB Issue (EHCI probe failed)

Hi Vikas,

On 27/09/16 09:14, Vikas Sajjan wrote:
> Adding USB mailing list.
>
>
> On Tue, Sep 27, 2016 at 12:33 PM, Sajjan, Vikas C 
> <vikas.cha.sajjan@hpe.com> wrote:
>> Hi All,
>>
>> I working on ARM juno R2 board, with latest kernel 4.8.rc7 and I get 
>> below USB EHCI probe error while booting with acpi=force.
>>

Are you using the latest UEFI EDK2 ?
No, I am still using the UEFI binary which came as part of the Juno board.


>> [    1.223662] VFIO - User Level meta-driver version: 0.3
>> [    1.229335] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
>> [    1.235882] ehci-pci: EHCI PCI platform driver
>> [    1.240359] ehci-platform: EHCI generic platform driver
>> [    1.245619] ehci-platform ARMH0D20:00: Error: DMA mask configuration failed
>> [    1.272491] ehci-platform: probe of ARMH0D20:00 failed with error -5
>> [    1.278876] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
>> [    1.285071] ohci-pci: OHCI PCI platform driver
>> [    1.289548] ohci-platform: OHCI generic platform driver
>> [    1.294884] usbcore: registered new interface driver usb-storage
>> [    1.301231] mousedev: PS/2 mouse device common for all mice
>> [    1.307197] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
>>
>> But this error goes off, if I don't force ACPI booting, i.e., if I 
>> remove acpi=force from kernel command line , USB is detected  and my 
>> RFS which is in the usb drive, gets mounted successfully.
>>

As I mentioned in private, I do get the same error if I drop _CCA in USB object of ACPI DSDT. Can you give it a spin with latest UEFI ?

Sure, will try with latest UEFI.

Thanks and Regards
Vikas Sajjan
--
Regards,
Sudeep

^ permalink raw reply	[flat|nested] 20+ messages in thread

* ARM juno R2 board USB Issue (EHCI probe failed)
@ 2016-09-27  8:55       ` Sajjan, Vikas C
  0 siblings, 0 replies; 20+ messages in thread
From: Sajjan, Vikas C @ 2016-09-27  8:55 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Sudeep,

-----Original Message-----
From: Sudeep Holla [mailto:sudeep.holla at arm.com] 
Sent: Tuesday, September 27, 2016 2:21 PM
To: Vikas Sajjan <sajjan.linux@gmail.com>; linux-usb at vger.kernel.org; linux-arm-kernel at lists.infradead.org; linux-acpi at vger.kernel.org
Cc: Sudeep Holla <sudeep.holla@arm.com>; mark.rutland at arm.com; lorenzo.pieralisi at arm.com; Sajjan, Vikas C <vikas.cha.sajjan@hpe.com>
Subject: Re: ARM juno R2 board USB Issue (EHCI probe failed)

Hi Vikas,

On 27/09/16 09:14, Vikas Sajjan wrote:
> Adding USB mailing list.
>
>
> On Tue, Sep 27, 2016 at 12:33 PM, Sajjan, Vikas C 
> <vikas.cha.sajjan@hpe.com> wrote:
>> Hi All,
>>
>> I working on ARM juno R2 board, with latest kernel 4.8.rc7 and I get 
>> below USB EHCI probe error while booting with acpi=force.
>>

Are you using the latest UEFI EDK2 ?
No, I am still using the UEFI binary which came as part of the Juno board.


>> [    1.223662] VFIO - User Level meta-driver version: 0.3
>> [    1.229335] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
>> [    1.235882] ehci-pci: EHCI PCI platform driver
>> [    1.240359] ehci-platform: EHCI generic platform driver
>> [    1.245619] ehci-platform ARMH0D20:00: Error: DMA mask configuration failed
>> [    1.272491] ehci-platform: probe of ARMH0D20:00 failed with error -5
>> [    1.278876] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
>> [    1.285071] ohci-pci: OHCI PCI platform driver
>> [    1.289548] ohci-platform: OHCI generic platform driver
>> [    1.294884] usbcore: registered new interface driver usb-storage
>> [    1.301231] mousedev: PS/2 mouse device common for all mice
>> [    1.307197] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
>>
>> But this error goes off, if I don't force ACPI booting, i.e., if I 
>> remove acpi=force from kernel command line , USB is detected  and my 
>> RFS which is in the usb drive, gets mounted successfully.
>>

As I mentioned in private, I do get the same error if I drop _CCA in USB object of ACPI DSDT. Can you give it a spin with latest UEFI ?

Sure, will try with latest UEFI.

Thanks and Regards
Vikas Sajjan
--
Regards,
Sudeep

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: ARM juno R2 board USB Issue (EHCI probe failed)
  2016-09-27  8:55       ` Sajjan, Vikas C
@ 2016-09-27  9:07           ` Sudeep Holla
  -1 siblings, 0 replies; 20+ messages in thread
From: Sudeep Holla @ 2016-09-27  9:07 UTC (permalink / raw)
  To: Sajjan, Vikas C, Vikas Sajjan, linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-acpi-u79uwXL29TY76Z2rM5mHXA
  Cc: Sudeep Holla, mark.rutland-5wv7dgnIgG8, lorenzo.pieralisi-5wv7dgnIgG8



On 27/09/16 09:55, Sajjan, Vikas C wrote:
> Hi Sudeep,
>
> -----Original Message-----
> From: Sudeep Holla [mailto:sudeep.holla-5wv7dgnIgG8@public.gmane.org]
> Sent: Tuesday, September 27, 2016 2:21 PM
> To: Vikas Sajjan <sajjan.linux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>; linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org; linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> Cc: Sudeep Holla <sudeep.holla-5wv7dgnIgG8@public.gmane.org>; mark.rutland-5wv7dgnIgG8@public.gmane.org; lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org; Sajjan, Vikas C <vikas.cha.sajjan-ZPxbGqLxI0U@public.gmane.org>
> Subject: Re: ARM juno R2 board USB Issue (EHCI probe failed)
>
> Hi Vikas,
>
> On 27/09/16 09:14, Vikas Sajjan wrote:
>> Adding USB mailing list.
>>
>>
>> On Tue, Sep 27, 2016 at 12:33 PM, Sajjan, Vikas C
>> <vikas.cha.sajjan-ZPxbGqLxI0U@public.gmane.org> wrote:
>>> Hi All,
>>>
>>> I working on ARM juno R2 board, with latest kernel 4.8.rc7 and I get
>>> below USB EHCI probe error while booting with acpi=force.
>>>
>
> Are you using the latest UEFI EDK2 ?
> No, I am still using the UEFI binary which came as part of the Juno board.
>
>
>>> [    1.223662] VFIO - User Level meta-driver version: 0.3
>>> [    1.229335] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
>>> [    1.235882] ehci-pci: EHCI PCI platform driver
>>> [    1.240359] ehci-platform: EHCI generic platform driver
>>> [    1.245619] ehci-platform ARMH0D20:00: Error: DMA mask configuration failed
>>> [    1.272491] ehci-platform: probe of ARMH0D20:00 failed with error -5
>>> [    1.278876] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
>>> [    1.285071] ohci-pci: OHCI PCI platform driver
>>> [    1.289548] ohci-platform: OHCI generic platform driver
>>> [    1.294884] usbcore: registered new interface driver usb-storage
>>> [    1.301231] mousedev: PS/2 mouse device common for all mice
>>> [    1.307197] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
>>>
>>> But this error goes off, if I don't force ACPI booting, i.e., if I
>>> remove acpi=force from kernel command line , USB is detected  and my
>>> RFS which is in the usb drive, gets mounted successfully.
>>>
>
> As I mentioned in private, I do get the same error if I drop _CCA in
> USB object of ACPI DSDT. Can you give it a spin with latest UEFI ?
>
> Sure, will try with latest UEFI.
>

I bet that's 8-12 months old. It puts the banner during boot with the
build date. You can try to follow [1] or access it from [2]

-- 
Regards,
Sudeep

[1] https://community.arm.com/docs/DOC-11395
[2] 
http://snapshots.linaro.org/member-builds/armlt-platforms-release/32/juno-uefi.zip
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 20+ messages in thread

* ARM juno R2 board USB Issue (EHCI probe failed)
@ 2016-09-27  9:07           ` Sudeep Holla
  0 siblings, 0 replies; 20+ messages in thread
From: Sudeep Holla @ 2016-09-27  9:07 UTC (permalink / raw)
  To: linux-arm-kernel



On 27/09/16 09:55, Sajjan, Vikas C wrote:
> Hi Sudeep,
>
> -----Original Message-----
> From: Sudeep Holla [mailto:sudeep.holla at arm.com]
> Sent: Tuesday, September 27, 2016 2:21 PM
> To: Vikas Sajjan <sajjan.linux@gmail.com>; linux-usb at vger.kernel.org; linux-arm-kernel at lists.infradead.org; linux-acpi at vger.kernel.org
> Cc: Sudeep Holla <sudeep.holla@arm.com>; mark.rutland at arm.com; lorenzo.pieralisi at arm.com; Sajjan, Vikas C <vikas.cha.sajjan@hpe.com>
> Subject: Re: ARM juno R2 board USB Issue (EHCI probe failed)
>
> Hi Vikas,
>
> On 27/09/16 09:14, Vikas Sajjan wrote:
>> Adding USB mailing list.
>>
>>
>> On Tue, Sep 27, 2016 at 12:33 PM, Sajjan, Vikas C
>> <vikas.cha.sajjan@hpe.com> wrote:
>>> Hi All,
>>>
>>> I working on ARM juno R2 board, with latest kernel 4.8.rc7 and I get
>>> below USB EHCI probe error while booting with acpi=force.
>>>
>
> Are you using the latest UEFI EDK2 ?
> No, I am still using the UEFI binary which came as part of the Juno board.
>
>
>>> [    1.223662] VFIO - User Level meta-driver version: 0.3
>>> [    1.229335] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
>>> [    1.235882] ehci-pci: EHCI PCI platform driver
>>> [    1.240359] ehci-platform: EHCI generic platform driver
>>> [    1.245619] ehci-platform ARMH0D20:00: Error: DMA mask configuration failed
>>> [    1.272491] ehci-platform: probe of ARMH0D20:00 failed with error -5
>>> [    1.278876] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
>>> [    1.285071] ohci-pci: OHCI PCI platform driver
>>> [    1.289548] ohci-platform: OHCI generic platform driver
>>> [    1.294884] usbcore: registered new interface driver usb-storage
>>> [    1.301231] mousedev: PS/2 mouse device common for all mice
>>> [    1.307197] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
>>>
>>> But this error goes off, if I don't force ACPI booting, i.e., if I
>>> remove acpi=force from kernel command line , USB is detected  and my
>>> RFS which is in the usb drive, gets mounted successfully.
>>>
>
> As I mentioned in private, I do get the same error if I drop _CCA in
> USB object of ACPI DSDT. Can you give it a spin with latest UEFI ?
>
> Sure, will try with latest UEFI.
>

I bet that's 8-12 months old. It puts the banner during boot with the
build date. You can try to follow [1] or access it from [2]

-- 
Regards,
Sudeep

[1] https://community.arm.com/docs/DOC-11395
[2] 
http://snapshots.linaro.org/member-builds/armlt-platforms-release/32/juno-uefi.zip

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: ARM juno R2 board USB Issue (EHCI probe failed)
  2016-09-27  9:07           ` Sudeep Holla
@ 2016-09-27 16:13             ` Hanjun Guo
  -1 siblings, 0 replies; 20+ messages in thread
From: Hanjun Guo @ 2016-09-27 16:13 UTC (permalink / raw)
  To: Sudeep Holla, Sajjan, Vikas C, Vikas Sajjan, linux-usb,
	linux-arm-kernel, linux-acpi
  Cc: mark.rutland, lorenzo.pieralisi

On 09/27/2016 05:07 PM, Sudeep Holla wrote:
>
>
> On 27/09/16 09:55, Sajjan, Vikas C wrote:
>> Hi Sudeep,
>>
>> -----Original Message-----
>> From: Sudeep Holla [mailto:sudeep.holla@arm.com]
>> Sent: Tuesday, September 27, 2016 2:21 PM
>> To: Vikas Sajjan <sajjan.linux@gmail.com>; linux-usb@vger.kernel.org;
>> linux-arm-kernel@lists.infradead.org; linux-acpi@vger.kernel.org
>> Cc: Sudeep Holla <sudeep.holla@arm.com>; mark.rutland@arm.com;
>> lorenzo.pieralisi@arm.com; Sajjan, Vikas C <vikas.cha.sajjan@hpe.com>
>> Subject: Re: ARM juno R2 board USB Issue (EHCI probe failed)
>>
>> Hi Vikas,
>>
>> On 27/09/16 09:14, Vikas Sajjan wrote:
>>> Adding USB mailing list.
>>>
>>>
>>> On Tue, Sep 27, 2016 at 12:33 PM, Sajjan, Vikas C
>>> <vikas.cha.sajjan@hpe.com> wrote:
>>>> Hi All,
>>>>
>>>> I working on ARM juno R2 board, with latest kernel 4.8.rc7 and I get
>>>> below USB EHCI probe error while booting with acpi=force.
>>>>
>>
>> Are you using the latest UEFI EDK2 ?
>> No, I am still using the UEFI binary which came as part of the Juno
>> board.
>>
>>
>>>> [    1.223662] VFIO - User Level meta-driver version: 0.3
>>>> [    1.229335] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)
>>>> Driver
>>>> [    1.235882] ehci-pci: EHCI PCI platform driver
>>>> [    1.240359] ehci-platform: EHCI generic platform driver
>>>> [    1.245619] ehci-platform ARMH0D20:00: Error: DMA mask
>>>> configuration failed
>>>> [    1.272491] ehci-platform: probe of ARMH0D20:00 failed with error -5
>>>> [    1.278876] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
>>>> [    1.285071] ohci-pci: OHCI PCI platform driver
>>>> [    1.289548] ohci-platform: OHCI generic platform driver
>>>> [    1.294884] usbcore: registered new interface driver usb-storage
>>>> [    1.301231] mousedev: PS/2 mouse device common for all mice
>>>> [    1.307197] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
>>>>
>>>> But this error goes off, if I don't force ACPI booting, i.e., if I
>>>> remove acpi=force from kernel command line , USB is detected  and my
>>>> RFS which is in the usb drive, gets mounted successfully.
>>>>
>>
>> As I mentioned in private, I do get the same error if I drop _CCA in
>> USB object of ACPI DSDT. Can you give it a spin with latest UEFI ?
>>
>> Sure, will try with latest UEFI.
>>
>
> I bet that's 8-12 months old. It puts the banner during boot with the
> build date. You can try to follow [1] or access it from [2]

Agree.

D03 is using the same IP (EHCI) and the USB works fine with _CCA
in the device node.

Thanks
Hanjun

^ permalink raw reply	[flat|nested] 20+ messages in thread

* ARM juno R2 board USB Issue (EHCI probe failed)
@ 2016-09-27 16:13             ` Hanjun Guo
  0 siblings, 0 replies; 20+ messages in thread
From: Hanjun Guo @ 2016-09-27 16:13 UTC (permalink / raw)
  To: linux-arm-kernel

On 09/27/2016 05:07 PM, Sudeep Holla wrote:
>
>
> On 27/09/16 09:55, Sajjan, Vikas C wrote:
>> Hi Sudeep,
>>
>> -----Original Message-----
>> From: Sudeep Holla [mailto:sudeep.holla at arm.com]
>> Sent: Tuesday, September 27, 2016 2:21 PM
>> To: Vikas Sajjan <sajjan.linux@gmail.com>; linux-usb at vger.kernel.org;
>> linux-arm-kernel at lists.infradead.org; linux-acpi at vger.kernel.org
>> Cc: Sudeep Holla <sudeep.holla@arm.com>; mark.rutland at arm.com;
>> lorenzo.pieralisi at arm.com; Sajjan, Vikas C <vikas.cha.sajjan@hpe.com>
>> Subject: Re: ARM juno R2 board USB Issue (EHCI probe failed)
>>
>> Hi Vikas,
>>
>> On 27/09/16 09:14, Vikas Sajjan wrote:
>>> Adding USB mailing list.
>>>
>>>
>>> On Tue, Sep 27, 2016 at 12:33 PM, Sajjan, Vikas C
>>> <vikas.cha.sajjan@hpe.com> wrote:
>>>> Hi All,
>>>>
>>>> I working on ARM juno R2 board, with latest kernel 4.8.rc7 and I get
>>>> below USB EHCI probe error while booting with acpi=force.
>>>>
>>
>> Are you using the latest UEFI EDK2 ?
>> No, I am still using the UEFI binary which came as part of the Juno
>> board.
>>
>>
>>>> [    1.223662] VFIO - User Level meta-driver version: 0.3
>>>> [    1.229335] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)
>>>> Driver
>>>> [    1.235882] ehci-pci: EHCI PCI platform driver
>>>> [    1.240359] ehci-platform: EHCI generic platform driver
>>>> [    1.245619] ehci-platform ARMH0D20:00: Error: DMA mask
>>>> configuration failed
>>>> [    1.272491] ehci-platform: probe of ARMH0D20:00 failed with error -5
>>>> [    1.278876] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
>>>> [    1.285071] ohci-pci: OHCI PCI platform driver
>>>> [    1.289548] ohci-platform: OHCI generic platform driver
>>>> [    1.294884] usbcore: registered new interface driver usb-storage
>>>> [    1.301231] mousedev: PS/2 mouse device common for all mice
>>>> [    1.307197] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
>>>>
>>>> But this error goes off, if I don't force ACPI booting, i.e., if I
>>>> remove acpi=force from kernel command line , USB is detected  and my
>>>> RFS which is in the usb drive, gets mounted successfully.
>>>>
>>
>> As I mentioned in private, I do get the same error if I drop _CCA in
>> USB object of ACPI DSDT. Can you give it a spin with latest UEFI ?
>>
>> Sure, will try with latest UEFI.
>>
>
> I bet that's 8-12 months old. It puts the banner during boot with the
> build date. You can try to follow [1] or access it from [2]

Agree.

D03 is using the same IP (EHCI) and the USB works fine with _CCA
in the device node.

Thanks
Hanjun

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: ARM juno R2 board USB Issue (EHCI probe failed)
  2016-09-27 16:13             ` Hanjun Guo
@ 2016-09-27 16:23               ` Robin Murphy
  -1 siblings, 0 replies; 20+ messages in thread
From: Robin Murphy @ 2016-09-27 16:23 UTC (permalink / raw)
  To: Hanjun Guo, Sudeep Holla, Sajjan, Vikas C, Vikas Sajjan,
	linux-usb, linux-arm-kernel, linux-acpi
  Cc: mark.rutland, lorenzo.pieralisi

On 27/09/16 17:13, Hanjun Guo wrote:
> On 09/27/2016 05:07 PM, Sudeep Holla wrote:
>>
>>
>> On 27/09/16 09:55, Sajjan, Vikas C wrote:
>>> Hi Sudeep,
>>>
>>> -----Original Message-----
>>> From: Sudeep Holla [mailto:sudeep.holla@arm.com]
>>> Sent: Tuesday, September 27, 2016 2:21 PM
>>> To: Vikas Sajjan <sajjan.linux@gmail.com>; linux-usb@vger.kernel.org;
>>> linux-arm-kernel@lists.infradead.org; linux-acpi@vger.kernel.org
>>> Cc: Sudeep Holla <sudeep.holla@arm.com>; mark.rutland@arm.com;
>>> lorenzo.pieralisi@arm.com; Sajjan, Vikas C <vikas.cha.sajjan@hpe.com>
>>> Subject: Re: ARM juno R2 board USB Issue (EHCI probe failed)
>>>
>>> Hi Vikas,
>>>
>>> On 27/09/16 09:14, Vikas Sajjan wrote:
>>>> Adding USB mailing list.
>>>>
>>>>
>>>> On Tue, Sep 27, 2016 at 12:33 PM, Sajjan, Vikas C
>>>> <vikas.cha.sajjan@hpe.com> wrote:
>>>>> Hi All,
>>>>>
>>>>> I working on ARM juno R2 board, with latest kernel 4.8.rc7 and I get
>>>>> below USB EHCI probe error while booting with acpi=force.
>>>>>
>>>
>>> Are you using the latest UEFI EDK2 ?
>>> No, I am still using the UEFI binary which came as part of the Juno
>>> board.
>>>
>>>
>>>>> [    1.223662] VFIO - User Level meta-driver version: 0.3
>>>>> [    1.229335] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)
>>>>> Driver
>>>>> [    1.235882] ehci-pci: EHCI PCI platform driver
>>>>> [    1.240359] ehci-platform: EHCI generic platform driver
>>>>> [    1.245619] ehci-platform ARMH0D20:00: Error: DMA mask
>>>>> configuration failed
>>>>> [    1.272491] ehci-platform: probe of ARMH0D20:00 failed with
>>>>> error -5
>>>>> [    1.278876] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
>>>>> [    1.285071] ohci-pci: OHCI PCI platform driver
>>>>> [    1.289548] ohci-platform: OHCI generic platform driver
>>>>> [    1.294884] usbcore: registered new interface driver usb-storage
>>>>> [    1.301231] mousedev: PS/2 mouse device common for all mice
>>>>> [    1.307197] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
>>>>>
>>>>> But this error goes off, if I don't force ACPI booting, i.e., if I
>>>>> remove acpi=force from kernel command line , USB is detected  and my
>>>>> RFS which is in the usb drive, gets mounted successfully.
>>>>>
>>>
>>> As I mentioned in private, I do get the same error if I drop _CCA in
>>> USB object of ACPI DSDT. Can you give it a spin with latest UEFI ?
>>>
>>> Sure, will try with latest UEFI.
>>>
>>
>> I bet that's 8-12 months old. It puts the banner during boot with the
>> build date. You can try to follow [1] or access it from [2]
> 
> Agree.
> 
> D03 is using the same IP (EHCI) and the USB works fine with _CCA
> in the device node.

_CCA is mandatory on arm64 (see CONFIG_ACPI_CCA_REQUIRED). Any devices
without it are going to end up with the dummy DMA ops which
intentionally fail if a driver tries to use them - i.e. the error seen
above is by design.

Robin.

> 
> Thanks
> Hanjun
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel


^ permalink raw reply	[flat|nested] 20+ messages in thread

* ARM juno R2 board USB Issue (EHCI probe failed)
@ 2016-09-27 16:23               ` Robin Murphy
  0 siblings, 0 replies; 20+ messages in thread
From: Robin Murphy @ 2016-09-27 16:23 UTC (permalink / raw)
  To: linux-arm-kernel

On 27/09/16 17:13, Hanjun Guo wrote:
> On 09/27/2016 05:07 PM, Sudeep Holla wrote:
>>
>>
>> On 27/09/16 09:55, Sajjan, Vikas C wrote:
>>> Hi Sudeep,
>>>
>>> -----Original Message-----
>>> From: Sudeep Holla [mailto:sudeep.holla at arm.com]
>>> Sent: Tuesday, September 27, 2016 2:21 PM
>>> To: Vikas Sajjan <sajjan.linux@gmail.com>; linux-usb at vger.kernel.org;
>>> linux-arm-kernel at lists.infradead.org; linux-acpi at vger.kernel.org
>>> Cc: Sudeep Holla <sudeep.holla@arm.com>; mark.rutland at arm.com;
>>> lorenzo.pieralisi at arm.com; Sajjan, Vikas C <vikas.cha.sajjan@hpe.com>
>>> Subject: Re: ARM juno R2 board USB Issue (EHCI probe failed)
>>>
>>> Hi Vikas,
>>>
>>> On 27/09/16 09:14, Vikas Sajjan wrote:
>>>> Adding USB mailing list.
>>>>
>>>>
>>>> On Tue, Sep 27, 2016 at 12:33 PM, Sajjan, Vikas C
>>>> <vikas.cha.sajjan@hpe.com> wrote:
>>>>> Hi All,
>>>>>
>>>>> I working on ARM juno R2 board, with latest kernel 4.8.rc7 and I get
>>>>> below USB EHCI probe error while booting with acpi=force.
>>>>>
>>>
>>> Are you using the latest UEFI EDK2 ?
>>> No, I am still using the UEFI binary which came as part of the Juno
>>> board.
>>>
>>>
>>>>> [    1.223662] VFIO - User Level meta-driver version: 0.3
>>>>> [    1.229335] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)
>>>>> Driver
>>>>> [    1.235882] ehci-pci: EHCI PCI platform driver
>>>>> [    1.240359] ehci-platform: EHCI generic platform driver
>>>>> [    1.245619] ehci-platform ARMH0D20:00: Error: DMA mask
>>>>> configuration failed
>>>>> [    1.272491] ehci-platform: probe of ARMH0D20:00 failed with
>>>>> error -5
>>>>> [    1.278876] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
>>>>> [    1.285071] ohci-pci: OHCI PCI platform driver
>>>>> [    1.289548] ohci-platform: OHCI generic platform driver
>>>>> [    1.294884] usbcore: registered new interface driver usb-storage
>>>>> [    1.301231] mousedev: PS/2 mouse device common for all mice
>>>>> [    1.307197] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
>>>>>
>>>>> But this error goes off, if I don't force ACPI booting, i.e., if I
>>>>> remove acpi=force from kernel command line , USB is detected  and my
>>>>> RFS which is in the usb drive, gets mounted successfully.
>>>>>
>>>
>>> As I mentioned in private, I do get the same error if I drop _CCA in
>>> USB object of ACPI DSDT. Can you give it a spin with latest UEFI ?
>>>
>>> Sure, will try with latest UEFI.
>>>
>>
>> I bet that's 8-12 months old. It puts the banner during boot with the
>> build date. You can try to follow [1] or access it from [2]
> 
> Agree.
> 
> D03 is using the same IP (EHCI) and the USB works fine with _CCA
> in the device node.

_CCA is mandatory on arm64 (see CONFIG_ACPI_CCA_REQUIRED). Any devices
without it are going to end up with the dummy DMA ops which
intentionally fail if a driver tries to use them - i.e. the error seen
above is by design.

Robin.

> 
> Thanks
> Hanjun
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: ARM juno R2 board USB Issue (EHCI probe failed)
  2016-09-27 16:23               ` Robin Murphy
@ 2016-09-27 17:01                 ` Sudeep Holla
  -1 siblings, 0 replies; 20+ messages in thread
From: Sudeep Holla @ 2016-09-27 17:01 UTC (permalink / raw)
  To: Robin Murphy, Hanjun Guo, Sajjan, Vikas C, Vikas Sajjan,
	linux-usb, linux-arm-kernel, linux-acpi
  Cc: Sudeep Holla, mark.rutland, lorenzo.pieralisi



On 27/09/16 17:23, Robin Murphy wrote:
> On 27/09/16 17:13, Hanjun Guo wrote:
>> On 09/27/2016 05:07 PM, Sudeep Holla wrote:

[...]

>>>>
>>>> As I mentioned in private, I do get the same error if I drop _CCA in
>>>> USB object of ACPI DSDT. Can you give it a spin with latest UEFI ?
>>>>
>>>> Sure, will try with latest UEFI.
>>>>
>>>
>>> I bet that's 8-12 months old. It puts the banner during boot with the
>>> build date. You can try to follow [1] or access it from [2]
>>
>> Agree.
>>
>> D03 is using the same IP (EHCI) and the USB works fine with _CCA
>> in the device node.
>
> _CCA is mandatory on arm64 (see CONFIG_ACPI_CCA_REQUIRED). Any devices
> without it are going to end up with the dummy DMA ops which
> intentionally fail if a driver tries to use them - i.e. the error seen
> above is by design.
>

Yes that was the first thing I thought and gave it try with _CCA removed
in ACPI DSDT on my Juno R2. It so happens that we did ship it some
*custom* UEFI until Linaro 16.02 in which upstream EDK2 was merged :(

Since Vikas was trying boot out of USB, I didn't suggest him to take a
acpidump on Juno and confirm this by looking at the DSDT. Also I could
find a commit from Leif that adds _CCA to USB in OpenPlatformPkg to
confirm this.

-- 
Regards,
Sudeep

^ permalink raw reply	[flat|nested] 20+ messages in thread

* ARM juno R2 board USB Issue (EHCI probe failed)
@ 2016-09-27 17:01                 ` Sudeep Holla
  0 siblings, 0 replies; 20+ messages in thread
From: Sudeep Holla @ 2016-09-27 17:01 UTC (permalink / raw)
  To: linux-arm-kernel



On 27/09/16 17:23, Robin Murphy wrote:
> On 27/09/16 17:13, Hanjun Guo wrote:
>> On 09/27/2016 05:07 PM, Sudeep Holla wrote:

[...]

>>>>
>>>> As I mentioned in private, I do get the same error if I drop _CCA in
>>>> USB object of ACPI DSDT. Can you give it a spin with latest UEFI ?
>>>>
>>>> Sure, will try with latest UEFI.
>>>>
>>>
>>> I bet that's 8-12 months old. It puts the banner during boot with the
>>> build date. You can try to follow [1] or access it from [2]
>>
>> Agree.
>>
>> D03 is using the same IP (EHCI) and the USB works fine with _CCA
>> in the device node.
>
> _CCA is mandatory on arm64 (see CONFIG_ACPI_CCA_REQUIRED). Any devices
> without it are going to end up with the dummy DMA ops which
> intentionally fail if a driver tries to use them - i.e. the error seen
> above is by design.
>

Yes that was the first thing I thought and gave it try with _CCA removed
in ACPI DSDT on my Juno R2. It so happens that we did ship it some
*custom* UEFI until Linaro 16.02 in which upstream EDK2 was merged :(

Since Vikas was trying boot out of USB, I didn't suggest him to take a
acpidump on Juno and confirm this by looking at the DSDT. Also I could
find a commit from Leif that adds _CCA to USB in OpenPlatformPkg to
confirm this.

-- 
Regards,
Sudeep

^ permalink raw reply	[flat|nested] 20+ messages in thread

* RE: ARM juno R2 board USB Issue (EHCI probe failed)
  2016-09-27 16:23               ` Robin Murphy
@ 2016-09-28  3:33                 ` Sajjan, Vikas C
  -1 siblings, 0 replies; 20+ messages in thread
From: Sajjan, Vikas C @ 2016-09-28  3:33 UTC (permalink / raw)
  To: Robin Murphy, Hanjun Guo, Sudeep Holla, Vikas Sajjan, linux-usb,
	linux-arm-kernel, linux-acpi
  Cc: mark.rutland, lorenzo.pieralisi

Hi All,

-----Original Message-----
From: Robin Murphy [mailto:robin.murphy@arm.com] 
Sent: Tuesday, September 27, 2016 9:53 PM
To: Hanjun Guo <hanjun.guo@linaro.org>; Sudeep Holla <sudeep.holla@arm.com>; Sajjan, Vikas C <vikas.cha.sajjan@hpe.com>; Vikas Sajjan <sajjan.linux@gmail.com>; linux-usb@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux-acpi@vger.kernel.org
Cc: mark.rutland@arm.com; lorenzo.pieralisi@arm.com
Subject: Re: ARM juno R2 board USB Issue (EHCI probe failed)

On 27/09/16 17:13, Hanjun Guo wrote:
> On 09/27/2016 05:07 PM, Sudeep Holla wrote:
>>
>>
>> On 27/09/16 09:55, Sajjan, Vikas C wrote:
>>> Hi Sudeep,
>>>
>>> -----Original Message-----
>>> From: Sudeep Holla [mailto:sudeep.holla@arm.com]
>>> Sent: Tuesday, September 27, 2016 2:21 PM
>>> To: Vikas Sajjan <sajjan.linux@gmail.com>; 
>>> linux-usb@vger.kernel.org; linux-arm-kernel@lists.infradead.org; 
>>> linux-acpi@vger.kernel.org
>>> Cc: Sudeep Holla <sudeep.holla@arm.com>; mark.rutland@arm.com; 
>>> lorenzo.pieralisi@arm.com; Sajjan, Vikas C 
>>> <vikas.cha.sajjan@hpe.com>
>>> Subject: Re: ARM juno R2 board USB Issue (EHCI probe failed)
>>>
>>> Hi Vikas,
>>>
>>> On 27/09/16 09:14, Vikas Sajjan wrote:
>>>> Adding USB mailing list.
>>>>
>>>>
>>>> On Tue, Sep 27, 2016 at 12:33 PM, Sajjan, Vikas C 
>>>> <vikas.cha.sajjan@hpe.com> wrote:
>>>>> Hi All,
>>>>>
>>>>> I working on ARM juno R2 board, with latest kernel 4.8.rc7 and I 
>>>>> get below USB EHCI probe error while booting with acpi=force.
>>>>>
>>>
>>> Are you using the latest UEFI EDK2 ?
>>> No, I am still using the UEFI binary which came as part of the Juno 
>>> board.
>>>
>>>
>>>>> [    1.223662] VFIO - User Level meta-driver version: 0.3
>>>>> [    1.229335] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)
>>>>> Driver
>>>>> [    1.235882] ehci-pci: EHCI PCI platform driver
>>>>> [    1.240359] ehci-platform: EHCI generic platform driver
>>>>> [    1.245619] ehci-platform ARMH0D20:00: Error: DMA mask
>>>>> configuration failed
>>>>> [    1.272491] ehci-platform: probe of ARMH0D20:00 failed with
>>>>> error -5
>>>>> [    1.278876] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
>>>>> [    1.285071] ohci-pci: OHCI PCI platform driver
>>>>> [    1.289548] ohci-platform: OHCI generic platform driver
>>>>> [    1.294884] usbcore: registered new interface driver usb-storage
>>>>> [    1.301231] mousedev: PS/2 mouse device common for all mice
>>>>> [    1.307197] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
>>>>>
>>>>> But this error goes off, if I don't force ACPI booting, i.e., if I 
>>>>> remove acpi=force from kernel command line , USB is detected  and 
>>>>> my RFS which is in the usb drive, gets mounted successfully.
>>>>>
>>>
>>> As I mentioned in private, I do get the same error if I drop _CCA in 
>>> USB object of ACPI DSDT. Can you give it a spin with latest UEFI ?
>>>
>>> Sure, will try with latest UEFI.
>>>
>>
>> I bet that's 8-12 months old. It puts the banner during boot with the 
>> build date. You can try to follow [1] or access it from [2]
> 
> Agree.
> 
> D03 is using the same IP (EHCI) and the USB works fine with _CCA in 
> the device node.

_CCA is mandatory on arm64 (see CONFIG_ACPI_CCA_REQUIRED). Any devices without it are going to end up with the dummy DMA ops which intentionally fail if a driver tries to use them - i.e. the error seen above is by design.

Thank you for the clarification.

Thanks and Regards
Vikas Sajjan

Robin.

> 
> Thanks
> Hanjun
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 20+ messages in thread

* ARM juno R2 board USB Issue (EHCI probe failed)
@ 2016-09-28  3:33                 ` Sajjan, Vikas C
  0 siblings, 0 replies; 20+ messages in thread
From: Sajjan, Vikas C @ 2016-09-28  3:33 UTC (permalink / raw)
  To: linux-arm-kernel

Hi All,

-----Original Message-----
From: Robin Murphy [mailto:robin.murphy at arm.com] 
Sent: Tuesday, September 27, 2016 9:53 PM
To: Hanjun Guo <hanjun.guo@linaro.org>; Sudeep Holla <sudeep.holla@arm.com>; Sajjan, Vikas C <vikas.cha.sajjan@hpe.com>; Vikas Sajjan <sajjan.linux@gmail.com>; linux-usb at vger.kernel.org; linux-arm-kernel at lists.infradead.org; linux-acpi at vger.kernel.org
Cc: mark.rutland at arm.com; lorenzo.pieralisi at arm.com
Subject: Re: ARM juno R2 board USB Issue (EHCI probe failed)

On 27/09/16 17:13, Hanjun Guo wrote:
> On 09/27/2016 05:07 PM, Sudeep Holla wrote:
>>
>>
>> On 27/09/16 09:55, Sajjan, Vikas C wrote:
>>> Hi Sudeep,
>>>
>>> -----Original Message-----
>>> From: Sudeep Holla [mailto:sudeep.holla at arm.com]
>>> Sent: Tuesday, September 27, 2016 2:21 PM
>>> To: Vikas Sajjan <sajjan.linux@gmail.com>; 
>>> linux-usb at vger.kernel.org; linux-arm-kernel at lists.infradead.org; 
>>> linux-acpi at vger.kernel.org
>>> Cc: Sudeep Holla <sudeep.holla@arm.com>; mark.rutland at arm.com; 
>>> lorenzo.pieralisi at arm.com; Sajjan, Vikas C 
>>> <vikas.cha.sajjan@hpe.com>
>>> Subject: Re: ARM juno R2 board USB Issue (EHCI probe failed)
>>>
>>> Hi Vikas,
>>>
>>> On 27/09/16 09:14, Vikas Sajjan wrote:
>>>> Adding USB mailing list.
>>>>
>>>>
>>>> On Tue, Sep 27, 2016 at 12:33 PM, Sajjan, Vikas C 
>>>> <vikas.cha.sajjan@hpe.com> wrote:
>>>>> Hi All,
>>>>>
>>>>> I working on ARM juno R2 board, with latest kernel 4.8.rc7 and I 
>>>>> get below USB EHCI probe error while booting with acpi=force.
>>>>>
>>>
>>> Are you using the latest UEFI EDK2 ?
>>> No, I am still using the UEFI binary which came as part of the Juno 
>>> board.
>>>
>>>
>>>>> [    1.223662] VFIO - User Level meta-driver version: 0.3
>>>>> [    1.229335] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)
>>>>> Driver
>>>>> [    1.235882] ehci-pci: EHCI PCI platform driver
>>>>> [    1.240359] ehci-platform: EHCI generic platform driver
>>>>> [    1.245619] ehci-platform ARMH0D20:00: Error: DMA mask
>>>>> configuration failed
>>>>> [    1.272491] ehci-platform: probe of ARMH0D20:00 failed with
>>>>> error -5
>>>>> [    1.278876] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
>>>>> [    1.285071] ohci-pci: OHCI PCI platform driver
>>>>> [    1.289548] ohci-platform: OHCI generic platform driver
>>>>> [    1.294884] usbcore: registered new interface driver usb-storage
>>>>> [    1.301231] mousedev: PS/2 mouse device common for all mice
>>>>> [    1.307197] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
>>>>>
>>>>> But this error goes off, if I don't force ACPI booting, i.e., if I 
>>>>> remove acpi=force from kernel command line , USB is detected  and 
>>>>> my RFS which is in the usb drive, gets mounted successfully.
>>>>>
>>>
>>> As I mentioned in private, I do get the same error if I drop _CCA in 
>>> USB object of ACPI DSDT. Can you give it a spin with latest UEFI ?
>>>
>>> Sure, will try with latest UEFI.
>>>
>>
>> I bet that's 8-12 months old. It puts the banner during boot with the 
>> build date. You can try to follow [1] or access it from [2]
> 
> Agree.
> 
> D03 is using the same IP (EHCI) and the USB works fine with _CCA in 
> the device node.

_CCA is mandatory on arm64 (see CONFIG_ACPI_CCA_REQUIRED). Any devices without it are going to end up with the dummy DMA ops which intentionally fail if a driver tries to use them - i.e. the error seen above is by design.

Thank you for the clarification.

Thanks and Regards
Vikas Sajjan

Robin.

> 
> Thanks
> Hanjun
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 20+ messages in thread

* RE: ARM juno R2 board USB Issue (EHCI probe failed)
  2016-09-27  9:07           ` Sudeep Holla
@ 2016-09-30  4:19             ` Sajjan, Vikas C
  -1 siblings, 0 replies; 20+ messages in thread
From: Sajjan, Vikas C @ 2016-09-30  4:19 UTC (permalink / raw)
  To: Sudeep Holla, Vikas Sajjan, linux-usb, linux-arm-kernel, linux-acpi
  Cc: mark.rutland, lorenzo.pieralisi

Hi Sudeep,

-----Original Message-----
From: Sudeep Holla [mailto:sudeep.holla@arm.com] 
Sent: Tuesday, September 27, 2016 2:38 PM
To: Sajjan, Vikas C <vikas.cha.sajjan@hpe.com>; Vikas Sajjan <sajjan.linux@gmail.com>; linux-usb@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux-acpi@vger.kernel.org
Cc: Sudeep Holla <sudeep.holla@arm.com>; mark.rutland@arm.com; lorenzo.pieralisi@arm.com
Subject: Re: ARM juno R2 board USB Issue (EHCI probe failed)



On 27/09/16 09:55, Sajjan, Vikas C wrote:
> Hi Sudeep,
>
> -----Original Message-----
> From: Sudeep Holla [mailto:sudeep.holla@arm.com]
> Sent: Tuesday, September 27, 2016 2:21 PM
> To: Vikas Sajjan <sajjan.linux@gmail.com>; linux-usb@vger.kernel.org; 
> linux-arm-kernel@lists.infradead.org; linux-acpi@vger.kernel.org
> Cc: Sudeep Holla <sudeep.holla@arm.com>; mark.rutland@arm.com; 
> lorenzo.pieralisi@arm.com; Sajjan, Vikas C <vikas.cha.sajjan@hpe.com>
> Subject: Re: ARM juno R2 board USB Issue (EHCI probe failed)
>
> Hi Vikas,
>
> On 27/09/16 09:14, Vikas Sajjan wrote:
>> Adding USB mailing list.
>>
>>
>> On Tue, Sep 27, 2016 at 12:33 PM, Sajjan, Vikas C 
>> <vikas.cha.sajjan@hpe.com> wrote:
>>> Hi All,
>>>
>>> I working on ARM juno R2 board, with latest kernel 4.8.rc7 and I get 
>>> below USB EHCI probe error while booting with acpi=force.
>>>
>
> Are you using the latest UEFI EDK2 ?
> No, I am still using the UEFI binary which came as part of the Juno board.
>
>
>>> [    1.223662] VFIO - User Level meta-driver version: 0.3
>>> [    1.229335] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
>>> [    1.235882] ehci-pci: EHCI PCI platform driver
>>> [    1.240359] ehci-platform: EHCI generic platform driver
>>> [    1.245619] ehci-platform ARMH0D20:00: Error: DMA mask configuration failed
>>> [    1.272491] ehci-platform: probe of ARMH0D20:00 failed with error -5
>>> [    1.278876] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
>>> [    1.285071] ohci-pci: OHCI PCI platform driver
>>> [    1.289548] ohci-platform: OHCI generic platform driver
>>> [    1.294884] usbcore: registered new interface driver usb-storage
>>> [    1.301231] mousedev: PS/2 mouse device common for all mice
>>> [    1.307197] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
>>>
>>> But this error goes off, if I don't force ACPI booting, i.e., if I 
>>> remove acpi=force from kernel command line , USB is detected  and my 
>>> RFS which is in the usb drive, gets mounted successfully.
>>>
>
> As I mentioned in private, I do get the same error if I drop _CCA in 
> USB object of ACPI DSDT. Can you give it a spin with latest UEFI ?
>
> Sure, will try with latest UEFI.
>

I bet that's 8-12 months old. It puts the banner during boot with the build date. You can try to follow [1] or access it from [2]

I was able boot the kernel without any EHCI failure and could get to the shell prompt using the EDK2 in [2].
Thanks for help.

Thanks and Regards
Vikas Sajjan
--
Regards,
Sudeep

[1] https://community.arm.com/docs/DOC-11395
[2]
http://snapshots.linaro.org/member-builds/armlt-platforms-release/32/juno-uefi.zip

^ permalink raw reply	[flat|nested] 20+ messages in thread

* ARM juno R2 board USB Issue (EHCI probe failed)
@ 2016-09-30  4:19             ` Sajjan, Vikas C
  0 siblings, 0 replies; 20+ messages in thread
From: Sajjan, Vikas C @ 2016-09-30  4:19 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Sudeep,

-----Original Message-----
From: Sudeep Holla [mailto:sudeep.holla at arm.com] 
Sent: Tuesday, September 27, 2016 2:38 PM
To: Sajjan, Vikas C <vikas.cha.sajjan@hpe.com>; Vikas Sajjan <sajjan.linux@gmail.com>; linux-usb at vger.kernel.org; linux-arm-kernel at lists.infradead.org; linux-acpi at vger.kernel.org
Cc: Sudeep Holla <sudeep.holla@arm.com>; mark.rutland at arm.com; lorenzo.pieralisi at arm.com
Subject: Re: ARM juno R2 board USB Issue (EHCI probe failed)



On 27/09/16 09:55, Sajjan, Vikas C wrote:
> Hi Sudeep,
>
> -----Original Message-----
> From: Sudeep Holla [mailto:sudeep.holla at arm.com]
> Sent: Tuesday, September 27, 2016 2:21 PM
> To: Vikas Sajjan <sajjan.linux@gmail.com>; linux-usb at vger.kernel.org; 
> linux-arm-kernel at lists.infradead.org; linux-acpi at vger.kernel.org
> Cc: Sudeep Holla <sudeep.holla@arm.com>; mark.rutland at arm.com; 
> lorenzo.pieralisi at arm.com; Sajjan, Vikas C <vikas.cha.sajjan@hpe.com>
> Subject: Re: ARM juno R2 board USB Issue (EHCI probe failed)
>
> Hi Vikas,
>
> On 27/09/16 09:14, Vikas Sajjan wrote:
>> Adding USB mailing list.
>>
>>
>> On Tue, Sep 27, 2016 at 12:33 PM, Sajjan, Vikas C 
>> <vikas.cha.sajjan@hpe.com> wrote:
>>> Hi All,
>>>
>>> I working on ARM juno R2 board, with latest kernel 4.8.rc7 and I get 
>>> below USB EHCI probe error while booting with acpi=force.
>>>
>
> Are you using the latest UEFI EDK2 ?
> No, I am still using the UEFI binary which came as part of the Juno board.
>
>
>>> [    1.223662] VFIO - User Level meta-driver version: 0.3
>>> [    1.229335] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
>>> [    1.235882] ehci-pci: EHCI PCI platform driver
>>> [    1.240359] ehci-platform: EHCI generic platform driver
>>> [    1.245619] ehci-platform ARMH0D20:00: Error: DMA mask configuration failed
>>> [    1.272491] ehci-platform: probe of ARMH0D20:00 failed with error -5
>>> [    1.278876] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
>>> [    1.285071] ohci-pci: OHCI PCI platform driver
>>> [    1.289548] ohci-platform: OHCI generic platform driver
>>> [    1.294884] usbcore: registered new interface driver usb-storage
>>> [    1.301231] mousedev: PS/2 mouse device common for all mice
>>> [    1.307197] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
>>>
>>> But this error goes off, if I don't force ACPI booting, i.e., if I 
>>> remove acpi=force from kernel command line , USB is detected  and my 
>>> RFS which is in the usb drive, gets mounted successfully.
>>>
>
> As I mentioned in private, I do get the same error if I drop _CCA in 
> USB object of ACPI DSDT. Can you give it a spin with latest UEFI ?
>
> Sure, will try with latest UEFI.
>

I bet that's 8-12 months old. It puts the banner during boot with the build date. You can try to follow [1] or access it from [2]

I was able boot the kernel without any EHCI failure and could get to the shell prompt using the EDK2 in [2].
Thanks for help.

Thanks and Regards
Vikas Sajjan
--
Regards,
Sudeep

[1] https://community.arm.com/docs/DOC-11395
[2]
http://snapshots.linaro.org/member-builds/armlt-platforms-release/32/juno-uefi.zip

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2016-09-30  4:19 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-27  7:03 ARM juno R2 board USB Issue (EHCI probe failed) Sajjan, Vikas C
2016-09-27  7:03 ` Sajjan, Vikas C
2016-09-27  8:14 ` Vikas Sajjan
2016-09-27  8:14   ` Vikas Sajjan
2016-09-27  8:50   ` Sudeep Holla
2016-09-27  8:50     ` Sudeep Holla
2016-09-27  8:55     ` Sajjan, Vikas C
2016-09-27  8:55       ` Sajjan, Vikas C
     [not found]       ` <AT5PR84MB00524ACD87B9FF61AAB55223D9CC0-+ZEEs1H5rOiKy5aHBxK2oticc1VoeDReZmpNikb/MY7jO8Y7rvWZVA@public.gmane.org>
2016-09-27  9:07         ` Sudeep Holla
2016-09-27  9:07           ` Sudeep Holla
2016-09-27 16:13           ` Hanjun Guo
2016-09-27 16:13             ` Hanjun Guo
2016-09-27 16:23             ` Robin Murphy
2016-09-27 16:23               ` Robin Murphy
2016-09-27 17:01               ` Sudeep Holla
2016-09-27 17:01                 ` Sudeep Holla
2016-09-28  3:33               ` Sajjan, Vikas C
2016-09-28  3:33                 ` Sajjan, Vikas C
2016-09-30  4:19           ` Sajjan, Vikas C
2016-09-30  4:19             ` Sajjan, Vikas C

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.