Re: [PATCH] x86/dmi: Switch dmi_remap to ioremap_cache

2017-03-09 Thread Julian Brost
On 26.01.2016 08:06, Andy Lutomirski wrote: > DMI cacheability is very confused on x86. > > dmi_early_remap uses early_ioremap, which uses FIXMAP_PAGE_IO, which > is __PAGE_KERNEL_IO, which is __PAGE_KERNEL, which is cached. Don't > ask me why this makes any sense. > > dmi_remap uses ioremap,

Re: [PATCH] x86/dmi: Switch dmi_remap to ioremap_cache

2017-03-09 Thread Julian Brost
On 26.01.2016 08:06, Andy Lutomirski wrote: > DMI cacheability is very confused on x86. > > dmi_early_remap uses early_ioremap, which uses FIXMAP_PAGE_IO, which > is __PAGE_KERNEL_IO, which is __PAGE_KERNEL, which is cached. Don't > ask me why this makes any sense. > > dmi_remap uses ioremap,

Re: [PATCH] x86/dmi: Switch dmi_remap to ioremap_cache

2017-03-09 Thread Andy Lutomirski
On Thu, Mar 9, 2017 at 9:51 AM, Arjan van de Ven wrote: > On 3/9/2017 9:48 AM, Julian Brost wrote: > >> I'm note entirely sure whether it's actually the kernel or HP to blame, >> but for now, hp-health is completely broken on 4.9 (probably on >> everything starting from

Re: [PATCH] x86/dmi: Switch dmi_remap to ioremap_cache

2017-03-09 Thread Andy Lutomirski
On Thu, Mar 9, 2017 at 9:51 AM, Arjan van de Ven wrote: > On 3/9/2017 9:48 AM, Julian Brost wrote: > >> I'm note entirely sure whether it's actually the kernel or HP to blame, >> but for now, hp-health is completely broken on 4.9 (probably on >> everything starting from 4.6), so this patch should

Re: [PATCH] x86/dmi: Switch dmi_remap to ioremap_cache

2017-03-09 Thread Julian Brost
On 09.03.2017 18:51, Arjan van de Ven wrote: > On 3/9/2017 9:48 AM, Julian Brost wrote: > >> I'm note entirely sure whether it's actually the kernel or HP to blame, >> but for now, hp-health is completely broken on 4.9 (probably on >> everything starting from 4.6), so this patch should be

Re: [PATCH] x86/dmi: Switch dmi_remap to ioremap_cache

2017-03-09 Thread Julian Brost
On 09.03.2017 18:51, Arjan van de Ven wrote: > On 3/9/2017 9:48 AM, Julian Brost wrote: > >> I'm note entirely sure whether it's actually the kernel or HP to blame, >> but for now, hp-health is completely broken on 4.9 (probably on >> everything starting from 4.6), so this patch should be

Re: [PATCH] x86/dmi: Switch dmi_remap to ioremap_cache

2017-03-09 Thread Arjan van de Ven
On 3/9/2017 9:48 AM, Julian Brost wrote: I'm note entirely sure whether it's actually the kernel or HP to blame, but for now, hp-health is completely broken on 4.9 (probably on everything starting from 4.6), so this patch should be reviewed again. it looks like another kernel driver is doing

Re: [PATCH] x86/dmi: Switch dmi_remap to ioremap_cache

2017-03-09 Thread Arjan van de Ven
On 3/9/2017 9:48 AM, Julian Brost wrote: I'm note entirely sure whether it's actually the kernel or HP to blame, but for now, hp-health is completely broken on 4.9 (probably on everything starting from 4.6), so this patch should be reviewed again. it looks like another kernel driver is doing

[PATCH] x86/dmi: Switch dmi_remap to ioremap_cache

2016-01-25 Thread Andy Lutomirski
DMI cacheability is very confused on x86. dmi_early_remap uses early_ioremap, which uses FIXMAP_PAGE_IO, which is __PAGE_KERNEL_IO, which is __PAGE_KERNEL, which is cached. Don't ask me why this makes any sense. dmi_remap uses ioremap, which requests an uncached mapping. However, on non-EFI

[PATCH] x86/dmi: Switch dmi_remap to ioremap_cache

2016-01-25 Thread Andy Lutomirski
DMI cacheability is very confused on x86. dmi_early_remap uses early_ioremap, which uses FIXMAP_PAGE_IO, which is __PAGE_KERNEL_IO, which is __PAGE_KERNEL, which is cached. Don't ask me why this makes any sense. dmi_remap uses ioremap, which requests an uncached mapping. However, on non-EFI