Re: [PATCH v3 03/16] arm64: Allow IPIs to be handled as normal interrupts

2020-10-19 Thread Valentin Schneider
Hi, On 19/10/20 16:43, Vincent Guittot wrote: > On Mon, 19 Oct 2020 at 15:04, Marc Zyngier wrote: >> Since you are running perf, can you spot where the overhead occurs? > > hmm... Difficult to say because tracing the bench decreases a lot the > result. I have pasted the perf reports. > > I hav

[PATCH 1/2] dmaengine: ppc4xx: make ppc440spe_adma_chan_list static

2020-10-19 Thread Krzysztof Kozlowski
The ppc440spe_adma_chan_list file-scope variable is not used outside of the unit so it can be made static. Reported-by: kernel test robot Signed-off-by: Krzysztof Kozlowski --- drivers/dma/ppc4xx/adma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/ppc4xx/adma.

[PATCH 2/2] dmaengine: ppc4xx: remove xor_hw_desc assignment without reading

2020-10-19 Thread Krzysztof Kozlowski
The xor_hw_desc local variable is assigned but never read: drivers/dma/ppc4xx/adma.c: In function ‘ppc440spe_desc_set_src_mult’: drivers/dma/ppc4xx/adma.c:562:17: warning: variable ‘xor_hw_desc’ set but not used [-Wunused-but-set-variable] Signed-off-by: Krzysztof Kozlowski --- drivers

Re: [PATCH 1/4] KVM: PPC: Book3S HV: Make struct kernel_param_ops definition const

2020-10-19 Thread Paolo Bonzini
On 04/10/20 02:18, Joe Perches wrote: > This should be const, so make it so. > > Signed-off-by: Joe Perches > --- > arch/powerpc/kvm/book3s_hv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/powerpc/kvm/book3s_hv.c b/arch/powerpc/kvm/book3s_hv.c > index 4ba06a2a3

Re: [RFC PATCH] topology: Represent clusters of CPUs within a die.

2020-10-19 Thread Jonathan Cameron
On Mon, 19 Oct 2020 16:51:06 +0100 Valentin Schneider wrote: > On 19/10/20 15:27, Jonathan Cameron wrote: > > On Mon, 19 Oct 2020 14:48:02 +0100 > > Valentin Schneider wrote: > >> > >> That's my queue to paste some of that stuff I've been rambling on and off > >> about! > >> > >> With regards

Re: [PATCH] media: staging: rkisp1: cap: refactor enable/disable stream to allow multistreaming

2020-10-19 Thread Helen Koike
Hello, On 10/16/20 3:11 PM, Helen Koike wrote: > > > On 10/16/20 11:28 AM, Dafna Hirschfeld wrote: >> Hi, >> >> Am 15.10.20 um 21:57 schrieb Helen Koike: >>> Allow streaming from self picture path and main picture path at the same >>> time. >>> >>> Take care for s_stream() callbacks to not be ca

[PATCH] mac80211: fix regression where EAPOL frames were sent in plaintext

2020-10-19 Thread Mathy Vanhoef
When sending EAPOL frames via NL80211 they are treated as injected frames in mac80211. Due to commit 1df2bdba528b ("mac80211: never drop injected frames even if normally not allowed") these injected frames were not assigned a sta context in the function ieee80211_tx_dequeue, causing certain wireles

Re: [PATCH v5 1/3] dt-bindings: Add vendor prefix for Novatek Microelectronics Corp.

2020-10-19 Thread Krzysztof Kozlowski
On Sat, Oct 17, 2020 at 09:01:50PM +0200, khol...@gmail.com wrote: > From: AngeloGioacchino Del Regno > > Add prefix for Novatek Microelectronics Corp. > > Signed-off-by: AngeloGioacchino Del Regno > --- > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 1 file changed, 2 inser

[PATCH v2] media: staging: rkisp1: cap: refactor enable/disable stream to allow multistreaming

2020-10-19 Thread Helen Koike
Allow streaming from self picture path and main picture path at the same time. Take care for s_stream() callbacks to not be called twice. When starting a stream, s_stream(true) shouldn't be called for the isp and the sensor if the other stream is already enabled (since it was already called). When

[PATCH 2/2] staging: wfx: fix test on return value of gpiod_get_value()

2020-10-19 Thread Jerome Pouiller
From: Jérôme Pouiller The commit 8522d62e6bca ("staging: wfx: gpiod_get_value() can return an error") has changed the way the driver test the value returned by gpiod_get_value(). The new code was wrong. Fixes: 8522d62e6bca ("staging: wfx: gpiod_get_value() can return an error") Signed-off-by: Jé

[PATCH 1/2] staging: wfx: fix use of uninitialized pointer

2020-10-19 Thread Jerome Pouiller
From: Jérôme Pouiller With -Wuninitialized, the compiler complains: drivers/staging/wfx/data_tx.c:34:19: warning: variable 'band' is uninitialized when used here [-Wuninitialized] if (rate->idx >= band->n_bitrates) { ^~~~ Reported-by: kernel test robot Reported-by

Re: [PATCH] [v6] wireless: Initial driver submission for pureLiFi STA devices

2020-10-19 Thread Krishna Chaitanya
On Mon, Oct 19, 2020 at 4:01 PM Srinivasan Raju wrote: > > This introduces the pureLiFi LiFi driver for LiFi-X, LiFi-XC > and LiFi-XL USB devices. > > This driver implementation has been based on the zd1211rw driver. > > Driver is based on 802.11 softMAC Architecture and uses > native 802.11 for c

Re: [PATCH v5 3/3] dt-bindings: touchscreen: Add binding for Novatek NT36xxx series driver

2020-10-19 Thread Krzysztof Kozlowski
On Sat, Oct 17, 2020 at 09:01:52PM +0200, khol...@gmail.com wrote: > From: AngeloGioacchino Del Regno > > Add binding for the Novatek NT36xxx series touchscreen driver. > > Signed-off-by: AngeloGioacchino Del Regno > --- > .../bindings/input/touchscreen/nt36xxx.yaml | 59 +++

Re: [PATCH] perf/x86/intel: Add event constraint for CYCLE_ACTIVITY.STALLS_MEM_ANY

2020-10-19 Thread Andi Kleen
On Mon, Oct 19, 2020 at 08:01:58AM -0700, kan.li...@linux.intel.com wrote: > Add a line for the CYCLE_ACTIVITY.STALLS_MEM_ANY event in the ICL > constraint table. > Correct the comments for the CYCLE_ACTIVITY.CYCLES_MEM_ANY event. Thanks Kan. > > Reported-by: Andi Kleen > Signed-off-by: Kan Lia

[PATCH 1/1] usb: serial: option: add Quectel EC200T module support

2020-10-19 Thread Ziyi Cao
Add usb product id of the Quectel EC200T module. Signed-off-by: Ziyi Cao --- drivers/usb/serial/option.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 2a3bfd6f8..7e879233b 100644 --- a/drivers/usb/serial/option.c +++ b/drive

Re: [PATCH 1/5] dt-bindings: gpio: Binding for MStar MSC313 GPIO controller

2020-10-19 Thread Krzysztof Kozlowski
On Fri, 16 Oct 2020 at 18:36, Linus Walleij wrote: > > On Sun, Oct 11, 2020 at 4:48 AM Daniel Palmer wrote: > > > Add a binding description for the MStar/SigmaStar GPIO controller > > found in the MSC313 and later ARMv7 SoCs. > > > > Signed-off-by: Daniel Palmer > > I think Krzysztof is working

Re: [PATCH] PCI: dwc: Added link up check in map_bus of dw_child_pcie_ops

2020-10-19 Thread Lorenzo Pieralisi
On Mon, Oct 12, 2020 at 04:41:11AM +, Z.q. Hou wrote: [...] > > >> Yeah, I don't see any registers in the DRA7x PCIe wrapper for > > >> disabling error forwarding. > > > > > > It's a DWC port logic register AFAICT, but perhaps not present in all > > versions. > > > > Okay. I see there's a re

Re: [PATCH v2] IPv6: sr: Fix End.X nexthop to use oif.

2020-10-19 Thread Jakub Kicinski
On Mon, 19 Oct 2020 09:25:12 +0530 Reji Thomas wrote: > > > @@ -566,7 +583,8 @@ static struct seg6_action_desc seg6_action_table[] = { > > > }, > > > { > > > .action = SEG6_LOCAL_ACTION_END_X, > > > - .attrs = (1 << SEG6_LOCAL_NH6), > > > +

Re: [PATCH net-next v6 07/10] bridge: cfm: Netlink SET configuration Interface.

2020-10-19 Thread Jakub Kicinski
On Mon, 19 Oct 2020 08:51:04 + Henrik Bjoernlund wrote: > Thank you for the review. Comments below. > > The 10/15/2020 10:34, Jakub Kicinski wrote: > > > > On Thu, 15 Oct 2020 11:54:15 + Henrik Bjoernlund wrote: > > > + [IFLA_BRIDGE_CFM_MEP_CONFIG_MDLEVEL] = { > > > + .type

Re: [PATCH 11/20] dt-bindings: usb: dwc3: Add synopsys,dwc3 compatible string

2020-10-19 Thread Serge Semin
On Fri, Oct 16, 2020 at 01:53:40PM -0500, Rob Herring wrote: > On Thu, Oct 15, 2020 at 12:35:54AM +0300, Serge Semin wrote: > > On Wed, Oct 14, 2020 at 10:18:18PM +0200, Krzysztof Kozlowski wrote: > > > On Wed, Oct 14, 2020 at 01:13:53PM +0300, Serge Semin wrote: > > > > The DWC USB3 driver and som

Re: [PATCH] wireless: remove unneeded break

2020-10-19 Thread Joe Perches
On Mon, 2020-10-19 at 10:54 -0500, Gustavo A. R. Silva wrote: > On 10/19/20 10:21, Joe Perches wrote: > > On Mon, 2020-10-19 at 17:14 +0200, Christian Lamparter wrote: > > > On 19/10/2020 17:05, t...@redhat.com wrote: > > > > From: Tom Rix > > > > > > > > A break is not needed if it is preceded b

Re: [perf metricgroup] fcc9c5243c: perf-sanity-tests.Parse_and_process_metrics.fail

2020-10-19 Thread Ian Rogers
On Mon, Oct 19, 2020 at 2:51 AM John Garry wrote: > > On 19/10/2020 00:30, Ian Rogers wrote: > > On Sun, Oct 18, 2020 at 1:51 AM kernel test robot > > wrote: > >> > >> Greeting, > >> > >> FYI, we noticed the following commit (built with gcc-9): > >> > >> commit: fcc9c5243c478f104014daf4d23db8609

Re: [PATCH] PCI: dwc: Added link up check in map_bus of dw_child_pcie_ops

2020-10-19 Thread Lorenzo Pieralisi
On Thu, Oct 15, 2020 at 05:47:38PM -0500, Bjorn Helgaas wrote: > On Wed, Sep 16, 2020 at 01:41:30PM +0800, Zhiqiang Hou wrote: > > From: Hou Zhiqiang > > > > On NXP Layerscape platforms, it results in SError in the > > enumeration of the PCIe controller, which is not connecting > > with an Endpoi

Re: [PATCH 2/2] media: dt-bindings: media: i2c: Add IMX300 CMOS sensor binding

2020-10-19 Thread Krzysztof Kozlowski
On Sun, 18 Oct 2020 at 14:36, wrote: > > From: AngeloGioacchino Del Regno > > Add YAML device tree binding for IMX300 CMOS image sensor, and > the relevant MAINTAINERS entries. > > Signed-off-by: AngeloGioacchino Del Regno > --- > .../devicetree/bindings/media/i2c/imx300.yaml | 115

Re: [MPTCP][PATCH net-next 0/2] init ahmac and port of mptcp_options_received

2020-10-19 Thread Matthieu Baerts
Hi Geliang, On 19/10/2020 12:23, Geliang Tang wrote: This patchset deals with initializations of mptcp_options_received's two fields, ahmac and port. Geliang Tang (2): mptcp: initialize mptcp_options_received's ahmac mptcp: move mptcp_options_received's port initialization Thank you for

Re: [patch V2 08/13] usb: hosts: Remove in_interrupt() from comments

2020-10-19 Thread Alan Stern
On Mon, Oct 19, 2020 at 12:06:37PM +0200, Thomas Gleixner wrote: > From: Ahmed S. Darwish > > The usage of in_interrupt() in drivers is phased out for various reasons. > > Various comments use !in_interrupt() to describe calling context for probe() > and remove() functions. That's wrong because

Re: [patch V2 12/13] usb: core: Replace in_interrupt() in comments

2020-10-19 Thread Alan Stern
On Mon, Oct 19, 2020 at 12:06:41PM +0200, Thomas Gleixner wrote: > From: Ahmed S. Darwish > > The usage of in_interrupt() in drivers is phased out for various reasons. > > Various comments use !in_interrupt() to describe calling context for > functions which might sleep. That's wrong because the

Re: [patch V2 11/13] usb: gadget: udc: Remove in_interrupt()/in_irq() from comments

2020-10-19 Thread Alan Stern
On Mon, Oct 19, 2020 at 12:06:40PM +0200, Thomas Gleixner wrote: > From: Ahmed S. Darwish > > The usage of in_irq()/in_interrupt() in drivers is phased out for various > reasons. > > The context description for usb_gadget_giveback_request() is misleading as > in_interupt() means: hard interrupt

Re: [patch V2 09/13] USB: host: ehci-pmcmsp: Cleanup usb_hcd_msp_remove()

2020-10-19 Thread Alan Stern
On Mon, Oct 19, 2020 at 12:06:38PM +0200, Thomas Gleixner wrote: > usb_hcd_msp_remove() has a pdev argument which isn't used and the function > is used only within this file. > > Remove pdev and make usb_hcd_msp_remove() static. > > Signed-off-by: Thomas Gleixner > --- > V2: Split out from comme

[PATCH] tv: remove unneeded break

2020-10-19 Thread trix
From: Tom Rix A break is not needed if it is preceded by a return Signed-off-by: Tom Rix --- drivers/media/dvb-frontends/drx39xyj/drxj.c | 7 --- drivers/media/dvb-frontends/drxd_hard.c | 1 - drivers/media/dvb-frontends/nxt200x.c | 16 drivers/media/dvb-fronte

[PATCH] drm: remove unneeded break

2020-10-19 Thread trix
From: Tom Rix A break is not needed if it is preceded by a return or break Signed-off-by: Tom Rix --- drivers/gpu/drm/mgag200/mgag200_mode.c | 5 - drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c | 1 - drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c | 3 --- drivers/gpu/drm/no

Re: [PATCH 2/2] KVM: VMX: Ignore userspace MSR filters for x2APIC when APICV is enabled

2020-10-19 Thread Paolo Bonzini
On 07/10/20 18:44, Peter Xu wrote: > If we want to forbid apicv msrs, should we even fail KVM_X86_SET_MSR_FILTER > directly then? Yes, probably it should. I'll send a patch shortly. Paolo

Re: [PATCH 1/2] x86: Remove led/gpio setup from pcengines platform driver

2020-10-19 Thread Enrico Weigelt, metux IT consult
On 13.10.20 23:40, Ed W wrote: > But why are users "in the field" "field" here means litterlly field. Far away from any human being. > updating a kernel willy nilly without also updating the userland > software that talks to it? Of course, we're always testing. Obviously, in the lab, not in t

Re: [PATCH] ext2: Remove unnecessary blank

2020-10-19 Thread Jan Kara
On Sat 10-10-20 17:43:35, Xianting Tian wrote: > Remove unnecessary blank when calling kmalloc_array(). > > Signed-off-by: Xianting Tian Thanks. I've added the patch to my tree. Honza > --- > fs/ext2/super.c | 2 +- > 1 file chan

Re: AMD SME encrpytion and PCI BAR pages to user space

2020-10-19 Thread Tom Lendacky
On 10/19/20 10:25 AM, Jason Gunthorpe wrote: > Hi Tom, Hi Jason, > > We've found a bug where systems that have the AMD SME turned on are > not able to run RDMA work loads. It seems the kernel is automatically > encrypting VMA's pointing at PCI BAR memory created by > io_remap_pfn_range() - addin

Re: [PATCH] wireless: remove unneeded break

2020-10-19 Thread Tom Rix
On 10/19/20 9:20 AM, Joe Perches wrote: > On Mon, 2020-10-19 at 10:54 -0500, Gustavo A. R. Silva wrote: >> On 10/19/20 10:21, Joe Perches wrote: >>> On Mon, 2020-10-19 at 17:14 +0200, Christian Lamparter wrote: On 19/10/2020 17:05, t...@redhat.com wrote: > From: Tom Rix > > A br

Re: [PATCH] wireless: remove unneeded break

2020-10-19 Thread Gustavo A. R. Silva
On 10/19/20 10:21, Joe Perches wrote: > On Mon, 2020-10-19 at 17:14 +0200, Christian Lamparter wrote: >> On 19/10/2020 17:05, t...@redhat.com wrote: >>> From: Tom Rix >>> >>> A break is not needed if it is preceded by a return or goto >>> >>> Signed-off-by: Tom Rix >>> diff --git a/drivers/net

Re: [PATCH] [v6] wireless: Initial driver submission for pureLiFi STA devices

2020-10-19 Thread Srinivasan Raju
> Overall, there are many magic numbers without comments, this makes it hard to > understand the code. Using defines with proper naming helps and for 802.11 > stuff > can use ieee80211_*/IEEE80211_* should be used. Thanks for your comments Krishna, will work on them. Regards, Srini

[PATCH] block/elevator: reduce the critical section

2020-10-19 Thread Hui Su
1.reduce the critical section in elevator_get(). 2.reduce the critical section in elevator_get_by_features(). 3.remove the found variable. the elv_list_lock is used to protect the elv_list, and the operations of elevator_type does not need to be protected. Signed-off-by: Hui Su --- block/elevat

Re: [PATCH] perf/x86/intel: Add event constraint for CYCLE_ACTIVITY.STALLS_MEM_ANY

2020-10-19 Thread Liang, Kan
On 10/19/2020 12:09 PM, Andi Kleen wrote: Reported-by: Andi Kleen Signed-off-by: Kan Liang I guess this should have a Fixes: tag and also be proposed for stable. I will send V2 shortly to update the tag and Cc. Thanks, Kan

[PATCH] sound: remove unneeded break

2020-10-19 Thread trix
From: Tom Rix A break is not needed if it is preceded by a return, goto or break Signed-off-by: Tom Rix --- sound/pci/rme32.c | 1 - sound/pci/rme9652/hdspm.c | 8 sound/pci/rme9652/rme9652.c | 7 --- sound/soc/codecs/wcd-clsh-v2.c| 1 - sound/soc

Re: [PATCH v3 00/14] IOASID extensions for guest SVA

2020-10-19 Thread Jacob Pan
Hi, Any comments on this? I know we have some opens w.r.t. PASID management UAPI, but I think having this common kernel API features should be justified. Thanks! Jacob On Mon, 28 Sep 2020 14:38:27 -0700, Jacob Pan wrote: > IOASID was introduced in v5.5 as a generic kernel allocator service f

[RESEND PATCH v11 2/3] arch: Wire up trusted_for(2)

2020-10-19 Thread Mickaël Salaün
From: Mickaël Salaün Wire up trusted_for(2) for all architectures. Signed-off-by: Mickaël Salaün Reviewed-by: Thibaut Sautereau Cc: Al Viro Cc: Andrew Morton Cc: Arnd Bergmann Cc: Kees Cook Cc: Vincent Strubel --- Changes since v9: * Rename introspect_access(2) to trusted_for(2). * Incre

[RESEND PATCH v11 0/3] Add trusted_for(2) (was O_MAYEXEC)

2020-10-19 Thread Mickaël Salaün
Hi, Can you please consider to merge this into the tree? Overview The final goal of this patch series is to enable the kernel to be a global policy manager by entrusting processes with access control at their level. To reach this goal, two complementary parts are required: * user spac

[RESEND PATCH v11 1/3] fs: Add trusted_for(2) syscall implementation and related sysctl

2020-10-19 Thread Mickaël Salaün
From: Mickaël Salaün The trusted_for() syscall enables user space tasks to check that files are trusted to be executed or interpreted by user space. This may allow script interpreters to check execution permission before reading commands from a file, or dynamic linkers to allow shared object loa

[PATCH V2] perf/x86/intel: Add event constraint for CYCLE_ACTIVITY.STALLS_MEM_ANY

2020-10-19 Thread kan . liang
From: Kan Liang The event CYCLE_ACTIVITY.STALLS_MEM_ANY (0x14a3) should be available on all 8 GP counters on ICL, but it's only scheduled on the first four counters due to the current ICL constraint table. Add a line for the CYCLE_ACTIVITY.STALLS_MEM_ANY event in the ICL constraint table. Correc

[RESEND PATCH v11 3/3] selftest/interpreter: Add tests for trusted_for(2) policies

2020-10-19 Thread Mickaël Salaün
From: Mickaël Salaün Test that checks performed by trusted_for(2) on file descriptors are consistent with noexec mount points and file execute permissions, according to the policy configured with the fs.trust_policy sysctl. Signed-off-by: Mickaël Salaün Reviewed-by: Thibaut Sautereau Cc: Al Vi

Re: [PATCH] block/elevator: reduce the critical section

2020-10-19 Thread Jens Axboe
On 10/19/20 10:42 AM, Hui Su wrote: > 1.reduce the critical section in elevator_get(). > 2.reduce the critical section in elevator_get_by_features(). > 3.remove the found variable. > > the elv_list_lock is used to protect the elv_list, > and the operations of elevator_type does not need > to be pr

[PATCH V2 2/3] arm64: dts: imx8mm: Add node for SPDIF

2020-10-19 Thread Adam Ford
The i.MX8M Mini can support SPDIF which is compatible to the IP used on the i.MX35. Add the node. Signed-off-by: Adam Ford --- V2: Fix some typos diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index fad1f9cdb241..7cc2899db12e 100644 --- a/ar

[PATCH V2 1/3] arm64: dts: imx8mm: Add support for micfil

2020-10-19 Thread Adam Ford
The i.MX8M Mini has supports the MICFIL digital interface. It's a 16-bit audio signal from a PDM microphone bitstream. The driver is already in the kernel, but the node is missing. This patch adds the micfil node. Signed-off-by: Adam Ford --- V2: No change diff --git a/arch/arm64/boot/dts/free

[PATCH V2 3/3] arm64: defconfig: Enable additional sound drivers on i.MX8M Mini

2020-10-19 Thread Adam Ford
The i.MX8M Mini has micfil and SPDIF support but the drivers are not being loaded. This patch updates the defconfig to add support for these drivers. Signed-off-by: Adam Ford --- V2: No Change diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index e0f33826819f..20362359

[PATCH] vme: remove unneeded break

2020-10-19 Thread trix
From: Tom Rix A break is not needed if it is preceded by a return or goto Signed-off-by: Tom Rix --- drivers/vme/bridges/vme_tsi148.c | 7 --- drivers/vme/vme.c| 9 - 2 files changed, 16 deletions(-) diff --git a/drivers/vme/bridges/vme_tsi148.c b/drivers/vme/bridg

Re: [GIT PULL] RCU changes for v5.10

2020-10-19 Thread Linus Torvalds
On Sun, Oct 18, 2020 at 8:24 PM Paul E. McKenney wrote: > > On CONFIG_PREEMPT_COUNT, got it. It would be OK for RCU to use > preempt_count() for some debugging or specialty kernel, but not across > the board. Right - that was what I thought you were asking originally. I don't think a driver or

Re: [PATCH v3 2/2] i2c: i2c-mux-gpio: Enable this driver in ACPI land

2020-10-19 Thread Evan Green
On Sun, Oct 18, 2020 at 11:58 AM Andy Shevchenko wrote: > > On Sat, Oct 17, 2020 at 8:30 AM Evan Green wrote: > > > > Enable i2c-mux-gpio devices to be defined via ACPI. The idle-state > > property translates directly to a fwnode_property_*() call. The child > > reg property translates naturally

Re: [PATCH] [v6] wireless: Initial driver submission for pureLiFi STA devices

2020-10-19 Thread Joe Perches
On Mon, 2020-10-19 at 16:40 +, Srinivasan Raju wrote: > > Overall, there are many magic numbers without comments, this makes it hard > > to > > understand the code. Using defines with proper naming helps and for 802.11 > > stuff > > can use ieee80211_*/IEEE80211_* should be used. > > Thanks

[RESEND PATCH] PCI: qcom: use PHY_REFCLK_USE_PAD only for ipq8064

2020-10-19 Thread Ansuel Smith
The use of PHY_REFCLK_USE_PAD introduced a regression for apq8064 devices. It was tested that while apq doesn't require the padding, ipq SoC must use it or the kernel hangs on boot. Fixes: de3c4bf6489 ("PCI: qcom: Add support for tx term offset for rev 2.1.0") Reported-by: Ilia Mirkin Signed-off-

Re: [PATCH 2/3] arm64: dts: imx8mm: Add node for SPDIF

2020-10-19 Thread Fabio Estevam
Hi Krzysztof, On Mon, Oct 12, 2020 at 2:00 PM Krzysztof Kozlowski wrote: > > + spdif1: spdif@3009 { > > + compatible = "fsl,imx8mm-spdif", > > "fsl,imx35-spdif"; > > This does not pass the dtschema validation, so only "fsl,imx35-spdif". Shoul

Re: [PATCH V2 1/7] remoteproc: elf: support platform specific memory hook

2020-10-19 Thread Mathieu Poirier
Hi Peng, On Sun, Sep 27, 2020 at 02:41:25PM +0800, Peng Fan wrote: > To arm64, "dc zva, dst" is used in memset. > Per ARM DDI 0487A.j, chapter C5.3.8 DC ZVA, Data Cache Zero by VA, > > "If the memory region being zeroed is any type of Device memory, > this instruction can give an alignment f

Re: [PATCH v3] mm: memcg/slab: Stop reparented obj_cgroups from charging root

2020-10-19 Thread Shakeel Butt
On Mon, Oct 19, 2020 at 2:59 AM Richard Palethorpe wrote: > > SLAB objects which outlive their descendant memcg are moved to their > parent memcg where they may be uncharged. However if they are moved to > the root memcg and use_hierarchy=0, uncharging will result in negative > page counter values

Re: [PATCH] wireless: remove unneeded break

2020-10-19 Thread Gustavo A. R. Silva
On 10/19/20 11:20, Joe Perches wrote: > On Mon, 2020-10-19 at 10:54 -0500, Gustavo A. R. Silva wrote: >> On 10/19/20 10:21, Joe Perches wrote: >>> On Mon, 2020-10-19 at 17:14 +0200, Christian Lamparter wrote: On 19/10/2020 17:05, t...@redhat.com wrote: > From: Tom Rix > > A bre

Re: [RESEND PATCH v11 2/3] arch: Wire up trusted_for(2)

2020-10-19 Thread Geert Uytterhoeven
On Mon, Oct 19, 2020 at 6:50 PM Mickaël Salaün wrote: > From: Mickaël Salaün > > Wire up trusted_for(2) for all architectures. > > Signed-off-by: Mickaël Salaün > Reviewed-by: Thibaut Sautereau > arch/m68k/kernel/syscalls/syscall.tbl | 1 + Acked-by: Geert Uytterhoeven (haven't seen a

Re: AMD SME encrpytion and PCI BAR pages to user space

2020-10-19 Thread Jason Gunthorpe
On Mon, Oct 19, 2020 at 11:36:16AM -0500, Tom Lendacky wrote: > > Is RDMA missing something? I don't see anything special in VFIO for > > instance and the two are very similar - does VFIO work with SME, eg > > DPDK or something unrelated to virtualization? > > If user space is mapping un-encrypte

Re: [PATCH 3/5] x86/boot/compressed/64: Check SEV encryption in 64-bit boot-path

2020-10-19 Thread Arvind Sankar
On Mon, Oct 19, 2020 at 05:11:19PM +0200, Joerg Roedel wrote: > From: Joerg Roedel > > Check whether the hypervisor reported the correct C-bit when running as > an SEV guest. Using a wrong C-bit position could be used to leak > sensitive data from the guest to the hypervisor. > > The check funct

Re: [PATCH v2 04/20] kvm: x86/mmu: Allocate and free TDP MMU roots

2020-10-19 Thread Ben Gardon
On Fri, Oct 16, 2020 at 7:56 AM Paolo Bonzini wrote: > > On 14/10/20 20:26, Ben Gardon wrote: > > + > > +static void put_tdp_mmu_root(struct kvm *kvm, struct kvm_mmu_page *root) > > +{ > > + if (kvm_mmu_put_root(root)) > > + kvm_tdp_mmu_free_root(kvm, root); > > +} > > Unused... W

[tip: perf/urgent] reiserfs: Fix oops during mount

2020-10-19 Thread tip-bot2 for Jan Kara
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 061fe185e17a1519a75eee89462f35a5360ece8b Gitweb: https://git.kernel.org/tip/061fe185e17a1519a75eee89462f35a5360ece8b Author:Jan Kara AuthorDate:Wed, 30 Sep 2020 17:08:20 +02:00 Committer:

[tip: perf/urgent] Revert "drm/amdgpu: Fix NULL dereference in dpm sysfs handlers"

2020-10-19 Thread tip-bot2 for Alex Deucher
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: ffdf9f8550ee675d4270bbaa5721a6f3116d137e Gitweb: https://git.kernel.org/tip/ffdf9f8550ee675d4270bbaa5721a6f3116d137e Author:Alex Deucher AuthorDate:Thu, 30 Jul 2020 11:02:30 -04:00 Committe

[tip: perf/urgent] reiserfs: Initialize inode keys properly

2020-10-19 Thread tip-bot2 for Jan Kara
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: d3bb68fa8d43bcd889ce86249f73a70e3ba221aa Gitweb: https://git.kernel.org/tip/d3bb68fa8d43bcd889ce86249f73a70e3ba221aa Author:Jan Kara AuthorDate:Mon, 21 Sep 2020 15:08:50 +02:00 Committer:

[tip: perf/urgent] Linux 5.9.1

2020-10-19 Thread tip-bot2 for Greg Kroah-Hartman
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 213f323329f1567e09f85ddb54cfb80769340b50 Gitweb: https://git.kernel.org/tip/213f323329f1567e09f85ddb54cfb80769340b50 Author:Greg Kroah-Hartman AuthorDate:Sat, 17 Oct 2020 08:31:22 +02:00 Co

[tip: perf/urgent] perf: correct SNOOPX field offset

2020-10-19 Thread tip-bot2 for Al Grant
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 04de3266214453deb5f1d7849a66313e351af8cc Gitweb: https://git.kernel.org/tip/04de3266214453deb5f1d7849a66313e351af8cc Author:Al Grant AuthorDate:Mon, 21 Sep 2020 21:46:37 +01:00 Committer:

[tip: perf/urgent] staging: comedi: check validity of wMaxPacketSize of usb endpoints found

2020-10-19 Thread tip-bot2 for Anant Thazhemadam
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 38df15cb4ce149ce3648d2a9ccc0140afa71fc02 Gitweb: https://git.kernel.org/tip/38df15cb4ce149ce3648d2a9ccc0140afa71fc02 Author:Anant Thazhemadam AuthorDate:Sat, 10 Oct 2020 13:59:32 +05:30 Com

[tip: perf/urgent] crypto: qat - check cipher length for aead AES-CBC-HMAC-SHA

2020-10-19 Thread tip-bot2 for Dominik Przychodni
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 876ca389c95c69b0328ee887ab89207b7e4a66a3 Gitweb: https://git.kernel.org/tip/876ca389c95c69b0328ee887ab89207b7e4a66a3 Author:Dominik Przychodni AuthorDate:Mon, 31 Aug 2020 11:59:59 +01:00 Co

[PATCH v5 1/4] dt-bindings: media: imx258: add bindings for IMX258 sensor

2020-10-19 Thread Krzysztof Kozlowski
Add bindings for the IMX258 camera sensor. The bindings, just like the driver, are quite limited, e.g. do not support regulator supplies. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Changes since v4: 1. Add clock-lanes, 2. Add Rob's review, 3. Add one more example and exte

[tip: perf/urgent] Bluetooth: A2MP: Fix not initializing all members

2020-10-19 Thread tip-bot2 for Luiz Augusto von Dentz
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 122414e2d2cba74dc154263cabca9560ff8011ac Gitweb: https://git.kernel.org/tip/122414e2d2cba74dc154263cabca9560ff8011ac Author:Luiz Augusto von Dentz AuthorDate:Thu, 06 Aug 2020 11:17:11 -07:0

[tip: perf/urgent] USB: serial: pl2303: add device-id for HP GC device

2020-10-19 Thread tip-bot2 for Scott Chen
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 9f1e27c040b3956a975f993d4b74006b5a04e969 Gitweb: https://git.kernel.org/tip/9f1e27c040b3956a975f993d4b74006b5a04e969 Author:Scott Chen AuthorDate:Thu, 24 Sep 2020 14:27:45 +08:00 Committer:

[tip: perf/urgent] USB: serial: option: add Cellient MPL200 card

2020-10-19 Thread tip-bot2 for Wilken Gottwalt
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: a016619f0587848b1bd7178e935956d95b41e07e Gitweb: https://git.kernel.org/tip/a016619f0587848b1bd7178e935956d95b41e07e Author:Wilken Gottwalt AuthorDate:Sat, 03 Oct 2020 11:40:29 +02:00 Commi

[tip: perf/urgent] crypto: bcm - Verify GCM/CCM key length in setkey

2020-10-19 Thread tip-bot2 for Herbert Xu
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: a745dda98d8a4e9946f2aca751a5b0a3cc71f474 Gitweb: https://git.kernel.org/tip/a745dda98d8a4e9946f2aca751a5b0a3cc71f474 Author:Herbert Xu AuthorDate:Fri, 02 Oct 2020 17:55:22 +10:00 Committer:

[tip: perf/urgent] USB: serial: ftdi_sio: add support for FreeCalypso JTAG+UART adapters

2020-10-19 Thread tip-bot2 for Mychaela N. Falconia
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: a71ec88ae6a61ac69854b4ef60c0c7920b225e31 Gitweb: https://git.kernel.org/tip/a71ec88ae6a61ac69854b4ef60c0c7920b225e31 Author:Mychaela N. Falconia AuthorDate:Wed, 16 Sep 2020 01:56:29 Commit

[tip: perf/urgent] Bluetooth: MGMT: Fix not checking if BT_HS is enabled

2020-10-19 Thread tip-bot2 for Luiz Augusto von Dentz
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: a0a91211dd0ac6f24393a2917a258de5aeedb842 Gitweb: https://git.kernel.org/tip/a0a91211dd0ac6f24393a2917a258de5aeedb842 Author:Luiz Augusto von Dentz AuthorDate:Thu, 06 Aug 2020 11:17:14 -07:0

[tip: perf/urgent] media: usbtv: Fix refcounting mixup

2020-10-19 Thread tip-bot2 for Oliver Neukum
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 1eaed405fcd22e52a438b619e6ea85539f1c150a Gitweb: https://git.kernel.org/tip/1eaed405fcd22e52a438b619e6ea85539f1c150a Author:Oliver Neukum AuthorDate:Thu, 24 Sep 2020 11:14:10 +02:00 Committ

[tip: perf/urgent] vt_ioctl: make VT_RESIZEX behave like VT_RESIZE

2020-10-19 Thread tip-bot2 for Tetsuo Handa
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 6d389a66ccfc743699aa0274801654b6c7f9753b Gitweb: https://git.kernel.org/tip/6d389a66ccfc743699aa0274801654b6c7f9753b Author:Tetsuo Handa AuthorDate:Sun, 27 Sep 2020 20:46:30 +09:00 Committe

[tip: perf/urgent] USB: serial: option: Add Telit FT980-KS composition

2020-10-19 Thread tip-bot2 for Leonid Bloch
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: da6f40842515774026d5bfad297491eb513c40cc Gitweb: https://git.kernel.org/tip/da6f40842515774026d5bfad297491eb513c40cc Author:Leonid Bloch AuthorDate:Sun, 04 Oct 2020 18:58:13 +03:00 Committe

[tip: perf/urgent] Bluetooth: L2CAP: Fix calling sk_filter on non-socket based channel

2020-10-19 Thread tip-bot2 for Luiz Augusto von Dentz
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 3dede8ebf46338473143a1e792cc2cacc244f1f2 Gitweb: https://git.kernel.org/tip/3dede8ebf46338473143a1e792cc2cacc244f1f2 Author:Luiz Augusto von Dentz AuthorDate:Thu, 06 Aug 2020 11:17:12 -07:0

Re: [PATCH] [v6] wireless: Initial driver submission for pureLiFi STA devices

2020-10-19 Thread Srinivasan Raju
> When you do, please start adding > changelog information below the > --- > line to your patches. > > It's quite a chore to figure out > what changed between revisions. Ok, will add version logs to future revisions. Thanks Srini

[PATCH] KVM: VMX: Forbid userspace MSR filters for x2APIC

2020-10-19 Thread Paolo Bonzini
Allowing userspace to intercept reads to x2APIC MSRs when APICV is fully enabled for the guest simply can't work. But more in general, if the LAPIC is in-kernel, allowing accessed by userspace would be very confusing. If userspace wants to intercept x2APIC MSRs, then it should first disable in-k

Re: [PATCH 07/13] x86: Secure Launch kernel early boot stub

2020-10-19 Thread Arvind Sankar
On Mon, Oct 19, 2020 at 10:38:08AM -0400, Ross Philipson wrote: > On 10/16/20 4:51 PM, Arvind Sankar wrote: > > On Thu, Oct 15, 2020 at 08:26:54PM +0200, Daniel Kiper wrote: > >> > >> I am discussing with Ross the other option. We can create > >> .rodata.mle_header section and put it at fixed offse

Re: [PATCH 2/3] arm64: dts: imx8mm: Add node for SPDIF

2020-10-19 Thread Krzysztof Kozlowski
On Mon, 19 Oct 2020 at 18:56, Fabio Estevam wrote: > > Hi Krzysztof, > > On Mon, Oct 12, 2020 at 2:00 PM Krzysztof Kozlowski wrote: > > > > + spdif1: spdif@3009 { > > > + compatible = "fsl,imx8mm-spdif", > > > "fsl,imx35-spdif"; > > > > This do

Re: [PATCH] drm: remove unneeded break

2020-10-19 Thread Sam Ravnborg
Hi Tom On Mon, Oct 19, 2020 at 09:31:15AM -0700, t...@redhat.com wrote: > From: Tom Rix > > A break is not needed if it is preceded by a return or break > > Signed-off-by: Tom Rix Looks good and builds with no warnings. One of the diffs made me - "oh this looks wrong". But after I looked agai

Re: [PATCH v2 15/20] kvm: x86/mmu: Support dirty logging for the TDP MMU

2020-10-19 Thread Ben Gardon
On Fri, Oct 16, 2020 at 9:18 AM Paolo Bonzini wrote: > > On 14/10/20 20:26, Ben Gardon wrote: > > > > + if (kvm->arch.tdp_mmu_enabled) > > + kvm_tdp_mmu_clear_dirty_pt_masked(kvm, slot, > > + slot->base_gfn + gfn_offset, mask, true); > > This was "false"

[PATCH] usb: cdc-acm: fix cooldown mechanism

2020-10-19 Thread Jerome Brunet
Commit a4e7279cd1d1 ("cdc-acm: introduce a cool down") is causing regression if there is some USB error, such as -EPROTO. This has been reported on some samples of the Odroid-N2 using the Combee II Zibgee USB dongle. > struct acm *acm = container_of(work, struct acm, work) is incorrect in case o

Re: [perf metricgroup] fcc9c5243c: perf-sanity-tests.Parse_and_process_metrics.fail

2020-10-19 Thread John Garry
On 19/10/2020 17:20, Ian Rogers wrote: n So this named patch ("perf metricgroup: Hack a fix for aliases...") is breaking test #67 on my machine also, which is a broadwell. Thanks for taking a look John. If you want help you can send the output of "perf test 67 -vvv" to me. It is possible Broadw

Re: AMD SME encrpytion and PCI BAR pages to user space

2020-10-19 Thread Tom Lendacky
On 10/19/20 12:00 PM, Jason Gunthorpe wrote: > On Mon, Oct 19, 2020 at 11:36:16AM -0500, Tom Lendacky wrote: > >>> Is RDMA missing something? I don't see anything special in VFIO for >>> instance and the two are very similar - does VFIO work with SME, eg >>> DPDK or something unrelated to virtuali

Re: [PATCH v3 1/4] x86/boot/64: Explicitly map boot_params and command line

2020-10-19 Thread Arvind Sankar
On Mon, Oct 19, 2020 at 04:51:15PM +0200, Borislav Petkov wrote: > On Fri, Oct 16, 2020 at 04:04:01PM -0400, Arvind Sankar wrote: > > Commits > > > > ca0e22d4f011 ("x86/boot/compressed/64: Always switch to own page table") > > 8570978ea030 ("x86/boot/compressed/64: Don't pre-map memory in KASL

Re: [PATCH v16 2/4] overlayfs: handle XATTR_NOSECURITY flag for get xattr method

2020-10-19 Thread kernel test robot
when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Mark-Salyzyn/overlayfs-override_creds-off-nested-get-xattr-fix/20201019-195516 base: https://git.kernel.org/pub/scm/linux/

Re: [PATCH] drivers/virt: vmgenid: add vm generation id driver

2020-10-19 Thread Mathieu Desnoyers
- On Oct 17, 2020, at 2:10 PM, Andy Lutomirski l...@kernel.org wrote: > On Fri, Oct 16, 2020 at 6:40 PM Jann Horn wrote: >> >> [adding some more people who are interested in RNG stuff: Andy, Jason, >> Theodore, Willy Tarreau, Eric Biggers. also linux-api@, because this >> concerns some pretty

Re: [PATCH] x86/msr: do not warn on writes to OC_MAILBOX

2020-10-19 Thread Borislav Petkov
On Tue, Sep 08, 2020 at 06:02:05PM -0700, Srinivas Pandruvada wrote: > The actual OC mailbox implementation itself is implemented in Linux in > intel_turbo_max_3 driver. So that is public. > So someone can develop a driver and provide some sysfs to send mailbox > commands, but kernel can't validate

[PATCH v1 0/2] doc/admin-guide: update perf-security.rst with CAP_PERFMON usage flows

2020-10-19 Thread Alexey Budankov
Assignment of CAP_PERFMON [1] Linux capability to an executable located on a file system requires extended attributes (xattrs) [2] to be supported by the file system. Even if the file system supports xattrs an fs device should be mounted with permission to use xattrs for files located on the devi

[PATCH v1 1/2] doc/admin-guide: note credentials consolidation under CAP_PERFMON

2020-10-19 Thread Alexey Budankov
Add note that starting from Linux v5.9 CAP_PERFMON Linux capability is enough to conduct performance monitoring and observability using perf_events API. Signed-off-by: Alexey Budankov --- Documentation/admin-guide/perf-security.rst | 13 - 1 file changed, 8 insertions(+), 5 deletio

[PATCH net] net: Have netpoll bring-up DSA management interface

2020-10-19 Thread Florian Fainelli
DSA network devices rely on having their DSA management interface up and running otherwise their ndo_open() will return -ENETDOWN. Without doing this it would not be possible to use DSA devices as netconsole when configured on the command line. These devices also do not utilize the upper/lower link

[PATCH v1 2/2] doc/admin-guide: document creation of CAP_PERFMON privileged shell

2020-10-19 Thread Alexey Budankov
Document steps to create CAP_PERFMON privileged shell to unblock Perf tool usage in cases when capabilities can't be assigned to an executable due to limitations of used file system. Suggested-by: Andi Kleen Signed-off-by: Alexey Budankov --- Documentation/admin-guide/perf-security.rst | 68 +

Re: [PATCH 07/13] x86: Secure Launch kernel early boot stub

2020-10-19 Thread Arvind Sankar
On Mon, Oct 19, 2020 at 04:51:53PM +0200, Daniel Kiper wrote: > On Fri, Oct 16, 2020 at 04:51:51PM -0400, Arvind Sankar wrote: > > On Thu, Oct 15, 2020 at 08:26:54PM +0200, Daniel Kiper wrote: > > > > > > I am discussing with Ross the other option. We can create > > > .rodata.mle_header section and

  1   2   3   4   5   6   7   8   9   10   >