* Re: `ucsi_acpi: probe of USBC000:00 failed with error -12` on Dell XPS 13 9360/9370 [not found] ` <20180518150823.GA14756@kuha.fi.intel.com> @ 2018-05-18 15:15 ` Greg Kroah-Hartman 2018-05-18 20:04 ` Rafael J. Wysocki 0 siblings, 1 reply; 3+ messages in thread From: Greg Kroah-Hartman @ 2018-05-18 15:15 UTC (permalink / raw) To: Heikki Krogerus Cc: Rafael J. Wysocki, Paul Menzel, Mario Limonciello, linux-usb, linux-kernel, Thorsten Leemhuis, linux-acpi On Fri, May 18, 2018 at 06:08:24PM +0300, Heikki Krogerus wrote: > > Rafael, the problem here with these Dell laptops is that a memory page > that is used as a mailbox for special communication between EC FW and > OS (called UCSI mailbox) should be in uncached memory, but the memory > is marked as cached. > > I'm actually not even sure if the cache mode is something that is set > based on information from ACPI tables, or is it something that the > BIOS handles separately? > > If it's information coming from ACPI tables, can we help pin point the > place the BIOS guys at Dell should fix? Given that Windows works with this same set of ACPI tables, perhaps the requirement isn't that this memory location be uncached? We shouldn't have to fix up ACPI tables just for Linux, we've been down that path before :( thanks, greg k-h ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: `ucsi_acpi: probe of USBC000:00 failed with error -12` on Dell XPS 13 9360/9370 2018-05-18 15:15 ` `ucsi_acpi: probe of USBC000:00 failed with error -12` on Dell XPS 13 9360/9370 Greg Kroah-Hartman @ 2018-05-18 20:04 ` Rafael J. Wysocki 2018-05-18 21:28 ` Heikki Krogerus 0 siblings, 1 reply; 3+ messages in thread From: Rafael J. Wysocki @ 2018-05-18 20:04 UTC (permalink / raw) To: Heikki Krogerus Cc: Rafael J. Wysocki, Paul Menzel, Mario Limonciello, open list:ULTRA-WIDEBAND (UWB) SUBSYSTEM:, Linux Kernel Mailing List, Thorsten Leemhuis, ACPI Devel Maling List, Greg Kroah-Hartman On Fri, May 18, 2018 at 5:15 PM, Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote: > On Fri, May 18, 2018 at 06:08:24PM +0300, Heikki Krogerus wrote: >> >> Rafael, the problem here with these Dell laptops is that a memory page >> that is used as a mailbox for special communication between EC FW and >> OS (called UCSI mailbox) should be in uncached memory, but the memory >> is marked as cached. Well, why don't we map it as uncached, then? >> I'm actually not even sure if the cache mode is something that is set >> based on information from ACPI tables, or is it something that the >> BIOS handles separately? We map the ACPI tables as cached as a rule, so that may be the reason. >> If it's information coming from ACPI tables, can we help pin point the >> place the BIOS guys at Dell should fix? I'm not sure where this particular piece comes from. > Given that Windows works with this same set of ACPI tables, perhaps the > requirement isn't that this memory location be uncached? > > We shouldn't have to fix up ACPI tables just for Linux, we've been down > that path before :( Yes, pretty much. Thanks, Rafael ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: `ucsi_acpi: probe of USBC000:00 failed with error -12` on Dell XPS 13 9360/9370 2018-05-18 20:04 ` Rafael J. Wysocki @ 2018-05-18 21:28 ` Heikki Krogerus 0 siblings, 0 replies; 3+ messages in thread From: Heikki Krogerus @ 2018-05-18 21:28 UTC (permalink / raw) To: Rafael J. Wysocki Cc: Rafael J. Wysocki, Paul Menzel, Mario Limonciello, open list:ULTRA-WIDEBAND (UWB) SUBSYSTEM:, Linux Kernel Mailing List, Thorsten Leemhuis, ACPI Devel Maling List, Greg Kroah-Hartman On Fri, May 18, 2018 at 10:04:02PM +0200, Rafael J. Wysocki wrote: > On Fri, May 18, 2018 at 5:15 PM, Greg Kroah-Hartman > > Given that Windows works with this same set of ACPI tables, perhaps the > > requirement isn't that this memory location be uncached? > > > > We shouldn't have to fix up ACPI tables just for Linux, we've been down > > that path before :( > > Yes, pretty much. That's not what I'm suggesting. AFAIK these Dell laptops are the only ones with this problem, so if we accept this, I fear it means we have to start maintaining DMI quirk table in the driver, and then: if (dell) ioremap_cache() else ioremap_nocache() I was really hoping we could avoid that. Or is there something else we can do in the driver? I have no idea how the windows driver works, so I will double check and test this next week, but our driver has really worked fine so far. Thanks, -- heikki ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-05-18 21:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <9365397f-7206-728e-ee76-146629bfd186@molgen.mpg.de>
[not found] ` <20180515160047.GB26720@kroah.com>
[not found] ` <69da4aa4-3d4b-0ffc-81ce-500713cd3743@molgen.mpg.de>
[not found] ` <20180516080226.GC3536@kroah.com>
[not found] ` <20180516115814.GB11469@kuha.fi.intel.com>
[not found] ` <df6610738db046e9bd1db77d4346cfc3@ausx13mpc120.AMER.DELL.COM>
[not found] ` <20180517085930.GD11469@kuha.fi.intel.com>
[not found] ` <40707f34-e0a6-3114-36a3-6603bdcd8d82@molgen.mpg.de>
[not found] ` <20180518104000.GA13595@kuha.fi.intel.com>
[not found] ` <20180518150823.GA14756@kuha.fi.intel.com>
2018-05-18 15:15 ` `ucsi_acpi: probe of USBC000:00 failed with error -12` on Dell XPS 13 9360/9370 Greg Kroah-Hartman
2018-05-18 20:04 ` Rafael J. Wysocki
2018-05-18 21:28 ` Heikki Krogerus
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox