Re: [PATCH 1/2] dt-bindings: remoteproc: qcom: pas: Add SM8350 remoteprocs

2021-02-11 Thread Bjorn Andersson
On Wed 10 Feb 04:45 CST 2021, Vinod Koul wrote: > Add the SM8350 audio, compute, modem and sensor remoteprocs to the PAS > DT binding. > > Signed-off-by: Vinod Koul > --- > .../devicetree/bindings/remoteproc/qcom,adsp.txt | 12 > 1 file changed, 12 insertions(+) > > diff

[PATCH v5 net-next 00/11] skbuff: introduce skbuff_heads bulking and reusing

2021-02-11 Thread Alexander Lobakin
Currently, all sorts of skb allocation always do allocate skbuff_heads one by one via kmem_cache_alloc(). On the other hand, we have percpu napi_alloc_cache to store skbuff_heads queued up for freeing and flush them by bulks. We can use this cache not only for bulk-wiping, but also to obtain

[PATCH v5 net-next 01/11] skbuff: move __alloc_skb() next to the other skb allocation functions

2021-02-11 Thread Alexander Lobakin
In preparation before reusing several functions in all three skb allocation variants, move __alloc_skb() next to the __netdev_alloc_skb() and __napi_alloc_skb(). No functional changes. Signed-off-by: Alexander Lobakin --- net/core/skbuff.c | 284 +++--- 1

[PATCH 4.19 15/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 4.19 13/24] 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

[PATCH 4.19 09/24] pNFS/NFSv4: Try to return invalid layout in pnfs_layout_process()

2021-02-11 Thread Greg Kroah-Hartman
From: Trond Myklebust [ Upstream commit 08bd8dbe88825760e953759d7ec212903a026c75 ] If the server returns a new stateid that does not match the one in our cache, then try to return the one we hold instead of just invalidating it on the client side. This ensures that both client and server will

[PATCH 4.19 10/24] iwlwifi: mvm: take mutex for calling iwl_mvm_get_sync_time()

2021-02-11 Thread Greg Kroah-Hartman
From: Johannes Berg [ Upstream commit 5c56d862c749669d45c256f581eac4244be00d4d ] We need to take the mutex to call iwl_mvm_get_sync_time(), do it. Signed-off-by: Johannes Berg Signed-off-by: Luca Coelho Signed-off-by: Kalle Valo Link:

[PATCH 5.10 24/54] ASoC: Intel: Skylake: Zero snd_ctl_elem_value

2021-02-11 Thread Greg Kroah-Hartman
From: Ricardo Ribalda [ Upstream commit 1d8fe0648e118fd495a2cb393a34eb8d428e7808 ] Clear struct snd_ctl_elem_value before calling ->put() to avoid any data leak. Signed-off-by: Ricardo Ribalda Reviewed-by: Cezary Rojewski Reviewed-by: Andy Shevchenko Link:

[PATCH 5.10 16/54] io_uring: drop mm/files between task_work_submit

2021-02-11 Thread Greg Kroah-Hartman
From: Pavel Begunkov [ Upstream commit aec18a57edad562d620f7d19016de1fc0cc2208c ] Since SQPOLL task can be shared and so task_work entries can be a mix of them, we need to drop mm and files before trying to issue next request. Cc: sta...@vger.kernel.org # 5.10+ Signed-off-by: Pavel Begunkov

[PATCH 5.10 04/54] io_uring: pass files into kill timeouts/poll

2021-02-11 Thread Greg Kroah-Hartman
From: Pavel Begunkov [ Upstream commit 6b81928d4ca8668513251f9c04cdcb9d38ef51c7 ] Make io_poll_remove_all() and io_kill_timeouts() to match against files as well. A preparation patch, effectively not used by now. Signed-off-by: Pavel Begunkov Signed-off-by: Jens Axboe Signed-off-by: Greg

[PATCH 5.10 19/54] 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

include/linux/compiler_types.h:319:38: error: call to '__compiletime_assert_234' declared with attribute error: BUILD_BUG_ON failed: FIX_KMAP_SLOTS > PTRS_PER_PTE

2021-02-11 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb commit: 6e799cb69a70eedbb41561b750f7180c12cff280 mm/highmem: Provide and use CONFIG_DEBUG_KMAP_LOCAL date: 3 months ago config: arc-randconfig-r032-20210209

Re: [BUG REPORT] media: coda: mpeg4 decode corruption on i.MX6qp only

2021-02-11 Thread Sven Van Asbroeck
Hi Philipp, thank you so much for looking into this, I really appreciate it ! On Thu, Feb 11, 2021 at 9:32 AM Philipp Zabel wrote: > > Another thing that might help to identify who is writing where might be to > clear the whole OCRAM region and dump it after running only decode or only > PRE/PRG

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

2021-02-11 Thread Pritthijit Nath
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 a/drivers/staging/vt6656/rf.c b/drivers/staging/vt6656/rf.c index

[PATCH 5.10 15/54] io_uring: reinforce cancel on flush during exit

2021-02-11 Thread Greg Kroah-Hartman
From: Pavel Begunkov [ Upstream commit 3a7efd1ad269ccaf9c1423364d97c9661ba6dafa ] What 84965ff8a84f0 ("io_uring: if we see flush on exit, cancel related tasks") really wants is to cancel all relevant REQ_F_INFLIGHT requests reliably. That can be achieved by io_uring_cancel_files(), but we'll

[PATCH 5.4 03/24] regulator: core: avoid regulator_resolve_supply() race condition

2021-02-11 Thread Greg Kroah-Hartman
From: David Collins [ Upstream commit eaa7995c529b54d68d97a30f6344cc6ca2f214a7 ] The final step in regulator_register() is to call regulator_resolve_supply() for each registered regulator (including the one in the process of being registered). The regulator_resolve_supply() function first

[PATCH 5.4 14/24] 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

[PATCH 5.10 30/54] ASoC: Intel: sof_sdw: set proper flags for Dell TGL-H SKU 0A5E

2021-02-11 Thread Greg Kroah-Hartman
From: Libin Yang [ Upstream commit 9ad9bc59dde106e56dd59ce2bec7c1b08e1f0eb4 ] Add flag "SOF_RT711_JD_SRC_JD2", flag "SOF_RT715_DAI_ID_FIX" and "SOF_SDW_FOUR_SPK" to the Dell TGL-H based SKU "0A5E". Signed-off-by: Libin Yang Co-developed-by: Hui Wang Signed-off-by: Hui Wang Reviewed-by: Bard

[PATCH 5.4 01/24] tracing/kprobe: Fix to support kretprobe events on unloaded modules

2021-02-11 Thread Greg Kroah-Hartman
From: Masami Hiramatsu commit 97c753e62e6c31a404183898d950d8c08d752dbd upstream. Fix kprobe_on_func_entry() returns error code instead of false so that register_kretprobe() can return an appropriate error code. append_trace_kprobe() expects the kprobe registration returns -ENOENT when the

[PATCH 5.4 12/24] iwlwifi: pcie: fix context info memory leak

2021-02-11 Thread Greg Kroah-Hartman
From: Johannes Berg [ Upstream commit 2d6bc752cc2806366d9a4fd577b3f6c1f7a7e04e ] If the image loader allocation fails, we leak all the previously allocated memory. Fix this. Signed-off-by: Johannes Berg Signed-off-by: Luca Coelho Signed-off-by: Kalle Valo Link:

[PATCH 5.10 52/54] 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 5.10 36/54] iwlwifi: pcie: add rules to match Qu with Hr2

2021-02-11 Thread Greg Kroah-Hartman
From: Luca Coelho [ Upstream commit 16062c12edb8ed2dfb15e6a914ff4edf858ab9e0 ] Until now we have been relying on matching the PCI ID and subsystem device ID in order to recognize Qu devices with Hr2. Add rules to match these devices, so that we don't have to add a new rule for every new ID we

[PATCH 5.10 54/54] 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

Re: [PATCH 1/3] regulator: pca9450: Add SD_VSEL GPIO for LDO5

2021-02-11 Thread Mark Brown
On Thu, 11 Feb 2021 11:55:28 +0100, Schrempf Frieder wrote: > LDO5 has two separate control registers. LDO5CTRL_L is used if the > input signal SD_VSEL is low and LDO5CTRL_H if it is high. > The current driver implementation only uses LDO5CTRL_H. To make this > work on boards that have SD_VSEL

Re: [PATCH] regulator: qcom-rpmh: fix pm8009 ldo7

2021-02-11 Thread Mark Brown
On Wed, 10 Feb 2021 22:49:35 -0500, Jonathan Marek wrote: > Use the correct name to avoid ldo7 commands being sent to ldo6's address. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/1] regulator: qcom-rpmh: fix pm8009 ldo7 commit:

Re: [PATCH] video: use getter/setter functions

2021-02-11 Thread Daniel Vetter
On Wed, Feb 10, 2021 at 04:12:58PM +, Lee Jones wrote: > On Wed, 10 Feb 2021, Daniel Vetter wrote: > > > On Wed, Feb 10, 2021 at 08:23:41AM +, Lee Jones wrote: > > > On Tue, 09 Feb 2021, Julia Lawall wrote: > > > > > > > Use getter and setter functions, for platform_device structures and

[PATCH v1 1/4] usb: typec: tps6598x: Add trace event for IRQ events

2021-02-11 Thread Guido Günther
Allow to get irq event information via the tracing framework. This allows to inspect USB-C negotiation at runtime. Signed-off-by: Guido Günther --- drivers/usb/typec/Makefile | 3 + drivers/usb/typec/tps6598x.c | 9 ++- drivers/usb/typec/tps6598x.h | 61

[PATCH v1 2/4] usb: typec: tps6598x: Add trace event for status register

2021-02-11 Thread Guido Günther
This allows to trace status information which helps to debug problems with role switching, etc. Signed-off-by: Guido Günther --- drivers/usb/typec/tps6598x.c | 26 - drivers/usb/typec/tps6598x.h | 66 + drivers/usb/typec/tps6598x_trace.h | 94

[PATCH v1 3/4] usb: typec: tps6598x: Add trace event for power status register

2021-02-11 Thread Guido Günther
Together with the PD status register this is vital for debugging power negotiations at runtime. Signed-off-by: Guido Günther --- drivers/usb/typec/tps6598x.c | 19 +-- drivers/usb/typec/tps6598x.h | 19 +++ drivers/usb/typec/tps6598x_trace.h | 38

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 10/02/21 22:23, Makarand Sonare wrote: > > +void vmx_update_pml_in_vmcs(struct kvm_vcpu *vcpu) > > +{ > > + if (cpu_has_secondary_exec_ctrls()) { > > + if (is_guest_mode(vcpu)) { > > +

[PATCH v1 4/4] usb: typec: tps6598x: Add trace event for data status

2021-02-11 Thread Guido Günther
This is useful to debug DP negotiation and pin assignment even when the firmware does all the work. Signed-off-by: Guido Günther --- drivers/usb/typec/tps6598x.c | 12 ++- drivers/usb/typec/tps6598x.h | 36 drivers/usb/typec/tps6598x_trace.h | 54

[PATCH v1 0/4] usb: typec: tps6598x: Add IRQ flag and register tracing

2021-02-11 Thread Guido Günther
This series adds tracing events for the chips IRQ and registers that are useful to figure out the current data and power status. This came about since diagnosing why a certain usb-c hub or dp-alt-mode adapter fails is hard with the information in /sys/class/typec alone since this does not have a

Re: [PATCH v3] driver core: auxiliary bus: Fix calling stage for auxiliary bus init

2021-02-11 Thread Dave Jiang
On 2/11/2021 12:44 AM, Greg KH wrote: On Wed, Feb 10, 2021 at 01:16:11PM -0700, Dave Jiang wrote: MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("Auxiliary Bus"); MODULE_AUTHOR("David Ertman "); As this code can not be built as a module, can you remove these lines as well? I don't think

[PATCH] enetc: auto select PHYLIB and MDIO_DEVRES

2021-02-11 Thread Tong Zhang
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" [drivers/net/ethernet/freescale/enetc/fsl-enetc-mdio.ko]

[net-next v6 11/14] octeontx2-pf: cn10k: Get max mtu supported from admin function

2021-02-11 Thread Geetha sowjanya
From: Hariprasad Kelam CN10K supports max MTU of 16K on LMAC links and 64k on LBK links and Octeontx2 silicon supports 9K mtu on both links. Get the same from nix_get_hw_info mbox message in netdev probe. This patch also calculates receive buffer size required based on the MTU set.

Re: [PATCH v3] driver core: auxiliary bus: Fix calling stage for auxiliary bus init

2021-02-11 Thread Dave Jiang
On 2/10/2021 11:54 PM, Greg KH wrote: On Wed, Feb 10, 2021 at 01:16:11PM -0700, Dave Jiang wrote: When the auxiliary device code is built into the kernel, it can be executed before the auxiliary bus is registered. This causes bus->p to be not allocated and triggers a NULL pointer dereference

[PATCH v10 01/14] mm/gup: don't pin migrated cma pages in movable zone

2021-02-11 Thread Pavel Tatashin
In order not to fragment CMA the pinned pages are migrated. However, they are migrated to ZONE_MOVABLE, which also should not have pinned pages. Remove __GFP_MOVABLE, so pages can be migrated to zones where pinning is allowed. Signed-off-by: Pavel Tatashin Reviewed-by: David Hildenbrand

[PATCH v10 03/14] mm/gup: return an error on migration failure

2021-02-11 Thread Pavel Tatashin
When migration failure occurs, we still pin pages, which means that we may pin CMA movable pages which should never be the case. Instead return an error without pinning pages when migration failure happens. No need to retry migrating, because migrate_pages() already retries 10 times.

[PATCH v10 04/14] mm/gup: check for isolation errors

2021-02-11 Thread Pavel Tatashin
It is still possible that we pin movable CMA pages if there are isolation errors and cma_page_list stays empty when we check again. Check for isolation errors, and return success only when there are no isolation errors, and cma_page_list is empty after checking. Because isolation errors are

[PATCH] Add the latency-collector to tools

2021-02-11 Thread Viktor Rosendahl
Thanks Steve for the long and detailed answer. On Tue, 2021-01-26 at 14:26 -0500, Steven Rostedt wrote: > > > +#define verbose_sizechange() (verbosity >= 1) > > +#define verbose_lostevent() (verbosity >= 2) > > + > > +static const char *debug_tracefile; > > +static const char

[PATCH v10 10/14] memory-hotplug.rst: add a note about ZONE_MOVABLE and page pinning

2021-02-11 Thread Pavel Tatashin
Document the special handling of page pinning when ZONE_MOVABLE present. Signed-off-by: Pavel Tatashin Suggested-by: David Hildenbrand Acked-by: Michal Hocko --- Documentation/admin-guide/mm/memory-hotplug.rst | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCH v10 07/14] mm: honor PF_MEMALLOC_PIN for all movable pages

2021-02-11 Thread Pavel Tatashin
PF_MEMALLOC_PIN is only honored for CMA pages, extend this flag to work for any allocations from ZONE_MOVABLE by removing __GFP_MOVABLE from gfp_mask when this flag is passed in the current context. Add is_pinnable_page() to return true if page is in a pinnable page. A pinnable page is not in

[PATCH v10 09/14] mm/gup: migrate pinned pages out of movable zone

2021-02-11 Thread Pavel Tatashin
We should not pin pages in ZONE_MOVABLE. Currently, we do not pin only movable CMA pages. Generalize the function that migrates CMA pages to migrate all movable pages. Use is_pinnable_page() to check which pages need to be migrated Signed-off-by: Pavel Tatashin Reviewed-by: John Hubbard ---

[PATCH v10 06/14] mm: apply per-task gfp constraints in fast path

2021-02-11 Thread Pavel Tatashin
Function current_gfp_context() is called after fast path. However, soon we will add more constraints which will also limit zones based on context. Move this call into fast path, and apply the correct constraints for all allocations. Also update .reclaim_idx based on value returned by

[PATCH v10 08/14] mm/gup: do not migrate zero page

2021-02-11 Thread Pavel Tatashin
On some platforms ZERO_PAGE(0) might end-up in a movable zone. Do not migrate zero page in gup during longterm pinning as migration of zero page is not allowed. For example, in x86 QEMU with 16G of memory and kernelcore=5G parameter, I see the following: Boot#1: zero_pfn 0x48a8d zero_pfn zone:

Re: [PATCH] platform/surface: Add platform profile driver

2021-02-11 Thread Hans de Goede
Hi, On 2/11/21 5:34 PM, Maximilian Luz wrote: > > > On 2/11/21 5:31 PM, Hans de Goede wrote: >> Hi, >> >> On 2/11/21 5:17 PM, Maximilian Luz wrote: >>> >>> >>> On 2/11/21 4:56 PM, Hans de Goede wrote: Hi, On 2/8/21 10:38 PM, Maximilian Luz wrote: > > > On 2/8/21 9:27

Re: [PATCH v1 7/7] ACPI: property: Allow counting a single value as an array of 1 element

2021-02-11 Thread Rafael J. Wysocki
On Thu, Feb 11, 2021 at 4:42 PM Andy Shevchenko wrote: > > On Wed, Feb 10, 2021 at 04:44:34PM +0100, Rafael J. Wysocki wrote: > > On Wed, Feb 10, 2021 at 4:42 PM Andy Shevchenko > > wrote: > > > On Wed, Feb 10, 2021 at 04:01:16PM +0100, Rafael J. Wysocki wrote: > > > > On Wed, Feb 10, 2021 at

Re: possible deadlock in start_this_handle (2)

2021-02-11 Thread Michal Hocko
On Thu 11-02-21 14:26:30, Matthew Wilcox wrote: > On Thu, Feb 11, 2021 at 03:20:41PM +0100, Michal Hocko wrote: > > On Thu 11-02-21 13:25:33, Matthew Wilcox wrote: > > > On Thu, Feb 11, 2021 at 02:07:03PM +0100, Michal Hocko wrote: > > > > On Thu 11-02-21 12:57:17, Matthew Wilcox wrote: > > > > >

Re: [PATCH v2] Documentation/admin-guide: kernel-parameters: Update nohlt section

2021-02-11 Thread Jonathan Corbet
Florian Fainelli writes: > Update the documentation regarding "nohlt" and indicate that it is not > only for bugs, but can be useful to disable the architecture specific > sleep instructions. ARM, ARM64, SuperH and Microblaze all use > CONFIG_GENERIC_IDLE_POLL_SETUP which takes care of honoring

Re: [PATCH] doc/admin-guide: fix spelling mistake: "perfomance" -> "performance"

2021-02-11 Thread Jonathan Corbet
Colin King writes: > From: Colin Ian King > > There is a spelling mistake in the perf-security documentation. Fix it. > > Signed-off-by: Colin Ian King > --- > Documentation/admin-guide/perf-security.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [RFC 1/9] mm, arm64: Update PR_SET/GET_TAGGED_ADDR_CTRL interface

2021-02-11 Thread Dave Hansen
Hi Catalin, I noticed there are some ELF bits for ARM's BTI feature: GNU_PROPERTY_AARCH64_FEATURE_1_BTI > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/uapi/linux/elf.h#n453 There's been talk of needing a similar set of bits on x86 for tagged pointers

Re: [RFC 1/9] mm, arm64: Update PR_SET/GET_TAGGED_ADDR_CTRL interface

2021-02-11 Thread Catalin Marinas
Hi Kirill, On Fri, Feb 05, 2021 at 06:16:21PM +0300, Kirill A. Shutemov wrote: > The interface for enabling tagged addresses is very inflexible. It > implies tag size and tag shift implemented by ARM TBI. > > Rework the interface to accommodate different shifts and tag sizes. > >

Re: [PATCH] docs: kernel-hacking: Remove the word fuck,trying to be civil :)

2021-02-11 Thread Jonathan Corbet
Bhaskar Chowdhury writes: > s/fuck// > > > Signed-off-by: Bhaskar Chowdhury > --- > Documentation/kernel-hacking/locking.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/kernel-hacking/locking.rst > b/Documentation/kernel-hacking/locking.rst > index

Re: [PATCH] gen_compile_commands: prune some directories

2021-02-11 Thread Nathan Chancellor
On Fri, Feb 12, 2021 at 01:11:54AM +0900, Masahiro Yamada wrote: > If directories are passed to gen_compile_commands.py, os.walk() traverses > all the subdirectories to search for .cmd files, but we know some of them > are not worth traversing. > > Use the 'topdown' parameter of os.walk to prune

[PATCH v2 1/3] coresight: etm-perf: Clarify comment on perf options

2021-02-11 Thread Mathieu Poirier
From: Leo Yan In theory, the options should be arbitrary values and are neutral for any ETM version; so far perf tool uses ETMv3.5/PTM ETMCR config bits except for register's bit definitions, also uses as options. This can introduce confusion, especially if we want to add a new option but the

[PATCH v2 0/3] coresight: Patches for v5.12 (part 2)

2021-02-11 Thread Mathieu Poirier
Good morning, My previous submission had the wrong baseline and as such was missing a patch. This set applies properly on [1]. Thanks for the patience, Mathieu [1]. 48139bad913d ACRN: update MAINTAINERS: mailing list is subscribers-only Leo Yan (2): coresight: etm-perf: Clarify comment on

[PATCH v2 2/3] coresight: etm-perf: Support PID tracing for kernel at EL2

2021-02-11 Thread Mathieu Poirier
From: Suzuki K Poulose When the kernel is running at EL2, the PID is stored in CONTEXTIDR_EL2. So, tracing CONTEXTIDR_EL1 doesn't give us the pid of the process. Thus we should trace the VMID with VMIDOPT set to trace CONTEXTIDR_EL2 instead of CONTEXTIDR_EL1. Given that we have an existing

Re: [PATCH 09/15] KVM: selftests: Move per-VM GPA into perf_test_args

2021-02-11 Thread Ben Gardon
On Thu, Feb 11, 2021 at 7:58 AM Sean Christopherson wrote: > > On Thu, Feb 11, 2021, Paolo Bonzini wrote: > > On 11/02/21 02:56, Sean Christopherson wrote: > > > > > + pta->gpa = (vm_get_max_gfn(vm) - guest_num_pages) * > > > > > pta->guest_page_size; > > > > > + pta->gpa &=

Re: [PATCH v3] driver core: auxiliary bus: Fix calling stage for auxiliary bus init

2021-02-11 Thread Greg KH
On Thu, Feb 11, 2021 at 09:21:29AM -0700, Dave Jiang wrote: > > On 2/10/2021 11:54 PM, Greg KH wrote: > > On Wed, Feb 10, 2021 at 01:16:11PM -0700, Dave Jiang wrote: > > > When the auxiliary device code is built into the kernel, it can be > > > executed > > > before the auxiliary bus is

[PATCH] ACPI: property: Fix fwnode string properties matching

2021-02-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Property matching does not work for ACPI fwnodes if the value of the given property is not represented as a package in the _DSD package containing it. For example, the "compatible" property in the _DSD below Name (_DSD, Package () {

Re: [RFC][PATCH v2 0/7] objtool x86 decoder fixes

2021-02-11 Thread Nick Desaulniers
On Thu, Feb 11, 2021 at 9:40 AM Peter Zijlstra wrote: > > Hi, > > Since I had to look at instruction decoding for the stack swizzle thing, I > ended up with a few more changes to the objtool x86 decoder. > > These patches are lightly tested (they build defconfig and allmodconfig using > GCC10),

[PATCH] perf env: Remove unneeded internal/cpumap inclusions

2021-02-11 Thread Ian Rogers
Minor cleanup. Signed-off-by: Ian Rogers --- tools/perf/bench/epoll-ctl.c | 1 - tools/perf/bench/epoll-wait.c | 1 - tools/perf/bench/futex-hash.c | 1 - tools/perf/bench/futex-lock-pi.c | 1 - tools/perf/bench/futex-requeue.c | 1 -

Re: [PATCH V3 11/14] coresight: sink: Add TRBE driver

2021-02-11 Thread Mathieu Poirier
On Wed, Jan 27, 2021 at 02:25:35PM +0530, Anshuman Khandual wrote: > Trace Buffer Extension (TRBE) implements a trace buffer per CPU which is > accessible via the system registers. The TRBE supports different addressing > modes including CPU virtual address and buffer modes including the circular

Re: [PATCH v5 3/4] usb: host: xhci-plat: Create platform device for onboard hubs in probe()

2021-02-11 Thread Matthias Kaehlcke
On Thu, Feb 11, 2021 at 10:45:48AM -0800, Matthias Kaehlcke wrote: > Hi Greg, > > On Thu, Feb 11, 2021 at 07:58:23AM +0100, Greg Kroah-Hartman wrote: > > On Wed, Feb 10, 2021 at 09:10:38AM -0800, Matthias Kaehlcke wrote: > > > Check during probe() if a hub supported by the onboard_usb_hub > > >

[PATCH 5.10 02/54] io_uring: add a {task,files} pair matching helper

2021-02-11 Thread Greg Kroah-Hartman
From: Pavel Begunkov [ Upstream commit 08d23634643c239ddae706758f54d3a8e0c24962 ] Add io_match_task() that matches both task and files. Signed-off-by: Pavel Begunkov Signed-off-by: Jens Axboe Signed-off-by: Greg Kroah-Hartman --- fs/io_uring.c | 63

[PATCH 5.10 20/54] regulator: core: avoid regulator_resolve_supply() race condition

2021-02-11 Thread Greg Kroah-Hartman
From: David Collins [ Upstream commit eaa7995c529b54d68d97a30f6344cc6ca2f214a7 ] The final step in regulator_register() is to call regulator_resolve_supply() for each registered regulator (including the one in the process of being registered). The regulator_resolve_supply() function first

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

2021-02-11 Thread Rafael J. Wysocki
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 stuff altogether. > > Note, the more recent platforms

[PATCH 5.10 03/54] io_uring: dont iterate io_uring_cancel_files()

2021-02-11 Thread Greg Kroah-Hartman
From: Pavel Begunkov [ Upstream commit b52fda00dd9df8b4a6de5784df94f9617f6133a1 ] io_uring_cancel_files() guarantees to cancel all matching requests, that's not necessary to do that in a loop. Move it up in the callchain into io_uring_cancel_task_requests(). Signed-off-by: Pavel Begunkov

[PATCH 5.10 28/54] ALSA: hda: intel-dsp-config: add PCI id for TGL-H

2021-02-11 Thread Greg Kroah-Hartman
From: Bard Liao [ Upstream commit c5b5ff607d6fe5f4284acabd07066f96ecf96ac4 ] Adding PCI id for TGL-H. Like for other TGL platforms, SOF is used if Soundwire codecs or PCH-DMIC is detected. Signed-off-by: Bard Liao Reviewed-by: Xiuli Pan Reviewed-by: Libin Yang Signed-off-by: Kai Vehmanen

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

2021-02-11 Thread Mark Brown
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 > regulator_resolve_supply() for each registered regulator This is buggy without a

[PATCH 2/2] quota: wire up quotactl_path

2021-02-11 Thread Sascha Hauer
Wire up the quotactl_path syscall added in the previous patch. Signed-off-by: Sascha Hauer --- arch/alpha/kernel/syscalls/syscall.tbl | 1 + arch/arm/tools/syscall.tbl | 1 + arch/arm64/include/asm/unistd.h | 2 +- arch/arm64/include/asm/unistd32.h |

[PATCH v2 0/2] quota: Add mountpath based quota support

2021-02-11 Thread Sascha Hauer
Current quotactl syscall uses a path to a block device to specify the filesystem to work on which makes it unsuitable for filesystems that do not have a block device. This series adds a new syscall quotactl_path() which replaces the path to the block device with a mountpath, but otherwise behaves

[PATCH] quotactl.2: Add documentation for quotactl_path()

2021-02-11 Thread Sascha Hauer
Expand the quotactl.2 manpage with a description for quotactl_path() that takes a mountpoint path instead of a path to a block device. Signed-off-by: Sascha Hauer --- man2/quotactl.2 | 31 --- man2/quotactl_path.2 | 1 + 2 files changed, 29 insertions(+), 3

[PATCH 5.10 34/54] iwlwifi: pcie: fix context info memory leak

2021-02-11 Thread Greg Kroah-Hartman
From: Johannes Berg [ Upstream commit 2d6bc752cc2806366d9a4fd577b3f6c1f7a7e04e ] If the image loader allocation fails, we leak all the previously allocated memory. Fix this. Signed-off-by: Johannes Berg Signed-off-by: Luca Coelho Signed-off-by: Kalle Valo Link:

Re: [PATCH v13 0/7] arm64: ARMv8.5-A: MTE: Add async mode support

2021-02-11 Thread Vincenzo Frascino
On 2/11/21 3:33 PM, Vincenzo Frascino wrote: > The series is based on linux-next/akpm. > > To simplify the testing a tree with the new patches on top has been made > available at [1]. > > [1] https://git.gitlab.arm.com/linux-arm/linux-vf.git mte/v11.async.akpm akpm tree seems currently broken

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

2021-02-11 Thread Mark Brown
On Thu, Feb 11, 2021 at 04:38:08PM +0100, Greg Kroah-Hartman wrote: > On Thu, Feb 11, 2021 at 03:26:56PM +, Mark Brown wrote: > > > The final step in regulator_register() is to call > > > regulator_resolve_supply() for each registered regulator > > This is buggy without a followup which

Re: [PATCH] spi: atmel-quadspi: Disable the QSPI IP at suspend()

2021-02-11 Thread Mark Brown
On Wed, 10 Feb 2021 15:54:28 +0200, Tudor Ambarus wrote: > It is safer to disable the QSPI IP at suspend, in order to avoid > possible impact of glitches on the internal FSMs. This is a theoretical > fix, there were no problems seen as of now. Tested on sama5d2 and > sam9x60 versions of the IP.

Re: [PATCH RFC 6/6] btrfs: Add roundrobin raid1 read policy

2021-02-11 Thread Michal Rostecki
On Wed, Feb 10, 2021 at 04:20:20PM +0800, Anand Jain wrote: > On 10/02/2021 04:30, Michal Rostecki wrote: > > The penalty value is an additional value added to the number of inflight > > requests when a scheduled request is non-local (which means it would > > start from the different physical

[net-next v6 10/14] octeontx2-af: cn10K: Add MTU configuration

2021-02-11 Thread Geetha sowjanya
From: Hariprasad Kelam OcteonTx3 CN10K silicon supports bigger MTU when compared to 9216 MTU supported by OcteonTx2 silicon variants. Lookback interface supports upto 64K and RPM LMAC interfaces support upto 16K. This patch does the necessary configuration and adds support for PF/VF drivers to

[net-next v6 14/14] octeontx2-af: cn10k: MAC internal loopback support

2021-02-11 Thread Geetha sowjanya
From: Hariprasad Kelam MAC on CN10K silicon support loopback for selftest or debug purposes. This patch does necessary configuration to loopback packets upon receiving request from LMAC mapped RVU PF's netdev via mailbox. Also MAC (CGX) on OcteonTx2 silicon variants and MAC (RPM) on OcteonTx3

[net-next v6 12/14] octeontx2-af: cn10k: Add RPM LMAC pause frame support

2021-02-11 Thread Geetha sowjanya
From: Rakesh Babu Flow control configuration is different for CGX(Octeontx2) and RPM(CN10K) functional blocks. This patch adds the necessary changes for RPM to support 802.3 pause frames configuration on cn10k platforms. Signed-off-by: Rakesh Babu Signed-off-by: Geetha sowjanya Signed-off-by:

[PATCH net-next v2 1/5] lan743x: boost performance on cpu archs w/o dma cache snooping

2021-02-11 Thread Sven Van Asbroeck
From: Sven Van Asbroeck The buffers in the lan743x driver's receive ring are always 9K, even when the largest packet that can be received (the mtu) is much smaller. This performs particularly badly on cpu archs without dma cache snooping (such as ARM): each received packet results in a 9K

[PATCH net-next v2 0/5] lan743x speed boost

2021-02-11 Thread Sven Van Asbroeck
From: Sven Van Asbroeck Tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git # e4b62cf7559f v1 -> v2: - Andrew Lunn: + always keep to Reverse Christmas Tree. + "changing the cache operations to operate on the received length" should go in its own, separate

[PATCH net-next v2 4/5] TEST ONLY: lan743x: skb_alloc failure test

2021-02-11 Thread Sven Van Asbroeck
From: Sven Van Asbroeck Simulate low-memory in lan743x_rx_allocate_skb(): fail 10 allocations in a row in every 100. Signed-off-by: Sven Van Asbroeck --- To: Bryan Whitehead To: unglinuxdri...@microchip.com To: "David S. Miller" To: Jakub Kicinski Cc: Andrew Lunn Cc: Alexey Denisov Cc:

[PATCH net-next v2 3/5] TEST ONLY: lan743x: limit rx ring buffer size to 500 bytes

2021-02-11 Thread Sven Van Asbroeck
From: Sven Van Asbroeck Signed-off-by: Sven Van Asbroeck --- To: Bryan Whitehead To: unglinuxdri...@microchip.com To: "David S. Miller" To: Jakub Kicinski Cc: Andrew Lunn Cc: Alexey Denisov Cc: Sergej Bauer Cc: Tim Harvey Cc: Anders Rønningen Cc: Hillf Danton Cc: Christoph Hellwig

[PATCH net-next v2 2/5] lan743x: sync only the received area of an rx ring buffer

2021-02-11 Thread Sven Van Asbroeck
From: Sven Van Asbroeck On cpu architectures w/o dma cache snooping, dma_unmap() is a is a very expensive operation, because its resulting sync needs to invalidate cpu caches. Increase efficiency/performance by syncing only those sections of the lan743x's rx ring buffers that are actually in

drivers/media/common/videobuf2/videobuf2-vmalloc.c:108:12: error: implicit declaration of function '__pfn_to_phys'

2021-02-11 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb commit: 4bfc848e0981fcd35db00fe1c6581560689f6dc7 m68k/mm: enable use of generic memory_model.h for !DISCONTIGMEM date: 8 weeks ago config:

[PATCH net-next v2 5/5] TEST ONLY: lan743x: skb_trim failure test

2021-02-11 Thread Sven Van Asbroeck
From: Sven Van Asbroeck Simulate low-memory in lan743x_rx_trim_skb(): fail one allocation in every 100. Signed-off-by: Sven Van Asbroeck --- To: Bryan Whitehead To: unglinuxdri...@microchip.com To: "David S. Miller" To: Jakub Kicinski Cc: Andrew Lunn Cc: Alexey Denisov Cc: Sergej Bauer

[PATCH v10 12/14] mm/gup: longterm pin migration cleanup

2021-02-11 Thread Pavel Tatashin
When pages are longterm pinned, we must migrated them out of movable zone. The function that migrates them has a hidden loop with goto. The loop is to retry on isolation failures, and after successful migration. Make this code better by moving this loop to the caller. Signed-off-by: Pavel

[PATCH v10 13/14] selftests/vm: gup_test: fix test flag

2021-02-11 Thread Pavel Tatashin
In gup_test both gup_flags and test_flags use the same flags field. This is broken. Farther, in the actual gup_test.c all the passed gup_flags are erased and unconditionally replaced with FOLL_WRITE. Which means that test_flags are ignored, and code like this always performs pin dump test: 155

Re: [PATCH] platform/surface: Add platform profile driver

2021-02-11 Thread Hans de Goede
Hi, On 2/11/21 5:17 PM, Maximilian Luz wrote: > > > On 2/11/21 4:56 PM, Hans de Goede wrote: >> Hi, >> >> On 2/8/21 10:38 PM, Maximilian Luz wrote: >>> >>> >>> On 2/8/21 9:27 PM, Hans de Goede wrote: >> >> >> > +static int convert_ssam_to_profile(struct ssam_device *sdev, enum >

Re: [PATCH v6 2/3] v4l: ioctl: Use %p4cc printk modifier to print FourCC codes

2021-02-11 Thread Petr Mladek
On Mon 2021-02-08 22:09:02, Sakari Ailus wrote: > Now that we can print FourCC codes directly using printk, make use of the > feature in V4L2 core. > > Signed-off-by: Sakari Ailus > --- > drivers/media/v4l2-core/v4l2-ioctl.c | 85 +++- > 1 file changed, 21 insertions(+),

Re: [PATCH v2 5/8] cxl/mem: Add a "RAW" send command

2021-02-11 Thread Dan Williams
On Wed, Feb 10, 2021 at 7:27 AM wrote: > > > diff --git a/drivers/cxl/Kconfig b/drivers/cxl/Kconfig > > index c4ba3aa0a05d..08eaa8e52083 100644 > > --- a/drivers/cxl/Kconfig > > +++ b/drivers/cxl/Kconfig > > @@ -33,6 +33,24 @@ config CXL_MEM > > > > If unsure say 'm'. > > > > +config

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

2021-02-11 Thread David Ahern
On 2/9/21 3:31 AM, Oleksandr Mazur 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 Mazur > --- applied to iproute2-next. In the future, please add example commands -

Re: [PATCH 1/1] s390/vfio-ap: fix circular lockdep when setting/clearing crypto masks

2021-02-11 Thread Halil Pasic
On Thu, 11 Feb 2021 09:21:26 -0500 Tony Krowiak wrote: > Yes, it makes sense. I guess I didn't look closely at your > suggestion when I said it was exactly what I implemented > after agreeing with Connie. I had a slight difference in > my implementation: > > static void

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

2021-02-11 Thread Oleksandr Mazur
On 2/9/21 3:31 AM, Oleksandr Mazur 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 Mazur > --- > applied to iproute2-next. > In the future, please add example

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

2021-02-11 Thread kernel test robot
Hi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on clk/clk-next] [also build test WARNING on linus/master v5.11-rc7 next-20210211] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base

include/linux/compiler_types.h:315:38: error: call to '__compiletime_assert_498' declared with attribute error: BUILD_BUG_ON failed: offsetof(struct can_frame, len) != offsetof(struct canfd_frame, len

2021-02-11 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb commit: c7b74967799b1af52b3045d69d4c26836b2d41de can: replace can_dlc as variable/element for payload length date: 3 months ago config:

Re: [PATCH v2 4/8] cxl/mem: Add basic IOCTL interface

2021-02-11 Thread Ben Widawsky
On 21-02-11 10:06:46, Jonathan Cameron wrote: > On Wed, 10 Feb 2021 20:40:52 -0800 > Dan Williams wrote: > > > On Wed, Feb 10, 2021 at 10:47 AM Jonathan Cameron > > wrote: > > [..] > > > > +#define CXL_CMDS > > > >\ > > > > +

[PATCH] staging: wimax: Fix some coding style problems

2021-02-11 Thread Hemansh Agnihotri
This fixes checkpatch errors :- "else should follow close brace '}'", "space required before the open parenthesis '('" and "spaces required around that '?' (ctx:VxW)" in drivers/staging/wimax/i2400m/rx.c file. Signed-off-by: Hemansh Agnihotri --- drivers/staging/wimax/i2400m/rx.c | 11

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