Linux ACPI
 help / color / mirror / Atom feed
From: Sudeep Holla <sudeep.holla@arm.com>
To: Robin Murphy <robin.murphy@arm.com>,
	Hanjun Guo <hanjun.guo@linaro.org>,
	"Sajjan, Vikas C" <vikas.cha.sajjan@hpe.com>,
	Vikas Sajjan <sajjan.linux@gmail.com>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>
Cc: Sudeep Holla <sudeep.holla@arm.com>,
	"mark.rutland@arm.com" <mark.rutland@arm.com>,
	"lorenzo.pieralisi@arm.com" <lorenzo.pieralisi@arm.com>
Subject: Re: ARM juno R2 board USB Issue (EHCI probe failed)
Date: Tue, 27 Sep 2016 18:01:13 +0100	[thread overview]
Message-ID: <1cac4b9b-b096-4592-e3df-94ade8848f07@arm.com> (raw)
In-Reply-To: <9b231601-2c6a-a5d7-471f-4fc0d8190d83@arm.com>



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

  reply	other threads:[~2016-09-27 17:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-27  7:03 ARM juno R2 board USB Issue (EHCI probe failed) Sajjan, Vikas C
2016-09-27  8:14 ` Vikas Sajjan
2016-09-27  8:50   ` Sudeep Holla
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 16:13           ` Hanjun Guo
2016-09-27 16:23             ` Robin Murphy
2016-09-27 17:01               ` Sudeep Holla [this message]
2016-09-28  3:33               ` Sajjan, Vikas C
2016-09-30  4:19           ` Sajjan, Vikas C

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1cac4b9b-b096-4592-e3df-94ade8848f07@arm.com \
    --to=sudeep.holla@arm.com \
    --cc=hanjun.guo@linaro.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=mark.rutland@arm.com \
    --cc=robin.murphy@arm.com \
    --cc=sajjan.linux@gmail.com \
    --cc=vikas.cha.sajjan@hpe.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox