[net-next PATCH v7 10/16] ACPI: utils: Introduce acpi_get_local_address()

2021-03-10 Thread Calvin Johnson
Introduce a wrapper around the _ADR evaluation. Signed-off-by: Calvin Johnson --- Changes in v7: None Changes in v6: None Changes in v5: - Replace fwnode_get_id() with acpi_get_local_address() Changes in v4: - Improve code structure to handle all cases Changes in v3: - Modified to retrieve

[net-next PATCH v7 08/16] net: mdiobus: Introduce fwnode_mdiobus_register_phy()

2021-03-10 Thread Calvin Johnson
Introduce fwnode_mdiobus_register_phy() to register PHYs on the mdiobus. From the compatible string, identify whether the PHY is c45 and based on this create a PHY device instance which is registered on the mdiobus. uninitialized symbol 'mii_ts' Reported-by: kernel test robot Reported-by: Dan

Re: [PATCH] ia64: kernel: Few typos fixed in the file fsys.S

2021-03-10 Thread Randy Dunlap
On 3/10/21 10:17 PM, John Paul Adrian Glaubitz wrote: > Hi! > > On 3/11/21 7:15 AM, Randy Dunlap wrote: >> On 3/10/21 10:10 PM, Bhaskar Chowdhury wrote: >>> >>> Mundane spelling fixes. >>> >>> Signed-off-by: Bhaskar Chowdhury >> >> Acked-by: Randy Dunlap >> >> but no maintainer Cc:ed to pick it

Re: [PATCH] net: core: Few absolutely rudimentary typo fixes throughout the file filter.c

2021-03-10 Thread Bhaskar Chowdhury
On 22:12 Wed 10 Mar 2021, Randy Dunlap wrote: On 3/10/21 9:56 PM, Bhaskar Chowdhury wrote: Trivial spelling fixes throughout the file. Signed-off-by: Bhaskar Chowdhury Hi Bhaskar, FYI: a. we accept British or American spellings b. we accept one or two spaces after a period ('.') at the

[net-next PATCH v7 06/16] of: mdio: Refactor of_get_phy_id()

2021-03-10 Thread Calvin Johnson
With the introduction of fwnode_get_phy_id(), refactor of_get_phy_id() to use fwnode equivalent. Signed-off-by: Calvin Johnson --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None drivers/net/mdio/of_mdio.c | 12

[net-next PATCH v7 07/16] net: mii_timestamper: check NULL in unregister_mii_timestamper()

2021-03-10 Thread Calvin Johnson
Callers of unregister_mii_timestamper() currently check for NULL value of mii_ts before calling it. Place the NULL check inside unregister_mii_timestamper() and update the callers accordingly. Signed-off-by: Calvin Johnson --- Changes in v7: - check NULL in unregister_mii_timestamper()

[net-next PATCH v7 02/16] net: phy: Introduce fwnode_mdio_find_device()

2021-03-10 Thread Calvin Johnson
Define fwnode_mdio_find_device() to get a pointer to the mdio_device from fwnode passed to the function. Refactor of_mdio_find_device() to use fwnode_mdio_find_device(). Signed-off-by: Calvin Johnson --- Changes in v7: - correct fwnode_mdio_find_device() description Changes in v6: - fix

[net-next PATCH v7 05/16] net: phy: Introduce fwnode_get_phy_id()

2021-03-10 Thread Calvin Johnson
Extract phy_id from compatible string. This will be used by fwnode_mdiobus_register_phy() to create phy device using the phy_id. Signed-off-by: Calvin Johnson --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - Use traditional comparison pattern

[net-next PATCH v7 04/16] of: mdio: Refactor of_phy_find_device()

2021-03-10 Thread Calvin Johnson
Refactor of_phy_find_device() to use fwnode_phy_find_device(). Signed-off-by: Calvin Johnson --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None drivers/net/mdio/of_mdio.c | 13 + 1 file changed, 1

[net-next PATCH v7 00/16] ACPI support for dpaa2 driver

2021-03-10 Thread Calvin Johnson
This patch set provides ACPI support to DPAA2 network drivers. It also introduces new fwnode based APIs to support phylink and phy layers Following functions are defined: phylink_fwnode_phy_connect() fwnode_mdiobus_register_phy() fwnode_mdiobus_register()

[net-next PATCH v7 03/16] net: phy: Introduce phy related fwnode functions

2021-03-10 Thread Calvin Johnson
Define fwnode_phy_find_device() to iterate an mdiobus and find the phy device of the provided phy fwnode. Additionally define device_phy_find_device() to find phy device of provided device. Define fwnode_get_phy_node() to get phy_node using named reference. Signed-off-by: Calvin Johnson ---

Re: [PATCH V3 6/6] vDPA/ifcvf: verify mandatory feature bits for vDPA

2021-03-10 Thread Jason Wang
On 2021/3/11 12:16 下午, Zhu Lingshan wrote: On 3/11/2021 11:20 AM, Jason Wang wrote: On 2021/3/10 5:00 下午, Zhu Lingshan wrote: vDPA requres VIRTIO_F_ACCESS_PLATFORM as a must, this commit examines this when set features. Signed-off-by: Zhu Lingshan ---   drivers/vdpa/ifcvf/ifcvf_base.c |

[net-next PATCH v7 01/16] Documentation: ACPI: DSD: Document MDIO PHY

2021-03-10 Thread Calvin Johnson
Introduce ACPI mechanism to get PHYs registered on a MDIO bus and provide them to be connected to MAC. Describe properties "phy-handle" and "phy-mode". Signed-off-by: Calvin Johnson --- Changes in v7: None Changes in v6: - Minor cleanup Changes in v5: - More cleanup Changes in v4: - More

[PATCH] scsi: Fix a use after free in pcie_device_make_active

2021-03-10 Thread Lv Yunlong
In pcie_device_make_active, it will drop the last reference of pcie_device and release it by pcie_device_put(). It is obviously that pcie_device_get() should be called before release the pcie_device. Otherwise, it will cause a use after free. Fixes: d88e1eaba6eee ("scsi: mpt3sas: Add nvme device

Re: [PATCH V1 2/6] soc: qcom: dcc: Add driver support for Data Capture and Compare unit(DCC)

2021-03-10 Thread Sai Prakash Ranjan
Hi Bjorn, On 2021-03-11 04:49, Bjorn Andersson wrote: On Wed 10 Mar 10:46 CST 2021, Souradeep Chowdhury wrote: The DCC is a DMA Engine designed to capture and store data during system crash or software triggers. The DCC operates based on link list entries which provides it with data and

[PATCH] cgroup-v2: Add taskstats counters in cgroup.stat

2021-03-10 Thread Chengming Zhou
We have the netlink CGROUPSTATS_CMD_GET interface to get taskstats of the cgroup on v1, but haven't the equivalent interface on v2, making it difficult to calculate the per-cgroup cpu load in cadvisor or implement the cgroup proc interface in lxcfs, like /proc/loadavg. Since we already have these

Re: [PATCH] ia64: kernel: Few typos fixed in the file fsys.S

2021-03-10 Thread John Paul Adrian Glaubitz
Hi! On 3/11/21 7:15 AM, Randy Dunlap wrote: > On 3/10/21 10:10 PM, Bhaskar Chowdhury wrote: >> >> Mundane spelling fixes. >> >> Signed-off-by: Bhaskar Chowdhury > > Acked-by: Randy Dunlap > > but no maintainer Cc:ed to pick it up... I guess Andrew's tree will just work fine in this case?

Re: [PATCH] ia64: kernel: Few typos fixed in the file fsys.S

2021-03-10 Thread Randy Dunlap
On 3/10/21 10:10 PM, Bhaskar Chowdhury wrote: > > Mundane spelling fixes. > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap but no maintainer Cc:ed to pick it up... > --- > arch/ia64/kernel/fsys.S | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: [PATCH V3 3/6] vDPA/ifcvf: rename original IFCVF dev ids to N3000 ids

2021-03-10 Thread Jason Wang
On 2021/3/11 12:23 下午, Zhu Lingshan wrote: On 3/11/2021 11:25 AM, Jason Wang wrote: On 2021/3/10 5:00 下午, Zhu Lingshan wrote: IFCVF driver probes multiple types of devices now, to distinguish the original device driven by IFCVF from others, it is renamed as "N3000". Signed-off-by: Zhu

Re: [PATCH V3 1/6] vDPA/ifcvf: get_vendor_id returns a device specific vendor id

2021-03-10 Thread Jason Wang
On 2021/3/11 12:21 下午, Zhu Lingshan wrote: On 3/11/2021 11:23 AM, Jason Wang wrote: On 2021/3/10 5:00 下午, Zhu Lingshan wrote: In this commit, ifcvf_get_vendor_id() will return a device specific vendor id of the probed pci device than a hard code. Signed-off-by: Zhu Lingshan ---  

[PATCH] ia64: kernel: Few typos fixed in the file fsys.S

2021-03-10 Thread Bhaskar Chowdhury
Mundane spelling fixes. Signed-off-by: Bhaskar Chowdhury --- arch/ia64/kernel/fsys.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/ia64/kernel/fsys.S b/arch/ia64/kernel/fsys.S index 0750a716adc7..2094f3249019 100644 --- a/arch/ia64/kernel/fsys.S +++

Re: [PATCH] net: core: Few absolutely rudimentary typo fixes throughout the file filter.c

2021-03-10 Thread Randy Dunlap
On 3/10/21 9:56 PM, Bhaskar Chowdhury wrote: > > Trivial spelling fixes throughout the file. > > Signed-off-by: Bhaskar Chowdhury Hi Bhaskar, FYI: a. we accept British or American spellings b. we accept one or two spaces after a period ('.') at the end of a sentence c. we accept Oxford

[PATCH] media: docs: Fix data organization of MEDIA_BUS_FMT_RGB101010_1X30

2021-03-10 Thread Liu Ying
The media bus bit width of MEDIA_BUS_FMT_RGB101010_1X30 is 30. So, 'Bit31' and 'Bit30' cells for the 'MEDIA_BUS_FMT_RGB101010_1X30' row should be spaces instead of '0's. Fixes: 54f38fcae536 ("media: docs: move uAPI book to userspace-api/media") Signed-off-by: Liu Ying ---

Re: [RFC PATCH v1] Bluetooth: hci_qca: Add device_may_wakeup support

2021-03-10 Thread gubbaven
Hi Bjorn, On 2021-03-10 20:32, Bjorn Andersson wrote: On Wed 10 Mar 05:41 CST 2021, Venkata Lakshmi Narayana Gubba wrote: Added device_may_wakeup() support. This would be an excellent place to describe _why_ this is necessary, instead of just repeating $subject. Something along the lines

Re: [PATCH 0/3] Add support for free vmemmap pages of HugeTLB for arm64

2021-03-10 Thread Chen Huang
在 2021/3/11 13:00, Bodeddula, Balasubramaniam 写道: > Chen, is your testing steps documented somewhere, can you please point us to > the same. I followed some steps for testing the x86 patches, just wanted to > make sure I am covering your tests as well. We are actively working on > building

Re: [PATCH v6] i2c: virtio: add a virtio i2c frontend driver

2021-03-10 Thread Jie Deng
On 2021/3/10 16:27, Arnd Bergmann wrote: On Wed, Mar 10, 2021 at 4:59 AM Jason Wang wrote: On 2021/3/10 10:22 上午, Jie Deng wrote: On 2021/3/4 17:15, Jason Wang wrote: +} + +if (msgs[i].flags & I2C_M_RD) +memcpy(msgs[i].buf, req->buf, msgs[i].len); Sorry if I

[PATCH] net: core: Few absolutely rudimentary typo fixes throughout the file filter.c

2021-03-10 Thread Bhaskar Chowdhury
Trivial spelling fixes throughout the file. Signed-off-by: Bhaskar Chowdhury --- net/core/filter.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/core/filter.c b/net/core/filter.c index 255aeee72402..931ee5f39ae7 100644 --- a/net/core/filter.c +++

[PATCH] mm/rmap: convert anon_vma.refcount from atomic_t to refcount_t

2021-03-10 Thread Yejune Deng
refcount_t type should be used instead of atomic_t when the variable is used as a reference counter. This is because the implementation of refcount_t can prevent overflows and detect possible use-after-free. Signed-off-by: Yejune Deng --- include/linux/rmap.h | 7 --- mm/rmap.c

[PATCH net-next] netfilter: conntrack: Remove unused variable declaration

2021-03-10 Thread YueHaibing
commit e97c3e278e95 ("tproxy: split off ipv6 defragmentation to a separate module") left behind this. Signed-off-by: YueHaibing --- include/net/netfilter/ipv6/nf_conntrack_ipv6.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/net/netfilter/ipv6/nf_conntrack_ipv6.h

Re: [PATCH] selftests/sgx: fix EINIT failure dueto SGX_INVALID_SIGNATURE

2021-03-10 Thread Jia Zhang
On 2021/3/11 上午11:42, Jarkko Sakkinen wrote: > On Thu, Mar 11, 2021 at 10:47:50AM +0800, Jia Zhang wrote: >> >> >> On 2021/3/11 上午5:39, Jarkko Sakkinen wrote: >>> On Wed, Mar 10, 2021 at 08:44:44PM +0800, Jia Zhang wrote: On 2021/3/2 下午9:47, Jarkko Sakkinen wrote: > On Mon,

Re: No sound cards detected on Kabylake laptops after upgrade to kernel 5.8

2021-03-10 Thread Chris Chiu
On Tue, Mar 9, 2021 at 11:29 PM Cezary Rojewski wrote: > > On 2021-03-09 1:19 PM, Chris Chiu wrote: > > Hi Guys, > > We have received reports that on some Kabylake laptops (Acer Swift > > SF314-54/55 and Lenovo Yoga C930...etc), all sound cards no longer be > > detected after upgrade to

Re: [PATCH v4] kasan: remove redundant config option

2021-03-10 Thread Andrew Morton
On Thu, 11 Mar 2021 09:32:45 +0800 Walter Wu wrote: > > Hi Andrew, > > I see my v4 patch is different in the next tree now. please see below > information. > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=ebced5fb0ef969620ecdc4011f600f9e7c229a3c > The different

Re: [PATCH v2 03/15] powerpc/align: Convert emulate_spe() to user_access_begin

2021-03-10 Thread Christophe Leroy
Le 10/03/2021 à 23:31, Daniel Axtens a écrit : Hi Christophe, This patch converts emulate_spe() to using user_access_being s/being/begin/ :) logic. Since commit 662bbcb2747c ("mm, sched: Allow uaccess in atomic with pagefault_disable()"), might_fault() doesn't fire when called from

[PATCH] nvme/rdma: Fix a use after free in nvmet_rdma_write_data_done

2021-03-10 Thread Lv Yunlong
In nvmet_rdma_write_data_done, rsp is recoverd by wc->wr_cqe and freed by nvmet_rdma_release_rsp(). But after that, pr_info() used the freed chunk's member object and could leak the freed chunk address with wc->wr_cqe by computing the offset. Signed-off-by: Lv Yunlong ---

Re: [PATCH] hugetlb: select PREEMPT_COUNT if HUGETLB_PAGE for in_atomic use

2021-03-10 Thread Andrew Morton
On Wed, 10 Mar 2021 18:13:21 -0800 Mike Kravetz wrote: > put_page does not correctly handle all calling contexts for hugetlb > pages. This was recently discussed in the threads [1] and [2]. > > free_huge_page is the routine called for the final put_page of huegtlb > pages. Since at least the

TEST - please ignore

2021-03-10 Thread Rahul Tanwar

Re: [PATCH] kexec: Add kexec reboot string

2021-03-10 Thread Andrew Morton
On Thu, 4 Mar 2021 13:46:26 +0100 Paul Menzel wrote: > From: Joe LeVeque > > The purpose is to notify the kernel module for fast reboot. > > Upstream a patch from the SONiC network operating system [1]. > > [1]: https://github.com/Azure/sonic-linux-kernel/pull/46 > > Signed-off-by: Paul

Re: [PATCH] kernel: kexec_file: fix error return code of kexec_calculate_store_digests()

2021-03-10 Thread Baoquan He
On 03/09/21 at 12:39am, Jia-Ju Bai wrote: > When vzalloc() returns NULL to sha_regions, no error return code of > kexec_calculate_store_digests() is assigned. > To fix this bug, ret is assigned with -ENOMEM in this case. > > Fixes: a43cac0d9dc2 ("kexec: split kexec_file syscall code to

Re: [RFC PATCH v2 0/7] Extend regulator notification support

2021-03-10 Thread Matti Vaittinen
Hello Peeps, On Wed, 2021-03-10 at 15:07 +0200, Matti Vaittinen wrote: > Extend regulator notification support > > This is an RFC series for getting feedback on extending the regulator > notification and error flag support. I am sorry. It seems I've sent bad version of the series. This series

Re: [PATCH v5 02/14] media: docs: Add some RGB bus formats for i.MX8qm/qxp pixel combiner

2021-03-10 Thread Liu Ying
Hi Laurent, On Wed, 2021-03-10 at 15:24 +0200, Laurent Pinchart wrote: > Hi Liu, > > Thank you for the patch. Thanks for your review. > > On Wed, Mar 10, 2021 at 05:55:26PM +0800, Liu Ying wrote: > > This patch adds documentations for RGB666_1X30_CPADLO, RGB888_1X30_CPADLO, > >

linux-next: Tree for Mar 11

2021-03-10 Thread Stephen Rothwell
v5.12-rc2. Also, please check any branches merged into your branch. Changes since 20210310: The bpf-next tree gained a build failure so I used the version from next-20210310. The akpm-current tree lost one build failure but still had the one for which I reverted 5 commits. Non-merge commits

Re: [PATCH v4 13/14] dt-bindings: of: Add restricted DMA pool

2021-03-10 Thread Florian Fainelli
On 3/10/2021 1:40 PM, Rob Herring wrote: > On Wed, Mar 10, 2021 at 9:08 AM Will Deacon wrote: >> >> Hi Claire, >> >> On Tue, Feb 09, 2021 at 02:21:30PM +0800, Claire Chang wrote: >>> Introduce the new compatible string, restricted-dma-pool, for restricted >>> DMA. One can specify the address

Re: [PATCH 0/3] Add support for free vmemmap pages of HugeTLB for arm64

2021-03-10 Thread Bodeddula, Balasubramaniam
Chen, is your testing steps documented somewhere, can you please point us to the same. I followed some steps for testing the x86 patches, just wanted to make sure I am covering your tests as well. We are actively working on building and testing these patches for ARM. On 11/03/21, 9:44 AM,

Re: [PATCH] selftests/sgx: fix EINIT failure dueto SGX_INVALID_SIGNATURE

2021-03-10 Thread Tianjia Zhang
On 3/11/21 11:42 AM, Jarkko Sakkinen wrote: On Thu, Mar 11, 2021 at 10:47:50AM +0800, Jia Zhang wrote: On 2021/3/11 上午5:39, Jarkko Sakkinen wrote: On Wed, Mar 10, 2021 at 08:44:44PM +0800, Jia Zhang wrote: On 2021/3/2 下午9:47, Jarkko Sakkinen wrote: On Mon, Mar 01, 2021 at 09:54:37PM

[PATCH net v2] net: phy: broadcom: Add power down exit reset state delay

2021-03-10 Thread Florian Fainelli
Per the datasheet, when we clear the power down bit, the PHY remains in an internal reset state for 40us and then resume normal operation. Account for that delay to avoid any issues in the future if genphy_resume() changes. Fixes: fe26821fa614 ("net: phy: broadcom: Wire suspend/resume for

Re: [PATCH v3][next] xfs: Replace one-element arrays with flexible-array members

2021-03-10 Thread Darrick J. Wong
On Wed, Mar 10, 2021 at 10:23:02PM -0600, Gustavo A. R. Silva wrote: > There is a regular need in the kernel to provide a way to declare having > a dynamically sized set of trailing elements in a structure. Kernel code > should always use “flexible array members”[1] for these cases. The older >

[PATCH] net: socket.c: Fix comparison issues

2021-03-10 Thread Shubhankar Kuranagatti
The constant has been placed to the right side of the test. Signed-off-by: Shubhankar Kuranagatti --- net/socket.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/socket.c b/net/socket.c index 84a8049c2b09..a23dd4348793 100644 --- a/net/socket.c +++ b/net/socket.c

[PATCH] PCI: Add AMD RV2 based APUs, such as 3015Ce, to D3hot to D3 quirk table.

2021-03-10 Thread Shirish S
From: Julian Schroeder This allows for an extra 10ms for the state transition. Currently only AMD PCO based APUs are covered by this table. WIP. Working on commit to kernel.org. Signed-off-by: Julian Schroeder --- drivers/pci/quirks.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH] exit: trigger panic when init process is set to SIGNAL_GROUP_EXIT

2021-03-10 Thread qianli zhao
Hi, Eric Thank you for your suggestion > At the start of your changelog and your patch subject you describe what > you are doing but not why. For the next revision of the patch please > lead with the why it makes what you are trying to do much easier to > understand. got it. > > It does not

Re: [PATCH 5.10 00/47] 5.10.23-rc2 review

2021-03-10 Thread Florian Fainelli
On 3/10/2021 10:29 AM, gre...@linuxfoundation.org wrote: > From: Greg Kroah-Hartman > > This is the start of the stable review cycle for the 5.10.23 release. > There are 47 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being

Re: [RFC] mm: Enable generic pfn_valid() to handle early sections with memmap holes

2021-03-10 Thread Anshuman Khandual
On 3/8/21 2:07 PM, David Hildenbrand wrote: > On 08.03.21 04:27, Anshuman Khandual wrote: >> Platforms like arm and arm64 have redefined pfn_valid() because their early >> memory sections might have contained memmap holes caused by memblock areas >> tagged with MEMBLOCK_NOMAP, which should be

Re: [PATCH v2][next] xfs: Replace one-element arrays with flexible-array members

2021-03-10 Thread Gustavo A. R. Silva
On 3/10/21 21:17, Darrick J. Wong wrote: > Why not use size_t instead of uint? You converted the @len declaration > above. > >> + src_efi_fmt->efi_nextents); >> +uint len64 = struct_size((xfs_efi_log_format_64_t *)0, efi_extents, > > Also, please don't use

[PATCH] isdn: remove extra spaces in the header file

2021-03-10 Thread Tong Zhang
fix some coding style issues in the isdn header Signed-off-by: Tong Zhang --- drivers/isdn/hardware/mISDN/iohelper.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/isdn/hardware/mISDN/iohelper.h b/drivers/isdn/hardware/mISDN/iohelper.h index

Re: [PATCH 4.9 00/11] 4.9.261-rc1 review

2021-03-10 Thread Florian Fainelli
On 3/10/2021 5:24 AM, gre...@linuxfoundation.org wrote: > From: Greg Kroah-Hartman > > This is the start of the stable review cycle for the 4.9.261 release. > There are 11 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being

[PATCH] mISDN: fix crash in fritzpci

2021-03-10 Thread Tong Zhang
setup_fritz() in avmfritz.c might fail with -EIO and in this case the isac.type and isac.write_reg is not initialized and remains 0(NULL). A subsequent call to isac_release() will dereference isac->write_reg and crash. [1.737444] BUG: kernel NULL pointer dereference, address:

Re: [External] Re: [PATCH v18 4/9] mm: hugetlb: alloc the vmemmap pages associated with each HugeTLB page

2021-03-10 Thread Muchun Song
On Wed, Mar 10, 2021 at 11:19 PM Michal Hocko wrote: > > On Mon 08-03-21 18:28:02, Muchun Song wrote: > [...] > > -static void update_and_free_page(struct hstate *h, struct page *page) > > +static int update_and_free_page(struct hstate *h, struct page *page) > > + __releases(_lock)

Re: [PATCH V3 3/6] vDPA/ifcvf: rename original IFCVF dev ids to N3000 ids

2021-03-10 Thread Zhu Lingshan
On 3/11/2021 11:25 AM, Jason Wang wrote: On 2021/3/10 5:00 下午, Zhu Lingshan wrote: IFCVF driver probes multiple types of devices now, to distinguish the original device driven by IFCVF from others, it is renamed as "N3000". Signed-off-by: Zhu Lingshan ---   drivers/vdpa/ifcvf/ifcvf_base.h

[PATCH v3][next] xfs: Replace one-element arrays with flexible-array members

2021-03-10 Thread Gustavo A. R. Silva
There is a regular need in the kernel to provide a way to declare having a dynamically sized set of trailing elements in a structure. Kernel code should always use “flexible array members”[1] for these cases. The older style of one-element or zero-length arrays should no longer be used[2].

Re: [PATCH V3 1/6] vDPA/ifcvf: get_vendor_id returns a device specific vendor id

2021-03-10 Thread Zhu Lingshan
On 3/11/2021 11:23 AM, Jason Wang wrote: On 2021/3/10 5:00 下午, Zhu Lingshan wrote: In this commit, ifcvf_get_vendor_id() will return a device specific vendor id of the probed pci device than a hard code. Signed-off-by: Zhu Lingshan ---   drivers/vdpa/ifcvf/ifcvf_main.c | 5 -   1 file

Re: [PATCH 5.4 00/24] 5.4.105-rc1 review

2021-03-10 Thread Florian Fainelli
+Alex, On 3/10/2021 5:24 AM, gre...@linuxfoundation.org wrote: > From: Greg Kroah-Hartman > > This is the start of the stable review cycle for the 5.4.105 release. > There are 24 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being

Re: [PATCH V3 6/6] vDPA/ifcvf: verify mandatory feature bits for vDPA

2021-03-10 Thread Zhu Lingshan
On 3/11/2021 11:20 AM, Jason Wang wrote: On 2021/3/10 5:00 下午, Zhu Lingshan wrote: vDPA requres VIRTIO_F_ACCESS_PLATFORM as a must, this commit examines this when set features. Signed-off-by: Zhu Lingshan ---   drivers/vdpa/ifcvf/ifcvf_base.c | 8   drivers/vdpa/ifcvf/ifcvf_base.h

Re: [PATCH 3/7] regulator: qcom-rpmh: Correct the pmic5_hfsmps515 buck

2021-03-10 Thread skakit
On 2021-03-02 19:51, Dmitry Baryshkov wrote: Hello, On Mon, 1 Mar 2021 at 13:37, wrote: On 2021-02-26 15:57, Dmitry Baryshkov wrote: > On Fri, 26 Feb 2021 at 09:59, wrote: >> >> Hi, >> >> On 2021-02-25 16:39, Dmitry Baryshkov wrote: >> > On 24/02/2021 11:33, satya priya wrote: >> >> Correct

Re: [External] Re: [PATCH v18 4/9] mm: hugetlb: alloc the vmemmap pages associated with each HugeTLB page

2021-03-10 Thread Muchun Song
On Wed, Mar 10, 2021 at 10:21 PM Oscar Salvador wrote: > > On Mon, Mar 08, 2021 at 06:28:02PM +0800, Muchun Song wrote: > > When we free a HugeTLB page to the buddy allocator, we need to allocate > > the vmemmap pages associated with it. However, we may not be able to > > allocate the vmemmap

Re: [PATCH 0/3] Add support for free vmemmap pages of HugeTLB for arm64

2021-03-10 Thread Chen Huang
在 2021/3/10 15:15, Muchun Song 写道: > This patchset is based on the series of "Free some vmemmap pages of HugeTLB > page". More details can refer to the below link. > > https://lkml.kernel.org/r/20210308102807.59745-1-songmuc...@bytedance.com > > I often received some feedback (We want to

Re: [PATCH] kexec: Add kexec reboot string

2021-03-10 Thread Baoquan He
On 03/04/21 at 01:46pm, Paul Menzel wrote: > From: Joe LeVeque > > The purpose is to notify the kernel module for fast reboot. Checked several modules which registered with reboot_notifier_list, the passed string is not cared. Just curious, could you tell how you have used or plan to use this

Re: [PATCH 5.11 00/36] 5.11.6-rc1 review

2021-03-10 Thread Ross Schmidt
On Wed, Mar 10, 2021 at 02:23:13PM +0100, gre...@linuxfoundation.org wrote: > From: Greg Kroah-Hartman > > This is the start of the stable review cycle for the 5.11.6 release. > There are 36 patches in this series, all will be posted as a response > to this one. If anyone has any issues with

Re: [PATCH 5.10 00/47] 5.10.23-rc2 review

2021-03-10 Thread Ross Schmidt
On Wed, Mar 10, 2021 at 07:29:23PM +0100, gre...@linuxfoundation.org wrote: > From: Greg Kroah-Hartman > > This is the start of the stable review cycle for the 5.10.23 release. > There are 47 patches in this series, all will be posted as a response > to this one. If anyone has any issues with

Re: [PATCH 5.4 00/24] 5.4.105-rc1 review

2021-03-10 Thread Ross Schmidt
On Wed, Mar 10, 2021 at 02:24:12PM +0100, gre...@linuxfoundation.org wrote: > From: Greg Kroah-Hartman > > This is the start of the stable review cycle for the 5.4.105 release. > There are 24 patches in this series, all will be posted as a response > to this one. If anyone has any issues with

Re: [PATCH 4.19 00/39] 4.19.180-rc1 review

2021-03-10 Thread Ross Schmidt
On Wed, Mar 10, 2021 at 02:24:08PM +0100, gre...@linuxfoundation.org wrote: > From: Greg Kroah-Hartman > > This is the start of the stable review cycle for the 4.19.180 release. > There are 39 patches in this series, all will be posted as a response > to this one. If anyone has any issues with

[PATCH] net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template

2021-03-10 Thread Lv Yunlong
In qlcnic_83xx_get_minidump_template, fw_dump->tmpl_hdr was freed by vfree(). But unfortunately, it is used when extended is true. Fixes: 7061b2bdd620e ("qlogic: Deletion of unnecessary checks before two function calls") Signed-off-by: Lv Yunlong ---

Re: [PATCH 4.4 0/3] Backport patch series to update Futex from 4.9

2021-03-10 Thread Zhengyejian (Zetta)
On 2021/3/9 18:41, Greg KH wrote: On Tue, Mar 09, 2021 at 11:06:02AM +0800, Zheng Yejian wrote: Lee sent a patchset to update Futex for 4.9, see https://www.spinics.net/lists/stable/msg443081.html, Then Xiaoming sent a follow-up patch for it, see

Re: [PATCH v3] fs/locks: print full locks information

2021-03-10 Thread Luo Longjun
在 2021/3/9 21:37, Jeff Layton 写道: On Thu, 2021-02-25 at 22:58 -0500, Luo Longjun wrote: Commit fd7732e033e3 ("fs/locks: create a tree of dependent requests.") has put blocked locks into a tree. So, with a for loop, we can't check all locks information. To solve this problem, we should

Re: [PATCH] configfs: Fix use-after-free issue in __configfs_open_file

2021-03-10 Thread Al Viro
On Thu, Mar 11, 2021 at 10:16:20AM +0800, Chao Yu wrote: > Hi Joel, Christoph, Al > > Does any one have time to review this patch, ten days past... Acked-by: Al Viro

Re: [PATCH] selftests/sgx: fix EINIT failure dueto SGX_INVALID_SIGNATURE

2021-03-10 Thread Jarkko Sakkinen
On Thu, Mar 11, 2021 at 10:47:50AM +0800, Jia Zhang wrote: > > > On 2021/3/11 上午5:39, Jarkko Sakkinen wrote: > > On Wed, Mar 10, 2021 at 08:44:44PM +0800, Jia Zhang wrote: > >> > >> > >> On 2021/3/2 下午9:47, Jarkko Sakkinen wrote: > >>> On Mon, Mar 01, 2021 at 09:54:37PM -0800, Andy Lutomirski

[PATCH] arm64: dts: sc7280: Add qspi, qupv3_0 and qupv3_1 nodes

2021-03-10 Thread Roja Rani Yarubandi
Add QSPI and QUP SE instances configuration for sc7280. Signed-off-by: Roja Rani Yarubandi --- This patch depends on base dtsi and interconnect changes [1] https://lore.kernel.org/patchwork/project/lkml/list/?series=487403 [2] https://lore.kernel.org/patchwork/project/lkml/list/?series=488429

Re: [PATCH v22 8/8] x86/vdso: Add ENDBR64 to __vdso_sgx_enter_enclave

2021-03-10 Thread Jarkko Sakkinen
On Wed, Mar 10, 2021 at 02:55:55PM -0800, Yu, Yu-cheng wrote: > On 3/10/2021 2:39 PM, Jarkko Sakkinen wrote: > > On Wed, Mar 10, 2021 at 02:05:19PM -0800, Yu-cheng Yu wrote: > > > When CET is enabled, __vdso_sgx_enter_enclave() needs an endbr64 > > > in the beginning of the function. > > > > OK.

Re: [External] Re: [PATCH v18 3/9] mm: hugetlb: free the vmemmap pages associated with each HugeTLB page

2021-03-10 Thread Muchun Song
On Wed, Mar 10, 2021 at 10:32 PM Michal Hocko wrote: > > On Mon 08-03-21 18:28:01, Muchun Song wrote: > > Every HugeTLB has more than one struct page structure. We __know__ that > > we only use the first 4(HUGETLB_CGROUP_MIN_ORDER) struct page structures > > to store metadata associated with each

Re: [PATCH 3/3] net: dsa: mt7530: setup core clock even in TRGMII mode

2021-03-10 Thread Ilya Lipnitskiy
Hi Florian, On Wed, Mar 10, 2021 at 7:20 PM Florian Fainelli wrote: > > > > On 3/10/2021 7:17 PM, Ilya Lipnitskiy wrote: > > Hi Vladimir, > > > > On Wed, Mar 10, 2021 at 3:10 PM Vladimir Oltean wrote: > >> > >> Hello Ilya, > >> > >> On Wed, Mar 10, 2021 at 01:14:20PM -0800, Ilya Lipnitskiy

答复: [PATCH] vfio/pci: make the vfio_pci_mmap_fault reentrant

2021-03-10 Thread Zengtao (B)
Hi Alex: > -邮件原件- > 发件人: Alex Williamson [mailto:alex.william...@redhat.com] > 发送时间: 2021年3月10日 14:09 > 收件人: Jason Gunthorpe > 抄送: Peter Xu ; Zengtao (B) ; > Cornelia Huck ; Kevin Tian ; > Andrew Morton ; Giovanni Cabiddu > ; Michel Lespinasse ; Jann > Horn ; Max Gurtovoy ; >

Re: [PATCH -next] regulator: rt4831: Fix return value check in rt4831_regulator_probe()

2021-03-10 Thread 黃啟原
Many thanks to fix it. I didn't notice this fault. > dev_err(>dev, "Failed to init regmap\n"); > -return PTR_ERR(regmap); > +return -ENODEV; > } > > /* Configure DSV mode to normal by default */ > * Email Confidentiality Notice The information contained in this

Re: [PATCH V3 3/6] vDPA/ifcvf: rename original IFCVF dev ids to N3000 ids

2021-03-10 Thread Jason Wang
On 2021/3/10 5:00 下午, Zhu Lingshan wrote: IFCVF driver probes multiple types of devices now, to distinguish the original device driven by IFCVF from others, it is renamed as "N3000". Signed-off-by: Zhu Lingshan --- drivers/vdpa/ifcvf/ifcvf_base.h | 8

Re: [PATCH V3 1/6] vDPA/ifcvf: get_vendor_id returns a device specific vendor id

2021-03-10 Thread Jason Wang
On 2021/3/10 5:00 下午, Zhu Lingshan wrote: In this commit, ifcvf_get_vendor_id() will return a device specific vendor id of the probed pci device than a hard code. Signed-off-by: Zhu Lingshan --- drivers/vdpa/ifcvf/ifcvf_main.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-)

Re: [PATCH 5.11 00/36] 5.11.6-rc1 review

2021-03-10 Thread Naresh Kamboju
On Wed, 10 Mar 2021 at 18:54, wrote: > > From: Greg Kroah-Hartman > > This is the start of the stable review cycle for the 5.11.6 release. > There are 36 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH net] net: dsa: mt7530: setup core clock even in TRGMII mode

2021-03-10 Thread Florian Fainelli
On 3/10/2021 5:21 PM, Ilya Lipnitskiy wrote: > A recent change to MIPS ralink reset logic made it so mt7530 actually > resets the switch on platforms such as mt7621 (where bit 2 is the reset > line for the switch). That exposed an issue where the switch would not > function properly in TRGMII

Re: [PATCH 3/3] net: dsa: mt7530: setup core clock even in TRGMII mode

2021-03-10 Thread Florian Fainelli
On 3/10/2021 7:17 PM, Ilya Lipnitskiy wrote: > Hi Vladimir, > > On Wed, Mar 10, 2021 at 3:10 PM Vladimir Oltean wrote: >> >> Hello Ilya, >> >> On Wed, Mar 10, 2021 at 01:14:20PM -0800, Ilya Lipnitskiy wrote: >>> 3f9ef7785a9c ("MIPS: ralink: manage low reset lines") made it so mt7530 >>>

Re: [PATCH V3 6/6] vDPA/ifcvf: verify mandatory feature bits for vDPA

2021-03-10 Thread Jason Wang
On 2021/3/10 5:00 下午, Zhu Lingshan wrote: vDPA requres VIRTIO_F_ACCESS_PLATFORM as a must, this commit examines this when set features. Signed-off-by: Zhu Lingshan --- drivers/vdpa/ifcvf/ifcvf_base.c | 8 drivers/vdpa/ifcvf/ifcvf_base.h | 1 + drivers/vdpa/ifcvf/ifcvf_main.c | 5

[PATCH 4.4 v2 0/3] Backport patch series to update Futex from 4.9

2021-03-10 Thread Zheng Yejian
Changelog for 'v2': Complete commit messages with needed git commit ids as Greg and Lee suggested. Lee sent a patchset to update Futex for v4.9, see https://www.spinics.net/lists/stable/msg443081.html, Then Xiaoming sent a follow-up patch for it, see

[PATCH 4.4 v2 3/3] futex: fix dead code in attach_to_pi_owner()

2021-03-10 Thread Zheng Yejian
From: Thomas Gleixner This patch comes directly from an origin patch (commit 91509e84949fc97e7424521c32a9e227746e0b85) in v4.9. And it is part of a full patch which was originally back-ported to v4.14 as commit e6e00df182908f34360c3c9f2d13cc719362e9c0 The handle_exit_race() function is defined

[PATCH 4.4 v2 2/3] futex: Cure exit race

2021-03-10 Thread Zheng Yejian
From: Thomas Gleixner commit da791a667536bf8322042e38ca85d55a78d3c273 upstream. This patch comes directly from an origin patch (commit 9c3f3986036760c48a92f04b36774aa9f63673f80) in v4.9. Stefan reported, that the glibc tst-robustpi4 test case fails occasionally. That case creates the following

[PATCH 4.4 v2 1/3] futex: Change locking rules

2021-03-10 Thread Zheng Yejian
From: Peter Zijlstra commit 734009e96d1983ad739e5b656e03430b3660c913 upstream. This patch comes directly from an origin patch (commit dc3f2ff11740159080f2e8e359ae0ab57c8e74b6) in v4.9. Currently futex-pi relies on hb->lock to serialize everything. But hb->lock creates another set of problems,

[tip:x86/cleanups] BUILD SUCCESS b18adee4ce4443399963826b5d28d9e63d40740c

2021-03-10 Thread kernel test robot
randconfig-a015-20210309 x86_64 randconfig-a014-20210309 x86_64 randconfig-a011-20210309 x86_64 randconfig-a012-20210309 x86_64 randconfig-a011-20210310 x86_64 randconfig-a016-20210310 x86_64 randconfig-a013

Re: [PATCH 3/3] net: dsa: mt7530: setup core clock even in TRGMII mode

2021-03-10 Thread Ilya Lipnitskiy
Hi Vladimir, On Wed, Mar 10, 2021 at 3:10 PM Vladimir Oltean wrote: > > Hello Ilya, > > On Wed, Mar 10, 2021 at 01:14:20PM -0800, Ilya Lipnitskiy wrote: > > 3f9ef7785a9c ("MIPS: ralink: manage low reset lines") made it so mt7530 > > actually resets the switch on platforms such as mt7621 (where

Re: [PATCH v2][next] xfs: Replace one-element arrays with flexible-array members

2021-03-10 Thread Darrick J. Wong
On Tue, Mar 09, 2021 at 08:01:08PM -0600, Gustavo A. R. Silva wrote: > There is a regular need in the kernel to provide a way to declare having > a dynamically sized set of trailing elements in a structure. Kernel code > should always use “flexible array members”[1] for these cases. The older >

[PATCH] infiniband/i40iw: Fix a use after free in i40iw_cm_event_handler

2021-03-10 Thread Lv Yunlong
In the case of I40IW_CM_EVENT_ABORTED, i40iw_event_connect_error() could be called to free the event->cm_node. However, event->cm_node will be used after and cause use after free. It needs to add flags to inform that event->cm_node has been freed. Signed-off-by: Lv Yunlong ---

RE: [PATCH v3 1/1] PCI/RCEC: Fix RCiEP capable devices RCEC association

2021-03-10 Thread Zhuo, Qiuxu
> [...] > > I think 507b460f8144 appeared in v5.11, so not something we broke in v5.12. > Applied to pci/error for v5.13, thanks! Thanks Bjorn! > If I understand correctly, we previously only got this right in one > case: > >0 == PCI_SLOT(00.0)# correct >1 == PCI_SLOT(00.1)#

Re: [PATCH bpf-next 2/5] bpf: Add a bpf_snprintf helper

2021-03-10 Thread kernel test robot
-next.git master config: x86_64-randconfig-s022-20210310 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-262-g5e674421-dirty # https://github.com/0day-ci/linux/commit

[RFC PATCH] bpf: check_bpf_snprintf_call() can be static

2021-03-10 Thread kernel test robot
Reported-by: kernel test robot Signed-off-by: kernel test robot --- verifier.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c index 3ab549df817b6..06c868989852d 100644 --- a/kernel/bpf/verifier.c +++

Re: [PATCH v2] irqchip/irq-mst: Support polarity configuration

2021-03-10 Thread Mark-PK Tsai
From: Daniel Palmer >On Mon, 8 Mar 2021 at 23:30, Mark-PK Tsai wrote: >> From: Daniel Palmer >> >On Mon, 8 Mar 2021 at 15:05, Mark-PK Tsai wrote: >> >> +static int mst_irq_chip_set_type(struct irq_data *data, unsigned int >> >> type) >> > > +{ >> >> + if (type !=

Re: [PATCH] x86/kvm: Fix broken irq restoration in kvm_wait

2021-03-10 Thread Wanpeng Li
ping, On Tue, 23 Feb 2021 at 13:25, Wanpeng Li wrote: > > From: Wanpeng Li > > After commit 997acaf6b4b59c (lockdep: report broken irq restoration), the > guest > splatting below during boot: > > raw_local_irq_restore() called with IRQs enabled > WARNING: CPU: 1 PID: 169 at

Re: [PATCH v2] KVM: LAPIC: Advancing the timer expiration on guest initiated write

2021-03-10 Thread Wanpeng Li
ping, :) On Thu, 4 Mar 2021 at 08:35, Wanpeng Li wrote: > > From: Wanpeng Li > > Advancing the timer expiration should only be necessary on guest initiated > writes. When we cancel the timer and clear .pending during state restore, > clear expired_tscdeadline as well. > > Reviewed-by: Sean

<    1   2   3   4   5   6   7   8   9   10   >