Re: [PATCH V6 06/16] perf script: Use ULL for enum perf_output_field

2020-08-12 Thread Liang, Kan
On 8/12/2020 8:21 AM, Arnaldo Carvalho de Melo wrote: Em Mon, Aug 10, 2020 at 02:24:26PM -0700, Kan Liang escreveu: The Bitwise-Shift operator (1U << ) is used in the enum perf_output_field, which has already reached its capacity (32 items). If more items are added, a compile error will be tr

Re: RFC: How to adjust the trace pid?

2020-08-12 Thread Daniel Vetter
On Wed, Aug 12, 2020 at 3:42 PM Christian König wrote: > > Ping? Daniel, Dave any opinion on this? Type patch, cc: tracing people, see what they say? tbh I have no idea, but they have been making unhappy noises about some of the tricks we've played in the past in i915 tracepoints. So not everythi

Re: [PATCH] KVM: x86/pmu: Add '.exclude_hv = 1' for guest perf_event

2020-08-12 Thread Paolo Bonzini
On 12/08/20 15:31, pet...@infradead.org wrote: > This isn't about x86, I want these checks in generic code. We have the > flag, it needs checking. > > unpriv users have no busniess getting anything from a possible hv. Ah ok if it's generic that sounds good. >> That would be the case of an unpriv

Re: [PATCH] clk: qcom: clk-rpmh: Wait for completion when enabling clocks

2020-08-12 Thread Doug Anderson
Hi, On Mon, Mar 9, 2020 at 2:11 PM Stephen Boyd wrote: > > Quoting Mike Tipton (2020-02-14 18:12:32) > > The current implementation always uses rpmh_write_async, which doesn't > > wait for completion. That's fine for disable requests since there's no > > immediate need for the clocks and they can

Re: [PATCH net-next 2/2] enetc: use napi_schedule to be compatible with PREEMPT_RT

2020-08-12 Thread Sebastian Andrzej Siewior
On 2020-08-03 18:21:45 [-0700], David Miller wrote: > From: Vladimir Oltean > > The driver calls napi_schedule_irqoff() from a context where, in RT, > > hardirqs are not disabled, since the IRQ handler is force-threaded. … > > > > Signed-off-by: Jiafei Pan > > Signed-off-by: Vladimir Oltean >

Re: [PATCH V6 01/16] perf/core: Add PERF_SAMPLE_DATA_PAGE_SIZE

2020-08-12 Thread Dave Hansen
On 8/12/20 6:39 AM, Liang, Kan wrote: > I searched the vma_mmu_pagesize(). It seems that PowerPC is the only > one that defines a 'strong' function. In other words, the MMUPageSize > and KerelPageSize are the same for X86. However, it seems not true > for the above compound page cases. Is it a bug

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-12 Thread David Howells
Linus Torvalds wrote: > IOW, if you do something more along the lines of > >fd = open(""foo/bar", O_PATH); >metadatafd = openat(fd, "metadataname", O_ALT); > > it might be workable. What is it going to walk through? You need to end up with an inode and dentry from somewhere.

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-12 Thread Miklos Szeredi
On Wed, Aug 12, 2020 at 3:33 PM David Howells wrote: > > Miklos Szeredi wrote: > > > You said yourself, that what's really needed is e.g. consistent > > snapshot of a complete mount tree topology. And to get the complete > > topology FSINFO_ATTR_MOUNT_TOPOLOGY and FSINFO_ATTR_MOUNT_CHILDREN are

Re: [dm-devel] [RFC PATCH v5 00/11] Integrity Policy Enforcement LSM (IPE)

2020-08-12 Thread Chuck Lever
> On Aug 11, 2020, at 2:28 PM, James Bottomley > wrote: > > On Tue, 2020-08-11 at 10:48 -0400, Chuck Lever wrote: >> Mimi's earlier point is that any IMA metadata format that involves >> unsigned digests is exposed to an alteration attack at rest or in >> transit, thus will not provide a robu

Re: [PATCH v8 0/3] drm: Add support for Cadence MHDP DPI/DP bridge and J721E wrapper.

2020-08-12 Thread Guido Günther
Hi, On Wed, Aug 12, 2020 at 01:47:42PM +0300, Tomi Valkeinen wrote: > Hi Guido, > > On 12/08/2020 11:39, Guido Günther wrote: > > Hi, > > On Thu, Aug 06, 2020 at 01:34:29PM +0200, Swapnil Jakhade wrote: > >> This patch series adds new DRM bridge driver for Cadence MHDP DPI/DP > >> bridge. The Cade

[GIT PULL] parisc architecture updates for kernel v5.9

2020-08-12 Thread Helge Deller
Hi Linus, please pull another set of patches for the parisc architecture for kernel 5.9-rc1 from: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-5.9-2 This patchset includes: - Oscar Carter contributed a patch which fixes parisc's usage of dereference_function

[PATCH 4/9] dt-bindings: display: renesas,lvds: Document r8a774e1 bindings

2020-08-12 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Document the RZ/G2H (R8A774E1) LVDS bindings. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- .../devicetree/bindings/display/bridge/renesas,lvds.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bi

[PATCH 0/9] r8a774e1 add support for DU, HDMI and LVDS

2020-08-12 Thread Lad Prabhakar
Hi All, This patch series adds support for DU, HDMI and LVDS to RZ/G2H SoC. Cheers, Prabhakar Lad Prabhakar (1): arm64: dts: renesas: r8a774e1-hihope-rzg2h: Setup DU clocks Marian-Cristian Rotariu (8): dt-bindings: display: renesas,du: Document r8a774e1 bindings drm: rcar-du: Add support

[PATCH 3/9] arm64: dts: renesas: r8a774e1: Populate DU device node

2020-08-12 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Populate the DU device node properties in R8A774E1 SoC dtsi. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- arch/arm64/boot/dts/renesas/r8a774e1.dtsi | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a

[PATCH 1/9] dt-bindings: display: renesas,du: Document r8a774e1 bindings

2020-08-12 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Document the RZ/G2H (a.k.a. r8a774e1) SoC in the R-Car DU bindings. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- Documentation/devicetree/bindings/display/renesas,du.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentati

[PATCH 2/9] drm: rcar-du: Add support for R8A774E1 SoC

2020-08-12 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Hookup RZ/G2H (R8A774E1) to DU driver. R8A774E1 has one RGB output, one LVDS output and one HDMI output. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 30 +++ 1 file change

[PATCH 7/9] drm: rcar-du: lvds: Add support for R8A774E1 SoC

2020-08-12 Thread Lad Prabhakar
From: Marian-Cristian Rotariu The LVDS encoder on RZ/G2H (R8A774E1) SoC is identical to R-Car Gen3 so just reuse the rcar_lvds_gen3_info structure to hookup R8A774E1 to LVDS encoder driver. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- drivers/gpu/drm/rcar-du/rcar_l

[PATCH 5/9] dt-bindings: display: renesas,dw-hdmi: Add r8a774e1 support

2020-08-12 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Document RZ/G2H (R8A774E1) SoC bindings. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- .../devicetree/bindings/display/bridge/renesas,dw-hdmi.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindin

[PATCH 6/9] arm64: dts: renesas: r8a774e1: Populate HDMI encoder node

2020-08-12 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Populate HDMI node properties in R8A774E1 SoC dtsi. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- arch/arm64/boot/dts/renesas/r8a774e1.dtsi | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/arch/arm64/

[PATCH bpf-next] bpf: fix load XDP program error in test_xdp_vlan

2020-08-12 Thread Jianlin Lv
test_xdp_vlan.sh reports the error as below: $ sudo ./test_xdp_vlan_mode_native.sh + '[' -z xdp_vlan_mode_native ']' + XDP_MODE=xdpgeneric …… + export XDP_PROG=xdp_vlan_remove_outer2 + XDP_PROG=xdp_vlan_remove_outer2 + ip netns exec ns1 ip link set veth1 xdpdrv off Error: XDP program already attac

[PATCH 9/9] arm64: dts: renesas: r8a774e1-hihope-rzg2h: Setup DU clocks

2020-08-12 Thread Lad Prabhakar
Setup up the required clocks for the DU to be functional. Signed-off-by: Lad Prabhakar --- arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h.dts b/arch/arm64/boot/dts/renesas/r

[PATCH 8/9] arm64: dts: renesas: r8a774e1: Add LVDS device node

2020-08-12 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Add the LVDS device node to R8A774E1 to SoC dtsi and connect it with the DU node. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- arch/arm64/boot/dts/renesas/r8a774e1.dtsi | 27 +++ 1 file changed, 27 insertions(+) di

Re: [PATCH v2 02/41] mmc: s3cmci: Remove unneeded machine header include

2020-08-12 Thread Ulf Hansson
On Thu, 6 Aug 2020 at 20:21, Krzysztof Kozlowski wrote: > > The s3cmci driver does not use machine header mach/dma.h. > > Signed-off-by: Krzysztof Kozlowski If you want this to go through my mmc tree, then please tell me. Otherwise: Acked-by: Ulf Hansson Kind regards Uffe > --- > drivers/m

Re: RFC: How to adjust the trace pid?

2020-08-12 Thread Christian König
Am 12.08.20 um 15:49 schrieb Daniel Vetter: On Wed, Aug 12, 2020 at 3:42 PM Christian König wrote: Ping? Daniel, Dave any opinion on this? Type patch, cc: tracing people, see what they say? Adding Ingo and Steven then. tbh I have no idea, but they have been making unhappy noises about some

Re: [PATCH v2 5/7] regulator: plug of_node leak in regulator_register()'s error path

2020-08-12 Thread Michał Mirosław
On Wed, Aug 12, 2020 at 09:29:12AM +0300, Vladimir Zapolskiy wrote: > On 8/12/20 4:31 AM, Michał Mirosław wrote: [...] > > config = kmemdup(cfg, sizeof(*cfg), GFP_KERNEL); > > if (config == NULL) { > > - kfree(rdev); > > ret = -ENOMEM; > > - goto rinse; > > +

Re: [PATCH] drm: assure aux_dev is nonzero before using it

2020-08-12 Thread Daniel Vetter
On Wed, Aug 12, 2020 at 12:16 AM Zwane Mwaikambo wrote: > > On Tue, 11 Aug 2020, Daniel Vetter wrote: > > > On Mon, Aug 10, 2020 at 10:11:50AM -0700, Zwane Mwaikambo wrote: > > > Hi Folks, > > > I know this thread eventually dropped off due to not identifying > > > the underlying issue. It's s

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-12 Thread Miklos Szeredi
On Wed, Aug 12, 2020 at 3:54 PM David Howells wrote: > > Linus Torvalds wrote: > > > IOW, if you do something more along the lines of > > > >fd = open(""foo/bar", O_PATH); > >metadatafd = openat(fd, "metadataname", O_ALT); > > > > it might be workable. > > What is it going to walk

[PATCH 2/2] nfsd: Fix typo in comment

2020-08-12 Thread Alex Dewar
Fix typos in nfs4xdr.c. Signed-off-by: Alex Dewar --- fs/nfsd/nfs4xdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index 1a0341fd80f9a..3db789139a71f 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c @@ -4828,7 +4828,7 @@ nfsd4_

[PATCH 1/2] nfsd: Remove unnecessary assignment in nfs4xdr.c

2020-08-12 Thread Alex Dewar
In nfsd4_encode_listxattrs(), the variable p is assigned to at one point but this value is never used before p is reassigned. Fix this. Addresses-Coverity: ("Unused value") Signed-off-by: Alex Dewar --- fs/nfsd/nfs4xdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfsd

Re: [PATCH v2] ata: sata_rcar: Fix DMA boundary mask

2020-08-12 Thread Ulf Hansson
On Tue, 11 Aug 2020 at 10:17, Geert Uytterhoeven wrote: > > Before commit 9495b7e92f716ab2 ("driver core: platform: Initialize > dma_parms for platform devices"), the R-Car SATA device didn't have DMA > parameters. Hence the DMA boundary mask supplied by its driver was > silently ignored, as __sc

[PATCH v2 1/4] dt-bindings: Add vendor prefix for Silvaco

2020-08-12 Thread Miquel Raynal
Silvaco, Inc. is an EDA provider of software tools used for process and device development and for analog/mixed-signal, power IC and memory design [1]. [1] https://www.silvaco.com/company/profile/profile.html Signed-off-by: Miquel Raynal --- Changes in v2: * Change the prefix 'svc,' -> 'silvaco

[PATCH v2 4/4] MAINTAINERS: Add Silvaco I3C master

2020-08-12 Thread Miquel Raynal
Add Conor and myself as maintainers. Signed-off-by: Miquel Raynal --- Changes in v2: * None. MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e627ed60d75a..fedd10537723 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -15764,6 +15764,14 @@ S:

[PATCH v2 2/4] dt-bindings: i3c: Describe Silvaco master binding

2020-08-12 Thread Miquel Raynal
Silvaco provide a dual-role I3C master. Description is rather simple: it needs a register mapping, three clocks and an interrupt. Signed-off-by: Miquel Raynal --- Changes in v2: * Updated Rob's tool and fixed the mistake reported. * Updated the vendor prefix. .../bindings/i3c/silvaco,i3c-mast

[PATCH v2 3/4] i3c: master: svc: Add Silvaco I3C master driver

2020-08-12 Thread Miquel Raynal
Add support for Silvaco I3C dual-role IP. The master role is supported in SDR mode only. I2C transfers have not been tested but are shared because they are so close to the I3C transfers in terms of registers configuration. Signed-off-by: Miquel Raynal --- Changes in v2: * Declared all the functi

Re: [PATCH 1/5] timer: kasan: record and print timer stack

2020-08-12 Thread Marco Elver
On Mon, 10 Aug 2020 at 09:23, Walter Wu wrote: > This patch records the last two timer queueing stacks and prints > up to 2 timer stacks in KASAN report. It is useful for programmers > to solve use-after-free or double-free memory timer issues. > > When timer_setup() or timer_setup_on_stack() is c

Re: [dm-devel] [RFC PATCH v5 00/11] Integrity Policy Enforcement LSM (IPE)

2020-08-12 Thread Chuck Lever
> On Aug 11, 2020, at 11:53 AM, James Bottomley > wrote: > > On Tue, 2020-08-11 at 10:48 -0400, Chuck Lever wrote: >>> On Aug 11, 2020, at 1:43 AM, James Bottomley >> nPartnership.com> wrote: >>> >>> On Mon, 2020-08-10 at 19:36 -0400, Chuck Lever wrote: > On Aug 10, 2020, at 11:35 AM, Ja

Re: [PATCH] arm64: Skip apply SSBS call for non SSBS system

2020-08-12 Thread Gaurav Kohli
On 8/12/2020 7:00 PM, Will Deacon wrote: On Tue, Aug 04, 2020 at 07:44:42PM +0530, Gaurav Kohli wrote: In a system where no cpu's implement SSBS, for them no need to set pstate. This might help to save few cpu cycles during context switch. Signed-off-by: Gaurav Kohli diff --git a/arch/arm6

Re: [PATCH v2] module: Harden STRICT_MODULE_RWX

2020-08-12 Thread Szabolcs Nagy
The 08/12/2020 13:56, Will Deacon wrote: > On Wed, Aug 12, 2020 at 12:40:05PM +0200, pet...@infradead.org wrote: > > On Wed, Aug 12, 2020 at 10:56:56AM +0200, Ard Biesheuvel wrote: > > > The module .lds has BYTE(0) in the section contents to prevent the > > > linker from pruning them entirely. The

Re: [PATCH] drm/amdgpu: adjust the pid in the grab_id trace point

2020-08-12 Thread Steven Rostedt
On Fri, Aug 07, 2020 at 03:36:58PM +0200, Christian König wrote: > Trace something useful instead of the pid of a kernel thread here. > > Signed-off-by: Christian König > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/amd

Re: [dm-devel] [RFC PATCH v5 00/11] Integrity Policy Enforcement LSM (IPE)

2020-08-12 Thread Chuck Lever
> On Aug 11, 2020, at 5:03 PM, James Morris wrote: > > On Sat, 8 Aug 2020, Chuck Lever wrote: > >> My interest is in code integrity enforcement for executables stored >> in NFS files. >> >> My struggle with IPE is that due to its dependence on dm-verity, it >> does not seem to able to protec

Aw: [v2,3/3] mmc: mediatek: add optional module reset property

2020-08-12 Thread Frank Wunderlich
Hi, it looks like you missed Philipps comments in v1 for stable i guess you need only add Cc: Stable-line to signed-off-area (not add it to CC of mail), sorry my mistake Cc: sta...@vger.kernel.org regards Frank

Re: general protection fault in sctp_ulpevent_notify_peer_addr_change

2020-08-12 Thread Jonas Falkevik
On Mon, Aug 10, 2020 at 8:31 PM Marcelo Ricardo Leitner wrote: > > On Mon, Aug 10, 2020 at 08:37:18AM -0700, syzbot wrote: > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit:fffe3ae0 Merge tag 'for-linus-hmm' of git://git.kernel.org.. > > git tree: upstream > > c

[PATCH v8 4/6] hwmon: pmbus: adm1266: add debugfs for states

2020-08-12 Thread alexandru.tachici
From: Alexandru Tachici Add a debugfs entry which prints the current state of the adm1266 sequencer. Signed-off-by: Alexandru Tachici --- drivers/hwmon/pmbus/adm1266.c | 41 ++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/drivers/hwmon/pmbus/ad

[PATCH v8 1/6] hwmon: pmbus: adm1266: add support

2020-08-12 Thread alexandru.tachici
From: Alexandru Tachici Add pmbus probing driver for the adm1266 Cascadable Super Sequencer with Margin Control and Fault Recording. Driver is using the pmbus_core, creating sysfs files under hwmon for inputs: vh1->vh4 and vp1->vp13. Signed-off-by: Alexandru Tachici --- Documentation/hwmon/adm

[PATCH v8 0/6] hwmon: pmbus: adm1266: add support

2020-08-12 Thread alexandru.tachici
From: Alexandru Tachici Add PMBus probing driver for the adm1266 Cascadable Super Sequencer with Margin Control and Fault Recording. Driver is using the pmbus_core, creating sysfs files under hwmon for inputs: vh1->vh4 and vp1->vp13. 1. Add PMBus probing driver for inputs vh1->vh4 and vp1->vp13.

[PATCH v8 5/6] hwmon: pmbus: adm1266: read blackbox

2020-08-12 Thread alexandru.tachici
From: Alexandru Tachici Use the nvmem kernel api to expose the black box chip functionality to userspace. Using this feature, the device is capable of recording to nonvolatile flash memory the vital data about the system status that caused the system to perform a black box write. A blackbox is

[PATCH v8 6/6] dt-bindings: hwmon: Add bindings for ADM1266

2020-08-12 Thread alexandru.tachici
From: Alexandru Tachici Add bindings for the Analog Devices ADM1266 sequencer. Signed-off-by: Alexandru Tachici --- .../bindings/hwmon/adi,adm1266.yaml | 51 +++ 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/adi,adm1266.y

drivers/net/usb/hso.c:2626 hso_create_bulk_serial_device() warn: variable dereferenced before check 'serial->tiocmget' (see line 2620)

2020-08-12 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fb893de323e2d39f7a1f6df425703a2edbdf56ea commit: af0de1303c4e8f44fadd7b4c593f09f22324b04f usb: hso: obey DMA rules in tiocmget date: 10 months ago config: ia64-randconfig-m031-20200811 (attached as .config

[PATCH v8 3/6] hwmon: pmbus: adm1266: Add support for GPIOs

2020-08-12 Thread alexandru.tachici
From: Alexandru Tachici Adm1266 exposes 9 GPIOs and 16 PDIOs which are currently read-only. They are controlled by the internal sequencing engine. This patch makes adm1266 driver expose GPIOs and PDIOs to user-space using GPIO provider kernel api. Signed-off-by: Alexandru Tachici --- drivers/

[PATCH v8 2/6] hwmon: pmbus: adm1266: Add Block process call

2020-08-12 Thread alexandru.tachici
From: Alexandru Tachici PmBus devices support Block Write-Block Read Process Call described in SMBus specification v 2.0 with the exception that Block writes and reads are permitted to have up 255 data bytes instead of max 32 bytes (SMBus). This patch adds Block WR process call support for ADM12

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-12 Thread David Howells
Miklos Szeredi wrote: > The point is that generic operations already exist and no need to add > new, specialized ones to access metadata. open and read already exist, yes, but the metadata isn't currently in convenient inodes and dentries that you can just walk through. So you're going to end u

Re: [PATCH v4 5/5] MIPS: BCM63xx: switch to SPDX license identifier

2020-08-12 Thread Florian Fainelli
On 8/12/2020 12:52 AM, Álvaro Fernández Rojas wrote: > Use SPDX license indentifier instead of local reference to COPYING. > > Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli -- Florian

drivers/net/wireless/intel/iwlegacy/4965-mac.c:2822 il4965_hdl_tx() error: uninitialized symbol 'tid'.

2020-08-12 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fb893de323e2d39f7a1f6df425703a2edbdf56ea commit: 3f649ab728cda8038259d8f14492fe400fbab911 treewide: Remove uninitialized_var() usage date: 4 weeks ago config: parisc-randconfig-m031-20200811 (attached as .

Re: [PATCH net-next 2/2] enetc: use napi_schedule to be compatible with PREEMPT_RT

2020-08-12 Thread Vladimir Oltean
On Wed, Aug 12, 2020 at 03:51:44PM +0200, Sebastian Andrzej Siewior wrote: > On 2020-08-03 18:21:45 [-0700], David Miller wrote: > > From: Vladimir Oltean > > > The driver calls napi_schedule_irqoff() from a context where, in RT, > > > hardirqs are not disabled, since the IRQ handler is force-thre

[PATCH v2 0/2] make UFS dev_cmd more readable

2020-08-12 Thread Bean Huo
From: Bean Huo Changelog: v1 - v2: 1. remove original patch scsi: ufs: differentiate dev_cmd trace message 2. add new patch scsi: ufs: remove several redundant goto statements Bean Huo (2): scsi: ufs: change ufshcd_comp_devman_upiu() to ufshcd_compose_devman_upiu() sc

[PATCH v2 1/2] scsi: ufs: change ufshcd_comp_devman_upiu() to ufshcd_compose_devman_upiu()

2020-08-12 Thread Bean Huo
From: Bean Huo ufshcd_comp_devman_upiu() alwasy make me confuse that it is a request completion calling function. Change it to ufshcd_compose_devman_upiu(). Signed-off-by: Bean Huo Acked-by: Avri Altman --- drivers/scsi/ufs/ufshcd.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-)

[PATCH v2 2/2] scsi: ufs: remove several redundant goto statements

2020-08-12 Thread Bean Huo
From: Bean Huo Signed-off-by: Bean Huo --- drivers/scsi/ufs/ufshcd.c | 26 +- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index e3663b85e8ee..cd742c4f78b6 100644 --- a/drivers/scsi/ufs/ufshcd.c +++

Re: [PATCH] drm/amdgpu: adjust the pid in the grab_id trace point

2020-08-12 Thread Christian König
Am 12.08.20 um 16:17 schrieb Steven Rostedt: On Fri, Aug 07, 2020 at 03:36:58PM +0200, Christian König wrote: Trace something useful instead of the pid of a kernel thread here. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 1 + 1 file changed, 1 insertion(+)

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-12 Thread Al Viro
On Wed, Aug 12, 2020 at 09:23:23AM +0200, Miklos Szeredi wrote: > Anyway, starting with just introducing the alt namespace without > unification seems to be a good first step. If that turns out to be > workable, we can revisit unification later. Start with coming up with answers to the questions

Re: [PATCH] x86/alternatives: Let __text_poke() acquire the pte lock with enabled interrupts

2020-08-12 Thread Thomas Gleixner
Sebastian, Sebastian Andrzej Siewior writes: sorry this fell through the cracks ... > The pte lock is never acquired from an IRQ-off region so it does not > require the interrupts to be disabled. I doubt that this is true. It surely is acquired within other locks which might be taken with spin

Re: [PATCH v2 1/2] scsi: ufs: Cleanup completed request without interrupt notification

2020-08-12 Thread Bean Huo
On Wed, 2020-08-12 at 20:47 +0800, Stanley Chu wrote: > Hi Avri, Bean, > > On Tue, 2020-08-11 at 16:18 +0200, Bean Huo wrote: > > From: Stanley Chu > > > > If somehow no interrupt notification is raised for a completed > > request > > and its doorbell bit is cleared by host, UFS driver needs to

Re: [Q] devicetree overlays

2020-08-12 Thread Sven Van Asbroeck
On Wed, Aug 12, 2020 at 9:28 AM Enrico Weigelt, metux IT consult wrote: > > But I've still got another problem: how can I use DT along w/ ACPI ? > That's a very good question. I focus on arm, so I'm unfamiliar with ACPI. Hopefully someone with ACPI knowledge can chime in.

Re: [PATCH] Documentation: clarify driver licensing rules

2020-08-12 Thread Dave Hansen
On 8/12/20 1:23 AM, Greg KH wrote: > On Tue, Aug 11, 2020 at 10:17:48AM -0700, Dave Hansen wrote: >> But, this left submitters (and the folks who help them pick licenses) >> a bit confused. They have read things like >> Documentation/process/license-rules.rst which says: >> >> individual sourc

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-12 Thread Miklos Szeredi
On Wed, Aug 12, 2020 at 4:40 PM Al Viro wrote: > > On Wed, Aug 12, 2020 at 09:23:23AM +0200, Miklos Szeredi wrote: > > > Anyway, starting with just introducing the alt namespace without > > unification seems to be a good first step. If that turns out to be > > workable, we can revisit unification

Re: [dm-devel] [RFC PATCH v5 00/11] Integrity Policy Enforcement LSM (IPE)

2020-08-12 Thread Chuck Lever
> On Aug 11, 2020, at 11:32 AM, James Bottomley > wrote: > > On Tue, 2020-08-11 at 10:48 -0400, Chuck Lever wrote: >>> On Aug 11, 2020, at 1:43 AM, James Bottomley >>> wrote: >>> On Mon, 2020-08-10 at 19:36 -0400, Chuck Lever wrote: > [...] Thanks for the help! I just want to emphasize

Re: [PATCH v3 2/2] ASoC: Intel: Add period size constraint on strago board

2020-08-12 Thread Pierre-Louis Bossart
After doing some experiments, I think I can identify the problem more precisely. 1. aplay can not reproduce this issue because it writes samples immediately when there are some space in the buffer. However, you can add --test-position to see how the delay grows with period size 256. aplay -Dhw

[PATCH] kbuild: remove redundant patterns in filter/filter-out

2020-08-12 Thread Masahiro Yamada
The '%' in filter/filter-out matches to any number of any characters, including empty string. So, '%config' matches to 'config', and '%install' to 'install'. Drop the redundant patterns. Signed-off-by: Masahiro Yamada --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) di

[PATCH] PCI: Identifying detached virtual functions

2020-08-12 Thread Matthew Rosato
As discussed previously in a qemu-devel thread: https://www.mail-archive.com/qemu-devel@nongnu.org/msg725141.html s390x has the notion of unlinked VFs being available at the LPAR-level (Virtual Functions where the kernel does not have access to the associated Physical Function). These devices ar

[PATCH] PCI: Introduce flag for detached virtual functions

2020-08-12 Thread Matthew Rosato
s390x has the notion of providing VFs to the kernel in a manner where the associated PF is inaccessible other than via firmware. These are not treated as typical VFs and access to them is emulated by underlying firmware which can still access the PF. After abafbc55 however these detached VFs were

Re: [PATCH 0/2] firmware: bcm47xx_sprom: Fix -Wmissing-prototypes warnings

2020-08-12 Thread Thomas Bogendoerfer
On Fri, Aug 07, 2020 at 11:37:43AM -0700, Florian Fainelli wrote: > > > On 7/25/2020 9:15 PM, Florian Fainelli wrote: > > Hi Thomas, > > > > This patch series fixes W=1 -Wmissing-prototypes warnings for the > > bcm47xx_sprom.c firmware file. > > Thomas, can you apply these patches if you are fi

Re: [RFC 0/5] Introduce NMI aware serial drivers

2020-08-12 Thread Sumit Garg
Hi Doug, On Tue, 11 Aug 2020 at 22:46, Doug Anderson wrote: > > Hi, > > On Tue, Aug 11, 2020 at 7:58 AM Greg Kroah-Hartman > wrote: > > > > On Tue, Aug 11, 2020 at 07:59:24PM +0530, Sumit Garg wrote: > > > Hi Greg, > > > > > > Thanks for your comments. > > > > > > On Tue, 11 Aug 2020 at 19:27, G

Re: [PATCH] task_work: only grab task signal lock when needed

2020-08-12 Thread Oleg Nesterov
On 08/11, Oleg Nesterov wrote: > > On 08/11, Jens Axboe wrote: > > > > --- a/kernel/task_work.c > > +++ b/kernel/task_work.c > > @@ -42,7 +42,8 @@ task_work_add(struct task_struct *task, struct > > callback_head *work, int notify) > > set_notify_resume(task); > > break; > >

Re: [PATCH v3 2/2] ASoC: Intel: Add period size constraint on strago board

2020-08-12 Thread Takashi Iwai
On Wed, 12 Aug 2020 16:46:40 +0200, Pierre-Louis Bossart wrote: > > > >> After doing some experiments, I think I can identify the problem more > >> precisely. > >> 1. aplay can not reproduce this issue because it writes samples > >> immediately when there are some space in the bu

Re: [PATCH] drm/bridge/tc358775: Fixes bus formats read

2020-08-12 Thread Vinay Simha B N
laurent, Video data input format : RGB666 loosely packed 24 bits per pixel Can we use MEDIA_BUS_FMT_RGB666_1X24_CPADHI? There was no information wrt CPADHI or for loosely packed static const u32 tc_lvds_in_bus_fmts[] = { MEDIA_BUS_FMT_RGB565_1X16, MEDIA_BUS_FMT_RGB666_1X18,

[PATCH] mfd: Add ACPI support to Kontron PLD driver

2020-08-12 Thread Michael Brunner
Recent Kontron COMe modules identify the PLD device using the hardware id KEM0001 in the ACPI table. This patch adds support for probing the device using the HID and also retrieving the resources. As this is not available for all products, the DMI based detection still needs to be around for older

Re: [RFC 7/7] KVM: VMX: Enable PKS for nested VM

2020-08-12 Thread Sean Christopherson
On Mon, Aug 10, 2020 at 05:05:36PM -0700, Jim Mattson wrote: > On Fri, Aug 7, 2020 at 1:47 AM Chenyi Qiang wrote: > > > > PKS MSR passes through guest directly. Configure the MSR to match the > > L0/L1 settings so that nested VM runs PKS properly. > > > > Signed-off-by: Chenyi Qiang > > --- > >

Re: [PATCH] Documentation: clarify driver licensing rules

2020-08-12 Thread Greg KH
On Wed, Aug 12, 2020 at 07:45:00AM -0700, Dave Hansen wrote: > On 8/12/20 1:23 AM, Greg KH wrote: > > On Tue, Aug 11, 2020 at 10:17:48AM -0700, Dave Hansen wrote: > >> But, this left submitters (and the folks who help them pick licenses) > >> a bit confused. They have read things like > >> Document

[PATCH 0/2] r8a7742 add QSPI support

2020-08-12 Thread Lad Prabhakar
Hi All, This patchset adds qspi node to r8a7742 (RZ/G1H) SoC along with updating the DT binding. Cheers, Prabhakar Lad Prabhakar (2): dt-bindings: spi: renesas,rspi: Add r8a7742 to the compatible list ARM: dts: r8a7742: Add QSPI support .../devicetree/bindings/spi/renesas,rspi.yaml|

Re: [RFC PATCH 1/2] opp: Allow dev_pm_opp_get_opp_table() to return -EPROBE_DEFER

2020-08-12 Thread Viresh Kumar
On 12-08-20, 12:53, Stephan Gerhold wrote: > On Wed, Aug 12, 2020 at 11:10:38AM +0200, Ulf Hansson wrote: > > > I wasn't sure if the changes in drivers/base/power/domain.c > > > should be made in a separate commit, but they need to be made together > > > with the other changes. > > > > I would sug

[PATCH 1/2] dt-bindings: spi: renesas,rspi: Add r8a7742 to the compatible list

2020-08-12 Thread Lad Prabhakar
Document RZ/G1H (R8A7742) SoC specific bindings. The R8A7742 qspi module is identical to R-Car Gen2 family. No driver change is needed due to the fallback compatible value "renesas,qspi". Signed-off-by: Lad Prabhakar Reviewed-by: Chris Paterson --- Documentation/devicetree/bindings/spi/renesas

[PATCH 2/2] ARM: dts: r8a7742: Add QSPI support

2020-08-12 Thread Lad Prabhakar
Add QSPI DT node to R8A7742 SoC dtsi. Signed-off-by: Lad Prabhakar Reviewed-by: Chris Paterson --- arch/arm/boot/dts/r8a7742.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi index 5070e2a87231..009827708bf

Re: [PATCH 1/2] exfat: add NameLength check when extracting name

2020-08-12 Thread Tetsuhiro Kohada
Thank you for your reply. -static void exfat_get_uniname_from_ext_entry(struct super_block *sb, - struct exfat_chain *p_dir, int entry, unsigned short *uniname) +static int exfat_get_uniname_from_name_entries(struct exfat_entry_set_cache *es, + struct exfat_uni_name

Re: [PATCH v2 4/4] MAINTAINERS: Add Silvaco I3C master

2020-08-12 Thread Miquel Raynal
Hello, Miquel Raynal wrote on Wed, 12 Aug 2020 16:13:12 +0200: > Add Conor and myself as maintainers. > > Signed-off-by: Miquel Raynal > --- > > Changes in v2: > * None. > > MAINTAINERS | 8 > 1 file changed, 8 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index e627e

Re: [PATCH] drm/msm/a6xx: add module param to enable debugbus snapshot

2020-08-12 Thread Jordan Crouse
On Tue, Aug 11, 2020 at 04:36:57PM -0700, Rob Clark wrote: > From: Rob Clark > > For production devices, the debugbus sections will typically be fused > off and empty in the gpu device coredump. But since this may contain > data like cache contents, don't capture it by default. Reviewed-by: Jor

Re: [PATCH linux-5.2.y-rt only] hrtimer: correct the logic for grab expiry lock

2020-08-12 Thread Steven Rostedt
On Wed, 12 Aug 2020 13:45:02 +0200 Rasmus Villemoes wrote: > Yup, same patch sent back in April, which also had a fixes tag for 5.2. > > https://lore.kernel.org/lkml/20200428144026.5882-1-rasmus.villem...@prevas.dk/ > > It got picked up for 4.19-rt, dunno why it wasn't for 5.2-rt. 5.2-rt is no

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-12 Thread Al Viro
On Wed, Aug 12, 2020 at 04:46:20PM +0200, Miklos Szeredi wrote: > > "Can those suckers be passed to > > ...at() as starting points? > > No. Lovely. And what of fchdir() to those? Are they all non-directories? Because the starting point of ...at() can be simulated that way... > > Can they be

Re: [dyndbg] 4397a3e7bf: BUG:sleeping_function_called_from_invalid_context_at_mm/slab.h

2020-08-12 Thread jim . cromie
On Sat, Aug 8, 2020 at 10:36 PM kernel test robot wrote: > > > If you fix the issue, kindly add following tag > Reported-by: kernel test robot > > > [ 29.668135] BUG: sleeping function called from invalid context at > mm/slab.h:567 > [ 29.668942] in_atomic(): 1, irqs_disabled(): 0, non_block

Re: [PATCH net-next 2/2] enetc: use napi_schedule to be compatible with PREEMPT_RT

2020-08-12 Thread Sebastian Andrzej Siewior
On 2020-08-12 17:34:30 [+0300], Vladimir Oltean wrote: > I expect the driver maintainers to have something to say about this. I > didn't test on stable kernels, and at least for dpaa2-eth, the change > would need to go pretty deep down the stable line. Yes, each affected and maintained stable kern

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-12 Thread Miklos Szeredi
On Wed, Aug 12, 2020 at 5:08 PM Al Viro wrote: > > On Wed, Aug 12, 2020 at 04:46:20PM +0200, Miklos Szeredi wrote: > > > > "Can those suckers be passed to > > > ...at() as starting points? > > > > No. > > Lovely. And what of fchdir() to those? Not allowed. > Are they all non-directories? > Beca

Re: [PATCH V2] arm64: dts: qcom: sc7180: Add bandwidth votes for eMMC and SDcard

2020-08-12 Thread Matthias Kaehlcke
On Wed, Aug 12, 2020 at 04:26:08PM +0530, sbh...@codeaurora.org wrote: > On 2020-08-11 22:38, Matthias Kaehlcke wrote: > > On Tue, Jul 28, 2020 at 04:49:05PM +0530, sbh...@codeaurora.org wrote: > > > On 2020-07-28 00:40, Matthias Kaehlcke wrote: > > > > Hi, > > > > > > > > On Mon, Jul 27, 2020 at 1

Re: [Q] devicetree overlays

2020-08-12 Thread Frank Rowand
On 2020-08-12 08:27, Enrico Weigelt, metux IT consult wrote: > On 07.08.20 16:17, Sven Van Asbroeck wrote: > > Hi, > >> I believe you're asking: "how do I associate device tree nodes to >> devices on a dynamically discoverable bus such as USB or PCI" right ? >> >> I believe that already exists. Y

[PATCH 1/2] mtd: spi-nor: do not touch TB bit without SPI_NOR_HAS_TB

2020-08-12 Thread Ivan Mikhaylov
Some chips like macronix don't have TB(Top/Bottom protection) bit in the status register. Do not write tb_mask inside status register, unless SPI_NOR_HAS_TB is present for the chip. Signed-off-by: Ivan Mikhaylov --- drivers/mtd/spi-nor/core.c | 22 -- 1 file changed, 16 inser

[PATCH 2/2] mtd: spi-nor: enable lock interface for macronix chips

2020-08-12 Thread Ivan Mikhaylov
Add locks for whole macronix chip series with BP0-2 and BP0-3 bits. Tested with mx25l51245g(BP0-3). Signed-off-by: Ivan Mikhaylov --- drivers/mtd/spi-nor/macronix.c | 75 ++ 1 file changed, 50 insertions(+), 25 deletions(-) diff --git a/drivers/mtd/spi-nor/macro

Re: [PATCH 2/2] iommu/iova: Free global iova rcache on iova alloc failure

2020-08-12 Thread Joerg Roedel
On Mon, Aug 03, 2020 at 03:30:48PM +0530, Vijayanand Jitta wrote: > ping? Please repost when v5.9-rc1 is released and add Robin Murphy on your Cc list. Thanks, Joerg

[PATCH 0/2] enable lock interface for macronix chips

2020-08-12 Thread Ivan Mikhaylov
TB(Top/Bottome protection bit) is not present in the status register for macronix chips, do not touch TB bit in status register in this case. Enable lock interface for most of macronix chips which are suitable for it. Tested only mx25l51245g (BP0-3). Ivan Mikhaylov (2): mtd: spi-nor: do not tou

Re: [PATCH 1/2] exfat: add dir-entry set checksum validation

2020-08-12 Thread Tetsuhiro Kohada
Thnak you for your reply. -void exfat_update_dir_chksum_with_entry_set(struct exfat_entry_set_cache *es) +static int exfat_calc_dir_chksum_with_entry_set(struct +exfat_entry_set_cache *es, u16 *chksum) { - int chksum_type = CS_DIR_ENTRY, i; - unsigned short chksum = 0; stru

Re: [PATCH v2 3/4] i3c: master: svc: Add Silvaco I3C master driver

2020-08-12 Thread Miquel Raynal
Hi Conor, Rajeev, > +static int svc_i3c_master_handle_ibi(struct svc_i3c_master *master, > + struct i3c_dev_desc *dev) > +{ > + struct svc_i3c_i2c_dev_data *data = i3c_dev_get_master_data(dev); > + struct i3c_ibi_slot *slot; > + unsigned int count; > +

Re: [PATCH] drm/amdgpu: adjust the pid in the grab_id trace point

2020-08-12 Thread Steven Rostedt
On Wed, 12 Aug 2020 16:36:36 +0200 Christian König wrote: > Am 12.08.20 um 16:17 schrieb Steven Rostedt: > > On Fri, Aug 07, 2020 at 03:36:58PM +0200, Christian König wrote: > >> Trace something useful instead of the pid of a kernel thread here. > >> > >> Signed-off-by: Christian König > >> --

Re: [PATCH 0/3] mtd: lpddr: Fix bad logic bug in print_drs_error

2020-08-12 Thread Gustavo A. R. Silva
Hi Miquel, On 8/12/20 02:23, Miquel Raynal wrote: > Hi Joe, Gustavo, > > Joe Perches wrote on Tue, 11 Aug 2020 16:47:36 -0700: > >> On Mon, 2020-04-27 at 14:00 -0500, Gustavo A. R. Silva wrote: >>> Hi, >>> >>> This series aims to fix a bad logic bug in print_drs_error, which is >>> tagged for

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-12 Thread David Howells
Miklos Szeredi wrote: > Why does it have to have a struct mount? It does not have to use > dentry/mount based path lookup. file->f_path.mnt David

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