Re: Exynos vblank timeout issue

2022-05-22 Thread Krzysztof Kozlowski
On 22/05/2022 02:02, Martin Jücker wrote: > Hello, > > I'm trying to get Android 12 up and running on my Galaxy Note 10.1 which > is based on Exynos 4412 with a Mali GPU. For Android 11, I had no issues > with graphics but after upgrading and building Android 12, I'm getting a > vblank wait timeou

Re: [PATCH] drm/sun4i: mixer: fix scanline for V3s and D1

2022-05-22 Thread Jernej Škrabec
Hi! Dne sobota, 21. maj 2022 ob 15:34:43 CEST je Genfu Pan napisal(a): > Accrording the SDK from Allwinner, the scanline value of yuv and rgb for > V3s are both 1024. s/scanline value/scanline length/ Which SDK? All SDKs that I have or found on internet don't mention YUV nor RGB scanline limit.

Re: [RFC PATCH v3 03/19] KVM: x86: SVM: remove avic's broken code that updated APIC ID

2022-05-22 Thread Maxim Levitsky
On Thu, 2022-05-19 at 16:10 +, Sean Christopherson wrote: > On Wed, Apr 27, 2022, Maxim Levitsky wrote: > > AVIC is now inhibited if the guest changes apic id, thus remove > > that broken code. > > Can you explicitly call out what's broken? Just something short on the code > not > handling t

Re: [RFC PATCH v3 02/19] KVM: x86: inhibit APICv/AVIC when the guest and/or host changes apic id/base from the defaults.

2022-05-22 Thread Maxim Levitsky
On Thu, 2022-05-19 at 16:06 +, Sean Christopherson wrote: > On Wed, Apr 27, 2022, Maxim Levitsky wrote: > > Neither of these settings should be changed by the guest and it is > > a burden to support it in the acceleration code, so just inhibit > > it instead. > > > > Also add a boolean 'apic_i

Re: [RFC PATCH v3 04/19] KVM: x86: mmu: allow to enable write tracking externally

2022-05-22 Thread Maxim Levitsky
On Thu, 2022-05-19 at 16:27 +, Sean Christopherson wrote: > On Wed, Apr 27, 2022, Maxim Levitsky wrote: > > This will be used to enable write tracking from nested AVIC code > > and can also be used to enable write tracking in GVT-g module > > when it actually uses it as opposed to always enabli

Re: [RFC PATCH v3 04/19] KVM: x86: mmu: allow to enable write tracking externally

2022-05-22 Thread Maxim Levitsky
On Thu, 2022-05-19 at 16:37 +, Sean Christopherson wrote: > On Wed, Apr 27, 2022, Maxim Levitsky wrote: > > @@ -5753,6 +5752,10 @@ int kvm_mmu_init_vm(struct kvm *kvm) > > node->track_write = kvm_mmu_pte_write; > > node->track_flush_slot = kvm_mmu_invalidate_zap_pages_in_memslot; > >

Re: [RFC PATCH v3 06/19] KVM: x86: mmu: add gfn_in_memslot helper

2022-05-22 Thread Maxim Levitsky
On Thu, 2022-05-19 at 16:43 +, Sean Christopherson wrote: > On Wed, Apr 27, 2022, Maxim Levitsky wrote: > > This is a tiny refactoring, and can be useful to check > > if a GPA/GFN is within a memslot a bit more cleanly. > > This doesn't explain the actual motivation, which is to use the new he

Re: [RFC PATCH v3 14/19] KVM: x86: rename .set_apic_access_page_addr to reload_apic_access_page

2022-05-22 Thread Maxim Levitsky
On Thu, 2022-05-19 at 16:55 +, Sean Christopherson wrote: > On Wed, Apr 27, 2022, Maxim Levitsky wrote: > > This will be used on SVM to reload shadow page of the AVIC physid table > > diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c > > index d2f73ce87a1e3..ad744ab99734c 100644 > > --- a/ar

Re: [PATCH] xen: remove setting of 'transp' parameter

2022-05-22 Thread Geert Uytterhoeven
On Sun, May 22, 2022 at 3:22 AM Tom Rix wrote: > cppcheck reports > [drivers/video/fbdev/xen-fbfront.c:226]: (style) Assignment of function > parameter has no effect outside the function. > > The value parameter 'transp' is not used, so setting it can be removed. > > Signed-off-by: Tom Rix Revi

Re: [RFC PATCH v3 06/19] KVM: x86: mmu: add gfn_in_memslot helper

2022-05-22 Thread Maxim Levitsky
On Thu, 2022-05-19 at 16:43 +, Sean Christopherson wrote: > On Wed, Apr 27, 2022, Maxim Levitsky wrote: > > This is a tiny refactoring, and can be useful to check > > if a GPA/GFN is within a memslot a bit more cleanly. > > This doesn't explain the actual motivation, which is to use the new he

Re: [PATCH 2/2] drm/tiny: Add ofdrm for Open Firmware framebuffers

2022-05-22 Thread Thomas Zimmermann
Hi Javier Am 20.05.22 um 08:19 schrieb Javier Martinez Canillas: Hello Thomas, On 5/18/22 20:30, Thomas Zimmermann wrote: +config DRM_OFDRM + tristate "Open Firmware display driver" + depends on DRM && MMU && PPC Shouldn't depend on OF? I mean, is a DRM driver for Open Firmwa

Re: [REPORT] syscall reboot + umh + firmware fallback

2022-05-22 Thread Byungchul Park
On Thu, May 12, 2022 at 09:56:46AM -0400, Theodore Ts'o wrote: > On Thu, May 12, 2022 at 08:18:24PM +0900, Byungchul Park wrote: > > I have a question about this one. Yes, it would never been stuck thanks > > to timeout. However, IIUC, timeouts are not supposed to expire in normal > > cases. So I t

Re: [PATCH] gpu: drm: fix possible memory leak in drm_addmap_core()

2022-05-22 Thread Hangyu Hua
On 2022/5/9 13:44, Hangyu Hua wrote: map->handle need to be handled correctly when map->type is _DRM_SHM or _DRM_CONSISTENT just like map->type is _DRM_REGISTERS. Fixes: 8d153f7107ff ("drm: update user token hashing and map handles") Signed-off-by: Hangyu Hua --- drivers/gpu/drm/drm_bufs.c |

Re: [PATCH] drm: msm: fix possible memory leak in mdp5_crtc_cursor_set()

2022-05-22 Thread Hangyu Hua
On 2022/5/9 14:11, Hangyu Hua wrote: drm_gem_object_lookup will call drm_gem_object_get inside. So cursor_bo needs to be put when msm_gem_get_and_pin_iova fails. Fixes: e172d10a9c4a ("drm/msm/mdp5: Add hardware cursor support") Signed-off-by: Hangyu Hua --- drivers/gpu/drm/msm/disp/mdp5/mdp5_

[PATCH] drm: bridge: icn6211: Adjust clock phase using SYS_CTRL_1

2022-05-22 Thread Jonathan Liu
The code from [1] sets SYS_CTRL_1 to different values depending on the desired clock phase (0, 1/4, 1/2 or 3/4). A clock phase of 0 aligns the positive edge of the clock with the pixel data while other values delay the clock by a fraction of the clock period. A clock phase of 1/2 aligns the negativ

Re: [PATCH RFC v6 00/21] DEPT(Dependency Tracker)

2022-05-22 Thread Byungchul Park
On Thu, May 19, 2022 at 11:11:10AM +0100, Catalin Marinas wrote: > On Wed, May 11, 2022 at 07:04:51PM +0900, Hyeonggon Yoo wrote: > > On Wed, May 11, 2022 at 08:39:29AM +0900, Byungchul Park wrote: > > > On Tue, May 10, 2022 at 08:18:12PM +0900, Hyeonggon Yoo wrote: > > > > On Mon, May 09, 2022 at

Re: [PATCH v2 4/4] drm/bridge: anx7625: Use DPI bus type

2022-05-22 Thread Xin Ji
On Sat, May 21, 2022 at 06:28:42PM +0200, Daniel Vetter wrote: > On Sat, 21 May 2022 at 18:07, Daniel Vetter wrote: > > > > On Tue, 17 May 2022 at 18:09, Robert Foss wrote: > > > > > > On Mon, 25 Apr 2022 at 11:14, Xin Ji wrote: > > > > > > > > On Mon, Apr 25, 2022 at 04:24:50PM +0800, Chen-Yu T

[PATCH v5 3/3] dt-bindings: usb: add documentation for aspeed udc

2022-05-22 Thread Neal Liu
Add device tree binding documentation for the Aspeed USB2.0 Device Controller. Signed-off-by: Neal Liu Reviewed-by: Krzysztof Kozlowski --- .../bindings/usb/aspeed,ast2600-udc.yaml | 52 +++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bind

[PATCH v4 1/3] usb: gadget: add Aspeed ast2600 udc driver

2022-05-22 Thread Neal Liu
Aspeed udc is compliant with USB2.0, supports USB High Speed and Full Speed, backward compatible with USB1.1. Supports independent DMA channel for each generic endpoint. Supports 32/256 stages descriptor mode for all generic endpoints. This driver supports full functionality including single/mult

Re: [Nouveau] nouveau lockdep deadlock report with 5.18-rc6

2022-05-22 Thread Computer Enthusiastic
Hello, Il giorno mer 18 mag 2022 alle ore 19:42 Lyude Paul ha scritto: > > Yeah I noticed this as well, I will try to bisect this the next change that I > get > > On Tue, 2022-05-17 at 13:10 +0200, Hans de Goede wrote: > > Hi All, > > I just noticed the below lockdep possible deadlock report with

Re: [PATCH] dt-bindings: Fix properties without any type

2022-05-22 Thread Bartosz Golaszewski
On Thu, May 19, 2022 at 11:14 PM Rob Herring wrote: > > Now that the schema tools can extract type information for all > properties (in order to decode dtb files), finding properties missing > any type definition is fairly trivial though not yet automated. > > Fix the various property schemas whic

[PATCH v5 2/3] ARM: dts: aspeed: Add USB2.0 device controller node

2022-05-22 Thread Neal Liu
Add USB2.0 device controller(udc) node to device tree for AST2600. Signed-off-by: Neal Liu --- arch/arm/boot/dts/aspeed-g6.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi index 3d5ce9da42c3..822f4fd854f5 100

Re: [PATCH v11 00/24] drm/rockchip: RK356x VOP2 support

2022-05-22 Thread Maya Matuszczyk
Hello, wt., 17 maj 2022 o 20:28 Heiko Stuebner napisał(a): > > Am Freitag, 22. April 2022, 09:28:17 CEST schrieb Sascha Hauer: > > It's v11 time. There's only one small change to v10. Discussion seems to > > have settled now. Is there anything left that prevents the series from > > being merged?

Re: [PATCH] drm/sun4i: mixer: fix scanline for V3s and D1

2022-05-22 Thread benly...@gmail.com
Hi Jernej! > Which SDK? All SDKs that I have or found on internet don't mention YUV nor RGB > scanline limit. That doesn't mean there is none, I'm just unable to verify > your claim. Did you test this by yourself? Also, please make YUV scanline > change separate patch with fixes tag. Here is the

[PATCH v4 0/3] add Aspeed udc driver for ast2600

2022-05-22 Thread Neal Liu
This patch series aim to add Aspeed USB 2.0 Device Controller (udc) driver, including driver itself, device tree node and documentation. Change since v3: - Remove kernel test robot tag since it's a new driver. Change since v2: - Rename device tree nodes. - Fix unusual indentation. Change since v

Exynos vblank timeout issue

2022-05-22 Thread Martin Jücker
Hello, I'm trying to get Android 12 up and running on my Galaxy Note 10.1 which is based on Exynos 4412 with a Mali GPU. For Android 11, I had no issues with graphics but after upgrading and building Android 12, I'm getting a vblank wait timeout shortly after starting the device setup, which in tu

Re: [PATCH v11 00/24] drm/rockchip: RK356x VOP2 support

2022-05-22 Thread Maya Matuszczyk
pt., 20 maj 2022 o 13:56 Peter Geis napisał(a): > > On Fri, May 20, 2022 at 6:12 AM Sascha Hauer wrote: > > > > Hi Maya, > > > > On Fri, May 20, 2022 at 12:02:33PM +0200, Maya Matuszczyk wrote: > > > Hello, > > > > > > wt., 17 maj 2022 o 20:28 Heiko Stuebner napisał(a): > > > > > > > > Am Freita

Re: [PATCH] drm/sun4i: mixer: fix scanline for V3s and D1

2022-05-22 Thread benly...@gmail.com
Hi Jernej! > Which SDK? All SDKs that I have or found on internet don't mention YUV nor RGB > scanline limit. That doesn't mean there is none, I'm just unable to verify > your claim. Did you test this by yourself? Also, please make YUV scanline > change separate patch with fixes tag. Here is the

Re: [linux-next:master] BUILD REGRESSION 736ee37e2e8eed7fe48d0a37ee5a709514d478b3

2022-05-22 Thread Luc Van Oostenryck
On Fri, May 20, 2022 at 02:40:20PM +0200, Geert Uytterhoeven wrote: > Hi Günter > > On Thu, May 19, 2022 at 8:48 AM Guenter Roeck wrote: > > This is getting tiresome. Every driver using outb() on m68k will > > experience that "problem". As far as I can see, it is caused by > > > > #define out_8(a

[PATCH] drm/sun4i: mixer: fix scanline for V3s and D1

2022-05-22 Thread Genfu Pan
Accrording the SDK from Allwinner, the scanline value of yuv and rgb for V3s are both 1024. The is also the same for mixer 1 of D1. Currently the scanline value of rgb is hardcoded to 2048 for all SOCs. Change the scanline_yuv property of V3s to 1024. Add the scanline_rgb property to the mixer con

Re: Exynos vblank timeout issue

2022-05-22 Thread Martin Jücker
On Sun, May 22, 2022 at 09:45:51AM +0200, Krzysztof Kozlowski wrote: > On 22/05/2022 02:02, Martin Jücker wrote: > > Hello, > > > > I'm trying to get Android 12 up and running on my Galaxy Note 10.1 which > > is based on Exynos 4412 with a Mali GPU. For Android 11, I had no issues > > with graphic

[PATCH v5 0/3] add Aspeed udc driver for ast2600

2022-05-22 Thread Neal Liu
This patch series aim to add Aspeed USB 2.0 Device Controller (udc) driver, including driver itself, device tree node and documentation. Change since v4: - Fix build test warning reported by kernel test robot, including Wtautological-pointer-compare, Wuninitialized, and Wsometimes-uninitialized.

[PATCH v4 3/3] dt-bindings: usb: add documentation for aspeed udc

2022-05-22 Thread Neal Liu
Add device tree binding documentation for the Aspeed USB2.0 Device Controller. Signed-off-by: Neal Liu Reviewed-by: Krzysztof Kozlowski --- .../bindings/usb/aspeed,ast2600-udc.yaml | 52 +++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bind

[PATCH] drm: use ENOMEM for drmm_kzalloc allocation failures

2022-05-22 Thread Niels Dossche
Other callers of drmm_kzalloc already return -ENOMEM on allocation failure. Change EINVAL to ENOMEM for consistency. Signed-off-by: Niels Dossche --- Note: I found this issue using my experimental static analyser on Linux 5.17.9. I compile tested the patch on x86_64. drivers/gpu/drm/drm_encode

[PATCH v4 2/3] ARM: dts: aspeed: Add USB2.0 device controller node

2022-05-22 Thread Neal Liu
Add USB2.0 device controller(udc) node to device tree for AST2600. Signed-off-by: Neal Liu --- arch/arm/boot/dts/aspeed-g6.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi index 3d5ce9da42c3..822f4fd854f5 100

[PATCH v5 1/3] usb: gadget: add Aspeed ast2600 udc driver

2022-05-22 Thread Neal Liu
Aspeed udc is compliant with USB2.0, supports USB High Speed and Full Speed, backward compatible with USB1.1. Supports independent DMA channel for each generic endpoint. Supports 32/256 stages descriptor mode for all generic endpoints. This driver supports full functionality including single/mult

Re: [linux-next:master] BUILD REGRESSION 736ee37e2e8eed7fe48d0a37ee5a709514d478b3

2022-05-22 Thread Luc Van Oostenryck
On Fri, May 20, 2022 at 02:46:20PM +0200, Geert Uytterhoeven wrote: > > The "(void)" makes sure there is no return value. > > Which matters if the result of a function returning void is propagated > > to another function returning void. > > Which, FTR, sparse also doesn't like: > > error: ret

Re: [RFC PATCH v3 02/19] KVM: x86: inhibit APICv/AVIC when the guest and/or host changes apic id/base from the defaults.

2022-05-22 Thread Maxim Levitsky
On Sun, 2022-05-22 at 07:47 -0700, Jim Mattson wrote: > On Sun, May 22, 2022 at 2:03 AM Maxim Levitsky wrote: > > On Thu, 2022-05-19 at 16:06 +, Sean Christopherson wrote: > > > On Wed, Apr 27, 2022, Maxim Levitsky wrote: > > > > Neither of these settings should be changed by the guest and it

Re: [PATCH] dt-bindings: Fix properties without any type

2022-05-22 Thread Sebastian Reichel
Hi, On Thu, May 19, 2022 at 04:14:11PM -0500, Rob Herring wrote: > Now that the schema tools can extract type information for all > properties (in order to decode dtb files), finding properties missing > any type definition is fairly trivial though not yet automated. > > Fix the various property