[Nouveau] [PATCH] drm/nouveau/acr: Abort loading ACR if no firmware was found

2023-05-22 Thread Karol Herbst
This fixes a NULL pointer access inside nvkm_acr_oneinit in case necessary firmware files couldn't be loaded. Closes: https://gitlab.freedesktop.org/drm/nouveau/-/issues/212 Fixes: 4b569ded09fd ("drm/nouveau/acr/ga102: initial support") Signed-off-by: Karol Herbst ---

[Nouveau] [PATCH 6.3 004/364] drm/nouveau/disp: More DP_RECEIVER_CAP_SIZE array fixes

2023-05-22 Thread Greg Kroah-Hartman
From: Kees Cook [ Upstream commit 25feda6fbd0cfefcb69308fb20d4d4815a107c5e ] More arrays (and arguments) for dcpd were set to 16, when it looks like DP_RECEIVER_CAP_SIZE (15) should be used. Fix the remaining cases, seen with GCC 13: ../drivers/gpu/drm/nouveau/nvif/outp.c: In function

Re: [Nouveau] [PATCH] drm/nouveau/acr/ga102: set variable ga102_gsps storage-class-specifier to static

2023-05-22 Thread Karol Herbst
Reviewed-by: Karol Herbst On Wed, May 17, 2023 at 3:31 PM Tom Rix wrote: > > smatch reports > drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ga102.c:49:1: warning: symbol > 'ga102_gsps' was not declared. Should it be static? > > This variable is only used in its defining file, so it should be static

Re: [Nouveau] [PATCH] drm/nouveau: dispnv50: fix missing-prototypes warning

2023-05-22 Thread Karol Herbst
Reviewed-by: Karol Herbst will merge soon On Mon, Apr 17, 2023 at 11:03 PM Arnd Bergmann wrote: > > From: Arnd Bergmann > > nv50_display_create() is declared in another header, along with > a couple of declarations that are now outdated: > > drivers/gpu/drm/nouveau/dispnv50/disp.c:2517:1:

Re: [Nouveau] [PATCH 2/4] x86: always initialize xen-swiotlb when xen-pcifront is enabling

2023-05-22 Thread Juergen Gross
On 19.05.23 12:10, Marek Marczykowski-Górecki wrote: On Fri, May 19, 2023 at 06:04:05AM +0200, Christoph Hellwig wrote: On Thu, May 18, 2023 at 08:18:39PM +0200, Marek Marczykowski-Górecki wrote: On Thu, May 18, 2023 at 03:42:51PM +0200, Christoph Hellwig wrote: Remove the dangerous late