Re: [PATCH] drm/nouveau/nvkm: refine the device SKU enum

2024-10-17 Thread Greg KH
On Thu, Oct 17, 2024 at 04:24:54AM -0700, Zhi Wang wrote: > NVKM uses a enum called "card_type" to represent the device SKU in the > code. Within the enum, each device SKU is represent like NV_10, AD100, etc. > > Many concerns were raised due to over-short SKU enums can conflicts with > other loca

Re: [PATCH] munmap sealed memory cause memory to split (bug)

2024-10-16 Thread Greg KH
On Thu, Oct 17, 2024 at 02:26:27AM +, jef...@chromium.org wrote: > From: Jeff Xu > > It appears there is a regression on the latest mm, > when munmap sealed memory, it can cause unexpected VMA split. > E.g. repro use this test. > --- > tools/testing/selftests/mm/mseal_test.c | 76 +++

Re: [PATCH RESEND] vdpa: solidrun: Fix UB bug with devres

2024-10-16 Thread Greg KH
On Wed, Oct 16, 2024 at 01:16:32PM +0200, Philipp Stanner wrote: > On Wed, 2024-10-16 at 12:51 +0200, Greg KH wrote: > > On Wed, Oct 16, 2024 at 11:22:48AM +0200, Philipp Stanner wrote: > > > On Wed, 2024-10-16 at 12:08 +0300, Andy Shevchenko wrote: > > > > On Wed, Oc

Re: [PATCH RESEND] vdpa: solidrun: Fix UB bug with devres

2024-10-16 Thread Greg KH
On Wed, Oct 16, 2024 at 11:22:48AM +0200, Philipp Stanner wrote: > On Wed, 2024-10-16 at 12:08 +0300, Andy Shevchenko wrote: > > On Wed, Oct 16, 2024 at 09:25:54AM +0200, Philipp Stanner wrote: > > > In psnet_open_pf_bar() and snet_open_vf_bar() a string later passed > > > to > > > pcim_iomap_regio

Re: [RFC 01/29] nvkm/vgpu: introduce NVIDIA vGPU support prelude

2024-10-14 Thread Greg KH
On Mon, Oct 14, 2024 at 09:59:18AM +, Zhi Wang wrote: > On 26/09/2024 12.20, Greg KH wrote: > > External email: Use caution opening links or attachments > > > > > > On Sun, Sep 22, 2024 at 05:49:23AM -0700, Zhi Wang wrote: > >> NVIDIA GPU virtualization

Re: [RFC 02/29] nvkm/vgpu: attach to nvkm as a nvkm client

2024-10-14 Thread Greg KH
On Mon, Oct 14, 2024 at 10:16:21AM +, Zhi Wang wrote: > On 26/09/2024 12.21, Greg KH wrote: > > External email: Use caution opening links or attachments > > > > > > On Sun, Sep 22, 2024 at 05:49:24AM -0700, Zhi Wang wrote: > >> nvkm is a HW abstraction la

Re: [PATCH RFC v3 03/10] openat2: explicitly return -E2BIG for (usize > PAGE_SIZE)

2024-10-09 Thread Greg KH
On Thu, Oct 10, 2024 at 07:40:36AM +1100, Aleksa Sarai wrote: > While we do currently return -EFAULT in this case, it seems prudent to > follow the behaviour of other syscalls like clone3. It seems quite > unlikely that anyone depends on this error code being EFAULT, but we can > always revert this

Re: [PATCH 5.15.y 1/2] net: add pskb_may_pull_reason() helper

2024-10-08 Thread Greg KH
On Fri, Oct 04, 2024 at 10:03:27AM -0700, Sherry Yang wrote: > From: Eric Dumazet > > [ Upstream commit 1fb2d41501f38192d8a19da585cd441cf8845697 ] > > pskb_may_pull() can fail for two different reasons. > > Provide pskb_may_pull_reason() helper to distinguish > between these reasons. > > It re

Re: Patch "drm/sched: Always wake up correct scheduler in drm_sched_entity_push_job" has been added to the 6.10-stable tree

2024-10-08 Thread Greg KH
On Mon, Oct 07, 2024 at 08:23:54PM +0200, Christian König wrote: > Am 07.10.24 um 19:59 schrieb Greg KH: > > On Mon, Oct 07, 2024 at 07:53:26PM +0200, Christian König wrote: > > > Hi Greg, > > > > > > please drop this patch from all backports. It turned out to

Re: [PATCH 6.6.y] Revert "drm/amd/display: Skip Recompute DSC Params if no Stream on Link"

2024-10-08 Thread Greg KH
On Mon, Oct 07, 2024 at 02:57:11PM +1100, Jonathan Gray wrote: > This reverts commit a53841b074cc196c3caaa37e1f15d6bc90943b97. > > duplicated a change made in 6.6.46 > 718d83f66fb07b2cab89a1fc984613a00e3db18f > > Cc: sta...@vger.kernel.org # 6.6 > Signed-off-by: Jonathan Gray > --- > drivers/gp

Re: Patch "drm/sched: Always wake up correct scheduler in drm_sched_entity_push_job" has been added to the 6.10-stable tree

2024-10-07 Thread Greg KH
On Mon, Oct 07, 2024 at 07:53:26PM +0200, Christian König wrote: > Hi Greg, > > please drop this patch from all backports. It turned out to be broken and > the old handling has been restored by a revert. > > Sorry for the noise. The revert should show up in Linus tree by the end of > the week. W

Re: [PATCH v9 0/2] Add driver for Sharp Memory LCD

2024-10-07 Thread Greg KH
On Mon, Oct 07, 2024 at 11:34:13AM +0200, Markus Elfring wrote: > > This patch series add support for the monochrome Sharp Memory LCD panels. > … > > --- > > Changes in v9: > … > > Would you like to benefit from the application of scope-based resource > management > (also for this software compon

Re: [PATCH v1 2/4] misc: fastrpc: Capture kernel and DSP performance counters

2024-10-07 Thread Greg KH
On Mon, Oct 07, 2024 at 02:15:16PM +0530, Ekansh Gupta wrote: > Add support to capture kernel performance counters for different > kernel level operations. These counters collects the information > for remote call and copies the information to a buffer shared > by user. > > Collection of DSP perfo

Re: [PATCH v1 1/4] misc: fastrpc: Add CRC support using invokeV2 request

2024-10-07 Thread Greg KH
On Mon, Oct 07, 2024 at 02:15:15PM +0530, Ekansh Gupta wrote: > +struct fastrpc_invoke_v2 { > + struct fastrpc_invoke inv; > + __u64 crc; > + __u32 reserved[16]; I'm sure we have been over this before, but if you have a reserved field, you HAVE to check that it is zero if you ever want

Re: [PATCH v8 2/2] drm/tiny: Add driver for Sharp Memory LCD

2024-10-02 Thread Greg KH
On Wed, Oct 02, 2024 at 10:56:42AM +0200, Markus Elfring wrote: > … > > +++ b/drivers/gpu/drm/tiny/sharp-memory.c > > @@ -0,0 +1,681 @@ > … > > +static int sharp_memory_maintain_display(struct sharp_memory_device *smd) > > +{ > … > > + u8 *tx_buffer = smd->tx_buffer; > > + > > + mutex_lock(&smd

Re: AMD drm patch workflow is broken for stable trees

2024-10-01 Thread Greg KH
On Mon, Sep 30, 2024 at 10:10:25AM -0400, Alex Deucher wrote: > Resending now that rc1 is out. These should be ignored for stable. > > 8151a6c13111 drm/amd/display: Skip Recompute DSC Params if no Stream on Link > fbfb5f034225 drm/amdgpu: fix contiguous handling for IB parsing v2 > ec0d7abbb0d4 d

Re: [PATCH] pstore: Fix uaf when backend is unregistered

2024-09-30 Thread Greg KH
On Sun, Sep 29, 2024 at 08:43:37PM +0800, Li XingYang wrote: > when unload pstore_blk, we will unlink the pstore file and > set pos->dentry to NULL, but simple_unlink(d_inode(root), pos->dentry) > may free inode of pos->dentry and free pos by free_pstore_private, > this may trigger uaf. kasan repor

Re: Testing 6.11.0 - No audio

2024-09-27 Thread Greg KH
On Fri, Sep 27, 2024 at 01:47:01PM -0700, Manuel Quintero F wrote: > Hi. > > i used $make defconfig As you have found out, defconfig works for almost no one, please don't do that. There's lots of documentation out there for building a new kernel image, I suggest using the one on the kernelnewbi

Re: [PATCH 0/2 v5.10] Fix CVE-2024-38588

2024-09-27 Thread Greg KH
On Tue, Sep 24, 2024 at 11:53:22PM -0700, Shivani Agarwal wrote: > From: Shivani Agarwal > > Hi, > > To Fix CVE-2024-38588 e60b613df8b6 is required, but it has a dependency > on aebfd12521d9. Therefore backported both patches for v5.10. All queued up, thanks. greg k-h

Re: [PATCH 5.10] drm/vmwgfx: Remove rcu locks from user resources

2024-09-27 Thread Greg KH
On Sat, Sep 21, 2024 at 02:48:04PM +0800, Huang Xiaojia wrote: > [ Upstream commit a309c7194e8a2f8bd4539b9449917913f6c2cd50 ] We can't take this until you submit backports for newer kernels also. Please send for all affected kernels, thanks. greg k-h

Re: Testing 6.11.0 - No audio

2024-09-27 Thread Greg KH
On Thu, Sep 26, 2024 at 04:58:20PM -0700, Manuel Quintero F wrote: > I compiled version 6.10.9, which is the debian kernel version, to see > if it worked, but it gave me the same audio problem. > > Is there something in debian kernel 6.10.9 that makes the audio work? > What could it be? Odds are

Re: [RFC 00/29] Introduce NVIDIA GPU Virtualization (vGPU) Support

2024-09-26 Thread Greg KH
On Thu, Sep 26, 2024 at 09:42:39AM -0300, Jason Gunthorpe wrote: > On Thu, Sep 26, 2024 at 11:14:27AM +0200, Greg KH wrote: > > On Mon, Sep 23, 2024 at 12:01:40PM -0300, Jason Gunthorpe wrote: > > > On Mon, Sep 23, 2024 at 10:49:07AM +0200, Danilo Krummrich wrote: > &g

Re: [RFC 01/29] nvkm/vgpu: introduce NVIDIA vGPU support prelude

2024-09-26 Thread Greg KH
On Sun, Sep 22, 2024 at 05:49:23AM -0700, Zhi Wang wrote: > NVIDIA GPU virtualization is a technology that allows multiple virtual > machines (VMs) to share the power of a single GPU, enabling greater > flexibility, efficiency, and cost-effectiveness in data centers and cloud > environments. > > T

Re: [RFC 02/29] nvkm/vgpu: attach to nvkm as a nvkm client

2024-09-26 Thread Greg KH
On Sun, Sep 22, 2024 at 05:49:24AM -0700, Zhi Wang wrote: > nvkm is a HW abstraction layer(HAL) that initializes the HW and > allows its clients to manipulate the GPU functions regardless of the > generations of GPU HW. On the top layer, it provides generic APIs for a > client to connect to NVKM, e

Re: [RFC 00/29] Introduce NVIDIA GPU Virtualization (vGPU) Support

2024-09-26 Thread Greg KH
On Mon, Sep 23, 2024 at 12:01:40PM -0300, Jason Gunthorpe wrote: > On Mon, Sep 23, 2024 at 10:49:07AM +0200, Danilo Krummrich wrote: > > > 2. Proposal for upstream > > > > > > > What is the strategy in the mid / long term with this? > > > > As you know, we're trying to mo

Re: Testing 6.11.0 - No audio

2024-09-26 Thread Greg KH
On Wed, Sep 25, 2024 at 03:33:00PM -0700, Manuel Quintero F wrote: > Hi, I compiled the mainline kernel 6.11.0, as a result the audio does > not work, I don't know if it is a kernel error. Looking at the dmesg I > notice the following: > > [0.461474] Loaded X.509 cert 'wens: > 61c038651aabdcf9

Re: [PATCH] hwrng: core - Add WARN_ON for buggy read return values

2024-09-23 Thread Greg KH
On Mon, Sep 23, 2024 at 05:31:47PM +0300, Jarkko Sakkinen wrote: > On Mon Sep 23, 2024 at 12:26 PM EEST, Herbert Xu wrote: > > > + > > > > + err = rng->read(rng, buffer, size, wait); > > > > + if (WARN_ON_ONCE(err > 0 && err > size)) > > > > > > Are you sure you want t

Re: Are multiple Fixes Tags OK?

2024-09-21 Thread Greg KH
On Thu, Sep 19, 2024 at 08:07:56AM -0700, Jeff Johnson wrote: > I'm reviewing an internal change that is fixing a memory leak of the same > object in two different error paths. However each of the two error paths were > introduced in separate commits, so there would be two Fixes: tags if both of >

Re: [PATCH][next] container_of: add container_first() macro

2024-09-20 Thread Greg KH
On Sat, Sep 21, 2024 at 08:45:28AM +0300, Dan Carpenter wrote: > On Fri, Sep 20, 2024 at 02:50:02PM +0200, Gustavo A. R. Silva wrote: > > This is like container_of() but it has an assert to ensure that it's > > using the first struct member. > > > > I just remembered that Greg wanted this based o

Re: [RFC PATCH 02/24] erofs: add superblock data structure in Rust

2024-09-16 Thread Greg KH
On Tue, Sep 17, 2024 at 08:18:06AM +0800, Gao Xiang wrote: > Hi Greg, > > On 2024/9/17 01:55, Greg KH wrote: > > On Mon, Sep 16, 2024 at 09:56:12PM +0800, Yiyang Wu wrote: > > > diff --git a/fs/erofs/rust/erofs_sys.rs b/fs/erofs/rust/erofs_sys.rs > > >

Re: [RFC PATCH 03/24] erofs: add Errno in Rust

2024-09-16 Thread Greg KH
On Mon, Sep 16, 2024 at 09:56:13PM +0800, Yiyang Wu wrote: > Introduce Errno to Rust side code. Note that in current Rust For Linux, > Errnos are implemented as core::ffi::c_uint unit structs. > However, EUCLEAN, a.k.a EFSCORRUPTED is missing from error crate. > > Since the errno_base hasn't chang

Re: [RFC PATCH 02/24] erofs: add superblock data structure in Rust

2024-09-16 Thread Greg KH
On Mon, Sep 16, 2024 at 09:56:12PM +0800, Yiyang Wu wrote: > diff --git a/fs/erofs/rust/erofs_sys.rs b/fs/erofs/rust/erofs_sys.rs > new file mode 100644 > index ..0f1400175fc2 > --- /dev/null > +++ b/fs/erofs/rust/erofs_sys.rs > @@ -0,0 +1,22 @@ > +#![allow(dead_code)] > +// Copyright 2

Re: [PATCH 1/2] net: dsa: RCU-protect dsa_ptr in struct net_device

2024-09-13 Thread Greg KH
On Fri, Sep 13, 2024 at 09:27:23PM +0200, Andrew Lunn wrote: > > > drivers/net/dsa/mt7530.c| 3 +- > > > drivers/net/dsa/ocelot/felix.c | 3 +- > > > drivers/net/dsa/qca/qca8k-8xxx.c| 3 +- > > > drivers/net/ethernet/broadcom/bcmsysport.c | 8 +

Re: How to find all PCI/ USB/ drivers installed on my Ubuntu?

2024-09-12 Thread Greg KH
On Thu, Sep 12, 2024 at 10:23:57AM +0530, S wrote: > Like lsusb will tell me all USB devices. But now let's say I have modules > that are loading USB drivers or high level USB drivers. How to find that > list. Look at the driver names provided by "lsusb -tv" > Same question for PCI Look at the d

Re: [RESEND PATCH v4] devres: Refactor using guards

2024-09-11 Thread Greg KH
Converting working code for no real reason other than "let's change this!" isn't always a good idea. For new code going forward, or if you are touching the same area, sure, that makes sense, but be careful about stuff like this. > Signed-off-by: Andrea Calabrese > >

Re: [PATCH] fbdev/xen-fbfront: Assign fb_info->device

2024-09-10 Thread Greg KH
On Tue, Sep 10, 2024 at 02:18:35PM +0200, Arthur Borsboom wrote: > On Tue, 10 Sept 2024 at 10:33, Greg KH wrote: > > > > On Tue, Sep 10, 2024 at 10:13:01AM +0200, Roger Pau Monné wrote: > > > On Tue, Sep 10, 2024 at 09:29:30AM +0200, Thomas Zimmermann wrote: > > >

Re: [PATCH] fbdev/xen-fbfront: Assign fb_info->device

2024-09-10 Thread Greg KH
On Tue, Sep 10, 2024 at 02:18:35PM +0200, Arthur Borsboom wrote: > On Tue, 10 Sept 2024 at 10:33, Greg KH wrote: > > > > On Tue, Sep 10, 2024 at 10:13:01AM +0200, Roger Pau Monné wrote: > > > On Tue, Sep 10, 2024 at 09:29:30AM +0200, Thomas Zimmermann wrote: > > >

Re: [PATCH] fbdev/xen-fbfront: Assign fb_info->device

2024-09-10 Thread Greg KH
On Tue, Sep 10, 2024 at 10:13:01AM +0200, Roger Pau Monné wrote: > On Tue, Sep 10, 2024 at 09:29:30AM +0200, Thomas Zimmermann wrote: > > Hi > > > > Am 10.09.24 um 09:22 schrieb Roger Pau Monné: > > > On Mon, Sep 09, 2024 at 10:09:16PM -0400, Jason Andryuk wrote: > > > > From: Jason Andryuk > > >

Re: [PATCH] fbdev/xen-fbfront: Assign fb_info->device

2024-09-10 Thread Greg KH
On Tue, Sep 10, 2024 at 10:13:01AM +0200, Roger Pau Monné wrote: > On Tue, Sep 10, 2024 at 09:29:30AM +0200, Thomas Zimmermann wrote: > > Hi > > > > Am 10.09.24 um 09:22 schrieb Roger Pau Monné: > > > On Mon, Sep 09, 2024 at 10:09:16PM -0400, Jason Andryuk wrote: > > > > From: Jason Andryuk > > >

Re: TIP

2024-09-09 Thread Greg KH
On Mon, Sep 09, 2024 at 06:32:36PM +0300, Constantine Shulyupin wrote: > What does "TIP" stand for in the repository > https://git.kernel.org/pub/scm/linux/kernel/git/tip/? "Thomas" "Ingo" "Peter", the original maintainers of that tree (i.e. the x86 maintainers tree, which has now grown to other p

Re: [PATCH v5.15-v5.10] drm/amd/pm: Fix the null pointer dereference for vega10_hwmgr

2024-09-09 Thread Greg KH
On Fri, Sep 06, 2024 at 11:02:32AM -0400, Alex Deucher wrote: > On Fri, Sep 6, 2024 at 4:50 AM Mukul Sikka wrote: > > > > On Fri, Sep 6, 2024 at 12:05 AM Alex Deucher wrote: > > > > > > On Tue, Sep 3, 2024 at 5:53 AM sikkamukul > > > wrote: > > > > > > > > From: Bob Zhou > > > > > > > > [ Upst

Re: [PATCH v5.15-v5.10] drm/amd/pm: Fix the null pointer dereference for vega10_hwmgr

2024-09-08 Thread Greg KH
On Fri, Sep 06, 2024 at 11:02:32AM -0400, Alex Deucher wrote: > On Fri, Sep 6, 2024 at 4:50 AM Mukul Sikka wrote: > > > > On Fri, Sep 6, 2024 at 12:05 AM Alex Deucher wrote: > > > > > > On Tue, Sep 3, 2024 at 5:53 AM sikkamukul > > > wrote: > > > > > > > > From: Bob Zhou > > > > > > > > [ Upst

Re: [Intel-wired-lan] [PATCH v2] ice: Fix improper handling of refcount in ice_sriov_set_msix_vec_count()

2024-09-07 Thread Greg KH
On Sat, Sep 07, 2024 at 02:40:10PM +0200, Markus Elfring wrote: > … > > +++ b/drivers/net/ethernet/intel/ice/ice_sriov.c > > @@ -1096,8 +1096,10 @@ int ice_sriov_set_msix_vec_count(struct pci_dev > > *vf_dev, int msix_vec_count) > > return -ENOENT; > > > > vsi = ice_get_vf_vsi(vf);

Re: AMD drm patch workflow is broken for stable trees

2024-09-05 Thread Greg KH
On Tue, Aug 27, 2024 at 10:18:27AM -0400, Alex Deucher wrote: > On Sat, Aug 24, 2024 at 1:23 AM Greg KH wrote: > > > > On Fri, Aug 23, 2024 at 05:23:46PM -0400, Alex Deucher wrote: > > > On Thu, Aug 15, 2024 at 1:11 AM Greg KH > > > wrote: > > > &g

Re: [PATCH v5.15-v5.10] drm/amd/pm: Fix the null pointer dereference for vega10_hwmgr

2024-09-05 Thread Greg KH
On Tue, Sep 03, 2024 at 04:58:09AM +, sikkamukul wrote: > From: Bob Zhou > > [ Upstream commit 50151b7f1c79a09117837eb95b76c2de76841dab ] > > Check return value and conduct null pointer handling to avoid null pointer > dereference. > > Signed-off-by: Bob Zhou > Reviewed-by: Tim Huang > S

Re: [PATCH v4.19-v5.10] virtio_net: Fix napi_skb_cache_put warning

2024-09-05 Thread Greg KH
On Wed, Sep 04, 2024 at 02:08:53AM -0700, Shivani Agarwal wrote: > From: Breno Leitao > > [ Upstream commit f8321fa75102246d7415a6af441872f6637c93ab ] > > After the commit bdacf3e34945 ("net: Use nested-BH locking for > napi_alloc_cache.") was merged, the following warning began to appear: > >

Re: [PATCH v5.15-v5.10] drm/amd/pm: Fix the null pointer dereference for vega10_hwmgr

2024-09-05 Thread Greg KH
On Tue, Sep 03, 2024 at 04:58:09AM +, sikkamukul wrote: > From: Bob Zhou > > [ Upstream commit 50151b7f1c79a09117837eb95b76c2de76841dab ] > > Check return value and conduct null pointer handling to avoid null pointer > dereference. > > Signed-off-by: Bob Zhou > Reviewed-by: Tim Huang > S

Re: [f2fs-dev] [PATCH v6.1] f2fs: fix to truncate preallocated blocks in f2fs_file_open()

2024-09-04 Thread Greg KH
On Mon, Sep 02, 2024 at 02:26:16AM -0700, Shivani Agarwal wrote: > From: Chao Yu > > [ Upstream commit 298b1e4182d657c3e388adcc29477904e9600ed5 ] Now qeued up, thanks. greg k-h ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net

Re: [PATCH v2] drm/imx/ipuv3: ipuv3-plane: Round up plane width for IPUV3_CHANNEL_MEM_DC_SYNC

2024-09-04 Thread Greg KH
On Wed, Sep 04, 2024 at 04:48:51PM +0800, Liu Ying wrote: > On 09/04/2024, Paul Pu wrote: > > Cc: sta...@vger.kernel.org # 5.15+ > > Why 5.15+ ? Because the commit referenced in Fixes: was backported there. If you want to be picky, just drop the "# 5.15+" and our tools will rely on the Fixes: ta

Re: [PATCH] drm: imx: ipuv3-plane: fix HDMI cannot work for odd screen resolutions

2024-09-03 Thread Greg KH
On Wed, Sep 04, 2024 at 05:43:15AM +0300, Paul Pu wrote: > This changes the judgement of if needing to round up the width or not, > from using the `dp_flow` to the plane's type. > > The `dp_flow` can be -22(-EINVAL) even the plane is a PRIMARY one. > See `client_reg[]` in `ipu-common.c`. > > [

Re: Question regarding appropriate mailing list

2024-09-03 Thread Greg KH
On Tue, Sep 03, 2024 at 06:26:17PM +0200, Patryk wrote: > Hi, > What would be the most appropriate mailing list to ask about pmbus > drivers and power management devices like ltc29**. I'm trying to > bring-up some LTC devices using existing drivers and I've encountered > some problems while reading

Re: How to contribute to the linux kernel

2024-08-31 Thread Greg KH
On Sat, Aug 31, 2024 at 04:17:35PM +0800, Qianqiang Liu wrote: >  > Hi all, > > I am an embedded software engineer. I use Linux every day, and I appreciate > its neatness and simplicity. > > One day, I watched a video from Greg: https://youtu.be/LLBrBBImJt4, and I > started wondering if maybe

Re: [PATCH v4.19-v6.1] drm/amdgpu: Using uninitialized value *size when calling

2024-08-30 Thread Greg KH
On Wed, Aug 28, 2024 at 10:15:56AM -0500, Vamsi Krishna Brahmajosyula wrote: > From: Jesse Zhang > > [ Upstream commit 88a9a467c548d0b3c7761b4fd54a68e70f9c0944 ] > > Initialize the size before calling amdgpu_vce_cs_reloc, such as case > 0x0301. > V2: To really improve the handling we would

Re: [PATCH v4.19-v6.1] drm/amdgpu: Using uninitialized value *size when calling

2024-08-29 Thread Greg KH
On Wed, Aug 28, 2024 at 10:15:56AM -0500, Vamsi Krishna Brahmajosyula wrote: > From: Jesse Zhang > > [ Upstream commit 88a9a467c548d0b3c7761b4fd54a68e70f9c0944 ] > > Initialize the size before calling amdgpu_vce_cs_reloc, such as case > 0x0301. > V2: To really improve the handling we would

Re: [PATCH -next v2] lib/string_choices: Add str_true_false()/str_false_true() helper

2024-08-24 Thread Greg KH
On Sat, Aug 24, 2024 at 03:04:52PM +0800, Hongbo Li wrote: > As discussed in the previous thread, the coccinelle rules and some > replacements will be added in the future. Then we have to wait for this one until then. Remember, we can not take functions that no one calls, as they will be noticed

Re: AMD drm patch workflow is broken for stable trees

2024-08-24 Thread Greg KH
On Fri, Aug 23, 2024 at 05:23:46PM -0400, Alex Deucher wrote: > On Thu, Aug 15, 2024 at 1:11 AM Greg KH wrote: > > > > On Wed, Aug 14, 2024 at 05:30:08PM -0400, Alex Deucher wrote: > > > On Wed, Aug 14, 2024 at 4:55 PM Felix Kuehling > > > wrote: > > &

Re: [PATCH -next 0/2] Add str_true_false()/str_false_true() helper

2024-08-23 Thread Greg KH
On Fri, Aug 23, 2024 at 04:22:32PM +0300, Andy Shevchenko wrote: > On Fri, Aug 23, 2024 at 9:13 AM Hongbo Li wrote: > > > > Add str_true_false()/str_false_true() helper to "true" or "false" > > string literal. And we found more than 10 cases currently exist > > in the tree. So these helpers can be

Re: Separating driver and documentation changes

2024-08-22 Thread Greg KH
On Thu, Aug 22, 2024 at 10:29:32AM +0200, Patryk Biel wrote: > Hi > I'm going to send a patch that extends existing driver with support for a new > variant of the existing device. The changes in the drivr code are rather > small, around 100 lines of code. Apart from the driver changes I > would lik

Re: [PATCH] pstore: replace spinlock_t by raw_spinlock_t

2024-08-19 Thread Greg KH
On Mon, Aug 19, 2024 at 10:59:45PM +0800, Wen Yang wrote: > pstore_dump() is called when both preemption and local IRQ are disabled, > and a spinlock is obtained, which is problematic for the RT kernel because > in this configuration, spinlocks are sleep locks. > > Replace the spinlock_t with raw_

Re: [PATCH 6.10] drm/amd/display: Refactor function dm_dp_mst_is_port_support_mode()

2024-08-19 Thread Greg KH
On Tue, Jul 30, 2024 at 08:53:39PM +0200, Kevin Holm wrote: > From: Wayne Lin > > [ Upstream commit fa57924c76d995e87ca3533ec60d1d5e55769a27 ] > > [Why] > dm_dp_mst_is_port_support_mode() is a bit not following the original design > rule and cause > light up issue with multiple 4k monitors afte

Re: [PATCH 6.10] drm/amd/display: Refactor function dm_dp_mst_is_port_support_mode()

2024-08-19 Thread Greg KH
On Sat, Aug 17, 2024 at 10:30:41PM +0200, Kevin Holm wrote: > > > On 17.08.24 10:42, Greg KH wrote: > > On Tue, Jul 30, 2024 at 08:53:39PM +0200, Kevin Holm wrote: > > > From: Wayne Lin > > > > > > [ Upstream commit fa57924c76d995e87c

Re: [PATCH 6.10] drm/amd/display: Refactor function dm_dp_mst_is_port_support_mode()

2024-08-17 Thread Greg KH
On Sat, Aug 17, 2024 at 10:30:41PM +0200, Kevin Holm wrote: > > > On 17.08.24 10:42, Greg KH wrote: > > On Tue, Jul 30, 2024 at 08:53:39PM +0200, Kevin Holm wrote: > > > From: Wayne Lin > > > > > > [ Upstream commit fa57924c76d995e87c

Re: [PATCH 6.10] drm/amd/display: Refactor function dm_dp_mst_is_port_support_mode()

2024-08-17 Thread Greg KH
On Tue, Jul 30, 2024 at 08:53:39PM +0200, Kevin Holm wrote: > From: Wayne Lin > > [ Upstream commit fa57924c76d995e87ca3533ec60d1d5e55769a27 ] > > [Why] > dm_dp_mst_is_port_support_mode() is a bit not following the original design > rule and cause > light up issue with multiple 4k monitors afte

Re: AMD drm patch workflow is broken for stable trees

2024-08-15 Thread Greg KH
On Wed, Aug 14, 2024 at 05:30:08PM -0400, Alex Deucher wrote: > On Wed, Aug 14, 2024 at 4:55 PM Felix Kuehling wrote: > > > > On 2024-08-12 11:00, Greg KH wrote: > > > Hi all, > > > > > > As some of you have noticed, there's a TON of failure m

Re: AMD drm patch workflow is broken for stable trees

2024-08-15 Thread Greg KH
On Wed, Aug 14, 2024 at 04:39:29PM -0400, Felix Kuehling wrote: > On 2024-08-12 11:00, Greg KH wrote: > > Hi all, > > > > As some of you have noticed, there's a TON of failure messages being > > sent out for AMD gpu driver commits that are tagged for stable >

Re: [PATCH v5.10 v2 RESEND] powerpc: Avoid nmi_enter/nmi_exit in real mode interrupt.

2024-08-13 Thread Greg KH
On Tue, Aug 13, 2024 at 11:33:44AM +, Jinjie Ruan wrote: > From: Mahesh Salgaonkar > > [ Upstream commit 0db880fc865ffb522141ced4bfa66c12ab1fbb70 ] > > nmi_enter()/nmi_exit() touches per cpu variables which can lead to kernel > crash when invoked during real mode interrupt handling (e.g. ear

Re: [PATCH v5.10 v2] powerpc: Avoid nmi_enter/nmi_exit in real mode interrupt.

2024-08-13 Thread Greg KH
On Tue, Aug 06, 2024 at 07:16:16AM +, Jinjie Ruan wrote: > From: Mahesh Salgaonkar > > [ Upstream commit 0db880fc865ffb522141ced4bfa66c12ab1fbb70 ] > > nmi_enter()/nmi_exit() touches per cpu variables which can lead to kernel > crash when invoked during real mode interrupt handling (e.g. ear

Re: [PATCH v1] misc: fastrpc: Trigger a panic using BUG_ON in device release

2024-08-13 Thread Greg KH
On Mon, Aug 05, 2024 at 04:36:28PM +0530, Abhishek Singh wrote: > > On 7/30/2024 12:46 PM, Greg KH wrote: > > On Tue, Jul 30, 2024 at 12:39:45PM +0530, Abhishek Singh wrote: > >> The user process on ARM closes the device node while closing the > >> session, triggers

AMD drm patch workflow is broken for stable trees

2024-08-13 Thread Greg KH
Hi all, As some of you have noticed, there's a TON of failure messages being sent out for AMD gpu driver commits that are tagged for stable backports. In short, you all are doing something really wrong with how you are tagging these. Please fix it up to NOT have duplicates in multiple branches t

Re: [PATCH v1] add binder genl for txn report

2024-08-12 Thread Greg KH
On Mon, Aug 12, 2024 at 11:16:27PM -0700, Li Li wrote: > On Mon, Aug 12, 2024 at 10:13 PM Greg KH wrote: > > > > On Mon, Aug 12, 2024 at 02:18:44PM -0700, Li Li wrote: > > > From: Li Li > > > > Sorry, but I can not parse your Subject: line at all. Please use

Re: [PATCH v1] add binder genl for txn report

2024-08-12 Thread Greg KH
On Mon, Aug 12, 2024 at 02:18:44PM -0700, Li Li wrote: > From: Li Li Sorry, but I can not parse your Subject: line at all. Please use vowels, we don't have a lack of them :) Also look at how other patches are formatted for these files to get an idea of how to create a good subject line. > Froz

Re: [Intel-wired-lan] [PATCH 6.10.y] idpf: fix memleak in vport interrupt configuration

2024-08-12 Thread Greg KH
On Mon, Aug 12, 2024 at 03:44:55PM +0200, Alexander Lobakin wrote: > From: Michal Kubiak > > commit 3cc88e8405b8d55e0ff035e31971aadd6baee2b6 upstream. > > The initialization of vport interrupt consists of two functions: > 1) idpf_vport_intr_init() where a generic configuration is done > 2) idp

Re: [PATCH 6.10] drm/amd/display: Refactor function dm_dp_mst_is_port_support_mode()

2024-08-12 Thread Greg KH
On Tue, Jul 30, 2024 at 08:53:39PM +0200, Kevin Holm wrote: > From: Wayne Lin > > [ Upstream commit fa57924c76d995e87ca3533ec60d1d5e55769a27 ] > > [Why] > dm_dp_mst_is_port_support_mode() is a bit not following the original design > rule and cause > light up issue with multiple 4k monitors afte

Re: [PATCH 6.10] drm/amd/display: Refactor function dm_dp_mst_is_port_support_mode()

2024-08-11 Thread Greg KH
On Tue, Jul 30, 2024 at 08:53:39PM +0200, Kevin Holm wrote: > From: Wayne Lin > > [ Upstream commit fa57924c76d995e87ca3533ec60d1d5e55769a27 ] > > [Why] > dm_dp_mst_is_port_support_mode() is a bit not following the original design > rule and cause > light up issue with multiple 4k monitors afte

Re: [PATCH] staging: vme_user: vme_bridge.h: Fix mutex without comment warning

2024-07-31 Thread Greg KH
A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I includ

Re: [PATCH] staging: vme_user: vme_bridge.h: Fix mutex without comment warning

2024-07-31 Thread Greg KH
On Wed, Jul 31, 2024 at 01:06:05PM +0530, Riyan Dhiman wrote: > Adhere to Linux kernel coding style > > Reported by checkpatch: > > CHECK: mutex definition without comment > > Signed-off-by: Riyan Dhiman > --- > drivers/staging/vme_user/vme_bridge.h | 4 > 1 file changed, 4 insertions(+)

Re: [PATCH] drm/amd/display: fix corruption with high refresh rates on DCN 3.0

2024-07-30 Thread Greg KH
On Mon, Jul 29, 2024 at 10:31:38AM +0200, Linux regression tracking (Thorsten Leemhuis) wrote: > On 16.07.24 19:33, Alex Deucher wrote: > > This reverts commit bc87d666c05a13e6d4ae1ddce41fc43d2567b9a2 and the > > register changes from commit 6d4279cb99ac4f51d10409501d29969f687ac8dc. > > > > Close

Re: [REGRESSION] No image on 4k display port displays connected through usb-c dock in kernel 6.10

2024-07-30 Thread Greg KH
On Tue, Jul 30, 2024 at 05:56:42AM +, Lin, Wayne wrote: > [Public] > > Hi, > Thanks for the report. > > Patch fa57924c76d995 ("drm/amd/display: Refactor function > dm_dp_mst_is_port_support_mode()") > is kind of correcting problems causing by commit: > 4df96ba6676034 ("drm/amd/display: Add t

Re: [PATCH] staging: fbtft: Remove trailing semicolon in macro.

2024-07-30 Thread Greg KH
On Tue, Jul 30, 2024 at 07:14:55AM +, Sakirnth Nagarasa wrote: > Fix checkpath warning: "WARNING: macros should not use a trailing semicolon > in fbtft.h:356. > > Signed-off-by: Sakirnth Nagarasa > > --- > > Hello, this is my first patch to the kernel. > --- > drivers/staging/fbtft/fbtft.h

Re: [PATCH v1] misc: fastrpc: Trigger a panic using BUG_ON in device release

2024-07-30 Thread Greg KH
On Tue, Jul 30, 2024 at 12:39:45PM +0530, Abhishek Singh wrote: > The user process on ARM closes the device node while closing the > session, triggers a remote call to terminate the PD running on the > DSP. If the DSP is in an unstable state and cannot process the remote > request from the HLOS, gl

Re: [REGRESSION] No image on 4k display port displays connected through usb-c dock in kernel 6.10

2024-07-29 Thread Greg KH
On Tue, Jul 30, 2024 at 05:56:42AM +, Lin, Wayne wrote: > [Public] > > Hi, > Thanks for the report. > > Patch fa57924c76d995 ("drm/amd/display: Refactor function > dm_dp_mst_is_port_support_mode()") > is kind of correcting problems causing by commit: > 4df96ba6676034 ("drm/amd/display: Add t

Re: [PATCH] staging: fbtft: remove unnecessary braces in if statements and space before close parenthesis in function call

2024-07-24 Thread Greg KH
On Wed, Jul 24, 2024 at 06:22:55PM +0530, Riyan Dhiman wrote: > Hi, > > Thank you for your feedback on my patch submission. > I understand that the fix provided by my patch is not needed. As this is my > first contribution to the Linux kernel, I am eager to learn and make > valuable contributions.

[ceph-users] ingress for mgr service

2024-07-24 Thread farhad kh
It is very good to be able to use Ingress for service manager This possibility of high availability for Ed Will this feature be added in the next version or should it still be implemented manually? ___ ceph-users mailing list -- ceph-users@ceph.io To uns

Re: [PATCH] staging: fbtft: remove unnecessary braces in if statements and space before close parenthesis in function call

2024-07-23 Thread Greg KH
On Tue, Jul 23, 2024 at 06:28:19PM +0530, Riyan Dhiman wrote: > Hi, > > Thank you for your feedback on my patch submission. > I have reviewed the mailing list traffic and noted that the last patch > addressing the same coding style issue was submitted in April. Given this > timeframe, I believed i

Re: Linux 6.10 regression resulting in a crash when using an ext4 filesystem

2024-07-23 Thread Greg KH
On Tue, Jul 23, 2024 at 12:04:41PM +0200, Thorsten Leemhuis wrote: > On 23.07.24 06:11, Theodore Ts'o wrote: > > On Mon, Jul 22, 2024 at 12:06:59AM -0700, Kees Cook wrote: > >>> Is strscpy_pad appropriate if the @src parameter itself is a fixed > >>> length char[16] which isn't null terminated when

Re: [PATCH] staging: fbtft: remove unnecessary braces in if statements and space before close parenthesis in function call

2024-07-23 Thread Greg KH
On Tue, Jul 23, 2024 at 11:33:11AM +0530, Riyan Dhiman wrote: > Adhere to Linux kernel coding style. > > Reported by checkpatch: > > CHECK: Unnecessary parentheses around 'devcode != 0x' > CHECK: Unnecessary parentheses around 'devcode != 0x9320' > CHECK: Unnecessary parentheses around 'par->

Re: [PATCH v5 1/2] misc: fastrpc: Define a new initmem size for user PD

2024-07-22 Thread Greg KH
On Mon, Jul 22, 2024 at 11:42:52AM +0530, Ekansh Gupta wrote: > > > On 7/22/2024 11:28 AM, Greg KH wrote: > > On Mon, Jul 22, 2024 at 11:24:36AM +0530, Ekansh Gupta wrote: > >> For user PD initialization, initmem is allocated and sent to DSP for > >> initi

Re: [PATCH v5 2/2] misc: fastrpc: Increase unsigned PD initmem size

2024-07-21 Thread Greg KH
On Mon, Jul 22, 2024 at 11:24:37AM +0530, Ekansh Gupta wrote: > For unsigned PD offloading requirement, additional memory is required > because of additional static heap initialization. Without this > additional memory, PD initialization would fail. Increase the initmem > size by 2MB for unsigned P

Re: [PATCH v5 1/2] misc: fastrpc: Define a new initmem size for user PD

2024-07-21 Thread Greg KH
On Mon, Jul 22, 2024 at 11:24:36AM +0530, Ekansh Gupta wrote: > For user PD initialization, initmem is allocated and sent to DSP for > initial memory requirements like shell loading. The size of this memory > is decided based on the shell size that is passed by the user space. > With the current im

Re: [PATCH v4] cxl: Fix possible null pointer dereference in read_handle()

2024-07-14 Thread Greg KH
On Mon, Jul 15, 2024 at 10:54:42AM +0800, Ma Ke wrote: > In read_handle(), of_get_address() may return NULL if getting address and > size of the node failed. When of_read_number() uses prop to handle > conversions between different byte orders, it could lead to a null pointer > dereference. Add NUL

Re: [PATCH v3] cxl: Fix possible null pointer dereference in read_handle()

2024-07-14 Thread Greg KH
On Sun, Jul 14, 2024 at 08:14:04PM +0800, Ma Ke wrote: > In read_handle(), of_get_address() may return NULL which is later > dereferenced. Fix this by adding NULL check. > > Based on our customized static analysis tool, extract vulnerability > features[1], then match similar vulnerability features

Re: [PATCH] docs: maintainer: discourage taking conversations off-list

2024-07-12 Thread Greg KH
On Fri, Jul 12, 2024 at 07:49:03AM -0700, Jakub Kicinski wrote: > Multiple vendors seem to prefer taking discussions off list, and > ask contributors to work with them privately rather than just send > patches to the list. I'd imagine this is because it's hard to fit in > time for random developers

[ceph-users] when calling the CreateTopic operation: Unknown

2024-07-12 Thread farhad kh
hi, i want to use ceph bucket notification . i try to created topic with below command but get error when used kafka with user/password how can i solved this problem ? my syntax have any problem? https://www.ibm.com/docs/en/storage-ceph/7?topic=management-creating-bucket-notifications https://doc

Re: [PATCH v2] cxl: Fix possible null pointer dereference in read_handle()

2024-07-10 Thread Greg KH
On Wed, Jul 10, 2024 at 06:33:52PM +0800, Ma Ke wrote: > In read_handle(), of_get_address() may return NULL which is later > dereferenced. Fix this by adding NULL check. > > Cc: sta...@vger.kernel.org > Fixes: 14baf4d9c739 ("cxl: Add guest-specific code") > Signed-off-by: Ma Ke > --- > Changes in

Re: [PATCH] cxl: Fix possible null pointer dereference in read_handle()

2024-07-09 Thread Greg KH
On Tue, Jul 09, 2024 at 09:17:54PM +0800, Ma Ke wrote: > In read_handle() of_get_address() may return NULL which is later > dereferenced. Fix this bug by adding NULL check. > > Cc: sta...@vger.kernel.org > Fixes: 14baf4d9c739 ("cxl: Add guest-specific code") > Signed-off-by: Ma Ke > --- > driver

Re: [PATCH v2 4/4] drm/panic: Add a qr_code panic screen

2024-07-09 Thread Greg KH
On Tue, Jul 09, 2024 at 12:04:02PM +0200, Jocelyn Falempe wrote: > > > On 09/07/2024 11:12, Greg KH wrote: > > On Tue, Jul 09, 2024 at 11:11:35AM +0200, Greg KH wrote: > > > On Tue, Jul 09, 2024 at 10:40:10AM +0200, Jocelyn Falempe wrote: > > > >

Re: [PATCH] Revert "bpf: Take return from set_memory_rox() into account with bpf_jit_binary_lock_ro()" for linux-6.6.37

2024-07-09 Thread Greg KH
On Tue, Jul 09, 2024 at 09:24:54AM +, LEROY Christophe wrote: > > > Le 09/07/2024 à 11:15, Greg KH a écrit : > > On Mon, Jul 08, 2024 at 03:12:55PM +, LEROY Christophe wrote: > >> > >> > >> Le 08/07/2024 à 14:36, Greg KH a écrit : > >>&

Re: [PATCH] Revert "bpf: Take return from set_memory_rox() into account with bpf_jit_binary_lock_ro()" for linux-6.6.37

2024-07-09 Thread Greg KH
On Mon, Jul 08, 2024 at 03:12:55PM +, LEROY Christophe wrote: > > > Le 08/07/2024 à 14:36, Greg KH a écrit : > > On Sun, Jul 07, 2024 at 03:34:15PM +0800, WangYuli wrote: > >> > >> On 2024/7/6 17:30, Greg KH wrote: > >>> This makes it sound l

Re: [PATCH v2 4/4] drm/panic: Add a qr_code panic screen

2024-07-09 Thread Greg KH
On Tue, Jul 09, 2024 at 11:11:35AM +0200, Greg KH wrote: > On Tue, Jul 09, 2024 at 10:40:10AM +0200, Jocelyn Falempe wrote: > > +config DRM_PANIC_SCREEN_QR_CODE_URL > > + string "Base url of the QR code in the panic screen" > > + depends on DRM_PANIC_SCREEN_QR_C

Re: [PATCH v2 4/4] drm/panic: Add a qr_code panic screen

2024-07-09 Thread Greg KH
On Tue, Jul 09, 2024 at 10:40:10AM +0200, Jocelyn Falempe wrote: > +config DRM_PANIC_SCREEN_QR_CODE_URL > + string "Base url of the QR code in the panic screen" > + depends on DRM_PANIC_SCREEN_QR_CODE > + help > + This option sets the base url to report the kernel panic. If it's s

  1   2   3   4   5   6   7   8   9   10   >