Re: [PATCH 5.12 237/242] drm/ast: Remove reference to struct drm_device.pdev

2021-07-22 Thread Greg Kroah-Hartman
On Mon, Jul 19, 2021 at 04:35:21PM +0200, Thomas Zimmermann wrote: > hi > > Am 19.07.21 um 13:23 schrieb Greg Kroah-Hartman: > > On Mon, Jul 19, 2021 at 05:57:30PM +0800, Xiaotian Feng wrote: > > > On Fri, Jul 16, 2021 at 5:13 AM Greg Kroah-Hartman > > > wro

Re: [PATCH 07/64] staging: rtl8192e: Use struct_group() for memcpy() region

2021-07-27 Thread Greg Kroah-Hartman
tllib_rx.c | 8 ++++ > 3 files changed, 18 insertions(+), 13 deletions(-) Acked-by: Greg Kroah-Hartman

Re: [PATCH 24/64] staging: wlan-ng: Use struct_group() for memcpy() region

2021-07-27 Thread Greg Kroah-Hartman
drivers/staging/wlan-ng/hfa384x.h | 16 +--- > drivers/staging/wlan-ng/hfa384x_usb.c | 4 +++- > 2 files changed, 12 insertions(+), 8 deletions(-) Acked-by: Greg Kroah-Hartman

Re: [PATCH 08/64] staging: rtl8192u: Use struct_group() for memcpy() region

2021-07-27 Thread Greg Kroah-Hartman
uct ieee80211_qos_information_element. "objdump > -d" shows no meaningful object code changes (i.e. only source line number > induced differences and optimizations). > > Signed-off-by: Kees Cook Acked-by: Greg Kroah-Hartman

Re: [PATCH 09/64] staging: rtl8723bs: Avoid field-overflowing memcpy()

2021-07-27 Thread Greg Kroah-Hartman
le changed, 1 insertion(+), 1 deletion(-) Acked-by: Greg Kroah-Hartman

Re: [PATCH 49/64] cm4000_cs: Use struct_group() to zero struct cm4000_dev region

2021-07-27 Thread Greg Kroah-Hartman
dev that should be > initialized to zero. > > Signed-off-by: Kees Cook > --- > drivers/char/pcmcia/cm4000_cs.c | 9 - > 1 file changed, 4 insertions(+), 5 deletions(-) Acked-by: Greg Kroah-Hartman

Re: [PATCH 62/64] netlink: Avoid false-positive memcpy() warning

2021-07-27 Thread Greg Kroah-Hartman
On Tue, Jul 27, 2021 at 01:58:53PM -0700, Kees Cook wrote: > In preparation for FORTIFY_SOURCE performing compile-time and run-time > field bounds checking for memcpy(), memmove(), and memset(), avoid > intentionally writing across neighboring fields. > > Add a flexible array member to mark the en

Re: [PATCH 10/64] lib80211: Use struct_group() for memcpy() region

2021-07-27 Thread Greg Kroah-Hartman
ity.c | 5 +++-- > drivers/staging/rtl8723bs/core/rtw_xmit.c | 5 +++-- > include/linux/ieee80211.h | 8 +--- > net/wireless/lib80211_crypt_ccmp.c| 3 ++- > 4 files changed, 13 insertions(+), 8 deletions(-) For the staging portion: Acked-by: Greg Kroah-Hartman

Re: [PATCH 19/64] ip: Use struct_group() for memcpy() regions

2021-07-27 Thread Greg Kroah-Hartman
On Tue, Jul 27, 2021 at 01:58:10PM -0700, Kees Cook wrote: > In preparation for FORTIFY_SOURCE performing compile-time and run-time > field bounds checking for memcpy(), memmove(), and memset(), avoid > intentionally writing across neighboring fields. > > Use struct_group() in struct flowi4, struc

Re: [PATCH 25/64] drm/mga/mga_ioc32: Use struct_group() for memcpy() region

2021-07-27 Thread Greg Kroah-Hartman
On Tue, Jul 27, 2021 at 01:58:16PM -0700, Kees Cook wrote: > In preparation for FORTIFY_SOURCE performing compile-time and run-time > field bounds checking for memcpy(), memmove(), and memset(), avoid > intentionally writing across neighboring fields. > > Use struct_group() in struct drm32_mga_ini

Re: [PATCH 19/64] ip: Use struct_group() for memcpy() regions

2021-07-27 Thread Greg Kroah-Hartman
On Wed, Jul 28, 2021 at 01:14:33AM -0500, Gustavo A. R. Silva wrote: > > > On 7/28/21 00:55, Greg Kroah-Hartman wrote: > > On Tue, Jul 27, 2021 at 01:58:10PM -0700, Kees Cook wrote: > >> In preparation for FORTIFY_SOURCE performing compile-time and run-time > >>

Re: [PATCH 19/64] ip: Use struct_group() for memcpy() regions

2021-07-27 Thread Greg Kroah-Hartman
On Wed, Jul 28, 2021 at 01:31:16AM -0500, Gustavo A. R. Silva wrote: > > Why not use a local version of the macro like was done in the DRM header > > file, to make it always work the same and more obvious what is > > happening? If I were a userspace developer and saw the above, I would > > think t

Re: [PATCH 01/64] media: omap3isp: Extract struct group for memcpy() region

2021-07-28 Thread Greg Kroah-Hartman
On Wed, Jul 28, 2021 at 11:37:30PM +0200, David Sterba wrote: > On Wed, Jul 28, 2021 at 02:37:20PM -0700, Bart Van Assche wrote: > > On 7/28/21 2:14 AM, Dan Carpenter wrote: > > > On Wed, Jul 28, 2021 at 10:59:22AM +0200, David Sterba wrote: > > >>> drivers/media/platform/omap3isp/ispstat.c | 5

Re: [PATCH 00/57] Rid W=1 warnings from Staging

2021-04-16 Thread Greg Kroah-Hartman
2 +- > > drivers/staging/rtl8723bs/core/rtw_security.c | 2 +- > > drivers/staging/rtl8723bs/core/rtw_sta_mgt.c | 10 +- > > .../staging/rtl8723bs/core/rtw_wlan_util.c| 4 +- > > .../staging/rtl8723bs/hal/odm_NoiseMonitor.c | 9 +- > > .../staging/rtl8

Re: [PATCH v1 1/2] fbtft: Rectify GPIO handling

2021-04-16 Thread Greg Kroah-Hartman
On Fri, Apr 16, 2021 at 03:31:16PM +0300, Andy Shevchenko wrote: > The infamous commit c440eee1a7a1 ("Staging: fbtft: Switch to > the GPIO descriptor interface") broke GPIO handling completely. > It has already four commits to rectify and it seems not enough. > In order to fix the mess here we: >

[PATCH 5.11 068/122] drm/vmwgfx: Make sure we unpin no longer needed buffers

2021-04-19 Thread Greg Kroah-Hartman
84/?series=86052&rev=1 Cc: Huang Rui Cc: Christian König Cc: Daniel Vetter Cc: Christian Koenig Cc: dri-devel@lists.freedesktop.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h |2 ++ drivers/gpu/drm/vmwgfx/vmwgfx_mob.c |4 2 files changed, 6 inserti

Re: [PATCH 00/57] Rid W=1 warnings from Staging

2021-04-27 Thread Greg Kroah-Hartman
On Wed, Apr 14, 2021 at 07:10:32PM +0100, Lee Jones wrote: > This set is part of a larger effort attempting to clean-up W=1 > kernel builds, which are currently overwhelmingly riddled with > niggly little warnings. > > Lee Jones (57): 44 of these applied to my tree, I'll keep them in my "testing"

Re: [PATCH v2 1/4] fbtft: Replace custom ->reset() with generic one

2021-04-27 Thread Greg Kroah-Hartman
On Fri, Apr 16, 2021 at 05:20:41PM +0300, Andy Shevchenko wrote: > The custom ->reset() repeats the generic one, replace it. > > Note, in newer kernels the context of the function is a sleeping one, > it's fine to switch over to the sleeping functions. Keeping the reset > line asserted longer than

Re: [PATCH 000/190] Revertion of all of the umn.edu commits

2021-04-27 Thread Greg Kroah-Hartman
On Wed, Apr 21, 2021 at 07:35:44PM +0200, Daniel Vetter wrote: > On Wed, Apr 21, 2021 at 3:01 PM Greg Kroah-Hartman > wrote: > > > > I have been meaning to do this for a while, but recent events have > > finally forced me to do so. > > > > Commits from @umn

Re: [PATCH 1/9] drm/connector: Make the drm_sysfs connector->kdev device hold a reference to the connector

2021-04-29 Thread Greg Kroah-Hartman
On Thu, Apr 29, 2021 at 01:40:28PM +0200, Daniel Vetter wrote: > On Wed, Apr 28, 2021 at 11:52:49PM +0200, Hans de Goede wrote: > > Userspace could hold open a reference to the connector->kdev device, > > through e.g. holding a sysfs-atrtribute open after > > drm_sysfs_connector_remove() has been c

Re: [PATCH v3 0/3] Remove all strcpy() uses

2021-08-05 Thread Greg Kroah-Hartman
On Sun, Aug 01, 2021 at 02:40:40PM +0300, Andy Shevchenko wrote: > On Sun, Aug 1, 2021 at 11:53 AM Len Baker wrote: > > > > strcpy() performs no bounds checking on the destination buffer. This > > could result in linear overflows beyond the end of the buffer, leading > > to all kinds of misbehavio

Re: [PATCH v3 0/3] Remove all strcpy() uses

2021-08-05 Thread Greg Kroah-Hartman
On Thu, Aug 05, 2021 at 02:30:35PM +0300, Andy Shevchenko wrote: > On Thu, Aug 5, 2021 at 2:18 PM Greg Kroah-Hartman > wrote: > > On Sun, Aug 01, 2021 at 02:40:40PM +0300, Andy Shevchenko wrote: > > > On Sun, Aug 1, 2021 at 11:53 AM Len Baker wrote: > > > > &g

Re: [PATCH 1/2] drivers core: Export driver_deferred_probe_check_state()

2021-08-05 Thread Greg Kroah-Hartman
On Thu, Aug 05, 2021 at 09:21:08PM +0200, Paul Cercueil wrote: > Export this function as a GPL symbol, so that it can be used from > modules. > > Signed-off-by: Paul Cercueil > --- > drivers/base/dd.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/base/dd.c b/drivers/base/dd.c

Re: [PATCH 2/2] gpu/drm: ingenic: Add workaround for disabled drivers

2021-08-05 Thread Greg Kroah-Hartman
On Thu, Aug 05, 2021 at 09:21:09PM +0200, Paul Cercueil wrote: > When the drivers of remote devices (e.g. HDMI chip) are disabled in the > config, we want the ingenic-drm driver to be able to probe nonetheless > with the other devices (e.g. internal LCD panel) that are enabled. > > Signed-off-by:

Re: [PATCH 2/2] gpu/drm: ingenic: Add workaround for disabled drivers

2021-08-06 Thread Greg Kroah-Hartman
On Thu, Aug 05, 2021 at 10:05:27PM +0200, Paul Cercueil wrote: > Hi Greg, > > Le jeu., août 5 2021 at 21:35:34 +0200, Greg Kroah-Hartman > a écrit : > > On Thu, Aug 05, 2021 at 09:21:09PM +0200, Paul Cercueil wrote: > > > When the drivers of remote devices (e.g.

Re: [PATCH 2/2] gpu/drm: ingenic: Add workaround for disabled drivers

2021-08-10 Thread Greg Kroah-Hartman
On Fri, Aug 06, 2021 at 01:01:33PM +0200, Paul Cercueil wrote: > Hi Greg, > > Le ven., août 6 2021 at 12:17:55 +0200, Greg Kroah-Hartman > a écrit : > > On Thu, Aug 05, 2021 at 10:05:27PM +0200, Paul Cercueil wrote: > > > Hi Greg, > > > > > > Le je

[PATCH 5.13 059/175] drm/i915: fix i915_globals_exit() section mismatch error

2021-08-10 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit a07296453bf2778952a09b6244a695bf7607babb ] Fix modpost Section mismatch error in i915_globals_exit(). Since both an __init function and an __exit function can call i915_globals_exit(), any function that i915_globals_exit() calls should not be marked as __init

[PATCH 5.13 081/175] drm/amdgpu: fix checking pmops when PM_SLEEP is not enabled

2021-08-10 Thread Greg Kroah-Hartman
Cc: Christian König Cc: "Pan, Xinhui" Cc: amd-...@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-n...@vger.kernel.org Signed-off-by: Alex Deucher Cc: sta...@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c |2 +

Re: [PATCH] MAINTAINERS: Add dri-devel for component.[hc]

2021-08-26 Thread Greg Kroah-Hartman
=8...@mail.gmail.com/ > Cc: Ezequiel Garcia > Cc: Greg Kroah-Hartman > Cc: "Rafael J. Wysocki" > Signed-off-by: Daniel Vetter > --- > MAINTAINERS | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index ac58d0032abd.

Re: [PATCH] MAINTAINERS: Add dri-devel for component.[hc]

2021-08-27 Thread Greg Kroah-Hartman
On Thu, Aug 26, 2021 at 09:39:44PM +0200, Daniel Vetter wrote: > On Thu, Aug 26, 2021 at 12:56:26PM +0200, Greg Kroah-Hartman wrote: > > On Thu, Aug 26, 2021 at 11:13:43AM +0200, Daniel Vetter wrote: > > > dri-devel is the main user, and somehow there's been the assumpti

Re: remove the nvlink2 pci_vfio subdriver

2021-03-22 Thread Greg Kroah-Hartman
- > 16 files changed, 8 insertions(+), 1517 deletions(-) I thought this was supposed to be removed a few years ago! Anyway, no objection from me: Acked-by: Greg Kroah-Hartman ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v7 12/17] PCI: Revoke mappings like devmem

2021-01-19 Thread Greg Kroah-Hartman
difference in access checks left is that sysfs PCI mmap does > > not check for CAP_RAWIO. I'm not really sure whether that should be > > added or not. > > > > Acked-by: Bjorn Helgaas > > Reviewed-by: Dan Williams > > Signed-off-by: Daniel Vetter > > Cc

Re: [PATCH v7 12/17] PCI: Revoke mappings like devmem

2021-01-19 Thread Greg Kroah-Hartman
On Tue, Jan 19, 2021 at 03:34:47PM +0100, Daniel Vetter wrote: > On Tue, Jan 19, 2021 at 3:32 PM Greg Kroah-Hartman > wrote: > > > > On Tue, Jan 19, 2021 at 09:17:55AM +0100, Daniel Vetter wrote: > > > On Fri, Nov 27, 2020 at 5:42 PM Daniel Vetter > > > wrote

[PATCH 5.4 16/86] drm/syncobj: Fix use-after-free

2021-01-25 Thread Greg Kroah-Hartman
n König Cc: Lionel Landwerlin Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: # v5.2+ Link: https://patchwork.freedesktop.org/patch/msgid/20210119130318.615145-1-daniel.vet...@ffwll.ch Signed-off-by: Gre

[PATCH 5.10 029/199] drm/syncobj: Fix use-after-free

2021-01-25 Thread Greg Kroah-Hartman
n König Cc: Lionel Landwerlin Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: # v5.2+ Link: https://patchwork.freedesktop.org/patch/msgid/20210119130318.615145-1-daniel.vet...@ffwll.ch Signed-off-by: Gre

Re: [PATCH v3 4/5] amba: Make the remove callback return void

2021-01-27 Thread Greg Kroah-Hartman
rokhov > Acked-by: Krzysztof Kozlowski # for drivers/memory > Acked-by: Mark Brown > Acked-by: Dmitry Torokhov > Acked-by: Linus Walleij > Signed-off-by: Uwe Kleine-König Acked-by: Greg Kroah-Hartman ___ dri-devel mailing list

Re: [PATCH v12] staging: fbtft: add tearing signal detect

2021-01-29 Thread Greg Kroah-Hartman
On Fri, Jan 29, 2021 at 12:23:08PM +0200, Andy Shevchenko wrote: > On Fri, Jan 29, 2021 at 7:01 AM carlis wrote: > > On Thu, 28 Jan 2021 16:33:02 +0200 > > Andy Shevchenko wrote: > > > On Thu, Jan 28, 2021 at 2:58 PM Carlis wrote: > > > > > > Thanks for your contribution, my comments below. > >

Re: [PATCH 1/3] printk: use CONFIG_CONSOLE_LOGLEVEL_* directly

2021-02-02 Thread Greg Kroah-Hartman
drivers/video/fbdev/efifb.c| 2 +- > include/linux/printk.h | 10 -- > init/main.c| 2 +- > kernel/printk/printk.c | 6 +++--- > 8 files changed, 12 insertions(+), 22 deletions(-) Reviewed-by: Greg Kroah-Hartman ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [GIT PULL] immutable branch for amba changes targeting v5.12-rc1

2021-02-02 Thread Greg Kroah-Hartman
/git.pengutronix.de/git/ukl/linux tags/amba-make-remove-return-void > > for you to fetch changes up to f170b59fedd733b92f58c4d7c8357fbf7601d623: > > amba: Make use of bus_type functions (2021-02-02 14:26:02 +0100) > > I expect this tag to be merged by Russell King as amba maint

Re: [GIT PULL] immutable branch for amba changes targeting v5.12-rc1

2021-02-04 Thread Greg Kroah-Hartman
On Thu, Feb 04, 2021 at 04:52:24PM +, Russell King - ARM Linux admin wrote: > On Tue, Feb 02, 2021 at 03:06:05PM +0100, Greg Kroah-Hartman wrote: > > I'm glad to take this through my char/misc tree, as that's where the > > other coresight changes flow through. So

Re: [GIT PULL] immutable branch for amba changes targeting v5.12-rc1

2021-02-05 Thread Greg Kroah-Hartman
hu, Feb 04, 2021 at 05:56:50PM +0100, Greg Kroah-Hartman wrote: > > > > On Thu, Feb 04, 2021 at 04:52:24PM +, Russell King - ARM Linux > > > > admin wrote: > > > > > On Tue, Feb 02, 2021 at 03:06:05PM +0100, Greg Kroah-Hartman wrote: > > &

Re: [GIT PULL] immutable branch for amba changes targeting v5.12-rc1

2021-02-05 Thread Greg Kroah-Hartman
On Fri, Feb 05, 2021 at 11:56:15AM +0100, Uwe Kleine-König wrote: > On Fri, Feb 05, 2021 at 11:18:17AM +0100, Greg Kroah-Hartman wrote: > > On Fri, Feb 05, 2021 at 10:37:44AM +0100, Uwe Kleine-König wrote: > > > Hello Russell, hello Greg, > > > > > > On Thu, F

Re: [PATCH] coresight: etm4x: Fix merge resolution for amba rework

2021-02-05 Thread Greg Kroah-Hartman
On Fri, Feb 05, 2021 at 02:08:47PM +0100, Uwe Kleine-König wrote: > This was non-trivial to get right because commits > c23bc382ef0e ("coresight: etm4x: Refactor probing routine") and > 5214b563588e ("coresight: etm4x: Add support for sysreg only devices") > changed the code flow considerably. With

[PATCH 5.10 078/120] drm/dp/mst: Export drm_dp_get_vc_payload_bw()

2021-02-08 Thread Greg Kroah-Hartman
...@intel.com (cherry picked from commit a321fc2b4e60fc1b39517d26c8104351636a6062) Signed-off-by: Jani Nikula Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/drm_dp_mst_topology.c | 24 ++-- include/drm/drm_dp_mst_helper.h |1 + 2 files changed, 19 insertions(+), 6

Re: [PATCH 0/3] video: Remove in_interrupt() usage.

2021-02-16 Thread Greg Kroah-Hartman
On Tue, Feb 16, 2021 at 09:35:00AM +0100, Sebastian Andrzej Siewior wrote: > On 2021-02-08 23:38:07 [+0100], To linux-fb...@vger.kernel.org wrote: > > Folks, > > > > in the discussion about preempt count consistency across kernel > > configurations: > > > > https://lore.kernel.org/r/202009142042

[PATCH 4.4 20/93] fbdev: aty: SPARC64 requires FB_ATY_CT

2021-03-01 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit c6c90c70db4d9a0989111d6b994d545659410f7a ] It looks like SPARC64 requires FB_ATY_CT to build without errors, so have FB_ATY select FB_ATY_CT if both SPARC64 and PCI are enabled instead of using "default y if SPARC64 && PCI", which is not strong enough to prev

[PATCH 4.9 029/134] fbdev: aty: SPARC64 requires FB_ATY_CT

2021-03-01 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit c6c90c70db4d9a0989111d6b994d545659410f7a ] It looks like SPARC64 requires FB_ATY_CT to build without errors, so have FB_ATY select FB_ATY_CT if both SPARC64 and PCI are enabled instead of using "default y if SPARC64 && PCI", which is not strong enough to prev

[PATCH 4.14 041/176] fbdev: aty: SPARC64 requires FB_ATY_CT

2021-03-01 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit c6c90c70db4d9a0989111d6b994d545659410f7a ] It looks like SPARC64 requires FB_ATY_CT to build without errors, so have FB_ATY select FB_ATY_CT if both SPARC64 and PCI are enabled instead of using "default y if SPARC64 && PCI", which is not strong enough to prev

[PATCH 4.19 073/247] fbdev: aty: SPARC64 requires FB_ATY_CT

2021-03-01 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit c6c90c70db4d9a0989111d6b994d545659410f7a ] It looks like SPARC64 requires FB_ATY_CT to build without errors, so have FB_ATY select FB_ATY_CT if both SPARC64 and PCI are enabled instead of using "default y if SPARC64 && PCI", which is not strong enough to prev

[PATCH 5.4 070/340] fbdev: aty: SPARC64 requires FB_ATY_CT

2021-03-01 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit c6c90c70db4d9a0989111d6b994d545659410f7a ] It looks like SPARC64 requires FB_ATY_CT to build without errors, so have FB_ATY select FB_ATY_CT if both SPARC64 and PCI are enabled instead of using "default y if SPARC64 && PCI", which is not strong enough to prev

[PATCH 5.4 259/340] drm/nouveau/kms: handle mDP connectors

2021-03-01 Thread Greg Kroah-Hartman
up with two eDP displays. Information is taken from the official DCB documentation. Cc: sta...@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: Ben Skeggs Reported-by: Mark Pearson Tested-by: Mark Pearson Signed-off-by: Karol Herbst Signed-off-by: Ben Skeggs Signed-off-by: Greg Kroah

[PATCH 5.10 138/663] fbdev: aty: SPARC64 requires FB_ATY_CT

2021-03-01 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit c6c90c70db4d9a0989111d6b994d545659410f7a ] It looks like SPARC64 requires FB_ATY_CT to build without errors, so have FB_ATY select FB_ATY_CT if both SPARC64 and PCI are enabled instead of using "default y if SPARC64 && PCI", which is not strong enough to prev

[PATCH 5.10 355/663] kselftests: dmabuf-heaps: Fix Makefiles inclusion of the kernels usr/include dir

2021-03-01 Thread Greg Kroah-Hartman
From: John Stultz [ Upstream commit 64ba3d591c9d2be2a9c09e99b00732afe002ad0d ] Copied in from somewhere else, the makefile was including the kerne's usr/include dir, which caused the asm/ioctl.h file to be used. Unfortunately, that file has different values for _IOC_SIZEBITS and _IOC_WRITE than

[PATCH 5.10 518/663] drm/nouveau/kms: handle mDP connectors

2021-03-01 Thread Greg Kroah-Hartman
up with two eDP displays. Information is taken from the official DCB documentation. Cc: sta...@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: Ben Skeggs Reported-by: Mark Pearson Tested-by: Mark Pearson Signed-off-by: Karol Herbst Signed-off-by: Ben Skeggs Signed-off-by: Greg Kroah

[PATCH 5.11 168/775] fbdev: aty: SPARC64 requires FB_ATY_CT

2021-03-01 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit c6c90c70db4d9a0989111d6b994d545659410f7a ] It looks like SPARC64 requires FB_ATY_CT to build without errors, so have FB_ATY select FB_ATY_CT if both SPARC64 and PCI are enabled instead of using "default y if SPARC64 && PCI", which is not strong enough to prev

[PATCH 5.11 430/775] kselftests: dmabuf-heaps: Fix Makefiles inclusion of the kernels usr/include dir

2021-03-01 Thread Greg Kroah-Hartman
From: John Stultz [ Upstream commit 64ba3d591c9d2be2a9c09e99b00732afe002ad0d ] Copied in from somewhere else, the makefile was including the kerne's usr/include dir, which caused the asm/ioctl.h file to be used. Unfortunately, that file has different values for _IOC_SIZEBITS and _IOC_WRITE than

[PATCH 5.11 513/775] drm/msm/dp: Add a missing semi-colon

2021-03-01 Thread Greg Kroah-Hartman
From: Stephen Boyd [ Upstream commit 182b4a2d251305201b6f9cae29067f7112f05835 ] A missing semicolon here causes my external display to stop working. Indeed, missing the semicolon on the return statement leads to dp_panel_update_tu_timings() not existing because the compiler thinks it's part of t

[PATCH 5.11 621/775] drm/nouveau/kms: handle mDP connectors

2021-03-01 Thread Greg Kroah-Hartman
up with two eDP displays. Information is taken from the official DCB documentation. Cc: sta...@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: Ben Skeggs Reported-by: Mark Pearson Tested-by: Mark Pearson Signed-off-by: Karol Herbst Signed-off-by: Ben Skeggs Signed-off-by: Greg Kroah

Re: rcar_du_kms.c:781:24: error: passing argument 1 of '__drmm_add_action' from incompatible pointer type

2021-03-01 Thread Greg Kroah-Hartman
On Mon, Mar 01, 2021 at 11:11:26PM +0530, Naresh Kamboju wrote: > On stable rc 5.11 the x86_64 build failed due to below errors/warnings. > > drivers/gpu/drm/rcar-du/rcar_du_kms.c: In function 'rcar_du_modeset_cleanup': > drivers/gpu/drm/rcar-du/rcar_du_kms.c:754:32: error: implicit > declaration

Re: [PATCH] drivers: video: fbcon: fix NULL dereference in fbcon_cursor()

2021-03-12 Thread Greg Kroah-Hartman
On Fri, Mar 12, 2021 at 04:14:21PM +0800, Du Cheng wrote: > add null-check on function pointer before dereference on ops->cursor > > Reported-by: syzbot+b67aaae8d3a927f68...@syzkaller.appspotmail.com > Signed-off-by: Du Cheng > --- > drivers/video/fbdev/core/fbcon.c | 3 +++ > 1 file changed, 3

Re: [PATCH v3 1/4] staging: fbtft: Rectify GPIO handling

2021-05-03 Thread Greg Kroah-Hartman
On Wed, Apr 28, 2021 at 04:04:12PM +0300, Andy Shevchenko wrote: > The infamous commit c440eee1a7a1 ("Staging: staging: fbtft: Switch to > the GPIO descriptor interface") broke GPIO handling completely. > It has already four commits to rectify and it seems not enough. > In order to fix the mess her

Re: remove the nvlink2 pci_vfio subdriver v2

2021-05-04 Thread Greg Kroah-Hartman
On Tue, May 04, 2021 at 02:22:36PM +0200, Greg Kurz wrote: > On Fri, 26 Mar 2021 07:13:09 +0100 > Christoph Hellwig wrote: > > > Hi all, > > > > the nvlink2 vfio subdriver is a weird beast. It supports a hardware > > feature without any open source component - what would normally be > > the nor

Re: remove the nvlink2 pci_vfio subdriver v2

2021-05-04 Thread Greg Kroah-Hartman
On Tue, May 04, 2021 at 03:20:34PM +0200, Greg Kurz wrote: > On Tue, 4 May 2021 14:59:07 +0200 > Greg Kroah-Hartman wrote: > > > On Tue, May 04, 2021 at 02:22:36PM +0200, Greg Kurz wrote: > > > On Fri, 26 Mar 2021 07:13:09 +0100 > > > Christoph Hell

[PATCH 5.4 093/184] drm/vkms: fix misuse of WARN_ON

2021-05-10 Thread Greg Kroah-Hartman
From: Dmitry Vyukov [ Upstream commit b4142fc4d52d051d4d8df1fb6c569e5b445d369e ] vkms_vblank_simulate() uses WARN_ON for timing-dependent condition (timer overrun). This is a mis-use of WARN_ON, WARN_ON must be used to denote kernel bugs. Use pr_warn() instead. Signed-off-by: Dmitry Vyukov Rep

[PATCH 5.10 122/299] drm/amd/display/dc/dce/dce_aux: Remove duplicate line causing field overwritten issue

2021-05-10 Thread Greg Kroah-Hartman
From: Lee Jones [ Upstream commit 89adc10178fd6cb68c8ef1905d269070a4d3bd64 ] Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_resource.c:59: drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_11_2_sh_mask.h:100

[PATCH 5.10 149/299] drm/vkms: fix misuse of WARN_ON

2021-05-10 Thread Greg Kroah-Hartman
From: Dmitry Vyukov [ Upstream commit b4142fc4d52d051d4d8df1fb6c569e5b445d369e ] vkms_vblank_simulate() uses WARN_ON for timing-dependent condition (timer overrun). This is a mis-use of WARN_ON, WARN_ON must be used to denote kernel bugs. Use pr_warn() instead. Signed-off-by: Dmitry Vyukov Rep

[PATCH 5.11 140/342] drm/amd/display/dc/dce/dce_aux: Remove duplicate line causing field overwritten issue

2021-05-10 Thread Greg Kroah-Hartman
From: Lee Jones [ Upstream commit 89adc10178fd6cb68c8ef1905d269070a4d3bd64 ] Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_resource.c:59: drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_11_2_sh_mask.h:100

[PATCH 5.11 176/342] drm/vkms: fix misuse of WARN_ON

2021-05-10 Thread Greg Kroah-Hartman
From: Dmitry Vyukov [ Upstream commit b4142fc4d52d051d4d8df1fb6c569e5b445d369e ] vkms_vblank_simulate() uses WARN_ON for timing-dependent condition (timer overrun). This is a mis-use of WARN_ON, WARN_ON must be used to denote kernel bugs. Use pr_warn() instead. Signed-off-by: Dmitry Vyukov Rep

[PATCH 5.12 153/384] drm/amd/display/dc/dce/dce_aux: Remove duplicate line causing field overwritten issue

2021-05-10 Thread Greg Kroah-Hartman
From: Lee Jones [ Upstream commit 3e3527f5b765c6f479ba55e5a570ee9538589a74 ] Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_resource.c:59: drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_11_2_sh_mask.h:100

[PATCH 5.12 197/384] drm/vkms: fix misuse of WARN_ON

2021-05-10 Thread Greg Kroah-Hartman
From: Dmitry Vyukov [ Upstream commit b4142fc4d52d051d4d8df1fb6c569e5b445d369e ] vkms_vblank_simulate() uses WARN_ON for timing-dependent condition (timer overrun). This is a mis-use of WARN_ON, WARN_ON must be used to denote kernel bugs. Use pr_warn() instead. Signed-off-by: Dmitry Vyukov Rep

[PATCH 5.10 015/530] drm: bridge: fix LONTIUM use of mipi_dsi_() functions

2021-05-12 Thread Greg Kroah-Hartman
orn Andersson Cc: Srinivas Kandagatla Cc: Adrien Grassein Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Robert Foss Cc: dri-devel@lists.freedesktop.org Cc: sta...@vger.kernel.org Signed-off-by: Robert Foss Link: https://patchwork.freedesktop.org/patch/msgid/20210415183639.1487-1-rdun...@infradead.org Signed-

[PATCH 5.10 278/530] drm/stm: Fix bus_flags handling

2021-05-12 Thread Greg Kroah-Hartman
From: Marek Vasut [ Upstream commit 99e360442f223dd40fc23ae07c7a263836fd27e6 ] The drm_display_mode_to_videomode() does not populate DISPLAY_FLAGS_DE_LOW or DISPLAY_FLAGS_PIXDATA_NEGEDGE flags in struct videomode. Therefore, no matter what polarity the next bridge or display might require, these

[PATCH 5.11 015/601] drm: bridge: fix LONTIUM use of mipi_dsi_() functions

2021-05-12 Thread Greg Kroah-Hartman
orn Andersson Cc: Srinivas Kandagatla Cc: Adrien Grassein Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Robert Foss Cc: dri-devel@lists.freedesktop.org Cc: sta...@vger.kernel.org Signed-off-by: Robert Foss Link: https://patchwork.freedesktop.org/patch/msgid/20210415183639.1487-1-rdun...@infradead.org Signed-

[PATCH 5.11 069/601] drm: bridge: fix ANX7625 use of mipi_dsi_() functions

2021-05-12 Thread Greg Kroah-Hartman
Randy Dunlap Reviewed-by: Robert Foss Cc: Xin Ji Cc: Sam Ravnborg Cc: dri-devel@lists.freedesktop.org Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Robert Foss Cc: sta...@vger.kernel.org Signed-off-by: Robert Foss Link: https://patchwork.freedesktop.org/patch/msgid/20210415183619.1431-1-rdun...@infra

[PATCH 5.11 308/601] drm/stm: Fix bus_flags handling

2021-05-12 Thread Greg Kroah-Hartman
From: Marek Vasut [ Upstream commit 99e360442f223dd40fc23ae07c7a263836fd27e6 ] The drm_display_mode_to_videomode() does not populate DISPLAY_FLAGS_DE_LOW or DISPLAY_FLAGS_PIXDATA_NEGEDGE flags in struct videomode. Therefore, no matter what polarity the next bridge or display might require, these

[PATCH 5.12 019/677] drm: bridge: fix LONTIUM use of mipi_dsi_() functions

2021-05-12 Thread Greg Kroah-Hartman
orn Andersson Cc: Srinivas Kandagatla Cc: Adrien Grassein Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Robert Foss Cc: dri-devel@lists.freedesktop.org Cc: sta...@vger.kernel.org Signed-off-by: Robert Foss Link: https://patchwork.freedesktop.org/patch/msgid/20210415183639.1487-1-rdun...@infradead.org Signed-

[PATCH 5.12 078/677] drm: bridge: fix ANX7625 use of mipi_dsi_() functions

2021-05-12 Thread Greg Kroah-Hartman
Randy Dunlap Reviewed-by: Robert Foss Cc: Xin Ji Cc: Sam Ravnborg Cc: dri-devel@lists.freedesktop.org Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Robert Foss Cc: sta...@vger.kernel.org Signed-off-by: Robert Foss Link: https://patchwork.freedesktop.org/patch/msgid/20210415183619.1431-1-rdun...@infra

[PATCH 5.12 342/677] drm/stm: Fix bus_flags handling

2021-05-12 Thread Greg Kroah-Hartman
From: Marek Vasut [ Upstream commit 99e360442f223dd40fc23ae07c7a263836fd27e6 ] The drm_display_mode_to_videomode() does not populate DISPLAY_FLAGS_DE_LOW or DISPLAY_FLAGS_PIXDATA_NEGEDGE flags in struct videomode. Therefore, no matter what polarity the next bridge or display might require, these

Re: [PATCH v1 1/1] video: ssd1307fb: Drop OF dependency

2021-05-14 Thread Greg Kroah-Hartman
On Fri, Apr 16, 2021 at 05:42:04PM +0300, Andy Shevchenko wrote: > +Cc: Greg. > > Greg, can you pick up this one? > > The subsystem seems orphaned and I see your name in the git history for the > recent submissions against that driver. Now applied, thanks. greg k-h

Re: [PATCH v3 00/14] Driver of Intel(R) Gaussian & Neural Accelerator

2021-05-17 Thread Greg Kroah-Hartman
On Mon, May 17, 2021 at 09:40:53AM +0200, Daniel Vetter wrote: > On Fri, May 14, 2021 at 11:00:38AM +0200, Arnd Bergmann wrote: > > On Fri, May 14, 2021 at 10:34 AM Greg Kroah-Hartman > > wrote: > > > On Thu, May 13, 2021 at 01:00:26PM +0200, Maciej Kwapulinski wr

Re: [PATCH v3 00/14] Driver of Intel(R) Gaussian & Neural Accelerator

2021-05-17 Thread Greg Kroah-Hartman
On Mon, May 17, 2021 at 10:49:09AM +0200, Daniel Vetter wrote: > On Mon, May 17, 2021 at 10:00 AM Greg Kroah-Hartman > wrote: > > > > On Mon, May 17, 2021 at 09:40:53AM +0200, Daniel Vetter wrote: > > > On Fri, May 14, 2021 at 11:00:38AM +0200, Arnd Bergmann wrote: >

[PATCH] drm/i915/gvt: remove local storage of debugfs file

2021-05-18 Thread Greg Kroah-Hartman
Cc: dri-devel@lists.freedesktop.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/i915/gvt/kvmgt.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/i915/gvt/kvmgt.c b/drivers/gpu/drm/i915/gvt/kvmgt.c index 65ff43cfc0f7..433c2a448f2d 100644

Re: [PATCH] drm/i915/gvt: remove local storage of debugfs file

2021-05-18 Thread Greg Kroah-Hartman
On Tue, May 18, 2021 at 06:17:05PM +0200, Greg Kroah-Hartman wrote: > There is no need to keep the dentry around for the debugfs kvmgt cache > file, as we can just look it up when we want to remove it later on. > Simplify the structure by removing the dentry and relying on debugfs >

Re: [PATCH] drm/i915/gvt: remove local storage of debugfs file

2021-05-19 Thread Greg Kroah-Hartman
On Wed, May 19, 2021 at 04:03:13PM +0800, Zhenyu Wang wrote: > On 2021.05.18 18:28:53 +0200, Greg Kroah-Hartman wrote: > > On Tue, May 18, 2021 at 06:17:05PM +0200, Greg Kroah-Hartman wrote: > > > There is no need to keep the dentry around for the debugfs kvmgt cache > >

Re: [PATCH] video: hgafb: correctly handle card detect failure during probe

2021-05-20 Thread Greg Kroah-Hartman
On Thu, May 20, 2021 at 07:10:39PM +0530, Anirudh Rayabharam wrote: > On Mon, May 17, 2021 at 12:57:14AM +0530, Anirudh Rayabharam wrote: > > The return value of hga_card_detect() is not properly handled causing > > the probe to succeed even though hga_card_detect() failed. Since probe > > succeeds

[PATCH 5.9 129/152] drm/nouveau: fix relocations applying logic and a double-free

2020-12-01 Thread Greg Kroah-Hartman
From: Matti Hamalainen [ Upstream commit 2be65641642ef423f82162c3a5f28c754d1637d2 ] Commit 03e0d26fcf79 ("drm/nouveau: slowpath for pushbuf ioctl") included a logic-bug which results in the relocations not actually getting applied at all as the call to nouveau_gem_pushbuf_reloc_apply() is never

Re: [PATCH] dma-buf: Delete the DMA-BUF attachment sysfs statistics

2021-07-09 Thread Greg Kroah-Hartman
fs directory creation/teardown during > dma_buf_attach()/dma_buf_detach(), this patch deletes the DMA-BUF > attachment statistics from sysfs. > > Fixes: bdb8d06dfefd (dmabuf: Add the capability to expose DMA-BUF stats > in sysfs) > Signed-off-by: Hridya Valsaraju > --- Reviewed-by: Greg Kroah-Hartman

[PATCH 5.13 407/800] drm/i915: Merge fix for "drm: Switch to %p4cc format modifier"

2021-07-12 Thread Greg Kroah-Hartman
From: Stephen Rothwell [ Upstream commit e3c2f1870af43fc95f6fe141537f5142c5fe4717 ] Signed-off-by: Stephen Rothwell Signed-off-by: Thomas Zimmermann Fixes: 92f1d09ca4ed ("drm: Switch to %p4cc format modifier") Cc: Sakari Ailus Cc: Petr Mladek Cc: Andy Shevchenko Cc: dri-devel@lists.freedesk

[PATCH 5.10 211/215] drm/ast: Remove reference to struct drm_device.pdev

2021-07-15 Thread Greg Kroah-Hartman
.de Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/ast/ast_main.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- a/drivers/gpu/drm/ast/ast_main.c +++ b/drivers/gpu/drm/ast/ast_main.c @@ -406,7 +406,6 @@ struct ast_private *ast_device_create(st

[PATCH 5.12 237/242] drm/ast: Remove reference to struct drm_device.pdev

2021-07-15 Thread Greg Kroah-Hartman
.de Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/ast/ast_main.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- a/drivers/gpu/drm/ast/ast_main.c +++ b/drivers/gpu/drm/ast/ast_main.c @@ -411,7 +411,6 @@ struct ast_private *ast_device_create(co

[PATCH 5.13 261/266] drm/ast: Remove reference to struct drm_device.pdev

2021-07-15 Thread Greg Kroah-Hartman
.de Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/ast/ast_main.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- a/drivers/gpu/drm/ast/ast_main.c +++ b/drivers/gpu/drm/ast/ast_main.c @@ -411,7 +411,6 @@ struct ast_private *ast_device_create(co

Re: [PATCH 5.12 237/242] drm/ast: Remove reference to struct drm_device.pdev

2021-07-19 Thread Greg Kroah-Hartman
On Mon, Jul 19, 2021 at 05:57:30PM +0800, Xiaotian Feng wrote: > On Fri, Jul 16, 2021 at 5:13 AM Greg Kroah-Hartman > wrote: > > > > From: Thomas Zimmermann > > > > commit 0ecb51824e838372e01330752503ddf9c0430ef7 upstream. > > > > Using struct

Re: [PATCH 5.12 237/242] drm/ast: Remove reference to struct drm_device.pdev

2021-07-19 Thread Greg Kroah-Hartman
On Mon, Jul 19, 2021 at 07:43:39PM +0800, Xiaotian Feng wrote: > On Mon, Jul 19, 2021 at 7:23 PM Greg Kroah-Hartman > wrote: > > > > On Mon, Jul 19, 2021 at 05:57:30PM +0800, Xiaotian Feng wrote: > > > On Fri, Jul 16, 2021 at 5:13 AM Greg Kroah-Hartman > > >

[PATCH 5.10 015/243] drm/dp_mst: Do not set proposed vcpi directly

2021-07-19 Thread Greg Kroah-Hartman
Cc: dri-devel@lists.freedesktop.org Cc: # v5.5+ Signed-off-by: Lyude Paul Link: https://patchwork.freedesktop.org/patch/msgid/20210616035501.3776-2-wayne@amd.com Reviewed-by: Lyude Paul Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/drm_dp_mst_topology.c | 36 +--

[PATCH 5.10 017/243] drm/dp_mst: Add missing drm parameters to recently added call to drm_dbg_kms()

2021-07-19 Thread Greg Kroah-Hartman
e Paul Link: https://patchwork.freedesktop.org/patch/msgid/20210616194415.36926-1-jose.so...@intel.com Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/drm_dp_mst_topology.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) --- a/drivers/gpu/drm/drm_dp_mst_topology.c +++ b/drivers/gpu/drm/d

[PATCH 5.10 020/243] Revert "drm/ast: Remove reference to struct drm_device.pdev"

2021-07-19 Thread Greg Kroah-Hartman
From: Greg Kroah-Hartman This reverts commit fcb041ca5c7787b096aafc899e45f93583e66cbd which is commit 0ecb51824e838372e01330752503ddf9c0430ef7 upstream. Turns out this was incomplete, as it is missing a dependancy, so drop it from the tree. Link: https://lore.kernel.org/r

[PATCH 5.13 034/351] drm/dp_mst: Do not set proposed vcpi directly

2021-07-19 Thread Greg Kroah-Hartman
Cc: dri-devel@lists.freedesktop.org Cc: # v5.5+ Signed-off-by: Lyude Paul Link: https://patchwork.freedesktop.org/patch/msgid/20210616035501.3776-2-wayne@amd.com Reviewed-by: Lyude Paul Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/drm_dp_mst_topology.c | 36 +--

[PATCH 5.13 036/351] drm/dp_mst: Add missing drm parameters to recently added call to drm_dbg_kms()

2021-07-19 Thread Greg Kroah-Hartman
e Paul Link: https://patchwork.freedesktop.org/patch/msgid/20210616194415.36926-1-jose.so...@intel.com Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/drm_dp_mst_topology.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) --- a/drivers/gpu/drm/drm_dp_mst_topology.c +++ b/drivers/gpu/drm/d

[PATCH 5.12 027/292] drm/dp_mst: Do not set proposed vcpi directly

2021-07-19 Thread Greg Kroah-Hartman
Cc: dri-devel@lists.freedesktop.org Cc: # v5.5+ Signed-off-by: Lyude Paul Link: https://patchwork.freedesktop.org/patch/msgid/20210616035501.3776-2-wayne@amd.com Reviewed-by: Lyude Paul Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/drm_dp_mst_topology.c | 36 +--

[PATCH 5.12 029/292] drm/dp_mst: Add missing drm parameters to recently added call to drm_dbg_kms()

2021-07-19 Thread Greg Kroah-Hartman
e Paul Link: https://patchwork.freedesktop.org/patch/msgid/20210616194415.36926-1-jose.so...@intel.com Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/drm_dp_mst_topology.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) --- a/drivers/gpu/drm/drm_dp_mst_topology.c +++ b/drivers/gpu/drm/d

  1   2   3   4   5   6   7   8   9   10   >