[PATCH v6 07/15] dmaengine: dw-edma: Improve number of channels check

2021-02-12 Thread Gustavo Pimentel
It was added some extra checks to ensure that the driver doesn't try to use more DMA channels than actually are available in hardware. Signed-off-by: Gustavo Pimentel --- drivers/dma/dw-edma/dw-edma-core.c | 21 + drivers/dma/dw-edma/dw-edma-core.h | 2 ++ 2 files changed,

[PATCH v6 06/15] dmaengine: dw-edma: Add device_prep_interleave_dma() support

2021-02-12 Thread Gustavo Pimentel
Add device_prep_interleave_dma() support to Synopsys DMA driver. This feature implements a similar data transfer mechanism to the scatter-gather implementation. Signed-off-by: Gustavo Pimentel --- drivers/dma/dw-edma/dw-edma-core.c | 85 ++

[PATCH v6 04/15] PCI: Add pci_find_vsec_capability() to find a specific VSEC

2021-02-12 Thread Gustavo Pimentel
Adds another helper to ones that already exist called pci_find_vsec_capability. This helper crawls through the device PCI config space searching for a specific ID on the Vendor-Specific Extended Capabilities section. The Vendor-Specific Extended Capability (VSEC) is a special PCI capability (acts

[PATCH v6 05/15] dmaengine: dw-edma: Add PCIe VSEC data retrieval support

2021-02-12 Thread Gustavo Pimentel
The latest eDMA IP development implements a Vendor-Specific Extended Capability that contains the eDMA BAR, offset, map format, and the number of read/write channels available. Signed-off-by: Gustavo Pimentel --- drivers/dma/dw-edma/dw-edma-core.c | 20 ---

[PATCH v6 03/15] dmaengine: dw-edma: Add support for the HDMA feature

2021-02-12 Thread Gustavo Pimentel
Add support for the HDMA feature. This new feature enables the current eDMA IP to use a deeper prefetch of the linked list, which reduces the algorithm execution latency observed when loading the elements of the list, causing more stable and higher data transfer. Signed-off-by: Gustavo Pimentel

[PATCH v6 02/15] dmaengine: dw-edma: Fix comments offset characters' alignment

2021-02-12 Thread Gustavo Pimentel
Fix comments offset characters' alignment to follow the same structure of similar comments. Signed-off-by: Gustavo Pimentel --- drivers/dma/dw-edma/dw-edma-v0-regs.h | 214 +- 1 file changed, 107 insertions(+), 107 deletions(-) diff --git

Re: [PATCH V2] mm: compaction: update the COMPACT[STALL|FAIL] events properly

2021-02-12 Thread Vlastimil Babka
On 2/12/21 6:33 PM, Charan Teja Reddy wrote: > By definition, COMPACT[STALL|FAIL] events needs to be counted when there > is 'At least in one zone compaction wasn't deferred or skipped from the > direct compaction'. And when compaction is skipped or deferred, > COMPACT_SKIPPED will be returned but

[PATCH v6 01/15] dmaengine: dw-edma: Add writeq() and readq() for 64 bits architectures

2021-02-12 Thread Gustavo Pimentel
Add writeq() and readq() for 64 bits architures support. Supporting these two functions will allow the write or the read of eDMA 64 bits registers at once instead of having two consecutive operations. Also, this improvement will allow the PCI optimization transaction messages, which will

[PATCH v6 00/15] dmaengine: dw-edma: HDMA support

2021-02-12 Thread Gustavo Pimentel
This patch series adds the HDMA support, as long the IP design has set the compatible register map parameter, which allows compatibility at some degree for the existing Synopsys DesignWare eDMA driver that is already available on the Kernel. The HDMA "Hyper-DMA" IP is an enhancement of the eDMA

Re: [PATCH] pinctrl: use to octal permissions for debugfs files

2021-02-12 Thread Drew Fustini
On Fri, Feb 12, 2021 at 08:58:58AM +0100, Linus Walleij wrote: > On Tue, Jan 26, 2021 at 5:55 AM Drew Fustini wrote: > > > Switch over pinctrl debugfs files to use octal permissions as they are > > preferred over symbolic permissions. Refer to commit f90774e1fd27 > > ("checkpatch: look for

[PATCH V2] mm: compaction: update the COMPACT[STALL|FAIL] events properly

2021-02-12 Thread Charan Teja Reddy
By definition, COMPACT[STALL|FAIL] events needs to be counted when there is 'At least in one zone compaction wasn't deferred or skipped from the direct compaction'. And when compaction is skipped or deferred, COMPACT_SKIPPED will be returned but it will still go and update these compaction events

Re: [PATCH v6 09/10] usb: dwc3: qcom: Detect DWC3 DT-nodes with "usb"-prefixed names

2021-02-12 Thread Serge Semin
On Wed, Feb 10, 2021 at 10:33:26PM +0300, Serge Semin wrote: > On Wed, Feb 10, 2021 at 12:56:59PM -0600, Bjorn Andersson wrote: > > On Wed 10 Feb 12:40 CST 2021, Serge Semin wrote: > > > > > On Wed, Feb 10, 2021 at 12:17:27PM -0600, Rob Herring wrote: > > > > On Wed, Feb 10, 2021 at 11:29 AM

Re: [PATCH v7 28/28] coresight: Add support for v8.4 SelfHosted tracing

2021-02-12 Thread Mike Leach
Hi Suzuki, On Fri, 12 Feb 2021 at 15:36, Suzuki K Poulose wrote: > > Hi Mike > > On 2/12/21 10:34 AM, Mike Leach wrote: > > Hi Mathieu, Suzuki, > > > > Sorry for the really late response on this patch, but I noticed a > > problem while doing a review of the ETE / TRBE set. (TRBE specs > >

Re: [PATCH v4] MAINTAINERS: move Milo Kim to credits

2021-02-12 Thread Sebastian Reichel
Hi, On Fri, Feb 12, 2021 at 05:32:29PM +0100, Krzysztof Kozlowski wrote: > Milo Kim's email in TI bounces with permanent error (550: Invalid > recipient). Last email from him on LKML was in 2017. Move Milo Kim to > credits and remove the separate driver entries for: > - TI LP855x backlight

RE: [PATCH v2] iommu: Check dev->iommu in iommu_dev_xxx functions

2021-02-12 Thread Shameerali Kolothum Thodi
> -Original Message- > From: Shameerali Kolothum Thodi > Sent: 12 February 2021 16:45 > To: 'Robin Murphy' ; linux-kernel@vger.kernel.org; > io...@lists.linux-foundation.org > Cc: j...@8bytes.org; jean-phili...@linaro.org; w...@kernel.org; Zengtao (B) > ; linux...@openeuler.org >

[PATCH v6 5/5] docs: ABI: Add sysfs documentation interface of dw-xdata-pcie driver

2021-02-12 Thread Gustavo Pimentel
This patch describes the sysfs interface implemented on the dw-xdata-pcie driver. Signed-off-by: Gustavo Pimentel --- Documentation/ABI/testing/sysfs-driver-xdata | 46 1 file changed, 46 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-xdata

[PATCH v6 4/5] MAINTAINERS: Add Synopsys xData IP driver maintainer

2021-02-12 Thread Gustavo Pimentel
Add Synopsys xData IP driver maintainer. This driver aims to support Synopsys xData IP and is normally distributed along with Synopsys PCIe EndPoint IP as a PCIe traffic generator (depends of the use and licensing agreement). Signed-off-by: Gustavo Pimentel --- MAINTAINERS | 7 +++ 1 file

[PATCH v6 2/5] misc: Add Synopsys DesignWare xData IP driver to Makefile and Kconfig

2021-02-12 Thread Gustavo Pimentel
Add Synopsys DesignWare xData IP driver to Makefile and Kconfig. This driver enables/disables the PCIe traffic generator module pertain to the Synopsys DesignWare prototype. Signed-off-by: Gustavo Pimentel --- drivers/misc/Kconfig | 10 ++ drivers/misc/Makefile | 1 + 2 files

[PATCH v6 3/5] Documentation: misc-devices: Add Documentation for dw-xdata-pcie driver

2021-02-12 Thread Gustavo Pimentel
Add Documentation for dw-xdata-pcie driver. Signed-off-by: Gustavo Pimentel --- Documentation/misc-devices/dw-xdata-pcie.rst | 40 1 file changed, 40 insertions(+) create mode 100644 Documentation/misc-devices/dw-xdata-pcie.rst diff --git

[PATCH v6 0/5] misc: Add Add Synopsys DesignWare xData IP driver

2021-02-12 Thread Gustavo Pimentel
This patch series adds a new driver called xData-pcie for the Synopsys DesignWare PCIe prototype. The driver configures and enables the Synopsys DesignWare PCIe traffic generator IP inside of prototype Endpoint which will generate upstream and downstream PCIe traffic. This allows to quickly test

[PATCH v6 1/5] misc: Add Synopsys DesignWare xData IP driver

2021-02-12 Thread Gustavo Pimentel
Add Synopsys DesignWare xData IP driver. This driver enables/disables the PCI traffic generator module pertain to the Synopsys DesignWare prototype. Signed-off-by: Gustavo Pimentel --- drivers/misc/dw-xdata-pcie.c | 390 +++ 1 file changed, 390

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

2021-02-12 Thread Catalin Marinas
On Thu, Feb 11, 2021 at 03:33:52PM +, Vincenzo Frascino wrote: > void mte_suspend_exit(void) > { > if (!system_supports_mte()) > return; > > update_gcr_el1_excl(gcr_kernel_excl); > + > + /* Clear SYS_TFSR_EL1 after suspend exit */ > + write_sysreg_s(0,

[PATCH] coresight: etm4x: Add ETM PIDs for Cortex-A55 and Cortex-A78

2021-02-12 Thread Sai Prakash Ranjan
Add ETM PIDs for Cortex-A55 and Cortex-A78 to the list of supported ETMs. Signed-off-by: Sai Prakash Ranjan --- drivers/hwtracing/coresight/coresight-etm4x-core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/hwtracing/coresight/coresight-etm4x-core.c

[PATCH v6 1/1] iio/scmi: Adding support for IIO SCMI Based Sensors

2021-02-12 Thread Jyoti Bhayana
This change provides ARM SCMI Protocol based IIO device. This driver provides support for Accelerometer and Gyroscope using SCMI Sensor Protocol extensions added in the SCMIv3.0 ARM specification Reported-by: kernel test robot Signed-off-by: Jyoti Bhayana --- MAINTAINERS

[PATCH v6 0/1] Adding support for IIO SCMI based sensors

2021-02-12 Thread Jyoti Bhayana
Hi, This series adds support for ARM SCMI Protocol based IIO Device. This driver provides support for Accelerometer and Gyroscope sensor using SCMI Sensor Protocol extensions added in the SCMIv3.0 ARM specification, which is available at https://developer.arm.com/documentation/den0056/c/ This

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

2021-02-12 Thread Catalin Marinas
On Thu, Feb 11, 2021 at 03:33:53PM +, Vincenzo Frascino wrote: > 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 >

Re: [PATCH v13 4/7] arm64: mte: Enable TCO in functions that can read beyond buffer limits

2021-02-12 Thread Catalin Marinas
On Thu, Feb 11, 2021 at 03:33:50PM +, Vincenzo Frascino wrote: > diff --git a/arch/arm64/kernel/mte.c b/arch/arm64/kernel/mte.c > index 706b7ab75f31..65ecb86dd886 100644 > --- a/arch/arm64/kernel/mte.c > +++ b/arch/arm64/kernel/mte.c > @@ -26,6 +26,10 @@ u64 gcr_kernel_excl __ro_after_init; >

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

2021-02-12 Thread Shuah Khan
On 2/11/21 10:36 PM, Felix Fietkau wrote: On 2021-02-12 03:13, 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 mt76_check_sta() to hold RCU read lock before it calls

[PATCH 2/3] MAINTAINERS: update Andrey Konovalov's email address

2021-02-12 Thread Andrey Konovalov
Use my personal email address. Signed-off-by: Andrey Konovalov --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index a58e56f91ed7..7b3d374c858d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9584,7 +9584,7 @@ F:

Re: [PATCH v17 02/10] of: Add a common kexec FDT setup function

2021-02-12 Thread Lakshmi Ramasubramanian
On 2/12/21 6:38 AM, Rob Herring wrote: On Thu, Feb 11, 2021 at 7:17 PM Lakshmi Ramasubramanian wrote: On 2/11/21 5:09 PM, Thiago Jung Bauermann wrote: There's actually a complication that I just noticed and needs to be addressed. More below. <...> + +/* + * of_kexec_alloc_and_setup_fdt

[PATCH 3/3] MAINTAINERS: add Andrey Konovalov to KASAN reviewers

2021-02-12 Thread Andrey Konovalov
Add my personal email address to KASAN reviewers list. Signed-off-by: Andrey Konovalov --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7b3d374c858d..e9fccfb27e2d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9561,6 +9561,7 @@ F:

[PATCH 1/3] MAINTAINERS: update KASAN file list

2021-02-12 Thread Andrey Konovalov
Account for the following files: - lib/Kconfig.kasan - lib/test_kasan_module.c - arch/arm64/include/asm/mte-kasan.h Signed-off-by: Andrey Konovalov --- MAINTAINERS | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

Re: [PATCH] staging: wimax/i2400m: fix some byte order issues found by sparse

2021-02-12 Thread Anirudh Rayabharam
On Fri, Feb 12, 2021 at 03:43:10PM +0100, Greg KH wrote: > On Fri, Feb 12, 2021 at 08:00:25PM +0530, Anirudh Rayabharam wrote: > > On Thu, Feb 11, 2021 at 09:35:27PM +0100, Greg KH wrote: > > > On Fri, Feb 12, 2021 at 01:59:08AM +0530, Anirudh Rayabharam wrote: > > > > Fix sparse byte-order

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

2021-02-12 Thread Michal Rostecki
Hi Anand, re: inflight calculation On Thu, Feb 11, 2021 at 03:55:33PM +, Michal Rostecki wrote: > > It is better to have random workloads in the above three categories > > of configs. > > > > Apart from the above three configs, there is also > > all-non-rotational with hetero > > For

[PATCH 2/2] libnvdimm: Make remove callback return void

2021-02-12 Thread Uwe Kleine-König
All drivers return 0 in their remove callback and the driver core ignores the return value of nvdimm_bus_remove() anyhow. So simplify by changing the driver remove callback to return void and return 0 unconditionally to the upper layer. Signed-off-by: Uwe Kleine-König ---

[PATCH 1/2] libnvdimm: simplify nvdimm_remove()

2021-02-12 Thread Uwe Kleine-König
nvdimm_remove is only ever called after nvdimm_probe() returned successfully. In this case driver data is always set to a non-NULL value so the check for driver data being NULL can go away as it's always false. Signed-off-by: Uwe Kleine-König --- drivers/nvdimm/dimm.c | 3 --- 1 file changed, 3

Re: [PATCH] MAINTAINERS: cpuidle: exynos: include header in file pattern

2021-02-12 Thread Rafael J. Wysocki
On Fri, Feb 12, 2021 at 5:41 PM Krzysztof Kozlowski wrote: > > On Fri, Feb 12, 2021 at 04:56:53PM +0100, Rafael J. Wysocki wrote: > > On Wed, Feb 10, 2021 at 6:23 PM Krzysztof Kozlowski wrote: > > > > > > Inclue the platform data header in Exynos cpuidle maintainer entry. > > > > > > Cc:

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

2021-02-12 Thread Josh Poimboeuf
On Fri, Feb 12, 2021 at 04:30:49PM +0100, Greg Kroah-Hartman wrote: > On Thu, Feb 11, 2021 at 10:46:05AM -0800, Nick Desaulniers wrote: > > 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, > > > >

Re: [PATCH v5 net-next 05/10] net: switchdev: pass flags and mask to both {PRE_,}BRIDGE_FLAGS attributes

2021-02-12 Thread Grygorii Strashko
On 12/02/2021 17:15, Vladimir Oltean wrote: From: Vladimir Oltean This switchdev attribute offers a counterproductive API for a driver writer, because although br_switchdev_set_port_flag gets passed a "flags" and a "mask", those are passed piecemeal to the driver, so while the

Re: [PATCH v5 net-next 01/10] net: switchdev: propagate extack to port attributes

2021-02-12 Thread Grygorii Strashko
On 12/02/2021 17:15, Vladimir Oltean wrote: From: Vladimir Oltean When a struct switchdev_attr is notified through switchdev, there is no way to report informational messages, unlike for struct switchdev_obj. Signed-off-by: Vladimir Oltean Reviewed-by: Ido Schimmel Reviewed-by: Florian

[PATCH v2 4/4] perf tools: determine if LR is the return address

2021-02-12 Thread Alexandre Truong
On arm64 and frame pointer mode (e.g: perf record --callgraph fp), use dwarf unwind info to check if the link register is the return address in order to inject it to the frame pointer stack. Write the following application: int a = 10; void f2(void) { for

[PATCH v2 1/4] perf tools: record aarch64 registers automatically

2021-02-12 Thread Alexandre Truong
On arm64, automatically record all the registers if the frame pointer mode is on. They will be used to do a dwarf unwind to find the caller of the leaf frame if the frame pointer was omitted. Signed-off-by: Alexandre Truong --- tools/perf/arch/arm64/util/machine.c | 7 +++

[PATCH v2 3/4] perf tools: enable dwarf_callchain_users on aarch64

2021-02-12 Thread Alexandre Truong
On arm64, enable dwarf_callchain_users which will be needed to do a dwarf unwind in order to get the caller of the leaf frame. Signed-off-by: Alexandre Truong --- tools/perf/builtin-report.c | 4 1 file changed, 4 insertions(+) diff --git a/tools/perf/builtin-report.c

[PATCH v2 2/4] perf tools: add a mechanism to inject stack frames

2021-02-12 Thread Alexandre Truong
Add a mechanism for platforms to inject stack frames for the leaf frame caller if there is enough information to determine a frame is missing from dwarf or other post processing mechanisms. Signed-off-by: Alexandre Truong --- tools/perf/util/machine.c | 23 +++ 1 file

[PATCH 2/4] mm: memcontrol: add missing memcg_oom_recover() when uncharge slab page

2021-02-12 Thread Muchun Song
When we uncharge a page, we wake up oom victims when the memcg oom handling is outsourced to the userspace. The uncharge_batch do that for normal and kmem pages but not slab pages. It is likely an omission. So add the missing memcg_oom_recover() to __memcg_kmem_uncharge(). And the function of

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

2021-02-12 Thread Mathieu Poirier
On Fri, Feb 12, 2021 at 11:13:01AM +0530, Anshuman Khandual wrote: > > > On 2/11/21 12:30 AM, Mathieu Poirier wrote: > > 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

[PATCH 4/4] mm: memcontrol: fix swap uncharge on cgroup v2

2021-02-12 Thread Muchun Song
The swap charges the actual number of swap entries on cgroup v2. If a swap cache page is charged successful, and then we uncharge the swap counter. It is wrong on cgroup v2. Because the swap entry is not freed. Fixes: 2d1c498072de ("mm: memcontrol: make swap tracking an integral part of memory

[PATCH 1/4] mm: memcontrol: remove memcg check from memcg_oom_recover

2021-02-12 Thread Muchun Song
The memcg_oom_recover() almost never do anything but the test (because oom_disabled is a rarely used) is just waste of cycles in some hot paths (e.g. kmem uncharge). And it is very small, so it is better to make it inline. Also, the parameter of memcg cannot be NULL, so removing the check can

[PATCH 3/4] mm: memcontrol: bail out early when id is zero

2021-02-12 Thread Muchun Song
The memcg ID cannot be zero, but we can pass zero to mem_cgroup_from_id, so idr_find() is pointless and wastes CPU cycles. Signed-off-by: Muchun Song --- mm/memcontrol.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index a3f26522765a..68ed4b297c13

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

2021-02-12 Thread Mathieu Poirier
[...] > > > > > >> + if (nr_pages < 2) > >> + return NULL; > >> + > >> + buf = kzalloc_node(sizeof(*buf), GFP_KERNEL, trbe_alloc_node(event)); > >> + if (IS_ERR(buf)) > >> + return ERR_PTR(-ENOMEM); > >> + > >> + pglist = kcalloc(nr_pages, sizeof(*pglist), GFP_KERNEL); >

[PATCH v2 2/2] virt: acrn: Make remove_cpu sysfs invisible with !CONFIG_HOTPLUG_CPU

2021-02-12 Thread shuo . a . liu
From: Shuo Liu Without cpu hotplug support, vCPU cannot be removed from a Service VM. Don't expose remove_cpu sysfs when CONFIG_HOTPLUG_CPU disabled. Signed-off-by: Shuo Liu --- drivers/virt/acrn/hsm.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/virt/acrn/hsm.c

[PATCH v2 1/2] cpu/hotplug: Fix build error of using {add,remove}_cpu() with !CONFIG_SMP

2021-02-12 Thread shuo . a . liu
From: Shuo Liu 279dcf693ac7 ("virt: acrn: Introduce an interface for Service VM to control vCPU") introduced {add,remove}_cpu() usage and it hit below error with !CONFIG_SMP: ../drivers/virt/acrn/hsm.c: In function ‘remove_cpu_store’: ../drivers/virt/acrn/hsm.c:389:3: error: implicit

Re: [PATCH] powerpc/pseries: Don't enforce MSI affinity with kdump

2021-02-12 Thread Laurent Vivier
On 12/02/2021 17:41, Greg Kurz wrote: > Depending on the number of online CPUs in the original kernel, it is > likely for CPU #0 to be offline in a kdump kernel. The associated IRQs > in the affinity mappings provided by irq_create_affinity_masks() are > thus not started by irq_startup(), as

Regressions with VMBus/VSCs hardening changes

2021-02-12 Thread Andrea Parri
Hi all, I'm reporting two regressions following certain VMBus/VSCs hardening changes we've been discussing 'recently', unfortunately the first regression already touched/affects mainline while the second one is in hyperv-next: 1) [mainline] The first regression manifests with the following

RE: [PATCH v2] iommu: Check dev->iommu in iommu_dev_xxx functions

2021-02-12 Thread Shameerali Kolothum Thodi
> -Original Message- > From: Robin Murphy [mailto:robin.mur...@arm.com] > Sent: 12 February 2021 16:39 > To: Shameerali Kolothum Thodi ; > linux-kernel@vger.kernel.org; io...@lists.linux-foundation.org > Cc: j...@8bytes.org; jean-phili...@linaro.org; w...@kernel.org; Zengtao (B) > ;

RE: [PATCH][next] bcache: Use 64-bit arithmetic instead of 32-bit

2021-02-12 Thread David Laight
From: Coly Li > Sent: 12 February 2021 16:02 > > On 2/12/21 11:31 PM, David Laight wrote: > >>> if (c->gc_stats.in_use <= BCH_WRITEBACK_FRAGMENT_THRESHOLD_MID) > >>> { > >>> - fp_term = dc->writeback_rate_fp_term_low * > >>> + fp_term =

Re: [PATCH v2 2/2] pwm: visconti: Add Toshiba Visconti SoC PWM support

2021-02-12 Thread Uwe Kleine-König
Hello Nobuhiro, On Fri, Feb 12, 2021 at 10:19:10PM +0900, Nobuhiro Iwamatsu wrote: > Add driver for the PWM controller on Toshiba Visconti ARM SoC. > > Signed-off-by: Nobuhiro Iwamatsu > --- > drivers/pwm/Kconfig| 9 ++ > drivers/pwm/Makefile | 1 + >

Re: [GIT PULL] fscache: I/O API modernisation and netfs helper library

2021-02-12 Thread David Wysochanski
On Thu, Feb 11, 2021 at 6:20 PM David Howells wrote: > > Linus Torvalds wrote: > > > Also, honestly, I really *REALLY* want your commit messages to talk > > about who has been cc'd, who has been part of development, and point > > to the PUBLIC MAILING LISTS WHERE THAT DISCUSSION WAS TAKING

[PATCH] powerpc/pseries: Don't enforce MSI affinity with kdump

2021-02-12 Thread Greg Kurz
Depending on the number of online CPUs in the original kernel, it is likely for CPU #0 to be offline in a kdump kernel. The associated IRQs in the affinity mappings provided by irq_create_affinity_masks() are thus not started by irq_startup(), as per-design with managed IRQs. This can be a

Re: [PATCH] MAINTAINERS: cpuidle: exynos: include header in file pattern

2021-02-12 Thread Krzysztof Kozlowski
On Fri, Feb 12, 2021 at 04:56:53PM +0100, Rafael J. Wysocki wrote: > On Wed, Feb 10, 2021 at 6:23 PM Krzysztof Kozlowski wrote: > > > > Inclue the platform data header in Exynos cpuidle maintainer entry. > > > > Cc: Bartlomiej Zolnierkiewicz > > Cc: Daniel Lezcano > > Cc: Rafael J. Wysocki > >

[PATCH 1/2] dt-bindings: serial: samsung: add DMA properties

2021-02-12 Thread Krzysztof Kozlowski
The Samsung SoC UART nodes have usually DMA so dtschema has to reflect this to fix dtbs_check warnings like: arch/arm/boot/dts/exynos4210-smdkv310.dt.yaml: serial@1380: 'dma-names', 'dmas' do not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski ---

[PATCH 2/2] dt-bindings: serial: samsung: include generic dtschema to match bluetooth child

2021-02-12 Thread Krzysztof Kozlowski
Include the generic serial.yaml dtschema so the child node like "bluetooh" will be properly matched: arch/arm/boot/dts/exynos4210-universal_c210.dt.yaml: serial@1380: 'bluetooth' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski ---

Re: [PATCH v2] iommu: Check dev->iommu in iommu_dev_xxx functions

2021-02-12 Thread Robin Murphy
On 2021-02-12 14:54, Shameerali Kolothum Thodi wrote: Hi Robin/Joerg, -Original Message- From: Shameer Kolothum [mailto:shameerali.kolothum.th...@huawei.com] Sent: 01 February 2021 12:41 To: linux-kernel@vger.kernel.org; io...@lists.linux-foundation.org Cc: j...@8bytes.org;

[PATCH] dt-bindings: iio: samsung,exynos-adc: add common clock properties

2021-02-12 Thread Krzysztof Kozlowski
Add common properties appearing in DTSes (assigned-clocks and similar) to fix dtbs_check warnings like: arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml: adc@126c: assigned-clock-rates: [[600]] is not of type 'object' arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml:

[PATCH] dt-bindings: input: atmel,maxtouch: add wakeup-source

2021-02-12 Thread Krzysztof Kozlowski
The touchscreen can be a wake up source and it's being used in DTS: arch/arm/boot/dts/exynos5250-spring.dt.yaml: trackpad@4b: 'wakeup-source' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski ---

[PATCH v3] selinux: measure state and policy capabilities

2021-02-12 Thread Lakshmi Ramasubramanian
SELinux stores the configuration state and the policy capabilities in kernel memory. Changes to this data at runtime would have an impact on the security guarantees provided by SELinux. Measuring this data through IMA subsystem provides a tamper-resistant way for an attestation service to

RE: [PATCH v3] scsi: storvsc: Parameterize number hardware queues

2021-02-12 Thread Michael Kelley
From: Melanie Plageman Sent: Thursday, February 11, 2021 3:18 PM > > Add ability to set the number of hardware queues with new module parameter, > storvsc_max_hw_queues. The default value remains the number of CPUs. This > functionality is useful in some environments (e.g. Microsoft Azure)

[PATCH] arm64: dts: exynos: re-order Slim SSS clocks to match dtschema

2021-02-12 Thread Krzysztof Kozlowski
The dtschema expects pclk (APB clock) followed by aclk (AXI/AHB clock): arch/arm64/boot/dts/exynos/exynos5433-tm2.dt.yaml: slim-sss@1114: clock-names:0: 'pclk' was expected arch/arm64/boot/dts/exynos/exynos5433-tm2.dt.yaml: slim-sss@1114: clock-names:1: 'aclk' was expected

[RFT PATCH] crypto: s5p-sss - initialize APB clock after the AXI bus clock for SlimSSS

2021-02-12 Thread Krzysztof Kozlowski
The driver for Slim Security Subsystem (SlimSSS) on Exynos5433 takes two clocks - aclk (AXI/AHB clock) and pclk (APB/Advanced Peripheral Bus clock). The "aclk", as main high speed bus clock, is enabled first. Then the "pclk" is enabled. However the driver assigned reversed names for lookup of

Re: [PATCH v2] kbuild: simplify access to the kernel's version

2021-02-12 Thread Greg KH
On Fri, Feb 12, 2021 at 11:29:24AM -0500, Sasha Levin wrote: > Instead of storing the version in a single integer and having various > kernel (and userspace) code how it's constructed, export individual > (major, patchlevel, sublevel) components and simplify kernel code that > uses it. > > This

Re: [PATCH 2/4] perf report: Load PE files from debug cache only

2021-02-12 Thread Nicholas Fraser
Sorry, I should have been more clear in the commit message. The use case you outlined still works even with this patch. dso__load_bfd_symbols() is called in a loop from dso__load() for a variety of paths. These are generated by the various DSO_BINARY_TYPEs in the binary_type_symtab list at the

Re: [PATCH v2] MIPS: Add basic support for ptrace single step

2021-02-12 Thread Thomas Bogendoerfer
On Thu, Feb 11, 2021 at 11:29:05AM +0100, Thomas Bogendoerfer wrote: > IMHO ptrace single step is for CPUs supporting single stepping and not > for emulating it in the kernel. I've checked other arch how they implement single step, and looks like I'm wrong. So I'm ok with applying your patch. Can

Re: [PATCH net v1 3/3] net: phy: mscc: coma mode disabled for VSC8514

2021-02-12 Thread Vladimir Oltean
On Fri, Feb 12, 2021 at 03:06:43PM +0100, Bjarni Jonasson wrote: > The 'coma mode' (configurable through sw or hw) provides an > optional feature that may be used to control when the PHYs become active. > The typical usage is to synchronize the link-up time across > all PHY instances. This patch

Re: [PATCH] mtd: physmap: physmap-bt1-rom: Fix unintentional stack access

2021-02-12 Thread Serge Semin
On Fri, Feb 12, 2021 at 04:40:22AM -0600, Gustavo A. R. Silva wrote: > Cast to (char *) in order to avoid unintentionally accessing > the stack. > > Notice that data is of type u32, so any increment to > will be in the order of 4-byte chunks, and this piece of code > is actually intended to be

[PATCH v4] MAINTAINERS: move Milo Kim to credits

2021-02-12 Thread Krzysztof Kozlowski
Milo Kim's email in TI bounces with permanent error (550: Invalid recipient). Last email from him on LKML was in 2017. Move Milo Kim to credits and remove the separate driver entries for: - TI LP855x backlight driver, - TI LP8727 charger driver, - TI LP8788 MFD (ADC, LEDs, charger and

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

2021-02-12 Thread Jens Axboe
On 2/12/21 9:18 AM, Peter Zijlstra wrote: > On Fri, Feb 12, 2021 at 08:26:56AM -0700, Jens Axboe wrote: >> But I think I made a mistake in that it should've been sched/smp instead, >> which would likely get rid of this issue too? I'll rebase it, it's just >> a single topic branch with just those

[PATCH v2] kbuild: simplify access to the kernel's version

2021-02-12 Thread Sasha Levin
Instead of storing the version in a single integer and having various kernel (and userspace) code how it's constructed, export individual (major, patchlevel, sublevel) components and simplify kernel code that uses it. This should also make it easier on userspace. Signed-off-by: Sasha Levin ---

[RESEND PATCH] dt-bindings: writing-schema: install from PyPI repository

2021-02-12 Thread Krzysztof Kozlowski
Installing dtschema from github.com/devicetree-org is not needed anymore because dtschema is now part of regular PyPI repository. In certain cases it might cause some troubles as it brings latest master version, not the stable release: $ pip3 show dtschema Version: 2020.8.2.dev4+g341f3e3

[PATCH v1 1/1] device property: Add test cases for fwnode_property_count_*() APIs

2021-02-12 Thread Andy Shevchenko
Add test cases for fwnode_property_count_*() APIs. While at it, modify the arrays of integers to be size of non-power-of-2 for better test coverage and decreasing stack usage. Signed-off-by: Andy Shevchenko --- drivers/base/test/property-entry-test.c | 50 +++-- 1 file

Re: [PATCH 1/6] fs: Add flag to file_system_type to indicate content is generated

2021-02-12 Thread Greg KH
On Fri, Feb 12, 2021 at 07:59:04AM -0800, Ian Lance Taylor wrote: > On Fri, Feb 12, 2021 at 7:45 AM Greg KH wrote: > > > > On Fri, Feb 12, 2021 at 07:33:57AM -0800, Ian Lance Taylor wrote: > > > On Fri, Feb 12, 2021 at 12:38 AM Greg KH > > > wrote: > > > > > > > > Why are people trying to use

[PATCH v21 08/10] fs/ntfs3: Add Kconfig, Makefile and doc

2021-02-12 Thread Konstantin Komarov
This adds Kconfig, Makefile and doc Signed-off-by: Konstantin Komarov --- Documentation/filesystems/ntfs3.rst | 107 fs/ntfs3/Kconfig| 45 fs/ntfs3/Makefile | 31 3 files changed, 183 insertions(+)

[PATCH v21 10/10] fs/ntfs3: Add MAINTAINERS

2021-02-12 Thread Konstantin Komarov
This adds MAINTAINERS Signed-off-by: Konstantin Komarov --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 64c7169db617..b86988db65b3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12667,6 +12667,13 @@ T: git

Re: [RESEND RFC PATCH v2] arm64: Exposes support for 32-bit syscalls

2021-02-12 Thread Amanieu d'Antras
On Fri, Feb 12, 2021 at 1:28 PM Catalin Marinas wrote: > The only downside I think is that for some syscalls it's not that > efficient. Those using struct iovec come to mind, qemu probably > duplicates the user structures, having to copy them in both directions > (well, the kernel compat layer

Re: [PATCH net v1 2/3] net: phy: mscc: improved serdes calibration applied to VSC8514

2021-02-12 Thread Vladimir Oltean
On Fri, Feb 12, 2021 at 03:06:42PM +0100, Bjarni Jonasson wrote: > The current IB serdes calibration algorithm (performed by the onboard 8051) > has proven to be unstable for the VSC8514 QSGMII phy. > A new algorithm has been developed based on > 'Frequency-offset Jittered-Injection' or 'FoJi'

[PATCH v21 05/10] fs/ntfs3: Add attrib operations

2021-02-12 Thread Konstantin Komarov
This adds attrib operations Signed-off-by: Konstantin Komarov --- fs/ntfs3/attrib.c | 2085 +++ fs/ntfs3/attrlist.c | 457 ++ fs/ntfs3/xattr.c| 1050 ++ 3 files changed, 3592 insertions(+) create mode 100644

Re: [PATCH v2 5/5] ACPI: property: Refactor acpi_data_prop_read_single()

2021-02-12 Thread Andy Shevchenko
On Fri, Feb 12, 2021 at 6:11 PM Rafael J. Wysocki wrote: > On Fri, Feb 12, 2021 at 5:01 PM Andy Shevchenko > wrote: > > On Fri, Feb 12, 2021 at 03:31:24PM +0100, Rafael J. Wysocki wrote: > > > On Fri, Feb 12, 2021 at 3:14 PM Andy Shevchenko > > > wrote: ... > > > > + if (ret) > > > > +

[PATCH v21 09/10] fs/ntfs3: Add NTFS3 in fs/Kconfig and fs/Makefile

2021-02-12 Thread Konstantin Komarov
This adds NTFS3 in fs/Kconfig and fs/Makefile Signed-off-by: Konstantin Komarov --- fs/Kconfig | 1 + fs/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/fs/Kconfig b/fs/Kconfig index da524c4d7b7e..0bbad356ab57 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -145,6 +145,7 @@ menu

[PATCH v21 07/10] fs/ntfs3: Add NTFS journal

2021-02-12 Thread Konstantin Komarov
This adds NTFS journal Signed-off-by: Konstantin Komarov --- fs/ntfs3/fslog.c | 5204 ++ 1 file changed, 5204 insertions(+) create mode 100644 fs/ntfs3/fslog.c diff --git a/fs/ntfs3/fslog.c b/fs/ntfs3/fslog.c new file mode 100644 index

[PATCH v21 06/10] fs/ntfs3: Add compression

2021-02-12 Thread Konstantin Komarov
This patch adds different types of NTFS-applicable compressions: - lznt - lzx - xpress Latter two (lzx, xpress) implement Windows Compact OS feature and were taken from ntfs-3g system comression plugin authored by Eric Biggers (https://github.com/ebiggers/ntfs-3g-system-compression) which were

[PATCH v21 03/10] fs/ntfs3: Add bitmap

2021-02-12 Thread Konstantin Komarov
This adds bitmap Signed-off-by: Konstantin Komarov --- fs/ntfs3/bitfunc.c | 135 fs/ntfs3/bitmap.c | 1495 2 files changed, 1630 insertions(+) create mode 100644 fs/ntfs3/bitfunc.c create mode 100644 fs/ntfs3/bitmap.c diff --git

[PATCH v21 00/10] NTFS read-write driver GPL implementation by Paragon Software

2021-02-12 Thread Konstantin Komarov
This patch adds NTFS Read-Write driver to fs/ntfs3. Having decades of expertise in commercial file systems development and huge test coverage, we at Paragon Software GmbH want to make our contribution to the Open Source Community by providing implementation of NTFS Read-Write driver for the Linux

[PATCH v21 01/10] fs/ntfs3: Add headers and misc files

2021-02-12 Thread Konstantin Komarov
This adds headers and misc files Signed-off-by: Konstantin Komarov --- fs/ntfs3/debug.h | 64 +++ fs/ntfs3/ntfs.h| 1236 fs/ntfs3/ntfs_fs.h | 1073 ++ fs/ntfs3/upcase.c | 100 4 files changed, 2473

Re: [PATCH net v1 1/3] net: phy: mscc: adding LCPLL reset to VSC8514

2021-02-12 Thread Vladimir Oltean
On Fri, Feb 12, 2021 at 03:06:41PM +0100, Bjarni Jonasson wrote: > At Power-On Reset, transients may cause the LCPLL to lock onto a > clock that is momentarily unstable. This is normally seen in QSGMII > setups where the higher speed 6G SerDes is being used. > This patch adds an initial LCPLL

Re: [PATCH net-next v2] misc: Add Renesas Synchronization Management Unit (SMU) support

2021-02-12 Thread Greg KH
On Fri, Feb 12, 2021 at 04:02:14PM +, Min Li wrote: > > > > xilinx_sdfec.c has: > > > > static int xsdfec_dev_open(struct inode *iptr, struct file *fptr) > > { > > return 0; > > } > > > > Which isn't even needed at all, but it is NOT trying to keep people from > >

Re: [PATCH] kbuild: simplify access to the kernel's version

2021-02-12 Thread Sasha Levin
On Fri, Feb 12, 2021 at 12:41:21PM +0900, Masahiro Yamada wrote: Please send a correct patch, also drop the unneeded casts. Sorry about that, I've hand edited the patch right before sending it out and obviously messed it up. I'll resend. -- Thanks, Sasha

[PATCH v2][next] octeontx2-pf: Fix out-of-bounds read warning in otx2_get_fecparam()

2021-02-12 Thread Hariprasad Kelam
Looks good to me. Thanks, Hariprasad k > -Original Message- > From: Gustavo A. R. Silva > Sent: Friday, February 12, 2021 8:36 PM > To: Sunil Kovvuri Goutham ; Geethasowjanya > Akula ; Subbaraya Sundeep Bhatta > ; Hariprasad Kelam ; David > S. Miller ; Jakub Kicinski ; Jesse >

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

2021-02-12 Thread Peter Zijlstra
On Fri, Feb 12, 2021 at 08:26:56AM -0700, Jens Axboe wrote: > But I think I made a mistake in that it should've been sched/smp instead, > which would likely get rid of this issue too? I'll rebase it, it's just > a single topic branch with just those two patches on top. Right, I made tip/sched/smp

Re: [PATCH 4.19 00/24] 4.19.176-rc1 review

2021-02-12 Thread Shuah Khan
On 2/11/21 8:02 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.19.176 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

Re: [PATCH 5.4 00/24] 5.4.98-rc1 review

2021-02-12 Thread Shuah Khan
On 2/11/21 8:02 AM, Greg Kroah-Hartman wrote: 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

Re: [PATCH 5.10 00/54] 5.10.16-rc1 review

2021-02-12 Thread Shuah Khan
On 2/11/21 8:01 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.10.16 release. There are 54 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

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