Re: [x86/mm/pat, drivers/media/ivtv] WARNING: CPU: 0 PID: 1 at drivers/media/pci/ivtv/ivtvfb.c:1270 ivtvfb_init()
From: Luis R. Rodriguez
Date: Sun Jun 21 2015 - 16:24:04 EST
On Sat, Jun 20, 2015 at 01:08:44PM +0200, Borislav Petkov wrote:
> On Sat, Jun 20, 2015 at 03:17:56PM +0800, Fengguang Wu wrote:
> > Greetings,
> >
> > 0day kernel testing robot got the below dmesg and the first bad commit is
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> >
> > commit 1bf1735b478008c30acaff18ec6f4a3ff211c28a
> > Author: Luis R. Rodriguez <mcgrof@xxxxxxxx>
> > AuthorDate: Mon Jun 15 10:28:16 2015 +0200
> > Commit: Ingo Molnar <mingo@xxxxxxxxxx>
> > CommitDate: Thu Jun 18 11:23:41 2015 +0200
> >
> > x86/mm/pat, drivers/media/ivtv: Use arch_phys_wc_add() and require PAT disabled
>
> ...
>
> > [ 12.956506] ivtv: Start initialization, version 1.4.3
> > [ 12.958238] ivtv: End initialization
> > [ 12.959438] ------------[ cut here ]------------
> > [ 12.974076] WARNING: CPU: 0 PID: 1 at drivers/media/pci/ivtv/ivtvfb.c:1270 ivtvfb_init+0x32/0xa3()
> > [ 12.978017] ivtvfb needs PAT disabled, boot with nopat kernel parameter
>
> Warning says it all. You need to boot with "nopat". Apparently, those
> devices are very seldom now and users should boot with "nopat".
Indeed.
> Luis, what is the plan, is this driver supposed to be converted to
> reserve_memtype(..., _PAGE_CACHE_MODE_WC, ...) at some point?
Nope, well the driver requires huge amounts of work to work with PAT,
that work will likely never be done, so hence the warning. Its our
compromise as only 2 drivers will live on Linux like this and they are
both old and rare.
Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at http://www.tux.org/lkml/