Re: [PATCH 4/8] perf daemon: Add daemon command

2020-12-15 Thread Alexei Budankov
On 15.12.2020 22:43, Jiri Olsa wrote: > On Tue, Dec 15, 2020 at 06:40:26PM +0300, Alexei Budankov wrote: >> Hi, >> >> On 12.12.2020 13:43, Jiri Olsa wrote: >>> Adding daemon command that allows to run record sessions >>> on background. Each session represents one perf record >>> process and is

[GIT PULL] Backlight for v5.11

2020-12-15 Thread Lee Jones
Good morning Linus, Careful, it's a big one! The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec: Linux 5.10-rc1 (2020-10-25 15:14:11 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git backlight-next-5.11

[PATCH v4 7/9] regulator: mt6359: Set the enable time for LDOs

2020-12-15 Thread Hsin-Hsiung Wang
Add the enable time for LDOs. This patch is preparing for adding mt6359p regulator support. Signed-off-by: Hsin-Hsiung Wang Acked-by: Mark Brown --- drivers/regulator/mt6359-regulator.c | 65 ++-- 1 file changed, 42 insertions(+), 23 deletions(-) diff --git

[PATCH v4 6/9] regulator: mt6359: Add support for MT6359 regulator

2020-12-15 Thread Hsin-Hsiung Wang
From: Wen Su The MT6359 is a regulator found on boards based on MediaTek MT6779 and probably other SoCs. It is a so called pmic and connects as a slave to SoC using SPI, wrapped inside the pmic-wrapper. Signed-off-by: Wen Su Signed-off-by: Hsin-Hsiung Wang --- drivers/regulator/Kconfig

[PATCH v4 9/9] arm64: dts: mt6359: add PMIC MT6359 related nodes

2020-12-15 Thread Hsin-Hsiung Wang
From: Wen Su add PMIC MT6359 related nodes which is for MT6779 platform Signed-off-by: Wen Su Signed-off-by: Hsin-Hsiung Wang --- arch/arm64/boot/dts/mediatek/mt6359.dtsi | 298 +++ 1 file changed, 298 insertions(+) create mode 100644

[PATCH v4 5/9] mfd: Add support for the MediaTek MT6359 PMIC

2020-12-15 Thread Hsin-Hsiung Wang
This adds support for the MediaTek MT6359 PMIC. This is a multifunction device with the following sub modules: - Codec - Interrupt - Regulator - RTC It is interfaced to the host controller using SPI interface by a proprietary hardware called PMIC wrapper or pwrap. MT6359 MFD is a child device of

[PATCH v4 4/9] dt-bindings: regulator: Add document for MT6359 regulator

2020-12-15 Thread Hsin-Hsiung Wang
add dt-binding document for MediaTek MT6359 PMIC Signed-off-by: Hsin-Hsiung Wang --- .../bindings/regulator/mt6359-regulator.yaml | 169 ++ 1 file changed, 169 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/mt6359-regulator.yaml diff --git

[PATCH v4 3/9] dt-bindings: mfd: Add compatible for the MediaTek MT6359 PMIC

2020-12-15 Thread Hsin-Hsiung Wang
This adds compatible for the MediaTek MT6359 PMIC. Signed-off-by: Hsin-Hsiung Wang --- Documentation/devicetree/bindings/mfd/mt6397.txt | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/mt6397.txt

[PATCH v4 0/9] Add Support for MediaTek PMIC MT6359

2020-12-15 Thread Hsin-Hsiung Wang
This patchset includes refactoring interrupt and adding support to MT6359 PMIC. MT6359 is the primary PMIC for MT6779 and probably other SOCs. The series[1] sent by Wen will continue to upstream in this patchset afterwards. [1]

[PATCH v4 8/9] regulator: mt6359: Add support for MT6359P regulator

2020-12-15 Thread Hsin-Hsiung Wang
The MT6359P is a eco version for MT6359 regulator. We add support based on MT6359 regulator driver. Signed-off-by: Hsin-Hsiung Wang --- drivers/regulator/mt6359-regulator.c | 377 - include/linux/mfd/mt6359p/registers.h | 249 ++

[PATCH v4 1/9] mfd: mt6358: refine interrupt code

2020-12-15 Thread Hsin-Hsiung Wang
This patch refines the interrupt related code to support new chips. Signed-off-by: Hsin-Hsiung Wang Acked-for-MFD-by: Lee Jones --- drivers/mfd/mt6358-irq.c| 65 +++-- include/linux/mfd/mt6358/core.h | 8 ++-- 2 files changed, 41 insertions(+), 32

[PATCH v4 2/9] rtc: mt6397: refine RTC_TC_MTH

2020-12-15 Thread Hsin-Hsiung Wang
This patch adds RTC_TC_MTH_MASK to support new chips. Signed-off-by: Yuchen Huang Signed-off-by: Hsin-Hsiung Wang --- drivers/rtc/rtc-mt6397.c | 2 +- include/linux/mfd/mt6397/rtc.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-mt6397.c

[GIT PULL] MFD for v5.11

2020-12-15 Thread Lee Jones
Good morning Linus, The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec: Linux 5.10-rc1 (2020-10-25 15:14:11 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git mfd-next-5.11 for you to fetch changes up to

Re: [PATCH] dt-bindings: display: bridge: tc358768: Remove maintainer information

2020-12-15 Thread Peter Ujfalusi
On 15/12/2020 16.26, Rob Herring wrote: > On Tue, 15 Dec 2020 14:42:27 +0200, Peter Ujfalusi wrote: >> My employment with TI is coming to an end and I will not have access to >> the board where this bridge is connected to. >> >> It is better to remove a soon bouncing email address. >> >>

[PATCH v3 02/12] dt-bindings: mfd: bd9571mwv: Document BD9574MWF

2020-12-15 Thread Yoshihiro Shimoda
Document other similar specification chip BD9574MWF. Signed-off-by: Yoshihiro Shimoda --- Documentation/devicetree/bindings/mfd/bd9571mwv.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/bd9571mwv.txt

[PATCH v3 04/12] regulator: bd9571mwv: rid of using struct bd9571mwv

2020-12-15 Thread Yoshihiro Shimoda
To simplify this driver, use dev_get_regmap() and rid of using struct bd9571mwv. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/regulator/bd9571mwv-regulator.c | 49 + 1 file changed, 26 insertions(+), 23 deletions(-) diff --git

[PATCH v3 12/12] mfd: bd9571mwv: Add support for BD9574MWF

2020-12-15 Thread Yoshihiro Shimoda
From: Khiem Nguyen The new PMIC BD9574MWF inherits features from BD9571MWV. Add the support of new PMIC to existing bd9571mwv driver. Signed-off-by: Khiem Nguyen [shimoda: rebase and refactor] Signed-off-by: Yoshihiro Shimoda --- drivers/mfd/bd9571mwv.c | 86

[PATCH v3 09/12] mfd: bd9571mwv: Use the SPDX license identifier

2020-12-15 Thread Yoshihiro Shimoda
Use the SPDX license identifier instead of a local description. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven --- drivers/mfd/bd9571mwv.c | 10 +- include/linux/mfd/bd9571mwv.h | 10 +- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git

[PATCH v3 10/12] mfd: bd9571mwv: Use devm_regmap_add_irq_chip()

2020-12-15 Thread Yoshihiro Shimoda
Use dev_regmap_add_irq_chip() to simplify the code. Signed-off-by: Yoshihiro Shimoda --- drivers/mfd/bd9571mwv.c | 27 ++- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/drivers/mfd/bd9571mwv.c b/drivers/mfd/bd9571mwv.c index e68c3fa..49e968e 100644 ---

[PATCH v3 08/12] gpio: bd9571mwv: Add BD9574MWF support

2020-12-15 Thread Yoshihiro Shimoda
Add support for BD9574MWF which is silimar chip with BD9571MWV. Note that BD9574MWF has additional features "RECOV_GPOUT", "FREQSEL" and "RTC_IN", but supports GPIO function only. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/gpio/gpio-bd9571mwv.c | 6 -- 1 file

[PATCH v3 11/12] mfd: bd9571mwv: Make the driver more generic

2020-12-15 Thread Yoshihiro Shimoda
From: Khiem Nguyen Since the driver supports BD9571MWV PMIC only, this patch makes the functions and data structure become more generic so that it can support other PMIC variants as well. Signed-off-by: Khiem Nguyen [shimoda: rebase and refactor] Signed-off-by: Yoshihiro Shimoda ---

[PATCH v3 07/12] gpio: bd9571mwv: rid of using struct bd9571mwv

2020-12-15 Thread Yoshihiro Shimoda
To simplify this driver, use dev_get_regmap() and rid of using struct bd9571mwv. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/gpio/gpio-bd9571mwv.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git

[PATCH v3 06/12] gpio: bd9571mwv: Use the SPDX license identifier

2020-12-15 Thread Yoshihiro Shimoda
Use the SPDX license identifier instead of a local description. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven --- drivers/gpio/gpio-bd9571mwv.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/gpio/gpio-bd9571mwv.c

[PATCH v3 05/12] regulator: bd9571mwv: Add BD9574MWF support

2020-12-15 Thread Yoshihiro Shimoda
Add support for BD9574MWF which is silimar chip with BD9571MWV. Note that we don't support voltage rails VD{09,18,25,33} by this driver on BD9574. The VD09 voltage could be read from PMIC but that is not supported by this commit. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen ---

[PATCH v3 03/12] mfd: rohm-generic: Add BD9571 and BD9574

2020-12-15 Thread Yoshihiro Shimoda
Add chip IDs for BD9571MWV and BD9574MWF. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- include/linux/mfd/rohm-generic.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/mfd/rohm-generic.h b/include/linux/mfd/rohm-generic.h index 4283b5b..affacf8 100644

[PATCH v3 01/12] mfd: bd9571mwv: Use devm_mfd_add_devices()

2020-12-15 Thread Yoshihiro Shimoda
To remove mfd devices when unload this driver, should use devm_mfd_add_devices() instead. Fixes: d3ea21272094 ("mfd: Add ROHM BD9571MWV-M MFD PMIC driver") Signed-off-by: Yoshihiro Shimoda --- drivers/mfd/bd9571mwv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v3 00/12] treewide: bd9571mwv: Add support for BD9574MWF

2020-12-15 Thread Yoshihiro Shimoda
Add BD9574MWF support into bd9571mwv gpio, mfd and regulator drivers. Latest Ebisu-4D boards has this chip instead of BD9571MWV so that we need this patch series to detect this chip at runtime. Note that the patch [1/12] is a bug-fix patch for mfd driver. Changes from v2: - Use

Re: [PATCH] mm/memcontrol: remove the unnecessary rcu_read_[un]lock

2020-12-15 Thread Michal Hocko
On Wed 16-12-20 13:52:13, Hui Su wrote: > the rcu_read_lock and rcu_read_unlock is unnecessary in: > lock_page_lruvec() > lock_page_lruvec_irq() > lock_page_lruvec_irqsave() Please add an explanation why it is unnecessary. > Signed-off-by: Hui Su > --- > mm/memcontrol.c | 6

Re: [Bug 210655] ptrace.2: documentation is incorrect about access checking threads in same thread group

2020-12-15 Thread Oleg Nesterov
On 12/15, Linus Torvalds wrote: > > On Tue, Dec 15, 2020 at 2:48 PM Alejandro Colomar (man-pages) > wrote: > > > > 1) Remove that paragraph, as if that behavior had never existed. > > If it's been 15 years since that paragraph was relevant, I think just > removing it is the right thing to do.

Re: [PATCH v5 0/2] MTE support for KVM guest

2020-12-15 Thread Haibo Xu
On Mon, 7 Dec 2020 at 22:48, Steven Price wrote: > > On 04/12/2020 08:25, Haibo Xu wrote: > > On Fri, 20 Nov 2020 at 17:51, Steven Price wrote: > >> > >> On 19/11/2020 19:11, Marc Zyngier wrote: > >>> On 2020-11-19 18:42, Andrew Jones wrote: > On Thu, Nov 19, 2020 at 03:45:40PM +, Peter

[PATCH] mm, tracing: record slab name for kmem_cache_free()

2020-12-15 Thread Jacob Wen
Currently, a trace record generated by the RCU core is as below. ... kmem_cache_free: call_site=rcu_core+0x1fd/0x610 ptr=f3b49a66 It doesn't tell us what the RCU core has freed. This patch adds the slab name to trace_kmem_cache_free(). The new format is as follows. ... kmem_cache_free:

[kbuild] Re: [PATCH 1/7] vfio: iommu_type1: Clear added dirty bit when unwind pin

2020-12-15 Thread Dan Carpenter
Hi Keqian, url: https://github.com/0day-ci/linux/commits/Keqian-Zhu/vfio-iommu_type1-Some-fixes-and-optimization/20201210-154322 base: https://github.com/awilliam/linux-vfio.git next config: x86_64-randconfig-m001-20201215 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0

Re: [kbuild-all] Re: drivers/mtd/tests/subpagetest.c:426:1: error: could not split insn

2020-12-15 Thread Rong Chen
On 12/15/20 11:40 PM, Willy Tarreau wrote: Hi, On Tue, Dec 15, 2020 at 11:05:28PM +0800, kernel test robot wrote: Hi Willy, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head:

[PATCH] soc: qcom: socinfo: Open read access to all for debugfs

2020-12-15 Thread Stephen Boyd
There doesn't seem to be any reason to limit this to only root user readable. Let's make it readable by all so that random programs can read the debugfs files in here instead of just root. The information is just that, informational, so this is fine. Cc: Sai Prakash Ranjan Cc: Douglas Anderson

Re: [PATCH bpf-next v4 10/11] bpf: Add tests for new BPF atomic operations

2020-12-15 Thread Yonghong Song
On 12/15/20 3:12 AM, Brendan Jackman wrote: On Tue, Dec 08, 2020 at 10:15:35AM -0800, Yonghong Song wrote: On 12/8/20 8:59 AM, Brendan Jackman wrote: On Tue, Dec 08, 2020 at 08:38:04AM -0800, Yonghong Song wrote: On 12/8/20 4:41 AM, Brendan Jackman wrote: On Mon, Dec 07, 2020 at

Re: KASAN: use-after-free Write in __sco_sock_close

2020-12-15 Thread syzbot
syzbot suspects this issue was fixed by commit: commit 6dfccd13db2ff2b709ef60a50163925d477549aa Author: Anmol Karn Date: Wed Sep 30 14:18:13 2020 + Bluetooth: Fix null pointer dereference in hci_event_packet() bisection log:

Re: [PATCH bpf-next v5 11/11] bpf: Document new atomic instructions

2020-12-15 Thread Yonghong Song
On 12/15/20 4:18 AM, Brendan Jackman wrote: Document new atomic instructions. Signed-off-by: Brendan Jackman Ack with minor comments below. Acked-by: Yonghong Song --- Documentation/networking/filter.rst | 26 ++ 1 file changed, 26 insertions(+) diff --git

[PATCH] venus: venc: set IDR period to FW only for H264 & HEVC

2020-12-15 Thread Dikshita Agarwal
HFI_PROPERTY_CONFIG_VENC_IDR_PERIOD is supported for only H264 & HEVC codec. There is no need to set it for VP8 since all key frames are treated as IDR frames for VP8. Signed-off-by: Dikshita Agarwal --- drivers/media/platform/qcom/venus/venc.c | 23 +-- 1 file changed, 13

[PATCH net-next] net: rds: Change PF_INET to AF_INET

2020-12-15 Thread Zheng Yongjun
By bsd codestyle, change PF_INET to AF_INET. Signed-off-by: Zheng Yongjun --- net/rds/rdma_transport.c | 4 ++-- net/rds/tcp_listen.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/rds/rdma_transport.c b/net/rds/rdma_transport.c index 5f741e51b4ba..04102dbc04d2

[PATCH] perf stat: Fix wrong skipping for per-die aggregation

2020-12-15 Thread Jin Yao
Uncore becomes die-scope on Xeon Cascade Lake-AP and perf has supported --per-die aggregation yet. One issue is found in check_per_pkg() for uncore events running on AP system. On cascade Lake-AP, we have: S0-D0 S0-D1 S1-D0 S1-D1 But in check_per_pkg(), S0-D1 and S1-D1 are skipped because the

Re: [PATCH] xen: remove trailing semicolon in macro definition

2020-12-15 Thread Jürgen Groß
On 27.11.20 17:07, t...@redhat.com wrote: From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix Applied to: xen/tip.git for-linus-5.11 Juergen OpenPGP_0xB0DE9DD628BF132F.asc Description: application/pgp-keys OpenPGP_signature Description: OpenPGP digital

Re: [PATCH 058/141] xen-blkfront: Fix fall-through warnings for Clang

2020-12-15 Thread Jürgen Groß
On 20.11.20 19:32, Gustavo A. R. Silva wrote: In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a break statement instead of letting the code fall through to the next case. Link: https://github.com/KSPP/linux/issues/115 Signed-off-by: Gustavo A. R.

Re: [PATCH 138/141] xen/manage: Fix fall-through warnings for Clang

2020-12-15 Thread Jürgen Groß
On 20.11.20 19:40, Gustavo A. R. Silva wrote: In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a break statement instead of letting the code fall through to the next case. Link: https://github.com/KSPP/linux/issues/115 Signed-off-by: Gustavo A. R.

Re: [PATCH 0/2] Remove Xen PVH dependency on PCI

2020-12-15 Thread Jürgen Groß
On 14.10.20 19:53, Jason Andryuk wrote: A Xen PVH domain doesn't have a PCI bus or devices, so it doesn't need PCI support built in. Currently, XEN_PVH depends on XEN_PVHVM which depends on PCI. The first patch introduces XEN_PVHVM_GUEST as a toplevel item and changes XEN_PVHVM to a hidden

Re: [PATCH -next v2] x86/xen: Convert to DEFINE_SHOW_ATTRIBUTE

2020-12-15 Thread Jürgen Groß
On 17.09.20 14:55, Qinglang Miao wrote: Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Qinglang Miao Applied to: xen/tip.git for-linus-5.11 Juergen OpenPGP_0xB0DE9DD628BF132F.asc Description: application/pgp-keys OpenPGP_signature Description: OpenPGP digital

[PATCH] perf inject: correct event attribute sizes

2020-12-15 Thread Denis Nikitin
When perf inject reads a perf.data file from an older version of perf, it writes event attributes into the output with the original size field, but lays them out as if they had the size currently used. Readers see a corrupt file. Update the size field to match the layout. Signed-off-by: Al Grant

Re: [PATCH v2 03/10] regulator: bd9571mwv: rid of using struct bd9571mwv

2020-12-15 Thread Vaittinen, Matti
On Wed, 2020-12-16 at 06:29 +, Yoshihiro Shimoda wrote: > Hi Matti-san, > > > From: Vaittinen, Matti, Sent: Wednesday, December 16, 2020 3:00 PM > > On Wed, 2020-12-16 at 02:13 +, Yoshihiro Shimoda wrote: > > > Hi Geert-san, Matti-san, > > > > > > > From: Geert Uytterhoeven, Sent:

Re: [PATCH bpf-next v5 09/11] bpf: Add bitwise atomic instructions

2020-12-15 Thread Yonghong Song
On 12/15/20 4:18 AM, Brendan Jackman wrote: This adds instructions for atomic[64]_[fetch_]and atomic[64]_[fetch_]or atomic[64]_[fetch_]xor All these operations are isomorphic enough to implement with the same verifier, interpreter, and x86 JIT code, hence being a single commit. The main

[PATCH 21/21] vdpasim: control virtqueue support

2020-12-15 Thread Jason Wang
This patch introduces the control virtqueue support for vDPA simulator. This is a requirement for supporting advanced features like multiqueue. A requirement for control virtqueue is to isolate its memory access from the rx/tx virtqueues. This is because when using vDPA device for VM, the control

[PATCH 20/21] vdpa_sim: filter destination mac address

2020-12-15 Thread Jason Wang
This patch implements a simple unicast filter for vDPA simulator. Signed-off-by: Jason Wang --- drivers/vdpa/vdpa_sim/vdpa_sim.c | 49 1 file changed, 31 insertions(+), 18 deletions(-) diff --git a/drivers/vdpa/vdpa_sim/vdpa_sim.c

[PATCH 19/21] vdpa_sim: factor out buffer completion logic

2020-12-15 Thread Jason Wang
Signed-off-by: Jason Wang --- drivers/vdpa/vdpa_sim/vdpa_sim.c | 33 +--- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/drivers/vdpa/vdpa_sim/vdpa_sim.c b/drivers/vdpa/vdpa_sim/vdpa_sim.c index 8d051cf25f0a..e901177c6dfe 100644 ---

[PATCH 18/21] vdpa_sim: advertise VIRTIO_NET_F_MTU

2020-12-15 Thread Jason Wang
We've already reported maximum mtu via config space, so let's advertise the feature. Signed-off-by: Jason Wang --- drivers/vdpa/vdpa_sim/vdpa_sim.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/vdpa/vdpa_sim/vdpa_sim.c b/drivers/vdpa/vdpa_sim/vdpa_sim.c index

[PATCH 16/21] vhost-vdpa: support ASID based IOTLB API

2020-12-15 Thread Jason Wang
This patch extends the vhost-vdpa to support ASID based IOTLB API. The vhost-vdpa device will allocated multple IOTLBs for vDPA device that supports multiple address spaces. The IOTLBs and vDPA device memory mappings is determined and maintained through ASID. Note that we still don't support vDPA

[PATCH 17/21] vdpa_sim: split vdpasim_virtqueue's iov field in out_iov and in_iov

2020-12-15 Thread Jason Wang
From: Stefano Garzarella vringh_getdesc_iotlb() manages 2 iovs for writable and readable descriptors. This is very useful for the block device, where for each request we have both types of descriptor. Let's split the vdpasim_virtqueue's iov field in out_iov and in_iov to use them with

[PATCH 15/21] vhost-vdpa: introduce uAPI to set group ASID

2020-12-15 Thread Jason Wang
Follows the vDPA support for associating ASID to a specific virtqueue group. This patch adds a uAPI to support setting them from userspace. Signed-off-by: Jason Wang --- drivers/vhost/vdpa.c | 8 include/uapi/linux/vhost.h | 7 +++ 2 files changed, 15 insertions(+) diff

[PATCH 14/21] vhost-vdpa: uAPI to get virtqueue group id

2020-12-15 Thread Jason Wang
Follows the support for virtqueue group in vDPA. This patches introduces uAPI to get the virtqueue group ID for a specific virtqueue in vhost-vdpa. Signed-off-by: Jason Wang --- drivers/vhost/vdpa.c | 8 include/uapi/linux/vhost.h | 8 2 files changed, 16 insertions(+)

[PATCH 13/21] vhost-vdpa: introduce uAPI to get the number of address spaces

2020-12-15 Thread Jason Wang
This patch introduces the uAPI for getting the number of address spaces supported by this vDPA device. Signed-off-by: Jason Wang --- drivers/vhost/vdpa.c | 3 +++ include/uapi/linux/vhost.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/drivers/vhost/vdpa.c b/drivers/vhost/vdpa.c

[PATCH 12/21] vhost-vdpa: introduce uAPI to get the number of virtqueue groups

2020-12-15 Thread Jason Wang
Follows the vDPA support for multiple address spaces, this patch introduce uAPI for the userspace to know the number of virtqueue groups supported by the vDPA device. Signed-off-by: Jason Wang --- drivers/vhost/vdpa.c | 4 include/uapi/linux/vhost.h | 3 +++ 2 files changed, 7

[PATCH 11/21] vhost-vdpa: introduce asid based IOTLB

2020-12-15 Thread Jason Wang
This patch converts the vhost-vDPA device to support multiple IOTLBs tagged via ASID via hlist. This will be used for supporting multiple address spaces in the following patches. Signed-off-by: Jason Wang --- drivers/vhost/vdpa.c | 106 --- 1 file

[PATCH 10/21] vhost: support ASID in IOTLB API

2020-12-15 Thread Jason Wang
This patches allows userspace to send ASID based IOTLB message to vhost. This idea is to use the reserved u32 field in the existing V2 IOTLB message. Vhost device should advertise this capability via VHOST_BACKEND_F_IOTLB_ASID backend feature. Signed-off-by: Jason Wang --- drivers/vhost/vdpa.c

[PATCH 09/21] vhost_iotlb: split out IOTLB initialization

2020-12-15 Thread Jason Wang
This patch splits out IOTLB initialization to make sure it could be reused by external modules. Signed-off-by: Jason Wang --- drivers/vhost/iotlb.c | 23 ++- include/linux/vhost_iotlb.h | 2 ++ 2 files changed, 20 insertions(+), 5 deletions(-) diff --git

[PATCH v2] venus: venc: set inband mode property to FW.

2020-12-15 Thread Dikshita Agarwal
set HFI_PROPERTY_CONFIG_VENC_SYNC_FRAME_SEQUENCE_HEADER to FW to support inband sequence header mode. Signed-off-by: Dikshita Agarwal Changes since v1: - added codec check - fixed the mask while initializing the control --- drivers/media/platform/qcom/venus/venc_ctrls.c | 15 +--

[PATCH 08/21] vdpa: introduce config operations for associating ASID to a virtqueue group

2020-12-15 Thread Jason Wang
This patch introduces a new bus operation to allow the vDPA bus driver to associate an ASID to a virtqueue group. Signed-off-by: Jason Wang --- include/linux/vdpa.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/linux/vdpa.h b/include/linux/vdpa.h index

[PATCH 07/21] vdpa: multiple address spaces support

2020-12-15 Thread Jason Wang
This patches introduces the multiple address spaces support for vDPA device. This idea is to identify a specific address space via an dedicated identifier - ASID. During vDPA device allocation, vDPA device driver needs to report the number of address spaces supported by the device then the DMA

[PATCH 06/21] vdpa: introduce virtqueue groups

2020-12-15 Thread Jason Wang
This patch introduces virtqueue groups to vDPA device. The virtqueue group is the minimal set of virtqueues that must share an address space. And the adddress space identifier could only be attached to a specific virtqueue group. A new mandated bus operation is introduced to get the virtqueue

[PATCH 04/21] vhost-vdpa: switch to use vhost-vdpa specific IOTLB

2020-12-15 Thread Jason Wang
To ease the implementation of per group ASID support for vDPA device. This patch switches to use a vhost-vdpa specific IOTLB to avoid the unnecessary refactoring of the vhost core. Signed-off-by: Jason Wang --- drivers/vhost/vdpa.c | 18 ++ 1 file changed, 10 insertions(+), 8

[PATCH 05/21] vdpa: add the missing comment for nvqs in struct vdpa_device

2020-12-15 Thread Jason Wang
Signed-off-by: Jason Wang --- include/linux/vdpa.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/vdpa.h b/include/linux/vdpa.h index 30bc7a7223bb..8ab8dcde705d 100644 --- a/include/linux/vdpa.h +++ b/include/linux/vdpa.h @@ -42,6 +42,7 @@ struct vdpa_vq_state { * @config:

[PATCH 03/21] vhost-vdpa: passing iotlb to IOMMU mapping helpers

2020-12-15 Thread Jason Wang
To prepare for the ASID support for vhost-vdpa, try to pass IOTLB object to dma helpers. No functional changes, it's just a preparation for support multiple IOTLBs. Signed-off-by: Jason Wang --- drivers/vhost/vdpa.c | 41 +++-- 1 file changed, 23

[PATCH 02/21] virtio-vdpa: don't set callback if virtio doesn't need it

2020-12-15 Thread Jason Wang
There's no need for setting callbacks for the driver that doesn't care about that. Signed-off-by: Jason Wang --- drivers/virtio/virtio_vdpa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/virtio/virtio_vdpa.c b/drivers/virtio/virtio_vdpa.c index

[PATCH 01/21] vhost: move the backend feature bits to vhost_types.h

2020-12-15 Thread Jason Wang
We should store feature bits in vhost_types.h as what has been done for e.g VHOST_F_LOG_ALL. Signed-off-by: Jason Wang --- include/uapi/linux/vhost.h | 5 - include/uapi/linux/vhost_types.h | 5 + 2 files changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 00/21] Control VQ support in vDPA

2020-12-15 Thread Jason Wang
Hi All: This series tries to add the support for control virtqueue in vDPA. Control virtqueue is used by networking device for accepting various commands from the driver. It's a must to support multiqueue and other configurations. When used by vhost-vDPA bus driver for VM, the control virtqueue

Re: [PATCH bpf-next v5 07/11] bpf: Add instructions for atomic_[cmp]xchg

2020-12-15 Thread Yonghong Song
On 12/15/20 4:18 AM, Brendan Jackman wrote: This adds two atomic opcodes, both of which include the BPF_FETCH flag. XCHG without the BPF_FETCH flag would naturally encode atomic_set. This is not supported because it would be of limited value to userspace (it doesn't imply any barriers).

[PATCH 1/2] hid: intel-ish-hid: ipc: finish power flow for EHL OOB

2020-12-15 Thread Zhang Lixu
The EHL (Elkhart Lake) based platforms provide a OOB (Out of band) service, which allows wakup device when the system is in S5 (Soft-Off state). This OOB service can be enabled/disabled from BIOS settings. When enabled, the ISH device gets PME wake capability. To enable PME wakeup, driver also

[PATCH 2/2] hid: intel-ish-hid: ipc: Address EHL Sx resume issues

2020-12-15 Thread Zhang Lixu
When OOB is disabled, FW will be power gated when system is in S3/S4/S5 which is the same behavior with legacy ISH FW. When OOB is enabled, FW will always power on which is totally different comparing to legacy ISH FW. So NO_D3 flag is not enough to check FW's status after resume. Here we can use

[PATCH 0/2] hid: intel-ish-hid: ipc: enable OOB support for EHL

2020-12-15 Thread Zhang Lixu
The EHL (Elkhart Lake) based platforms provide a OOB (Out of band) service, which allows wakup device when the system is in S5 (Soft-Off state). This OOB service can be enabled/disabled from BIOS settings. These two patches is to enable this feature for EHL platform. We have tested these patches

Re: [PATCH RFC 0/3] Implement guest time scaling in RISC-V KVM

2020-12-15 Thread Anup Patel
On Thu, Dec 3, 2020 at 5:51 PM Yifei Jiang wrote: > > This series implements guest time scaling based on RDTIME instruction > emulation so that we can allow migrating Guest/VM across Hosts with > different time frequency. > > Why not through para-virt. From arm's experience[1], para-virt

RE: [PATCH v2 03/10] regulator: bd9571mwv: rid of using struct bd9571mwv

2020-12-15 Thread Yoshihiro Shimoda
Hi Matti-san, > From: Vaittinen, Matti, Sent: Wednesday, December 16, 2020 3:00 PM > On Wed, 2020-12-16 at 02:13 +, Yoshihiro Shimoda wrote: > > Hi Geert-san, Matti-san, > > > > > From: Geert Uytterhoeven, Sent: Wednesday, December 16, 2020 1:13 > > > AM > > > On Tue, Dec 15, 2020 at 5:02 PM

Re: [PATCH] Documentation: kunit: include example of a parameterized test

2020-12-15 Thread David Gow
On Wed, Dec 16, 2020 at 8:23 AM Daniel Latypov wrote: > > Commit fadb08e7c750 ("kunit: Support for Parameterized Testing") > introduced support but lacks documentation for how to use it. > > This patch builds on commit 1f0e943df68a ("Documentation: kunit: provide > guidance for testing many

Re: [PATCH 1/5] modpost: rename merror() to error()

2020-12-15 Thread Masahiro Yamada
On Tue, Dec 1, 2020 at 7:34 PM Masahiro Yamada wrote: > > The log function names, warn(), merror(), fatal() are inconsistent. > > Commit 2a11665945d5 ("kbuild: distinguish between errors and warnings > in modpost") intentionally chose merror() to avoid the conflict with > the library function

Re: [PATCH 04/25] dt-bindings: net: dwmac: Refactor snps,*-config properties

2020-12-15 Thread Serge Semin
On Tue, Dec 15, 2020 at 08:08:35AM -0600, Rob Herring wrote: > On Tue, Dec 15, 2020 at 2:54 AM Serge Semin > wrote: > > > > Hello Rob, > > > > On Mon, Dec 14, 2020 at 08:30:06AM -0600, Rob Herring wrote: > > > On Mon, Dec 14, 2020 at 12:15:54PM +0300, Serge Semin wrote: > > > > Currently the

Re: [PATCH v2] modpost: turn static exports into error

2020-12-15 Thread Masahiro Yamada
On Wed, Dec 2, 2020 at 1:52 AM Quentin Perret wrote: > > Using EXPORT_SYMBOL*() on static functions is fundamentally wrong. > Modpost currently reports that as a warning, but clearly this is not a > pattern we should allow, and all in-tree occurences should have been > fixed by now. So, promote

Re: [PATCH] kbuild: avoid split lines in .mod files

2020-12-15 Thread Masahiro Yamada
On Fri, Dec 4, 2020 at 3:46 AM 'Sami Tolvanen' via Clang Built Linux wrote: > > Hi Masahiro, > > On Thu, Dec 3, 2020 at 9:56 AM Masahiro Yamada wrote: > > > > "xargs echo" is not a safe way to remove line breaks because the input > > may exceed the command line limit and xargs may break it up

Re: [PATCH] kbuild: add extra-y to targets-for-modules

2020-12-15 Thread Masahiro Yamada
On Tue, Dec 8, 2020 at 11:31 PM Artem Savkov wrote: > > On Tue, Dec 08, 2020 at 05:20:35PM +0800, WANG Chao wrote: > > Sorry for the late reply. > > > > On 11/25/20 at 10:42P, Masahiro Yamada wrote: > > > On Tue, Nov 24, 2020 at 12:05 AM WANG Chao wrote: > > > > > > > > On 11/23/20 at 02:23P,

Re: [PATCH 1/2] venus: venc: update output format based on capture format.

2020-12-15 Thread dikshita
Hi All, Kindly ignore this patch. https://patchwork.linuxtv.org/project/linux-media/list/?series=3790 replaces this. Thanks, Dikshita On 2020-09-24 23:01, Dikshita Agarwal wrote: update output format parameters when s_fmt is called on capture port as recommended in encoder spec.

RE: [PATCH v2 7/9] riscv: dts: add initial support for the SiFive FU740-C000 SoC

2020-12-15 Thread Yash Shah
> -Original Message- > From: Bin Meng > Sent: 16 December 2020 11:36 > To: Yash Shah > Cc: linux-...@vger.kernel.org; linux-ser...@vger.kernel.org; linux- > p...@vger.kernel.org; linux-...@vger.kernel.org; linux-kernel ker...@vger.kernel.org>; linux-riscv ; > devicetree ; open list:GPIO

Re: [PATCH v1 5/8] usb: chipidea: tegra: Support host mode

2020-12-15 Thread Peter Chen
On 20-12-15 23:21:10, Dmitry Osipenko wrote: > From: Peter Geis > > struct tegra_usb_soc_info { > unsigned long flags; > + unsigned int txfifothresh; > + enum usb_dr_mode dr_mode; > +}; > + > +static const struct tegra_usb_soc_info tegra20_ehci_soc_info = { > + .flags =

Re: [PATCH] dax: fix memory leak when rmmod dax.ko

2020-12-15 Thread Dan Williams
On Tue, Dec 1, 2020 at 5:54 AM Wang Hai wrote: > > When I repeatedly modprobe and rmmod dax.ko, kmemleak report a > memory leak as follows: > > unreferenced object 0x9a5588c05088 (size 8): > comm "modprobe", pid 261, jiffies 4294693644 (age 42.063s) > ... > backtrace: >

Re: [PATCH v2 7/9] riscv: dts: add initial support for the SiFive FU740-C000 SoC

2020-12-15 Thread Bin Meng
Hi Yash, On Wed, Dec 16, 2020 at 1:24 PM Yash Shah wrote: > > > -Original Message- > > From: Bin Meng > > Sent: 10 December 2020 19:05 > > To: Yash Shah > > Cc: linux-...@vger.kernel.org; linux-ser...@vger.kernel.org; linux- > > p...@vger.kernel.org; linux-...@vger.kernel.org;

Re: [PATCH v3 3/5] RISC-V: Align the .init.text section

2020-12-15 Thread Palmer Dabbelt
On Wed, 04 Nov 2020 16:04:37 PST (-0800), Atish Patra wrote: In order to improve kernel text protection, we need separate .init.text/ .init.data/.text in separate sections. However, RISC-V linker relaxation code is not aware of any alignment between sections. As a result, it may relax any

Re: [PATCH 06/25] dt-bindings: net: dwmac: Add Tx/Rx clock sources

2020-12-15 Thread Serge Semin
On Tue, Dec 15, 2020 at 11:32:04AM -0600, Rob Herring wrote: > On Mon, Dec 14, 2020 at 12:15:56PM +0300, Serge Semin wrote: > > Generic DW *MAC can be connected to an external Tramit and Receive clock > > s/Tramit/Transmit/ Thanks. I'll fix it in v2. -Sergey > > > generators. Add the

Re: [PATCH -next] leds: leds-ariel: convert comma to semicolon

2020-12-15 Thread Alexander Dahl
Hello, > Zheng Yongjun hat am 14.12.2020 14:45 geschrieben: > > > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun > --- > drivers/leds/leds-ariel.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git

Re: [PATCH v2 03/10] regulator: bd9571mwv: rid of using struct bd9571mwv

2020-12-15 Thread Vaittinen, Matti
On Wed, 2020-12-16 at 02:13 +, Yoshihiro Shimoda wrote: > Hi Geert-san, Matti-san, > > > From: Geert Uytterhoeven, Sent: Wednesday, December 16, 2020 1:13 > > AM > > On Tue, Dec 15, 2020 at 5:02 PM Geert Uytterhoeven < > > ge...@linux-m68k.org> wrote: > > > On Fri, Dec 11, 2020 at 3:03 PM

Re: [PATCH -next] dax: pmem: convert comma to semicolon

2020-12-15 Thread Dan Williams
On Mon, Dec 14, 2020 at 5:45 AM Zheng Yongjun wrote: > > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Thanks, applied.

[rcu:rcu/urgent] BUILD SUCCESS 1b04fa9900263b4e217ca2509fd778b32c2b4eb2

2020-12-15 Thread kernel test robot
powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a003-20201215 x86_64 randconfig-a006-20201215 x86_64 randconfig-a002-20201215 x86_64 randconfig-a005-20201215 x86_64

[rcu:rcu/next] BUILD SUCCESS ae5633d5117d6ddae554584ec47dd008e9b68667

2020-12-15 Thread kernel test robot
-20201215 x86_64 randconfig-a006-20201215 x86_64 randconfig-a002-20201215 x86_64 randconfig-a005-20201215 x86_64 randconfig-a004-20201215 x86_64 randconfig-a001-20201215 i386 randconfig-a001-20201215 i386

Re: [PATCH] drivers: nvdimm: cleanup include of badblocks.h

2020-12-15 Thread Dan Williams
On Tue, Dec 15, 2020 at 8:36 AM Enrico Weigelt, metux IT consult wrote: > > * drivers/nvdimm/core.c doesn't use anything from badblocks.h on its own, > thus including it isn't needed. There's indeed indirect use, via funcs > in nd.h, but this one already includes badblocks.h. > > *

Re: [PATCH v12 5/5] leds: mt6360: Add LED driver for MT6360

2020-12-15 Thread kernel test robot
Hi Gene, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on pavel-linux-leds/for-next] [also build test WARNING on robh/for-next linus/master v5.10 next-20201215] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

Re: [RFC PATCH v3 8/9] md: Implement ->corrupted_range()

2020-12-15 Thread Jane Chu
On 12/15/2020 4:14 AM, Shiyang Ruan wrote: #ifdef CONFIG_SYSFS +int bd_disk_holder_corrupted_range(struct block_device *bdev, loff_t off, + size_t len, void *data); int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk); void

Re: [PATCH] thermal: int340x: Support Alder Lake

2020-12-15 Thread Daniel Lezcano
On 16/12/2020 02:59, srinivas pandruvada wrote: > On Tue, 2020-11-17 at 11:48 -0800, Srinivas Pandruvada wrote: >> Add ACPI IDs for thermal drivers for Alder Lake support. >> > This patch was not in PULL request. > It is simple patch, adding ids. Can we send as part of second PULL? Ah, sorry. I

Re: New objtool warning..

2020-12-15 Thread Linus Torvalds
On Tue, Dec 15, 2020 at 8:49 PM Josh Poimboeuf wrote: > > But yeah, it _might_ be possible to make objtool a little smarter here. > Gimme the .o file and I can take a look tomorrow. Hmm. I tried to send it to you, but then I get a bounce with 554 Email rejected due to security policies

  1   2   3   4   5   6   7   8   9   10   >