linux_dsm_epyc7002/drivers/media/pci
Luis R. Rodriguez f5530d5af8 x86/mm/pat, drivers/media/ivtv: Move the PAT warning and replace WARN() with pr_warn()
On built-in kernels this warning will always splat, even if no ivtvfb
hardware is present, as this is part of the module init:

	if (WARN(pat_enabled(),
		 "ivtvfb needs PAT disabled, boot with nopat kernel parameter\n")) {

Fix that by shifting the PAT requirement check out under the code
that does the "quasi-probe" for the device.

This device driver relies on an existing driver to find its own devices,
it looks for that device driver and its own found devices, then uses
driver_for_each_device() to try to see if it can probe each of those
devices as a frambuffer device with ivtvfb_init_card().

We tuck the PAT requiremenet check then on the ivtvfb_init_card() call
making the check at least require an ivtv device present before
complaining.

Reported-by: Fengguang Wu <fengguang.wu@intel.com> [0-day test robot]
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: andy@silverblocksystems.net
Cc: benh@kernel.crashing.org
Cc: bp@suse.de
Cc: dan.j.williams@intel.com
Cc: dledford@redhat.com
Cc: jkosina@suse.cz
Cc: julia.lawall@lip6.fr
Cc: luto@amacapital.net
Cc: mchehab@osg.samsung.com
Link: http://lkml.kernel.org/r/1437167245-28273-3-git-send-email-mcgrof@do-not-panic.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2015-07-21 09:42:54 +02:00
..
b2c2 [media] pci: flexcop: Remove redundant pci_set_drvdata 2013-10-17 05:56:55 -03:00
bt8xx [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
cobalt [media] cobalt: fix 64-bit division 2015-06-10 10:01:16 -03:00
cx18 [media] v4l2: replace s_mbus_fmt by set_fmt in bridge drivers 2015-05-01 09:01:16 -03:00
cx88 [media] cx88: don't declare restart_video_queue if not used 2015-06-10 17:58:00 -03:00
cx23885 [media] TS2020: Calculate tuner gain correctly 2015-06-10 11:10:27 -03:00
cx25821 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2015-06-23 14:08:54 -07:00
ddbridge [media] ddbridge: Do not free_irq() if request_irq() failed 2015-06-09 19:40:33 -03:00
dm1105 [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
dt3155 Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
ivtv x86/mm/pat, drivers/media/ivtv: Move the PAT warning and replace WARN() with pr_warn() 2015-07-21 09:42:54 +02:00
mantis [media] mantis: cleanup a warning 2015-06-18 14:32:21 -03:00
meye [media] meye: embed video_device 2015-04-02 23:35:01 -03:00
ngene [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
pluto2 [media] media_tree: Fix spelling errors 2013-12-09 14:50:50 -02:00
pt1 [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
pt3 [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
saa7134 [media] saa7134: fix page size on some archs 2015-06-24 08:38:28 -03:00
saa7146 [media] saa7146: embed video_device 2015-04-02 23:29:01 -03:00
saa7164 [media] saa7164: Improvements for I2C handling" 2015-06-10 11:46:03 -03:00
smipcie [media] si2157: support selection of IF interface 2015-05-12 13:20:55 -03:00
solo6x10 [media] solo6x10: s/uint8_t/u8/ 2015-01-27 10:03:19 -02:00
sta2x11 [media] sta2x11: use monotonic timestamp 2015-05-18 16:27:29 -03:00
ttpci [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
tw68 [media] tw68: remove unnecessary version.h inclusion 2015-01-27 10:08:49 -02:00
zoran [media] zoran: fix indent 2015-04-30 13:36:44 -03:00
Kconfig [media] cobalt: add new driver 2015-05-20 13:44:01 -03:00
Makefile [media] cobalt: add new driver 2015-05-20 13:44:01 -03:00