Re: [RFC PATCH v2 06/11] page-pool: add device memory support

2023-08-19 Thread Willem de Bruijn
On Sat, Aug 19, 2023 at 11:49 AM David Ahern wrote: > > On 8/19/23 9:22 AM, Jesper Dangaard Brouer wrote: > > > > I do see the problem of depending on having a struct page, as the > > page_pool_iov isn't related to struct page. Having "page" in the name > > of "page_pool_iov" is also confusing

Re: [RFC PATCH v2 06/11] page-pool: add device memory support

2023-08-19 Thread Willem de Bruijn
On Sat, Aug 19, 2023 at 5:51 AM Jesper Dangaard Brouer wrote: > > > > On 10/08/2023 03.57, Mina Almasry wrote: > > Overload the LSB of struct page* to indicate that it's a page_pool_iov. > > > > Refactor mm calls on struct page * into helpers, and add page_pool_iov > > handling on those helpers.

Re: [RFC PATCH v2 06/11] page-pool: add device memory support

2023-08-19 Thread Willem de Bruijn
> > Any regression in page pool can be avoided in the common case that > > does not use device mem by placing that behind a static_branch. Would > > that address your performance concerns? > > > > No. This will not help. > > The problem is that every where in the page_pool code it is getting >

Re: [PATCH 2/4] drm/xe/vm: Implement userptr page pinning

2023-08-19 Thread Matthew Brost
On Fri, Aug 18, 2023 at 05:08:43PM +0200, Thomas Hellström wrote: > Implement pinning of userptrs between VM_BIND and VM_UNBIND, which will > facilitate avoiding long hangs on non-preemptible workloads. But don't > hook it up to userspace just yet. > > Signed-off-by: Thomas Hellström > --- >

Re: [PATCH 4/4] drm/xe/uapi: Support pinning of userptr vmas

2023-08-19 Thread Matthew Brost
On Fri, Aug 18, 2023 at 05:08:45PM +0200, Thomas Hellström wrote: > Support pinning of vmas using XE_VM_BIND_FLAG_PIN, initially for userptr > only. Pinned memory becomes accounted against RLIMIT_MEMLOCK and processes > with CAP_IPC_LOCK will not apply the limit. This is pretty similar to >

Re: [PATCH 3/4] drm/xe/vm: Perform accounting of userptr pinned pages

2023-08-19 Thread Matthew Brost
On Fri, Aug 18, 2023 at 05:08:44PM +0200, Thomas Hellström wrote: > Account these pages against RLIMIT_MEMLOCK following how RDMA does this > with CAP_IPC_LOCK bypassing the limit. > > Signed-off-by: Thomas Hellström Patch LGTM but nits on naming + possible assert. > --- >

Re: [RFC PATCH v2 06/11] page-pool: add device memory support

2023-08-19 Thread Mina Almasry
On Sat, Aug 19, 2023 at 1:24 PM Mina Almasry wrote: > > On Sat, Aug 19, 2023 at 8:22 AM Jesper Dangaard Brouer > wrote: > > > > > > > > On 19/08/2023 16.08, Willem de Bruijn wrote: > > > On Sat, Aug 19, 2023 at 5:51 AM Jesper Dangaard Brouer > > > wrote: > > >> > > >> > > >> > > >> On

Re: [RFC PATCH v2 06/11] page-pool: add device memory support

2023-08-19 Thread Mina Almasry
On Sat, Aug 19, 2023 at 8:22 AM Jesper Dangaard Brouer wrote: > > > > On 19/08/2023 16.08, Willem de Bruijn wrote: > > On Sat, Aug 19, 2023 at 5:51 AM Jesper Dangaard Brouer > > wrote: > >> > >> > >> > >> On 10/08/2023 03.57, Mina Almasry wrote: > >>> Overload the LSB of struct page* to indicate

Re: [PATCH v3 2/5] drm/panel: Add driver for JDI LPM102A188A

2023-08-19 Thread Linus Walleij
On Mon, Aug 7, 2023 at 3:41 PM Diogo Ivo wrote: > The JDI LPM102A188A is a 2560x1800 IPS panel found in the Google Pixel C. > This driver is based on the downstream GPLv2 driver released by Google > written by Sean Paul [1], which was then adapted to the newer kernel APIs. > > [1]: >

[Bug 217664] Laptop doesnt wake up from suspend mode.

2023-08-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=217664 --- Comment #22 from popus_czy_to_ty (pentelja...@o2.pl) --- https://mega.nz/file/rkwHSRrb#MGBASmlT95wzofl5ZCg6PjyU4Y6CYTC5yl4bc03Hjik - kernel log dmesg - https://pastebin.com/jBgktfa1 [on vesa drivers] -- You may reply to this email to add

[Bug 217664] Laptop doesnt wake up from suspend mode.

2023-08-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=217664 --- Comment #21 from popus_czy_to_ty (pentelja...@o2.pl) --- Now on those backup drivers? vesa? doesnt go to suspend, reacts on mouse clicks(touchpad), and touchpad movements, but not keyboard. im not good in linux but for some reason tty hangs

Re: [GIT PULL] fbdev fixes and cleanups for v6.5-rc7

2023-08-19 Thread pr-tracker-bot
The pull request you sent on Sat, 19 Aug 2023 17:28:40 +0200: > http://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git > tags/fbdev-for-6.5-rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b5cab28be6ccf08237078b675fc1d446679779ba Thank you! --

Re: [RFC PATCH v2 06/11] page-pool: add device memory support

2023-08-19 Thread David Ahern
On 8/19/23 9:22 AM, Jesper Dangaard Brouer wrote: > > I do see the problem of depending on having a struct page, as the > page_pool_iov isn't related to struct page.  Having "page" in the name > of "page_pool_iov" is also confusing (hardest problem is CS is naming, > as we all know). > > To

[GIT PULL] fbdev fixes and cleanups for v6.5-rc7

2023-08-19 Thread Helge Deller
Hi Linus, please pull some small fbdev fixes & cleanups for kernel 6.5-rc7. Various code cleanups in amifb, atmel_lcdfb, ssd1307fb, kyro and goldfishfb. Thanks! Helge -- The following changes since commit 5d0c230f1de8c7515b6567d9afba1f196fb4e2f4: Linux 6.5-rc4 (2023-07-30

Re: [RFC PATCH v2 06/11] page-pool: add device memory support

2023-08-19 Thread Jesper Dangaard Brouer
On 19/08/2023 16.08, Willem de Bruijn wrote: On Sat, Aug 19, 2023 at 5:51 AM Jesper Dangaard Brouer wrote: On 10/08/2023 03.57, Mina Almasry wrote: Overload the LSB of struct page* to indicate that it's a page_pool_iov. Refactor mm calls on struct page * into helpers, and add

Re: [PATCH v8 3/7] dt-bindings: display: bridge: Add Cadence MHDP850

2023-08-19 Thread Krzysztof Kozlowski
On 08/08/2023 10:32, Sandor Yu wrote: > Add bindings for Cadence MHDP8501 DisplayPort/HDMI bridge. > > Signed-off-by: Sandor Yu > --- > .../display/bridge/cdns,mhdp8501.yaml | 104 ++ > 1 file changed, 104 insertions(+) > create mode 100644 >

Re: [PATCH v2 1/2] dt-bindings: display: ti: Add support for am62a7 dss

2023-08-19 Thread Krzysztof Kozlowski
On 18/08/2023 16:21, Aradhya Bhatia wrote: > The DSS controller on TI's AM62A7 SoC is an update from that on TI's > AM625 SoC. Like the DSS in AM625, the DSS in this SoC has 2 video > pipelines, but unlike the former, the latter only has one output port on > VP2 to service DPI display sinks. > >

[PATCH] fs: clean up usage of noop_dirty_folio

2023-08-19 Thread Xueshi Hu
In folio_mark_dirty(), it will automatically fallback to noop_dirty_folio() if a_ops->dirty_folio is not registered. As anon_aops, dev_dax_aops and fb_deferred_io_aops becames empty, remove them too. Signed-off-by: Xueshi Hu --- drivers/dax/device.c| 5 -

Re: [RFC PATCH v2 06/11] page-pool: add device memory support

2023-08-19 Thread Jesper Dangaard Brouer
On 10/08/2023 03.57, Mina Almasry wrote: Overload the LSB of struct page* to indicate that it's a page_pool_iov. Refactor mm calls on struct page * into helpers, and add page_pool_iov handling on those helpers. Modify callers of these mm APIs with calls to these helpers instead. I don't