[PATCH v3] Updated locking documentation for transaction_t

2021-02-11 Thread Alexander Lochmann
Some members of transaction_t are allowed to be read without any lock being held if accessed from the correct context. We used LockDoc's findings to determine those members. Each member of them is marked with a short comment: "no lock needed for jbd2 thread". Signed-off-by: Alexander Lochmann

Re: [PATCH] staging: wlan-ng: Fix comments typos

2021-02-11 Thread Greg KH
On Thu, Feb 11, 2021 at 05:55:18PM +0100, Mairo P. Rufus wrote: > > Hi, > > > > This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him > > a patch that has triggered this response. He used to manually respond > > to these common problems, but in order to save his sanity (he kept >

Re: [v7 PATCH 05/12] mm: memcontrol: rename shrinker_map to shrinker_info

2021-02-11 Thread Yang Shi
On Thu, Feb 11, 2021 at 8:47 AM Kirill Tkhai wrote: > > On 10.02.2021 02:33, Yang Shi wrote: > > On Tue, Feb 9, 2021 at 12:50 PM Roman Gushchin wrote: > >> > >> On Tue, Feb 09, 2021 at 09:46:39AM -0800, Yang Shi wrote: > >>> The following patch is going to add nr_deferred into shrinker_map, the

Re: [v7 PATCH 12/12] mm: vmscan: shrink deferred objects proportional to priority

2021-02-11 Thread Yang Shi
On Thu, Feb 11, 2021 at 5:10 AM Vlastimil Babka wrote: > > On 2/9/21 6:46 PM, Yang Shi wrote: > > The number of deferred objects might get windup to an absurd number, and it > > results in clamp of slab objects. It is undesirable for sustaining > > workingset. > > > > So shrink deferred objects

[PATCH v1 7/7] dt-bindings: net: qcom-ipa: Document qcom,msm8998-ipa compatible

2021-02-11 Thread AngeloGioacchino Del Regno
MSM8998 support has been added: document the new compatible. Signed-off-by: AngeloGioacchino Del Regno --- Documentation/devicetree/bindings/net/qcom,ipa.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/qcom,ipa.yaml

[PATCH v1 4/7] net: ipa: gsi: Use right masks for GSI v1.0 channels hw param

2021-02-11 Thread AngeloGioacchino Del Regno
In GSI v1.0 the register GSI_HW_PARAM_2_OFFSET has different layout so the number of channels and events per EE are, of course, laid out in 8 bits each (0-7, 8-15 respectively). Signed-off-by: AngeloGioacchino Del Regno --- drivers/net/ipa/gsi.c | 16 +---

Re: [PATCH][next][V2] fs/jfs: fix potential integer overflow on shift of a int

2021-02-11 Thread Dave Kleikamp
On 2/11/21 7:01 AM, Colin King wrote: From: Colin Ian King The left shift of int 32 bit integer constant 1 is evaluated using 32 bit arithmetic and then assigned to a signed 64 bit integer. In the case where l2nb is 32 or more this can lead to an overflow. Avoid this by shifting the value 1LL

[PATCH v1 1/7] net: ipa: Add support for IPA v3.1 with GSI v1.0

2021-02-11 Thread AngeloGioacchino Del Regno
In preparation for adding support for the MSM8998 SoC's IPA, add the necessary bits for IPA version 3.1 featuring GSI 1.0, found on at least MSM8998. Signed-off-by: AngeloGioacchino Del Regno --- drivers/net/ipa/gsi.c | 8 drivers/net/ipa/ipa_endpoint.c | 17

[PATCH v1 6/7] dt-bindings: net: qcom-ipa: Document qcom,sc7180-ipa compatible

2021-02-11 Thread AngeloGioacchino Del Regno
The driver supports SC7180, but the binding was not documented. Just add it. Signed-off-by: AngeloGioacchino Del Regno --- Documentation/devicetree/bindings/net/qcom,ipa.yaml | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH] spi: Skip zero-length transfers in spi_transfer_one_message()

2021-02-11 Thread Nicolas Saenz Julienne
With the introduction of 26751de25d25 ("spi: bcm2835: Micro-optimise FIFO loops") it has become apparent that some users might initiate zero-length SPI transfers. A fact the micro-optimization omitted, and which turned out to cause crashes[1]. Instead of changing the micro-optimization itself,

[PATCH v3 1/1] kernel/crash_core: Add crashkernel=auto for vmcore creation

2021-02-11 Thread Saeed Mirzamohammadi
This adds crashkernel=auto feature to configure reserved memory for vmcore creation. CONFIG_CRASH_AUTO_STR is defined to be set for different kernel distributions and different archs based on their needs. Signed-off-by: Saeed Mirzamohammadi Signed-off-by: John Donnelly Tested-by: John Donnelly

Re: [PATCH 0/8] MUSE: Userspace backed MTD v3

2021-02-11 Thread Miklos Szeredi
On Wed, Feb 10, 2021 at 12:16 PM Miklos Szeredi wrote: > > On Wed, Feb 10, 2021 at 11:12 AM Miklos Szeredi wrote: > > > But this is just a start. From the big structures still left in > > CUSE only uses the following fields: > > > > fc: .minor, max_read, max_write, rcu, release, initialized,

[RFC PATCH] docs: Warn when auto xref to document fails

2021-02-11 Thread Nícolas F . R . A . Prado
Print warning when automarkup fails to cross-reference to another document, so that it doesn't fail silently. Signed-off-by: Nícolas F. R. A. Prado --- This patch is marked as RFC because it causes a lot of new warnings currently. So the patch should only be applied after we reduce this to

[PATCH 0/2] arm64: dts: qcom: sm8250: fix display nodes

2021-02-11 Thread Jonathan Marek
Add sm8150/sm8250 compatibles to drm/msm and fix the sm8250 display nodes. Jonathan Marek (2): drm/msm: add compatibles for sm8150/sm8250 display arm64: dts: qcom: sm8250: fix display nodes .../devicetree/bindings/display/msm/dpu.txt | 4 +-- arch/arm64/boot/dts/qcom/sm8250.dtsi

[PATCH 2/2] arm64: dts: qcom: sm8250: fix display nodes

2021-02-11 Thread Jonathan Marek
Apply these fixes to the newly added sm8250 display ndoes - Use sm8250 compatibles instead of sdm845 compatibles - Remove "notused" interconnect (which apparently was blindly copied from my old patches) - Use dispcc node example from dt-bindings, removing clocks which aren't documented or

Re: [PATCH v2] ath10k: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()

2021-02-11 Thread Kalle Valo
Shuah Khan wrote: > ieee80211_find_sta_by_ifaddr() must be called under the RCU lock and > the resulting pointer is only valid under RCU lock as well. > > Fix ath10k_wmi_tlv_op_pull_peer_stats_info() to hold RCU lock before it > calls ieee80211_find_sta_by_ifaddr() and release it when the

Re: [PATCH v2 2/8] cxl/mem: Find device capabilities

2021-02-11 Thread Ben Widawsky
On 21-02-11 09:55:48, Jonathan Cameron wrote: > On Wed, 10 Feb 2021 10:16:05 -0800 > Ben Widawsky wrote: > > > On 21-02-10 08:55:57, Ben Widawsky wrote: > > > On 21-02-10 15:07:59, Jonathan Cameron wrote: > > > > On Wed, 10 Feb 2021 13:32:52 + > > > > Jonathan Cameron wrote: > > > > >

Re: [PATCH V7 1/3] kbuild: Add generic rule to apply fdtoverlay

2021-02-11 Thread Masahiro Yamada
On Wed, Feb 10, 2021 at 8:13 PM Viresh Kumar wrote: > > From: Rob Herring > > Add a generic rule to apply fdtoverlay in Makefile.lib, so every > platform doesn't need to carry the complex rule. > > The platform's Makefile only needs to have this now: > > DTC_FLAGS_foo_base += -@ > foo-dtbs :=

[PATCH v5 net-next 07/11] skbuff: move NAPI cache declarations upper in the file

2021-02-11 Thread Alexander Lobakin
NAPI cache structures will be used for allocating skbuff_heads, so move their declarations a bit upper. Signed-off-by: Alexander Lobakin --- net/core/skbuff.c | 90 +++ 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/net/core/skbuff.c

[PATCH v5 net-next 08/11] skbuff: introduce {,__}napi_build_skb() which reuses NAPI cache heads

2021-02-11 Thread Alexander Lobakin
Instead of just bulk-flushing skbuff_heads queued up through napi_consume_skb() or __kfree_skb_defer(), try to reuse them on allocation path. If the cache is empty on allocation, bulk-allocate the first 16 elements, which is more efficient than per-skb allocation. If the cache is full on freeing,

[PATCH v5 net-next 09/11] skbuff: allow to optionally use NAPI cache from __alloc_skb()

2021-02-11 Thread Alexander Lobakin
Reuse the old and forgotten SKB_ALLOC_NAPI to add an option to get an skbuff_head from the NAPI cache instead of inplace allocation inside __alloc_skb(). This implies that the function is called from softirq or BH-off context, not for allocating a clone or from a distant node. Signed-off-by:

[PATCH v5 net-next 10/11] skbuff: allow to use NAPI cache from __napi_alloc_skb()

2021-02-11 Thread Alexander Lobakin
{,__}napi_alloc_skb() is mostly used either for optional non-linear receive methods (usually controlled via Ethtool private flags and off by default) and/or for Rx copybreaks. Use __napi_build_skb() here for obtaining skbuff_heads from NAPI cache instead of inplace allocations. This includes both

Re: [PATCH 1/2] uio: Add late_release callback to uio_info

2021-02-11 Thread Bodo Stroesser
On 11.02.21 07:51, Greg Kroah-Hartman wrote: On Wed, Feb 10, 2021 at 08:57:11PM +0100, Bodo Stroesser wrote: On 10.02.21 20:47, Greg Kroah-Hartman wrote: On Wed, Feb 10, 2021 at 08:40:30PM +0100, Bodo Stroesser wrote: If uio_unregister_device() is called while userspace daemon still holds the

Re: [PATCH][next] soc: xilinx: vcu: remove deadcode on null divider check

2021-02-11 Thread Stephen Boyd
Quoting Michael Tretter (2021-02-10 23:39:06) > On Wed, 10 Feb 2021 19:28:18 -0800, Stephen Boyd wrote: > > Quoting Colin King (2021-02-10 10:49:38) > > > From: Colin Ian King > > > > > > The pointer 'divider' has previously been null checked followed by > > > a return, hence the subsequent null

Re: [PATCH v5 1/2] ARM: kprobes: fix UNPREDICTABLE warnings

2021-02-11 Thread Nick Desaulniers
On Thu, Feb 11, 2021 at 12:15 AM Ard Biesheuvel wrote: > > On Thu, 11 Feb 2021 at 03:52, Nick Desaulniers > wrote: > > > > GNU as warns twice for this file: > > Warning: using r15 results in unpredictable behaviour > > > > via the Arm ARM: > > K1.1.1 Overview of the constraints on Armv7

[PATCH 4.19 24/24] squashfs: add more sanity checks in xattr id lookup

2021-02-11 Thread Greg Kroah-Hartman
From: Phillip Lougher commit 506220d2ba21791314af569211ffd8870b8208fa upstream. Sysbot has reported a warning where a kmalloc() attempt exceeds the maximum limit. This has been identified as corruption of the xattr_ids count when reading the xattr id lookup table. This patch adds a number of

[PATCH 4.19 04/24] remoteproc: qcom_q6v5_mss: Validate modem blob firmware size before load

2021-02-11 Thread Greg Kroah-Hartman
From: Sibi Sankar commit 135b9e8d1cd8ba5ac9ad9bcf24b464b7b052e5b8 upstream The following mem abort is observed when one of the modem blob firmware size exceeds the allocated mpss region. Fix this by restricting the copy size to segment size using request_firmware_into_buf before load. Err

[PATCH 4.19 23/24] squashfs: add more sanity checks in inode lookup

2021-02-11 Thread Greg Kroah-Hartman
From: Phillip Lougher commit eabac19e40c095543def79cb6ffeb3a8588aaff4 upstream. Sysbot has reported an "slab-out-of-bounds read" error which has been identified as being caused by a corrupted "ino_num" value read from the inode. This could be because the metadata block is uncompressed, or

[PATCH 4.19 22/24] squashfs: add more sanity checks in id lookup

2021-02-11 Thread Greg Kroah-Hartman
From: Phillip Lougher commit f37aa4c7366e23f91b81d00bafd6a7ab54e4a381 upstream. Sysbot has reported a number of "slab-out-of-bounds reads" and "use-after-free read" errors which has been identified as being caused by a corrupted index value read from the inode. This could be because the

[PATCH 4.19 05/24] remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load

2021-02-11 Thread Greg Kroah-Hartman
From: Sibi Sankar commit e013f455d95add874f310dc47c608e8c70692ae5 upstream The following mem abort is observed when the mba firmware size exceeds the allocated mba region. MBA firmware size is restricted to a maximum size of 1M and remaining memory region is used by modem debug policy firmware

Re: [PATCH 2/2] quota: wire up quotactl_path

2021-02-11 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH v13 6/7] arm64: mte: Report async tag faults before suspend

2021-02-11 Thread Vincenzo Frascino
When MTE async mode is enabled TFSR_EL1 contains the accumulative asynchronous tag check faults for EL1 and EL0. During the suspend/resume operations the firmware might perform some operations that could change the state of the register resulting in a spurious tag check fault report. Report

[PATCH v13 7/7] kasan: don't run tests in async mode

2021-02-11 Thread Vincenzo Frascino
From: Andrey Konovalov Asynchronous KASAN mode doesn't guarantee that a tag fault will be detected immediately and causes tests to fail. Forbid running them in asynchronous mode. Signed-off-by: Andrey Konovalov Signed-off-by: Vincenzo Frascino --- lib/test_kasan.c | 4 1 file changed, 4

[PATCH v13 5/7] arm64: mte: Enable async tag check fault

2021-02-11 Thread Vincenzo Frascino
MTE provides a mode that asynchronously updates the TFSR_EL1 register when a tag check exception is detected. To take advantage of this mode the kernel has to verify the status of the register at: 1. Context switching 2. Return to user/EL0 (Not required in entry from EL0 since the kernel

Re: [PATCH 1/2] quota: Add mountpath based quota support

2021-02-11 Thread Christoph Hellwig
> + if (!mountpoint) > + return -ENODEV; > + > + ret = user_path_at(AT_FDCWD, mountpoint, > + LOOKUP_FOLLOW | LOOKUP_AUTOMOUNT, ); user_path_at handles an empty path, although you'll get EFAULT instead. Do we care about the -ENODEV here? Otherwise

Re: [PATCH RESEND v2 4/5] iommu/tegra-smmu: Rework tegra_smmu_probe_device()

2021-02-11 Thread Guillaume Tucker
in the meantime: https://lava.collabora.co.uk/scheduler/job/3210192 https://lava.collabora.co.uk/results/3210192/0_igt-kms-tegra And here's a more extensive list of IGT tests on next-20210211, all the regressions have been fixed: https://kernelci.org/test/plan/id/60254c42f51df36be53abe62/ I

Re: [PATCH v2] Updated locking documentation for transaction_t

2021-02-11 Thread Jan Kara
On Thu 11-02-21 14:54:23, Alexander Lochmann wrote: > Some members of transaction_t are allowed to be read without > any lock being held if accessed from the correct context. > We used LockDoc's findings to determine those members. > Each member of them is marked with a short comment: > "no lock

Re: [PATCH v2] platform/surface: aggregator: Fix access of unaligned value

2021-02-11 Thread Hans de Goede
Hi, On 2/11/21 1:41 PM, Maximilian Luz wrote: > The raw message frame length is unaligned and explicitly marked as > little endian. It should not be accessed without the appropriate > accessor functions. Fix this. > > Note that payload.len already contains the correct length after parsing > via

[net-next v6 07/14] octeontx2-pf: cn10k: Use LMTST lines for NPA/NIX operations

2021-02-11 Thread Geetha sowjanya
This patch adds support to use new LMTST lines for NPA batch free and burst SQE flush. Adds new dev_hw_ops structure to hold platform specific functions and create new files cn10k.c and cn10k.h. Signed-off-by: Geetha sowjanya Signed-off-by: Sunil Goutham ---

[net-next v6 06/14] octeontx2-pf: cn10k: Map LMTST region

2021-02-11 Thread Geetha sowjanya
On CN10K platform transmit/receive buffer alloc and free from/to hardware had changed to support burst operation. Whereas pervious silicon's only support single buffer free at a time. To Support the same firmware allocates a DRAM region for each PF/VF for storing LMTLINES. These LMTLINES are used

[net-next v6 09/14] octeontx2-af: cn10k: Add support for programmable channels

2021-02-11 Thread Geetha sowjanya
From: Subbaraya Sundeep NIX uses unique channel numbers to identify the packet sources/sinks like CGX,LBK and SDP. The channel numbers assigned to each block are hardwired in CN9xxx silicon. The fixed channel numbers in CN9xxx are: 0x0 | a << 8 | b- LBK(0..3)_CH(0..63) 0x0 | a << 8

[net-next v6 08/14] octeontx2-af: cn10k: Add RPM MAC support

2021-02-11 Thread Geetha sowjanya
From: Hariprasad Kelam OcteonTx2's next gen platform the CN10K has RPM MAC which has a different serdes when compared to CGX MAC. Though the underlying HW is different, the CSR interface has been designed largely inline with CGX MAC, with few exceptions though. So we are using the same CGX

Re: [PATCH 00/49] Add Alder Lake support for perf

2021-02-11 Thread Liang, Kan
On 2/11/2021 6:40 AM, Jiri Olsa wrote: On Mon, Feb 08, 2021 at 07:24:57AM -0800, kan.li...@linux.intel.com wrote: SNIP Jin Yao (24): perf jevents: Support unit value "cpu_core" and "cpu_atom" perf util: Save pmu name to struct perf_pmu_alias perf pmu: Save detected hybrid pmus to

[PATCH v10 02/14] mm/gup: check every subpage of a compound page during isolation

2021-02-11 Thread Pavel Tatashin
When pages are isolated in check_and_migrate_movable_pages() we skip compound number of pages at a time. However, as Jason noted, it is not necessary correct that pages[i] corresponds to the pages that we skipped. This is because it is possible that the addresses in this range had

[PATCH v10 00/14] prohibit pinning pages in ZONE_MOVABLE

2021-02-11 Thread Pavel Tatashin
Changelog - v10 - Fixed !CONFIG_MMU compiler issues by adding is_zero_pfn() stub. v9 - Renamed gpf_to_alloc_flags() to gfp_to_alloc_flags_cma(); thanks Lecopzer Chen for noticing. - Fixed warning reported scripts/checkpatch.pl: "Logical continuations should be on the previous line"

[PATCH v10 14/14] selftests/vm: gup_test: test faulting in kernel, and verify pinnable pages

2021-02-11 Thread Pavel Tatashin
When pages are pinned they can be faulted in userland and migrated, and they can be faulted right in kernel without migration. In either case, the pinned pages must end-up being pinnable (not movable). Add a new test to gup_test, to help verify that the gup/pup (get_user_pages() /

Re: [PATCH ghak124 v3] audit: log nftables configuration change events

2021-02-11 Thread Paul Moore
On Thu, Feb 11, 2021 at 10:16 AM Phil Sutter wrote: > Hi, > > On Thu, Jun 04, 2020 at 09:20:49AM -0400, Richard Guy Briggs wrote: > > iptables, ip6tables, arptables and ebtables table registration, > > replacement and unregistration configuration events are logged for the > > native (legacy)

Re: [PATCH 8/9] vfio/pci: use x86 naming instead of igd

2021-02-11 Thread Matthew Rosato
On 2/11/21 10:47 AM, Max Gurtovoy wrote: On 2/2/2021 7:10 PM, Jason Gunthorpe wrote: On Tue, Feb 02, 2021 at 05:06:59PM +0100, Cornelia Huck wrote: On the other side, we have the zdev support, which both requires s390 and applies to any pci device on s390. Is there a reason why

Re: [PATCH iproute2-next V4] devlink: add support for port params get/set

2021-02-11 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to iproute2/iproute2-next.git (refs/heads/main): On Tue, 9 Feb 2021 12:31:51 +0200 you wrote: > Add implementation for the port parameters > getting/setting. > Add bash completion for port param. > Add man description for port param. > > Signed-off-by: Oleksandr

Re: [PATCH 06/24] perf daemon: Add config file support

2021-02-11 Thread Jiri Olsa
On Thu, Feb 11, 2021 at 03:01:12PM +0900, Namhyung Kim wrote: > Hi Jiri, > > On Tue, Feb 9, 2021 at 5:09 AM Jiri Olsa wrote: > > +static int daemon__reconfig(struct daemon *daemon) > > +{ > > + struct daemon_session *session, *n; > > + > > + list_for_each_entry_safe(session, n,

Re: [PATCH v2] arm: dts: sun5i: Add GPU node

2021-02-11 Thread Maxime Ripard
Hi, On Thu, Feb 11, 2021 at 03:25:23PM +, Yassine Oudjana wrote: > sun5i has the same Mali 400 GPU as sun4i with the same interrupts, clocks > and resets. Add node for it in dts. > > Signed-off-by: Yassine Oudjana Unfortunately we already merged a similar patch for 5.12 Maxime

Re: [v7 PATCH 05/12] mm: memcontrol: rename shrinker_map to shrinker_info

2021-02-11 Thread Kirill Tkhai
On 10.02.2021 02:33, Yang Shi wrote: > On Tue, Feb 9, 2021 at 12:50 PM Roman Gushchin wrote: >> >> On Tue, Feb 09, 2021 at 09:46:39AM -0800, Yang Shi wrote: >>> The following patch is going to add nr_deferred into shrinker_map, the >>> change will >>> make shrinker_map not only include map

Re: [PATCH v13 05/15] iommu/smmuv3: Get prepared for nested stage support

2021-02-11 Thread Auger Eric
Hi Keqian, On 2/2/21 8:14 AM, Keqian Zhu wrote: > Hi Eric, > > On 2020/11/18 19:21, Eric Auger wrote: >> When nested stage translation is setup, both s1_cfg and >> s2_cfg are set. >> >> We introduce a new smmu domain abort field that will be set >> upon guest stage1 configuration passing. >> >>

Re: [PATCH v13 06/15] iommu/smmuv3: Implement attach/detach_pasid_table

2021-02-11 Thread Auger Eric
Hi Keqian, On 2/2/21 9:03 AM, Keqian Zhu wrote: > Hi Eric, > > On 2020/11/18 19:21, Eric Auger wrote: >> On attach_pasid_table() we program STE S1 related info set >> by the guest into the actual physical STEs. At minimum >> we need to program the context descriptor GPA and compute >> whether

Re: [PATCH] enetc: auto select PHYLIB and MDIO_DEVRES

2021-02-11 Thread Florian Fainelli
On 2/11/21 8:09 AM, Tong Zhang wrote: > FSL_ENETC_MDIO use symbols from PHYLIB and MDIO_DEVRES, however they are > not auto selected. > > ERROR: modpost: "__mdiobus_register" > [drivers/net/ethernet/freescale/enetc/fsl-enetc-mdio.ko] undefined! > ERROR: modpost: "mdiobus_unregister" >

Re: linux-next: manual merge of the rcu tree with the block tree

2021-02-11 Thread Paul E. McKenney
On Thu, Feb 11, 2021 at 04:48:52PM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the rcu tree got conflicts in: > > include/linux/rcupdate.h > kernel/rcu/tree.c > kernel/rcu/tree_plugin.h > > between commits: > > 3a7b5c87a0b2 ("rcu/nocb: Perform deferred wake

Re: [PATCH v2 6/8] cxl/mem: Enable commands via CEL

2021-02-11 Thread Ben Widawsky
On 21-02-11 12:02:15, Jonathan Cameron wrote: > On Tue, 9 Feb 2021 16:02:57 -0800 > Ben Widawsky wrote: > > > CXL devices identified by the memory-device class code must implement > > the Device Command Interface (described in 8.2.9 of the CXL 2.0 spec). > > While the driver already maintains a

Re: [PATCH v5 2/2] ARM: kprobes: rewrite test-arm.c in UAL

2021-02-11 Thread Nathan Chancellor
On Wed, Feb 10, 2021 at 06:51:49PM -0800, Nick Desaulniers wrote: > Clang's integrated assembler only accepts UAL syntax, rewrite the > instructions that were changed by RVCTv2.1. The document "Assembly > language changes after RVCTv2.1" was very helpful. > > .syntax unified > > directive is

Re: [PATCH v1 0/5] Enable fw_devlink=on by default

2021-02-11 Thread Rafael J. Wysocki
On Thu, Feb 11, 2021 at 6:15 PM Saravana Kannan wrote: > > On Thu, Feb 11, 2021 at 7:03 AM Rafael J. Wysocki wrote: > > > > On Thu, Feb 11, 2021 at 1:02 AM Saravana Kannan > > wrote: > > > > > > On Thu, Jan 28, 2021 at 7:03 AM Jon Hunter wrote: > > > > > > > > > > > > On 14/01/2021 16:56, Jon

Re: [RESEND PATCH ] KVM: VMX: Enable/disable PML when dirty logging gets enabled/disabled

2021-02-11 Thread Sean Christopherson
On Thu, Feb 11, 2021, Paolo Bonzini wrote: > On 11/02/21 01:55, Sean Christopherson wrote: > > > diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c > > > index ee4ac2618ec59..c6e5b026bbfe8 100644 > > > --- a/virt/kvm/kvm_main.c > > > +++ b/virt/kvm/kvm_main.c > > > @@ -307,6 +307,7 @@ bool

Re: linux-next: Tree for Feb 11 (drivers/gpu/drm/i915/display/intel_panel.o)

2021-02-11 Thread Randy Dunlap
On 2/11/21 3:26 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20210210: > > The powerpc tree still had its build failure in the allyesconfig for > which I applied a supplied patch. > > The v4l-dvb tree lost its build failure. > > The drm-misc tree lost its build failure. > > The

Re: [PATCH 3/3] [v3] lib/vsprintf: debug_never_hash_pointers prints all addresses as unhashed

2021-02-11 Thread Timur Tabi
On 2/11/21 11:23 AM, Petr Mladek wrote: There was some pushback against this feature in general. It should be used deliberately and people must be aware of the consequences. This is why it is only boot option and why it prints such a huge warning. The long clear name helps as well. This is my

Re: [PATCH v7 3/4] x509: Add support for parsing x509 certs with ECDSA keys

2021-02-11 Thread Stefan Berger
On 2/11/21 12:30 PM, Stefan Berger wrote: On 2/11/21 3:03 AM, kernel test robot wrote: Hi Stefan, Thank you for the patch! Yet something to improve: crypto/asymmetric_keys/public_key.c:97: undefined reference to `parse_OID' So the issue is that  only ASYMMETRIC_PUBLIC_KEY_SUBTYPE is

Re: This reply comments on the patch to fixes the missing a blank line warning

2021-02-11 Thread Adithya Chandrakasan
On 2/11/21 2:36 AM, David Hildenbrand wrote: > ^ > > Please create proper patch subjects. Nobody has a glue what you are doing > when looking at the subject. > > "mm/util: fix ??? warning" > > Which raises the question, what is ??? > > Compiler? static code checker? ... ? > > > Thanks > > On

Re: [PATCH v3 1/2] thermal: armada: ap806: use firmware SiP services for thermal operations

2021-02-11 Thread kernel test robot
'--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/kostap-marvell-com/Enable-usage-of-Marvell-FW-SIP-services/20210211-220917 base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next config: parisc-allyesconfig

Re: [Intel-gfx] [RFC v4 10/11] drm/dp: Extract i915's eDP backlight code into DRM helpers

2021-02-11 Thread Lyude Paul
On Wed, 2021-02-10 at 23:15 -0500, Rodrigo Vivi wrote: > On Mon, Feb 08, 2021 at 06:39:00PM -0500, Lyude Paul wrote: > > Since we're about to implement eDP backlight support in nouveau using the > > standard protocol from VESA, we might as well just take the code that's > > already written for

Re: [tip: objtool/urgent] objtool: Fix seg fault with Clang non-section symbols

2021-02-11 Thread Nick Desaulniers
On Thu, Feb 11, 2021 at 5:55 AM Greg Kroah-Hartman wrote: > > On Thu, Feb 11, 2021 at 09:32:03PM +0800, Xi Ruoyao wrote: > > Hi all, > > > > The latest GNU assembler (binutils-2.36.1) is removing unused section > > symbols > > like Clang [1]. So linux-5.10.15 can't be built with binutils-2.36.1

[PATCH v5 net-next 06/11] skbuff: remove __kfree_skb_flush()

2021-02-11 Thread Alexander Lobakin
This function isn't much needed as NAPI skb queue gets bulk-freed anyway when there's no more room, and even may reduce the efficiency of bulk operations. It will be even less needed after reusing skb cache on allocation path, so remove it and this way lighten network softirqs a bit.

[PATCH v5 net-next 04/11] skbuff: simplify __alloc_skb() a bit

2021-02-11 Thread Alexander Lobakin
Use unlikely() annotations for skbuff_head and data similarly to the two other allocation functions and remove totally redundant goto. Signed-off-by: Alexander Lobakin --- net/core/skbuff.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/net/core/skbuff.c

Re: [PATCH V2 4/8] mm/highmem: Add VM_BUG_ON() to mem*_page() calls

2021-02-11 Thread David Sterba
On Wed, Feb 10, 2021 at 01:22:28PM -0800, Ira Weiny wrote: > On Wed, Feb 10, 2021 at 06:56:06PM +, Matthew Wilcox wrote: > > On Wed, Feb 10, 2021 at 08:29:01AM -0800, Ira Weiny wrote: > > > And I thought it was a good idea. Any file system development should have > > > tests with DEBUG_VM

[PATCH 4.19 16/24] lib/string: Add strscpy_pad() function

2021-02-11 Thread Greg Kroah-Hartman
From: Tobin C. Harding [ Upstream commit 458a3bf82df4fe1f951d0f52b1e0c1e9d5a88a3b ] We have a function to copy strings safely and we have a function to copy strings and zero the tail of the destination (if source string is shorter than destination buffer) but we do not have a function to do

[PATCH 5.4 06/24] chtls: Fix potential resource leak

2021-02-11 Thread Greg Kroah-Hartman
From: Pan Bian [ Upstream commit b6011966ac6f402847eb5326beee8da3a80405c7 ] The dst entry should be released if no neighbour is found. Goto label free_dst to fix the issue. Besides, the check of ndev against NULL is redundant. Signed-off-by: Pan Bian Link:

Re: [PATCH] staging: vt6656: Fixed alignment with issue in rf.c

2021-02-11 Thread Pritthijit Nath
On 11/02/21 7:15 pm, Pritthijit Nath wrote: > This change fixes a checkpatch CHECK style issue for "Alignment should match > open parenthesis". > > Signed-off-by: Pritthijit Nath > --- > drivers/staging/vt6656/rf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[PATCH 5.4 09/24] iwlwifi: mvm: skip power command when unbinding vif during CSA

2021-02-11 Thread Greg Kroah-Hartman
From: Sara Sharon [ Upstream commit bf544e9aa570034e094a8a40d5f9e1e2c4916d18 ] In the new CSA flow, we remain associated during CSA, but still do a unbind-bind to the vif. However, sending the power command right after when vif is unbound but still associated causes FW to assert (0x3400) since

[PATCH 4.19 06/24] af_key: relax availability checks for skb size calculation

2021-02-11 Thread Greg Kroah-Hartman
From: Cong Wang [ Upstream commit afbc293add6466f8f3f0c3d944d85f53709c170f ] xfrm_probe_algs() probes kernel crypto modules and changes the availability of struct xfrm_algo_desc. But there is a small window where ealg->available and aalg->available get changed between

[PATCH 5.10 14/54] io_uring: fix sqo ownership false positive warning

2021-02-11 Thread Greg Kroah-Hartman
From: Pavel Begunkov [ Upstream commit 70b2c60d3797bffe182dddb9bb55975b9be5889a ] WARNING: CPU: 0 PID: 21359 at fs/io_uring.c:9042 io_uring_cancel_task_requests+0xe55/0x10c0 fs/io_uring.c:9042 Call Trace: io_uring_flush+0x47b/0x6e0 fs/io_uring.c:9227 filp_close+0xb4/0x170 fs/open.c:1295

[PATCH 5.10 18/54] powerpc/64/signal: Fix regression in __kernel_sigtramp_rt64() semantics

2021-02-11 Thread Greg Kroah-Hartman
From: Raoni Fassina Firmino commit 24321ac668e452a4942598533d267805f291fdc9 upstream. Commit 0138ba5783ae ("powerpc/64/signal: Balance return predictor stack in signal trampoline") changed __kernel_sigtramp_rt64() VDSO and trampoline code, and introduced a regression in the way glibc's

Re: [PATCH v2 4/8] xen/netback: fix spurious event detection for common event case

2021-02-11 Thread Wei Liu
On Thu, Feb 11, 2021 at 11:16:12AM +0100, Juergen Gross wrote: > In case of a common event for rx and tx queue the event should be > regarded to be spurious if no rx and no tx requests are pending. > > Unfortunately the condition for testing that is wrong causing to > decide a event being

[PATCH 5.10 25/54] chtls: Fix potential resource leak

2021-02-11 Thread Greg Kroah-Hartman
From: Pan Bian [ Upstream commit b6011966ac6f402847eb5326beee8da3a80405c7 ] The dst entry should be released if no neighbour is found. Goto label free_dst to fix the issue. Besides, the check of ndev against NULL is redundant. Signed-off-by: Pan Bian Link:

[PATCH 5.10 29/54] ASoC: ak4458: correct reset polarity

2021-02-11 Thread Greg Kroah-Hartman
From: Eliot Blennerhassett [ Upstream commit e953daeb68b1abd8a7d44902786349fdeef5c297 ] Reset (aka power off) happens when the reset gpio is made active. Change function name to ak4458_reset to match devicetree property "reset-gpios" Signed-off-by: Eliot Blennerhassett Reviewed-by: Linus

[PATCH 5.10 21/54] ASoC: wm_adsp: Fix control name parsing for multi-fw

2021-02-11 Thread Greg Kroah-Hartman
From: James Schulman [ Upstream commit a8939f2e138e418c2b059056ff5b501eaf2eae54 ] When switching between firmware types, the wrong control can be selected when requesting control in kernel API. Use the currently selected DSP firwmare type to select the proper mixer control. Signed-off-by:

Re: [PATCH/v2] bpf: add bpf_skb_adjust_room flag BPF_F_ADJ_ROOM_ENCAP_L2_ETH

2021-02-11 Thread Daniel Borkmann
On 2/10/21 3:50 PM, Willem de Bruijn wrote: On Wed, Feb 10, 2021 at 1:59 AM huangxuesen wrote: From: huangxuesen bpf_skb_adjust_room sets the inner_protocol as skb->protocol for packets encapsulation. But that is not appropriate when pushing Ethernet header. Add an option to further

Re: [PATCH v4 net-next 09/11] skbuff: allow to optionally use NAPI cache from __alloc_skb()

2021-02-11 Thread Alexander Lobakin
From: Paolo Abeni Date: Thu, 11 Feb 2021 15:55:04 +0100 > On Thu, 2021-02-11 at 14:28 +, Alexander Lobakin wrote: > > From: Paolo Abeni on Thu, 11 Feb 2021 11:16:40 +0100 > > wrote: > > > What about changing __napi_alloc_skb() to always use > > > the __napi_build_skb(), for both kmalloc

[net-next] net: mvpp2: fix interrupt mask/unmask skip condition

2021-02-11 Thread stefanc
From: Stefan Chulski The condition should be skipped if CPU ID equal to nthreads. The patch doesn't fix any actual issue since nthreads = min_t(unsigned int, num_present_cpus(), MVPP2_MAX_THREADS). On all current Armada platforms, the number of CPU's is less than MVPP2_MAX_THREADS. Fixes:

[PATCH 5.4 13/24] iwlwifi: mvm: invalidate IDs of internal stations at mvm start

2021-02-11 Thread Greg Kroah-Hartman
From: Gregory Greenman [ Upstream commit e223e42aac30bf81f9302c676cdf58cf2bf36950 ] Having sta_id not set for aux_sta and snif_sta can potentially lead to a hard to debug issue in case remove station is called without an add. In this case sta_id 0, an unrelated regular station, will be removed.

Re: [PATCH] powerpc/bug: Remove specific powerpc BUG_ON()

2021-02-11 Thread Christophe Leroy
Le 11/02/2021 à 15:30, Segher Boessenkool a écrit : On Thu, Feb 11, 2021 at 03:09:43PM +0100, Christophe Leroy wrote: Le 11/02/2021 à 12:49, Segher Boessenkool a écrit : On Thu, Feb 11, 2021 at 07:41:52AM +, Christophe Leroy wrote: powerpc BUG_ON() is based on using twnei or tdnei

[PATCH 5.4 16/24] SUNRPC: Handle 0 length opaque XDR object data properly

2021-02-11 Thread Greg Kroah-Hartman
From: Dave Wysochanski [ Upstream commit e4a7d1f7707eb44fd953a31dd59eff82009d879c ] When handling an auth_gss downcall, it's possible to get 0-length opaque object for the acceptor. In the case of a 0-length XDR object, make sure simple_get_netobj() fills in dest->data = NULL, and does not

[PATCH 5.10 53/54] squashfs: add more sanity checks in inode lookup

2021-02-11 Thread Greg Kroah-Hartman
From: Phillip Lougher commit eabac19e40c095543def79cb6ffeb3a8588aaff4 upstream. Sysbot has reported an "slab-out-of-bounds read" error which has been identified as being caused by a corrupted "ino_num" value read from the inode. This could be because the metadata block is uncompressed, or

[PATCH 5.4 15/24] SUNRPC: Move simple_get_bytes and simple_get_netobj into private header

2021-02-11 Thread Greg Kroah-Hartman
From: Dave Wysochanski [ Upstream commit ba6dfce47c4d002d96cd02a304132fca76981172 ] Remove duplicated helper functions to parse opaque XDR objects and place inside new file net/sunrpc/auth_gss/auth_gss_internal.h. In the new file carry the license and copyright from the source file

Re: [PATCH v3 4/6] drm/sprd: add Unisoc's drm display controller driver

2021-02-11 Thread Daniel Vetter
On Thu, Feb 11, 2021 at 04:21:51PM +0800, Kevin Tang wrote: > Daniel Vetter 于2021年2月3日周三 下午10:15写道: > > > On Tue, Jan 05, 2021 at 09:46:05PM +0800, Kevin Tang wrote: > > > Adds DPU(Display Processor Unit) support for the Unisoc's display > > subsystem. > > > It's support multi planes, scaler,

[PATCH 5.10 38/54] iwlwifi: queue: bail out on invalid freeing

2021-02-11 Thread Greg Kroah-Hartman
From: Johannes Berg [ Upstream commit 0bed6a2a14afaae240cc431e49c260568488b51c ] If we find an entry without an SKB, we currently continue, but that will just result in an infinite loop since we won't increment the read pointer, and will try the same thing over and over again. Fix this.

[PATCH 5.4 00/24] 5.4.98-rc1 review

2021-02-11 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.4.98 release. There are 24 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sat, 13 Feb 2021 15:01:39 +. Anything

[PATCH 5.10 35/54] iwlwifi: mvm: invalidate IDs of internal stations at mvm start

2021-02-11 Thread Greg Kroah-Hartman
From: Gregory Greenman [ Upstream commit e223e42aac30bf81f9302c676cdf58cf2bf36950 ] Having sta_id not set for aux_sta and snif_sta can potentially lead to a hard to debug issue in case remove station is called without an add. In this case sta_id 0, an unrelated regular station, will be removed.

[PATCH 5.10 37/54] iwlwifi: mvm: guard against device removal in reprobe

2021-02-11 Thread Greg Kroah-Hartman
From: Johannes Berg [ Upstream commit 7a21b1d4a728a483f07c638ccd8610d4b4f12684 ] If we get into a problem severe enough to attempt a reprobe, we schedule a worker to do that. However, if the problem gets more severe and the device is actually destroyed before this worker has a chance to run, we

Re: [PATCH 4.19 07/24] regulator: core: avoid regulator_resolve_supply() race condition

2021-02-11 Thread Greg Kroah-Hartman
On Thu, Feb 11, 2021 at 03:26:56PM +, Mark Brown wrote: > On Thu, Feb 11, 2021 at 04:02:41PM +0100, Greg Kroah-Hartman wrote: > > From: David Collins > > > > [ Upstream commit eaa7995c529b54d68d97a30f6344cc6ca2f214a7 ] > > > > The final step in regulator_register() is to call > >

[PATCH 5.10 39/54] SUNRPC: Move simple_get_bytes and simple_get_netobj into private header

2021-02-11 Thread Greg Kroah-Hartman
From: Dave Wysochanski [ Upstream commit ba6dfce47c4d002d96cd02a304132fca76981172 ] Remove duplicated helper functions to parse opaque XDR objects and place inside new file net/sunrpc/auth_gss/auth_gss_internal.h. In the new file carry the license and copyright from the source file

Re: [PATCH v5 0/7] ASoC: codecs: add support for LPASS Codec TX and RX macros

2021-02-11 Thread Mark Brown
On Thu, 11 Feb 2021 12:27:28 +, Srinivas Kandagatla wrote: > This patchset adds support for two Codec Macro blocks(TX and RX) available in > Qualcomm LPASS (Low Power Audio SubSystem). > > There are WSA, VA, TX and RX Macros on LPASS IP, each of the Macro block > has specific connectivity

Re: [PATCH 0/3] Use clocks property in a device node

2021-02-11 Thread Mark Brown
On Wed, 10 Feb 2021 12:13:38 +0530, Sameer Pujar wrote: > It is recommended to not specifiy clocks property in an endpoint subnode. > This series moves clocks to device node. > > However after moving the clocks to device node, the audio playback or > capture fails. The specified clock is not

Re: [PATCH] vdpa/mlx5: fix param validation in mlx5_vdpa_get_config()

2021-02-11 Thread Stefano Garzarella
On Wed, Feb 10, 2021 at 07:12:31AM -0500, Michael S. Tsirkin wrote: On Wed, Feb 10, 2021 at 12:17:19PM +0800, Jason Wang wrote: On 2021/2/9 下午5:00, Stefano Garzarella wrote: > On Tue, Feb 09, 2021 at 07:43:02AM +0200, Eli Cohen wrote: > > On Mon, Feb 08, 2021 at 05:17:41PM +0100, Stefano

Re: [PATCH v1 0/9] x86/platform: Remove SFI framework and users

2021-02-11 Thread Hans de Goede
Hi, On 2/11/21 4:24 PM, Rafael J. Wysocki wrote: > On Thu, Feb 11, 2021 at 2:50 PM Andy Shevchenko > wrote: >> >> This is last part of Intel MID (SFI based) removal. We have no more users of >> it >> in the kernel and since SFI has been marked Obsolete for a few years already, >> Remove all the

<    3   4   5   6   7   8   9   10   11   12   >