On 10/24/2024 1:59 AM, Matthew Brost wrote:
> drm_gpu_scheduler.submit_wq is used to submit jobs, jobs are in the path
> of dma-fences, and dma-fences are in the path of reclaim. Mark scheduler
> work queue with WQ_MEM_RECLAIM to ensure forward progress during
> reclaim; without WQ_MEM_RECLAIM, w
On Wed, Oct 23, 2024 at 05:49:58PM +0100, Dave Stevenson wrote:
> Pi 0-3 have no deep colour support and only 24bpp output,
> so max_bpc should remain as 8, and no HDR metadata property
> should be registered.
>
> Fixes: ba8c0faebbb0 ("drm/vc4: hdmi: Enable 10/12 bpc output")
> Signed-off-by: Dave
On Thu, 24 Oct 2024 15:54:32 +0100
Akash Goel wrote:
> All CPU mappings are forced as uncached for Panthor buffer objects when
> system(IO) coherency is disabled. Physical backing for Panthor BOs is
> allocated by shmem, which clears the pages also after allocation. But
> there is no explicit cac
Reports indicates that some userspace applications try to merge more than
80k of fences into a single dma_fence_array leading to a warning from
kzalloc() that the requested size becomes to big.
While that is clearly an userspace bug we should probably handle that case
gracefully in the kernel.
So
On Tue, Oct 22, 2024 at 09:19:05AM -0700, John Stultz wrote:
> On Tue, Oct 22, 2024 at 1:38 AM Maxime Ripard wrote:
> >
> > I wanted to follow-up on the discussion we had at Plumbers with John and
> > T.J. about (among other things) adding new heaps to the kernel.
> >
> > I'm still interested in m
Hello,
On Thu, Oct 24, 2024 at 09:20:43AM +0200, Maxime Ripard wrote:
...
> > Yeah, let's not use "dev" name for this. As Waiman pointed out, it conflicts
> > with the devices controller from cgroup1. While cgroup1 is mostly
> > deprecated, the same features are provided through BPF in systemd usi
drm_mode_duplicate() could return NULL due to lack of memory,
which will then call NULL pointer dereference. Add a check to
prevent it.
Fixes: 6ee738610f41 ("drm/nouveau: Add DRM driver for NVIDIA GPUs")
Signed-off-by: Zhang Zekun
---
drivers/gpu/drm/i2c/ch7006_drv.c | 8 ++--
1 file changed
drm_mode_duplicate() could return NULL due to lack of memory,
which will then call NULL pointer dereference. Add a check to
prevent it.
Fixes: 0ef94554dc40 ("drm/panel: himax-hx83102: Break out as separate driver")
Signed-off-by: Zhang Zekun
---
drivers/gpu/drm/panel/panel-himax-hx83102.c | 2 ++
drm_mode_duplicate() could return NULL due to lack of memory, which
could cause NULL pointer dereference. Add a check to prevent it.
Zhang Zekun (2):
drm/i2c/ch7006: Add a check to prevent NULL pointer dereference
drm/panel: himax-hx83102: Add a check to prevent NULL pointer
dereference
On Thu, Oct 24, 2024 at 12:08 AM Greg Kroah-Hartman
wrote:
>
> On Wed, Oct 23, 2024 at 11:13:41PM -0700, Saravana Kannan wrote:
> > Probably easiest for Greg to pull in these changes?
> >
> > PSA: Do not pull any of these patches into stable kernels. fw_devlink
> > had a lot of changes that landed
On Wed, Oct 23, 2024 at 11:13:42PM -0700, Saravana Kannan wrote:
> fwnode needs to be set for a device for fw_devlink to be able to
> track/enforce its dependencies correctly. Without this, you'll see error
> messages like this when the supplier has probed and tries to make sure
> all its fwnode co
On Wed, Oct 02, 2024 at 09:21:58PM +0300, Ville Syrjala wrote:
> From: Ville Syrjälä
>
> An attempt to hide the drm_plane/crtc legacy state better.
>
> This also highlights the fact that a lot of supposedly
> atomic drivers are poking around in the legacy crtc state,
> which is rather questionab
In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at
compile time. We thus need to add HAS_IOPORT as dependency for those
drivers using them. In the bochs driver there is optional MMIO support
detected at runtime, warn if this isn't taken when HAS_IOPORT is not
defined.
There is
On Wed 2024-10-23 14:00:13, Jocelyn Falempe wrote:
> The console is already suspended in printk.c.
Does this mean that drm_log_client_suspend() is called
after suspend_console(), please?
By other words, does it mean that "dlog->suspended == true" is set
only when CON_SUSPENDED is already set in t
On 21/10/2024 22:18, Matthew Brost wrote:
Non-contiguous VRAM cannot easily be mapped in TTM nor can non-visible
VRAM easily be accessed. Add xe_ttm_access_memory which hooks into
ttm_bo_access to access such memory.
v4:
- Assert memory access rather than taking RPM ref (Thomas / Auld)
- Fix
On 15/10/2024 00:31, Adrián Larumbe wrote:
> Drop the deprecated DRM driver allocation method in favour of
> devm_drm_dev_alloc(). Overall just make it the same as in Panthor.
> Also discard now superfluous generic and platform device pointers inside
> the main panfrost device structure.
>
> Some
On 2024/10/23 11:27 PM, Alex Deucher wrote:
External email: Use caution opening links or attachments
On Tue, Oct 22, 2024 at 9:27 PM Kai-Heng Feng wrote:
On 2024/10/22 9:04 PM, Alex Deucher wrote:
External email: Use caution opening links or attachments
On Tue, Oct 22, 2024 at 2:31 A
Acked-by: Simon Ser
Hi Linus,
Weekly drm fixes, mostly amdgpu and xe, with minor bridge and an i915
Kconfig fix. Nothing too scary and it seems to be pretty quiet.
Dave.
drm-fixes-2024-10-25:
drm fixes for 6.12-rc5
amdgpu:
- ACPI method handling fixes
- SMU 14.x fixes
- Display idle optimization fix
- DP link laye
On Wed, Oct 09, 2024 at 01:23:31PM +0800, Fei Shao wrote:
> In the mtk_dsi driver, its DSI host attach callback calls
> devm_drm_of_get_bridge() to get the next bridge. If that next bridge is
> a panel bridge, a panel_bridge object is allocated and managed by the
> panel device.
>
> Later, if the
On Wed, Oct 23, 2024 at 11:13:42PM -0700, Saravana Kannan wrote:
> fwnode needs to be set for a device for fw_devlink to be able to
> track/enforce its dependencies correctly. Without this, you'll see error
> messages like this when the supplier has probed and tries to make sure
> all its fwnode co
On Thu, Oct 24, 2024 at 01:44:41PM +0200, Nirmoy Das wrote:
>
> On 10/24/2024 1:59 AM, Matthew Brost wrote:
> > drm_gpu_scheduler.submit_wq is used to submit jobs, jobs are in the path
> > of dma-fences, and dma-fences are in the path of reclaim. Mark scheduler
> > work queue with WQ_MEM_RECLAIM t
On Fri, Oct 18, 2024 at 05:07:22PM -0400, Alex Deucher wrote:
> On Fri, Oct 18, 2024 at 1:56 PM André Almeida wrote:
> >
> > Em 18/10/2024 12:31, Alex Deucher escreveu:
> > > On Fri, Oct 18, 2024 at 11:23 AM Rodrigo Vivi
> > > wrote:
> > >>
> > >> On Thu, Oct 17, 2024 at 04:16:09PM -0300, André
On Thu, Oct 24, 2024 at 05:35:47PM +0200, Philipp Stanner wrote:
> On Wed, 2024-10-23 at 16:59 -0700, Matthew Brost wrote:
> > drm_gpu_scheduler.submit_wq is used to submit jobs, jobs are in the
> > path
> > of dma-fences, and dma-fences are in the path of reclaim. Mark
> > scheduler
> > work queue
On Thu, Oct 24, 2024 at 10:21:17AM -0600, Logan Gunthorpe wrote:
> On 2024-10-23 23:50, Kasireddy, Vivek wrote:
> >> I'd echo many of Bjorn's concerns. In addition, I think the name of the
> >> pci_devs_are_p2pdma_compatible() isn't quite right. Specifically this is
> >> dealing with PCI functions
On Wed, Oct 23, 2024 at 1:52 AM Tomi Valkeinen
wrote:
>
> Hi,
>
> On 22/10/2024 19:07, Saravana Kannan wrote:
> > On Tue, Oct 22, 2024 at 12:51 AM Tomi Valkeinen
> > wrote:
> >>
> >> Hi,
> >>
> >> On 22/10/2024 02:29, Saravana Kannan wrote:
> >>> Hi Tomi,
> >>>
> >>> Sorry it took a while to get
From: Michael Trimarchi
The shutdown function can be called when the display is already
unprepared. For example during reboot this trigger a kernel
backlog. Calling the drm_panel_unprepare, allow us to avoid
to trigger the kernel warning.
Tested-by: Dario Binacchi
Signed-off-by: Michael Trimarc
The merge function initially handled only individual fences and
arrays which in turn were created by the merge function. This allowed
to create the new array by a simple merge sort based on the fence
context number.
The problem is now that since the addition of timeline sync objects
userspace can
On Wed, 23 Oct 2024 17:50:20 +0100, Dave Stevenson wrote:
> Add in the compatible string and VC4_GEN_ enum for the D-step
>
> Signed-off-by: Dave Stevenson
Reviewed-by: Maxime Ripard
Thanks!
Maxime
On Wed, 2024-10-23 at 16:59 -0700, Matthew Brost wrote:
> drm_gpu_scheduler.submit_wq is used to submit jobs, jobs are in the
> path
> of dma-fences, and dma-fences are in the path of reclaim. Mark
> scheduler
> work queue with WQ_MEM_RECLAIM to ensure forward progress during
> reclaim; without WQ_
On Thu, Oct 24, 2024 at 11:08:05PM +0200, Uwe Kleine-König wrote:
> On Wed, Oct 23, 2024 at 11:30:31AM +0300, Dan Carpenter wrote:
> > The devm_drm_dev_alloc() function returns error pointers, it never
> > returns NULL. Change that check to IS_ERR().
> >
> > The devm_gpiod_get_optional() function
On Thu, 2024-10-24 at 19:22 +, Matthew Brost wrote:
> On Thu, Oct 24, 2024 at 07:52:11PM +0200, Thomas Hellstrom wrote:
> > Hi, Dave & Simona,
> >
> > This week's drm-xe-next PR
> >
> > Thanks,
> > Thomas
> >
> >
> > drm-xe-next-2024-10-24:
> > UAPI Changes:
> > - Define and parse OA sync p
Hi Sui,
Am Samstag, dem 05.10.2024 um 03:42 +0800 schrieb Sui Jingfeng:
> Etnaviv assumes that GPU page size is 4KiB, however, when using
> softpin capable GPUs on a different CPU page size configuration.
> Userspace still doing the allocation with 4KiB page as unit. This
> results in userspace al
On Wed, Oct 16, 2024 at 10:55:58AM +0200, Thomas Hellström wrote:
> Rather than relying on the TTM watermark accounting add a shrinker
> for xe_bos in TT or system memory.
>
> Leverage the newly added TTM per-page shrinking and shmem backup
> support.
>
> Although xe doesn't fully support WONTNEE
On Wed, 23 Oct 2024 17:50:25 +0100, Dave Stevenson wrote:
> The default was to have enable_bg_fill disabled and the first
> plane set it if it wasn't opaque and covering the whole screen.
> However that meant that if no planes were enabled, then the
> background fill wasn't enabled, and would give
Move a call to dpu_plane_check_inline_rotation() to the
dpu_plane_atomic_check_sspp() function, so that the rot90 constraints
are checked for both SSPP blocks. Also move rotation field from struct
dpu_plane_state to struct dpu_sw_pipe_cfg.
Signed-off-by: Dmitry Baryshkov
---
drivers/gpu/drm/msm/
Hi Stefan
On Fri, 25 Oct 2024 at 14:36, Stefan Wahren wrote:
>
> Hi Dave,
>
> Am 23.10.24 um 17:22 schrieb Dave Stevenson:
> > On Sat, 19 Oct 2024 at 10:34, Stefan Wahren wrote:
> >> Hi,
> >>
> >> Am 17.10.24 um 17:59 schrieb Maxime Ripard:
> >>> On Thu, Oct 17, 2024 at 05:26:46PM GMT, Stefan Wa
From: Peng Zhang
commit b2472efe4316b2687c153919c1513a098bd82c17 upstream.
In some cases, nested locks may be needed, so {mtree,mas}_lock_nested is
introduced. For example, when duplicating maple tree, we need to hold the
locks of two trees, in which case nested locks are needed.
At the same t
The LXD M9189A is a 1024x600 MIPI-DSI panel.
Signed-off-by: Rouven Czerwinski
---
v2:
- add missing port property
- fix example to use vdd supply
found by running make dt_binding_check as suggested by the bot
- fix missing A in M9189A title
- fix compatible
found after v1 submission
.../binding
From: "Liam R. Howlett"
commit 9a40d45c1f2c49273c04938ec3d7849f685eb3c1 upstream.
Now that the status of the maple state is outside of the node, the
mas_searchable() function can be dropped for easier open-coding of what is
going on.
Link:
https://lkml.kernel.org/r/20231101171629.3612299-10-li
From: Chuck Lever
commit 7beea725a8ca412c6190090ce7c3a13b169592a1 upstream.
This value is used in several places, so make it a symbolic
constant.
Reviewed-by: Jan Kara
Signed-off-by: Chuck Lever
Link:
https://lore.kernel.org/r/170820142741.6328.12428356024575347885.st...@91.116.238.104.host.
On Fri, 25 Oct 2024 15:00:07 +0100
Steven Price wrote:
> The id_mask field of struct panfrost_model has never been used.
>
> Fixes: f3ba91228e8e ("drm/panfrost: Add initial panfrost driver")
> Signed-off-by: Steven Price
Reviewed-by: Boris Brezillon
> ---
> drivers/gpu/drm/panfrost/panfrost
On Fri, Oct 25, 2024 at 12:08:50PM +0300, Jani Nikula wrote:
> On Fri, 25 Oct 2024, Raag Jadav wrote:
...
> > +/*
> > + * Available recovery methods for wedged device. To be sent along with
> > device
> > + * wedged uevent.
> > + */
> > +static const char *const drm_wedge_recovery_opts[] = {
>
From: "Liam R. Howlett"
commit e9c52d8940cbfd94b36035bbebce7f55954e7728 upstream.
When looking for the next entry, don't recalculate the node end as it is
now tracked in the maple state.
Link: https://lkml.kernel.org/r/20231101171629.3612299-6-liam.howl...@oracle.com
Signed-off-by: Liam R. Howl
On Fri, 2024-10-25 at 13:41 +, Arnd Bergmann wrote:
> On Thu, Oct 24, 2024, at 17:54, Niklas Schnelle wrote:
> > Hi All,
> >
> > This is a follow up in my long running effort of making inb()/outb() and
> > similar I/O port accessors compile-time optional. After initially
> > sending this as a
From: Peng Zhang
commit 7e552dcd803f4ff60165271c573ab2e38d15769f upstream.
The last range stored in maple tree is typically quite large. By checking
if it exceeds the sum of the remaining ranges in that node, it is possible
to avoid checking all other gaps.
Running the maple tree test suite in
Use aperture helpers to remove all generic graphics drivers before
loading mxsfb. Makes mxsfb compatible with simpledrm.
Co-developed-by: Michael Trimarchi
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
Changes in v2:
- Use aperture_remove_all_conflicting_devices() instead
From: Michael Trimarchi
The shutdown function can be called when the display is already
unprepared. For example during reboot this trigger a kernel
backlog. Calling the drm_panel_unprepare, allow us to avoid
to trigger the kernel warning.
Fixes: 2e87bad7cd33 ("drm/panel: Add Synaptics R63353 pan
On Thu, Oct 24, 2024 at 5:18 AM Jakob Hauser wrote:
> The flip properties were used by "samsung,s6e8aa0.yaml" only so far. By
> introducing "samsung,s6e88a0-ams427ap24.yaml" they become more common.
>
> Signed-off-by: Jakob Hauser
> Reviewed-by: Krzysztof Kozlowski
I think I even have a legacy
On Thu, Oct 24, 2024 at 5:18 AM Jakob Hauser wrote:
> Add bindings for Samsung AMS427AP24 panel with S6E88A0 controller.
>
> Signed-off-by: Jakob Hauser
> Reviewed-by: Krzysztof Kozlowski
Reviewed-by: Linus Walleij
Yours,
Linus Walleij
Hi Jakob,
thanks for your patch!
On Thu, Oct 24, 2024 at 5:18 AM Jakob Hauser wrote:
> This initial part of the panel driver was mostly generated by the
> "linux-mdss-dsi-panel-driver-generator" tool [1], reading downstream
> Android kernel file "dsi_panel_S6E88A0_AMS427AP24_qhd_octa_video.dtsi
Hi Dave,
Am 25.10.24 um 16:38 schrieb Dave Stevenson:
Hi Stefan
On Fri, 25 Oct 2024 at 14:36, Stefan Wahren wrote:
...
Based on that log I think your force_turbo=1 is a red-herring, or at
least needs further investigation.
Is this on a 3B, or 3B+?
Definitely a 3B+ from the year 2017 (mainl
From: Dom Cobley
For performance/power it is beneficial to adjust gpu clocks with arm clock.
This is how the downstream cpufreq driver works
Signed-off-by: Dom Cobley
Signed-off-by: Dave Stevenson
---
drivers/clk/bcm/clk-raspberrypi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
dif
On Fri, 25 Oct 2024 at 10:46, Ville Syrjälä
wrote:
>
> On Wed, Oct 02, 2024 at 09:21:58PM +0300, Ville Syrjala wrote:
> > From: Ville Syrjälä
> >
> > An attempt to hide the drm_plane/crtc legacy state better.
> >
> > This also highlights the fact that a lot of supposedly
> > atomic drivers are po
The MediaTek DP hardware supports audio, and the "#sound-dai-cells"
property is required to describe DAI links and audio routing.
Add "#sound-dai-cells" property to the binding and filter out non-DP
compatibles, as MediaTek eDP doesn't support audio.
Signed-off-by: Fei Shao
---
.../bindings/di
On Fri, 2024-10-25 at 12:34 +0300, Jani Nikula wrote:
> On Fri, 25 Oct 2024, Thomas Hellström
> wrote:
> > On Thu, 2024-10-24 at 19:22 +, Matthew Brost wrote:
> > > On Thu, Oct 24, 2024 at 07:52:11PM +0200, Thomas Hellstrom wrote:
> > > > Hi, Dave & Simona,
> > > >
> > > > This week's drm-xe-
drm_dev_register() already prints the same information on successful
init. Remove the redundant prints.
Signed-off-by: Jani Nikula
---
Note: I prefer to merge this together with the next patch via
drm-misc-next.
Cc: Oleksandr Andrushchenko
Cc: Maarten Lankhorst
Cc: Maxime Ripard
Cc: Thomas
On Tue, Oct 22, 2024 at 06:15:47PM -0700, Stephen Boyd wrote:
> Quoting Dmitry Baryshkov (2024-09-20 02:38:53)
> > On Sat, Aug 31, 2024 at 09:06:53PM GMT, Stephen Boyd wrote:
>
> Either way the problem seems to be that I need to associate one
> drm_bridge with two displayport altmode drivers and
The LXD M9189A panel is based on the EK79007AD3 DSI display controller.
It currently supports only 4 lane operation.
Signed-off-by: Rouven Czerwinski
---
v2:
- use _multi functions
- remove unnecessary dcs_nop function
- calculate pixelclock with timings
suggested by Dmitry Baryshkov
- rename fu
On Wed, Oct 23, 2024 at 09:35:59AM +0800, Jinjie Ruan wrote:
>
>
> On 2024/10/18 16:12, Jinjie Ruan wrote:
> >
> >
> > On 2024/10/18 15:55, Maxime Ripard wrote:
> >> Hi,
> >>
> >> On Thu, Oct 17, 2024 at 02:31:21PM GMT, Jinjie Ruan wrote:
> >>> Fix some memory leaks in drm tests.
> >>>
> >>> Ch
://lore.kernel.org/r/20241023124411.1153552-3-r.czerwinski%40pengutronix.de
patch subject: [PATCH 3/3] drm/panel: add Fitipower EK79007AD3 panel driver
config: nios2-randconfig-r072-20241025
(https://download.01.org/0day-ci/archive/20241025/202410252201.qglvauic-...@intel.com/config)
compiler: nios2-linux-gcc
On Fri, 25 Oct 2024 10:24:32 +0100
Liviu Dudau wrote:
> On Thu, Oct 24, 2024 at 05:49:44PM +0200, Boris Brezillon wrote:
> > +Robin for the MMU details
> >
> > On Thu, 24 Oct 2024 15:54:30 +0100
> > Akash Goel wrote:
> >
> > > Mali GPU Arch spec forbids the GPU PTEs to indicate Inner or Oute
>
> On 29/09/2024 04:36, Sandor Yu wrote:
> > Hi Krzysztof,
> >
> > Thanks for your comments,
> >
> >>
> >>
> >> On Tue, Sep 24, 2024 at 03:36:48PM +0800, Sandor Yu wrote:
> >>> Add bindings for Cadence MHDP8501 DisplayPort/HDMI bridge.
> >>>
> >>> Signed-off-by: Sandor Yu
> >>> Reviewed-by: Kr
From: "Liam R. Howlett"
commit 271f61a8b41dcd86e1ecc2e0455bcc071bc7dde4 upstream.
There are a few functions which were inlined but are somewhat too large to
inline, so remove the inline key word.
There are also several very small functions which are used in critical
code sections which gcc was
Hi Dave, Simona,
New stuff for 6.13.
The following changes since commit d7d2688bf4ea58734d73e18edcbf4684b1496d30:
drm/amd/pm: update workload mask after the setting (2024-09-26 17:05:10 -0400)
are available in the Git repository at:
https://gitlab.freedesktop.org/agd5f/linux.git
tags/amd-
From: Chuck Lever
commit 3f6d810665dfde0d33785420618ceb03fba0619d upstream.
Liam and Matthew say that once the RCU read lock is released,
xa_state is not safe to re-use for the next xas_find() call. But the
RCU read lock must be released on each loop iteration so that
dput(), which might_sleep()
From: Lorenzo Stoakes
commit bea07fd63192b61209d48cbb81ef474cc3ee4c62 upstream.
Patch series "maple_tree: correct tree corruption on spanning store", v3.
There has been a nasty yet subtle maple tree corruption bug that appears
to have been in existence since the inception of the algorithm.
Thi
From: Peng Zhang
commit f670fa1caadb4ea532a89012c5451e4c6789bfcc upstream.
Skip other tests when BENCH is enabled so that performance can be measured
in user space.
Link:
https://lkml.kernel.org/r/20231027033845.90608-8-zhangpeng...@bytedance.com
Signed-off-by: Peng Zhang
Reviewed-by: Liam R.
From: Chuck Lever
commit ecba88a3b32d733d41e27973e25b2bc580f64281 upstream.
For simple filesystems that use directory offset mapping, rely
strictly on the directory offset map to tell when a directory has
no children.
After this patch is applied, the emptiness test holds only the RCU
read lock
Since SLOB was removed and since
commit 6c6c47b063b5 ("mm, slab: call kvfree_rcu_barrier() from
kmem_cache_destroy()"),
it is not necessary to use call_rcu when the callback only performs
kmem_cache_free. Use kfree_rcu() directly.
Signed-off-by: Hongling Zeng
---
drivers/gpu/drm/amd/amdgpu/amdg
From: "Liam R. Howlett"
commit a3c63c8c5df6406e79490456a1fc41a287676070 upstream.
mtree_range_walk() needed to be updated to avoid checking if there was a
pivot value. On closer examination, the code could avoid setting min or
max in certain scenarios. The commit removes the extra check for
pi
From: Yu Kuai
Fix patch is patch 27, relied patches are from:
- patches from set [1] to add helpers to maple_tree, the last patch to
improve fork() performance is not backported;
- patches from set [2] to change maple_tree, and follow up fixes;
- patches from set [3] to convert offset_ctx fro
From: "Liam R. Howlett"
commit 067311d33e650adfe7ae23765959ddcc1ba18510 upstream.
The maple tree node is overloaded to keep status as well as the active
node. This, unfortunately, results in a re-walk on underflow or overflow.
Since the maple state has room, the status can be placed in its own
Hey,
We had some problems with the hdmi on the imx8mp and wanted to leave, what we
found out about it, somewhere for others to find it.
The problem was that our hdmi display sometimes stayed blank after hot plugging
and sometimes at startup. On older kernel versions 6.6 we did not have the
pro
From: Peng Zhang
commit a2587a7e8d37885dc063255f5400a66299b42e48 upstream.
Add test for mtree_dup().
Test by duplicating different maple trees and then comparing the two
trees. Includes tests for duplicating full trees and memory allocation
failures on different nodes.
Link:
https://lkml.ker
From: "Liam R. Howlett"
commit 24662decdd44645e8f027d7912be962dd461d1aa upstream.
Since the pivot being set is now reliable, the optimized loop no longer
needs to find the node end. The redundant check for a dead node can also
be avoided as there is no danger of using the wrong pivot since the
This patch series contains 3 cache coherency related fixes for the
Panthor driver.
- The first fix, regarding the Inner-shareability, is mandatory to
ensure things work on all platforms (including Juno FPGA) when
no_coherency protocol is selected.
- The second fix regarding the coherency featur
From: "Liam R. Howlett"
commit bf857ddd21d0bffc1edafc317e8e2ce0d6d5950c upstream.
__mas_set_range() was created to shortcut resetting the maple state and a
debug check was added to the caller (the vma iterator) to ensure the
internal maple state remains safe to use. Move the debug check from th
From: "Liam R. Howlett"
commit f7a59018953910032231c0a019208c4b0a4a8bc3 upstream.
mas_erase() may not deal correctly with all maple states. Make the
function more robust by ensuring the state is in one of the two acceptable
states.
Link: https://lkml.kernel.org/r/20231101171629.3612299-3-liam.
From: Chuck Lever
commit 9b6713cc75229f25552c643083cbdbfb771e5bca upstream.
I need a cyclic allocator for the simple_offset implementation in
fs/libfs.c.
Signed-off-by: Chuck Lever
Link:
https://lore.kernel.org/r/170820144179.6328.12838600511394432325.st...@91.116.238.104.host.secureserver.ne
From: "Liam R. Howlett"
commit 0de56e38b307b0cb2ac825e8e7cb371a28daf844 upstream.
ma_wr_state was previously tracking the end of the node for writing.
Since the implementation of the ma_state end tracking, this is duplicated
work. This patch removes the maple write state tracking of the end of
This commit fixes the potential misalignment between the value of device
tree property "dma-coherent" and default value of COHERENCY_ENABLE
register.
Panthor driver didn't explicitly program the COHERENCY_ENABLE register
with the desired coherency mode. The default value of COHERENCY_ENABLE
registe
From: Yu Kuai
This reverts commit 677f1df179cb68c12ddf7707ec325eb50e99c7d9.
Above commit contain manual changes and will cause conflicts for
following patches. The commit be backported from mainline later, without
conflicts.
Signed-off-by: Yu Kuai
---
lib/maple_tree.c | 12 ++--
1 fil
Hi Dave,
Am 23.10.24 um 17:22 schrieb Dave Stevenson:
On Sat, 19 Oct 2024 at 10:34, Stefan Wahren wrote:
Hi,
Am 17.10.24 um 17:59 schrieb Maxime Ripard:
On Thu, Oct 17, 2024 at 05:26:46PM GMT, Stefan Wahren wrote:
Am 17.10.24 um 16:27 schrieb Maxime Ripard:
On Wed, Oct 16, 2024 at 07:16:43
On Thu, Oct 24, 2024, at 17:54, Niklas Schnelle wrote:
> Hi All,
>
> This is a follow up in my long running effort of making inb()/outb() and
> similar I/O port accessors compile-time optional. After initially
> sending this as a treewide series with the latest revision at[0]
> we switched to per s
From: Andrew Morton
commit 5143eecd2af2b5424f7b96d53f17bb4718e46bd3 upstream.
Commit 0de56e38b307 ("maple_tree: use maple state end for write
operations") was broken by a later patch "maple_tree: do not preallocate
nodes for slot stores". But the later patch was scheduled ahead of
0de56e38b307,
From: Chuck Lever
commit 0e4a862174f2a8d1653a8a9cf0815020e1d3af24 upstream.
Test robot reports:
> kernel test robot noticed a -19.0% regression of aim9.disk_src.ops_per_sec on:
>
> commit: a2e459555c5f9da3e619b7e47a63f98574dc75f1 ("shmem: stable directory
> offsets")
> https://git.kernel.org/cg
From: Peng Zhang
commit 4f2267b58a22d972be98edef8e6b3c7a67c9fb91 upstream.
Patch series "Introduce __mt_dup() to improve the performance of fork()", v7.
This series introduces __mt_dup() to improve the performance of fork().
During the duplication process of mmap, all VMAs are traversed and
ins
From: "Liam R. Howlett"
commit 31c532a8af57513228c2b12d281104198ff412b8 upstream.
Analysis of the mas_for_each() iteration showed that there is a
significant time spent finding the end of a node. This time can be
greatly reduced if the end of the node is cached in the maple state. Care
must be
On 25/10/2024 14:21, Boris Brezillon wrote:
> Userspace can use GROUP_SUBMIT errors as a trigger to check the group
> state and recreate the group if it became unusable. Make sure we
> report an error when the group became unusable.
>
> Fixes: de8548813824 ("drm/panthor: Add the scheduler logical
Am 24.10.24 um 19:54 schrieb Niklas Schnelle:
In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at
compile time. We thus need to add HAS_IOPORT as dependency for those
drivers using them. In the bochs driver there is optional MMIO support
detected at runtime, warn if this is
Since the kernel ringbuffers are allocated from a larger suballocated
area, same as the user commandbufs, they don't need to be CPU page
sized. Allocate 4KB for the kernel ring buffers, as we never use more
than that.
Signed-off-by: Lucas Stach
---
drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 3 +--
On Fri, Oct 25, 2024 at 03:21:05PM +0200, Boris Brezillon wrote:
> Userspace can use GROUP_SUBMIT errors as a trigger to check the group
> state and recreate the group if it became unusable. Make sure we
> report an error when the group became unusable.
>
> Fixes: de8548813824 ("drm/panthor: Add t
From: Peng Zhang
commit fd32e4e9b7646510ee9010e0d5f8b8857d48a6f7 upstream.
Introduce interfaces __mt_dup() and mtree_dup(), which are used to
duplicate a maple tree. They duplicate a maple tree in Depth-First Search
(DFS) pre-order traversal. It uses memcopy() to copy nodes in the source
tree
From: "Wachowski, Karol"
commit 39bc27bd688066a63e56f7f64ad34fae03fbe3b8 upstream.
Lack of check for copy-on-write (COW) mapping in drm_gem_shmem_mmap
allows users to call mmap with PROT_WRITE and MAP_PRIVATE flag
causing a kernel panic due to BUG_ON in vmf_insert_pfn_prot:
BUG_ON((vma->vm_flags
From: yangerkun
commit 64a7ce76fb901bf9f9c36cf5d681328fc0fd4b5a upstream.
After we switch tmpfs dir operations from simple_dir_operations to
simple_offset_dir_operations, every rename happened will fill new dentry
to dest dir's maple tree(&SHMEM_I(inode)->dir_offsets->mt) with a free
key startin
From: Peng Zhang
commit 8e50d32c7a89bde896945e4e572ef28ccd87bbf8 upstream.
When destroying maple tree, preserve its attributes and then turn it into
an empty tree. This allows it to be reused without needing to be
reinitialized.
Link:
https://lkml.kernel.org/r/20231027033845.90608-10-zhangpen
The shader L1 cache is a writeback cache for shader loads/stores
and thus must be flushed before any BOs backing the shader buffers
are potentially freed.
Cc: sta...@vger.kernel.org
Signed-off-by: Lucas Stach
---
drivers/gpu/drm/etnaviv/etnaviv_buffer.c | 3 ++-
1 file changed, 2 insertions(+),
On 10/25/24 11:25, Gonzalo Silvalde Blanco wrote:
The fb_udl driver currently depends on CONFIG_FB_DEVICE to create sysfs
entries and access framebuffer device information. This patch wraps the
relevant code blocks with #ifdef CONFIG_FB_DEVICE, allowing the driver to
be built and used even if CON
On Fri, 2024-10-25 at 02:32 +, Matthew Brost wrote:
> On Wed, Oct 23, 2024 at 04:15:31PM +0200, Philipp Stanner wrote:
> > drm_sched_job_init()'s name suggests that after the function
> > succeeded,
> > parameter "job" will be fully initialized. This is not the case;
> > some
> > members are on
1 - 100 of 259 matches
Mail list logo