[PATCH v2 07/29] memory: of: Remove unused headers

2020-07-24 Thread Krzysztof Kozlowski
The of_memory.c does not use platform_device nor linked list. Signed-off-by: Krzysztof Kozlowski --- drivers/memory/of_memory.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/memory/of_memory.c b/drivers/memory/of_memory.c index 71f26eac7350..cfcb91eeccfb 100644 ---

[RFT v2 01/29] memory: omap-gpmc: Remove unneeded asm/mach-types.h inclusion

2020-07-24 Thread Krzysztof Kozlowski
The driver does not use macros from asm/mach-types.h (neither MACH_TYPE nor machine_is_xxx()). Removal of this include allows compile testing on non-ARM architectures which lack this header. Signed-off-by: Krzysztof Kozlowski --- drivers/memory/omap-gpmc.c | 2 -- 1 file changed, 2

[RFT v2 02/29] memory: omap-gpmc: Remove unused file-scope phys_base and mem_size

2020-07-24 Thread Krzysztof Kozlowski
The file-scope variables phys_base and mem_size are assigned in gpmc_probe() but never read. This fixes build error when compile testing on x86_64 architecture: drivers/memory/omap-gpmc.c:246:24: error: conflicting types for ‘phys_base’ static resource_size_t phys_base, mem_size; In

Re: [PATCH] uprobes: change handle_swbp() to send SIGTRAP with si_code=SI_KERNEL

2020-07-24 Thread Srikar Dronamraju
* Oleg Nesterov [2020-07-23 17:44:20]: > If a tracee is uprobed and it hits int3 inserted by debugger, handle_swbp() > does send_sig(SIGTRAP, current, 0) which means si_code == SI_USER. This used > to work when this code was written, but then GDB started to validate si_code > and now it simply

[PATCH v2 04/29] memory: ti-aemif: Rename SS to SSTROBE to avoid name conflicts

2020-07-24 Thread Krzysztof Kozlowski
SS conflicts with compile test build on i386: drivers/memory/ti-aemif.c:40:0: warning: "SS" redefined In file included from arch/x86/include/uapi/asm/ptrace.h:6:0, from arch/x86/include/asm/ptrace.h:7, from arch/x86/include/asm/math_emu.h:5,

[PATCH v2 03/29] memory: omap-gpmc: Include for SZ_16M

2020-07-24 Thread Krzysztof Kozlowski
The driver uses SZ_16M which is defined in include/linux/sizes.h. On ARM it was pulled by other headers but its inclusion is necessary for compile testing on other architectures. This fixes build error when compile testing on i386 architecture: drivers/memory/omap-gpmc.c: In function

[PATCH v2 09/29] memory: of: Correct indentation

2020-07-24 Thread Krzysztof Kozlowski
Correct indentation to match open parenthesis. Signed-off-by: Krzysztof Kozlowski --- drivers/memory/of_memory.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/memory/of_memory.c b/drivers/memory/of_memory.c index 8a5b654eca6b..67b811cb2cb9 100644 ---

[PATCH v2 13/29] memory: emif: Fix whitespace coding style violations

2020-07-24 Thread Krzysztof Kozlowski
Make the code and printed messages slightly more readable. Fixes checkpatch warnings: WARNING: quoted string split across lines ERROR: space prohibited before that ',' (ctx:WxW) Signed-off-by: Krzysztof Kozlowski --- drivers/memory/emif.c | 16 +++- 1 file changed, 7

[PATCH v2 12/29] memory: emif: Put constant in comparison on the right side

2020-07-24 Thread Krzysztof Kozlowski
Fixes checkpatch warning: WARNING: Comparisons should place the constant on the right side of the test Signed-off-by: Krzysztof Kozlowski --- drivers/memory/emif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memory/emif.c b/drivers/memory/emif.c index

[PATCH v2 05/29] memory: jz4780-nemc: Do not enable by default on every compile test

2020-07-24 Thread Krzysztof Kozlowski
When compile testing, enable the driver by default only on MIPS architecture. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. New patch --- drivers/memory/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig

[PATCH v2 10/29] memory: of: Remove unneeded extern from function declarations

2020-07-24 Thread Krzysztof Kozlowski
Function declarations in headers do not need to come with extern keyword. Remove them to make the declaration slightly shorter. Signed-off-by: Krzysztof Kozlowski --- drivers/memory/of_memory.h | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git

[PATCH v2 11/29] memory: emif-asm-offsets: Add GPLv2 SPDX license header

2020-07-24 Thread Krzysztof Kozlowski
Add GPLv2 license header and remove GPL boiler plate text. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Use "GPL-2.0" instead of "GPL-2.0-only". It's shorter. --- drivers/memory/emif-asm-offsets.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git

[PATCH v2 06/29] memory: Enable compile testing for most of the drivers

2020-07-24 Thread Krzysztof Kozlowski
Most of the memory controller drivers do not depend on architecture specific code so can be compile tested to increase build coverage. When compile tested, do not enable them by default. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. When compile tested, do not enable them by

[PATCH v2 19/29] memory: mtk-smi: Add argument to function pointer definition

2020-07-24 Thread Krzysztof Kozlowski
Fix checkpatch warning: WARNING: function definition argument 'struct device *' should also have an identifier name Signed-off-by: Krzysztof Kozlowski --- drivers/memory/mtk-smi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memory/mtk-smi.c

[PATCH v2 24/29] memory: tegra: tegra210-emc: Fix indentation

2020-07-24 Thread Krzysztof Kozlowski
Use tabs instead of spaces for indentation. Signed-off-by: Krzysztof Kozlowski --- drivers/memory/tegra/tegra210-emc-cc-r21021.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memory/tegra/tegra210-emc-cc-r21021.c b/drivers/memory/tegra/tegra210-emc-cc-r21021.c

[RFT v2 20/29] memory: omap-gpmc: Return meaningful error codes in gpmc_cs_set_timings()

2020-07-24 Thread Krzysztof Kozlowski
The callers of gpmc_cs_set_timings() expect to receive -ERRNO on errors and they pass further what they have received. However gpmc_cs_set_timings() was returning -1 (equal to -EPERM) which does not make sense in this context. Signed-off-by: Krzysztof Kozlowski --- Not tested Changes since

[RFT v2 21/29] memory: omap-gpmc: Remove GPMC_SET_ONE_CD_MAX macro for safety

2020-07-24 Thread Krzysztof Kozlowski
The GPMC_SET_ONE_CD_MAX macro uses return statement and variable 'cs' coming from called scope. This is not a good practice. Also checkpatch complained: WARNING: Macros with flow control statements should be avoided ERROR: Macros starting with if should be enclosed by a do - while

[PATCH v2 18/29] memory: brcmstb_dpfe: Remove unneeded braces

2020-07-24 Thread Krzysztof Kozlowski
Single statement blocks don't need braces. Fixes checkpatch warning: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Krzysztof Kozlowski Acked-by: Florian Fainelli Acked-by: Markus Mayer --- drivers/memory/brcmstb_dpfe.c | 3 +-- 1 file changed, 1

[PATCH v2 16/29] memory: renesas-rpc-if: Simplify with PTR_ERR_OR_ZERO

2020-07-24 Thread Krzysztof Kozlowski
Use PTR_ERR_OR_ZERO to make the code a little bit simpler. Signed-off-by: Krzysztof Kozlowski --- drivers/memory/renesas-rpc-if.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/memory/renesas-rpc-if.c b/drivers/memory/renesas-rpc-if.c index

[PATCH v2 22/29] memory: omap-gpmc: Fix whitespace issue

2020-07-24 Thread Krzysztof Kozlowski
Fix minor whitespace and comment issues. No functional changes. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Adjust entire comment, as suggested by Arnd. --- drivers/memory/omap-gpmc.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH v2 17/29] memory: brcmstb_dpfe: Constify the contents of string

2020-07-24 Thread Krzysztof Kozlowski
The string itself can be made const for safety. Signed-off-by: Krzysztof Kozlowski Acked-by: Florian Fainelli Acked-by: Markus Mayer --- drivers/memory/brcmstb_dpfe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memory/brcmstb_dpfe.c

[PATCH v2 23/29] memory: pl172: Add GPLv2 SPDX license header

2020-07-24 Thread Krzysztof Kozlowski
Add GPLv2 license header and remove GPL boiler plate text. Signed-off-by: Krzysztof Kozlowski --- drivers/memory/pl172.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/memory/pl172.c b/drivers/memory/pl172.c index ff57195b4e37..084891eb29cc 100644 ---

[PATCH v2 14/29] memory: emif: Silence platform_get_irq() error in driver

2020-07-24 Thread Krzysztof Kozlowski
The platform_get_irq() already prints error message so there is no need to do it again in the driver. Signed-off-by: Krzysztof Kozlowski --- drivers/memory/emif.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/memory/emif.c b/drivers/memory/emif.c index

[PATCH v2 15/29] memory: ti-emif-pm: Fix cast to iomem pointer

2020-07-24 Thread Krzysztof Kozlowski
Cast pointer to iomem memory properly to fix sparse warning: drivers/memory/ti-emif-pm.c:251:38: warning: incorrect type in argument 1 (different address spaces) drivers/memory/ti-emif-pm.c:251:38:expected void const volatile [noderef] __iomem *addr

[PATCH 04/10] remoteproc: imx_rproc: make syscon optional

2020-07-24 Thread Peng Fan
Make syscon optional, since i.MX8QM/QXP/7ULP not have SRC to control M4. But currently i.MX8QM/QXP/7ULP not added, so still check regmap when start/stop to avoid unhappy things. Reviewed-by: Richard Zhu Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 11 +-- 1 file

[PATCH 00/10] remoteproc: imx_rproc: support iMX8M and early boot

2020-07-24 Thread Peng Fan
This patchset is to support i.MX8MQ/M coproc booted before linux. Since i.MX8MQ/M was not supported, several patches are needed to first support the platform, then support early boot case. I intended to included i.MX8QM/QXP, but that would introduce a large patchset, so not included. But the

[PATCH 05/10] remoteproc: imx_rproc: make clk optional

2020-07-24 Thread Peng Fan
To i.MX7ULP Dual Boot, M4 is the master to control everything, so it not need clk from A7. Reviewed-by: Richard Zhu Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/remoteproc/imx_rproc.c

[PATCH 06/10] remoteproc: imx_rproc: add load hook

2020-07-24 Thread Peng Fan
To i.MX8, we not able to see the correct data written into TCM when using ioremap_wc, so use ioremap. However common elf loader using memset. To arm64, "dc zva, dst" is used in memset. Per ARM DDI 0487A.j, chapter C5.3.8 DC ZVA, Data Cache Zero by VA, "If the memory region being zeroed is

[PATCH v2 26/29] memory: fsl_ifc: Fix whitespace issues

2020-07-24 Thread Krzysztof Kozlowski
Fix minor whitespace and comment issues. Do not break message strings. No functional changes. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. New patch --- drivers/memory/fsl_ifc.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git

[PATCH v2 29/29] memory: samsung: exynos-srom: Describe the Kconfig entry

2020-07-24 Thread Krzysztof Kozlowski
Write short description about the Exynos SROM controller driver. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. New patch --- drivers/memory/samsung/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/memory/samsung/Kconfig b/drivers/memory/samsung/Kconfig

[PATCH 02/10] remoteproc: imx_rproc: correct err message

2020-07-24 Thread Peng Fan
It is using devm_ioremap, so not devm_ioremap_resource. Correct the error message and print out sa/size. Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc/imx_rproc.c

[PATCH v2 28/29] memory: Describe the MEMORY Kconfig entry

2020-07-24 Thread Krzysztof Kozlowski
Write short description about the entire memory controllers section. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. New patch --- drivers/memory/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig index

[PATCH v2 27/29] memory: da8xx-ddrctl: Remove unused 'node' variable

2020-07-24 Thread Krzysztof Kozlowski
The variable 'node' is not used. Remove it to silence compile warning: drivers/memory/da8xx-ddrctl.c: In function 'da8xx_ddrctl_probe': drivers/memory/da8xx-ddrctl.c:105:22: warning: variable 'node' set but not used [-Wunused-but-set-variable] Signed-off-by: Krzysztof Kozlowski ---

[PATCH 01/10] dt-bindings: remoteproc: imx_rproc: add i.MX8MQ/M

2020-07-24 Thread Peng Fan
Add i.MX8MQ/M compatible string Signed-off-by: Peng Fan --- Documentation/devicetree/bindings/remoteproc/imx-rproc.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/imx-rproc.txt b/Documentation/devicetree/bindings/remoteproc/imx-rproc.txt

[PATCH v2 25/29] MAINTAINERS: Add Krzysztof Kozlowski as maintainer of memory controllers

2020-07-24 Thread Krzysztof Kozlowski
The generic parts of memory controllers (of_memory.[ch]) lacked any care. The memory controller drivers were not abandoned (usually picked up by architecture maintainers) but in such case I can take care about them as well. Signed-off-by: Krzysztof Kozlowski Acked-by: Florian Fainelli ---

[PATCH 03/10] remoteproc: imx: use devm_ioremap

2020-07-24 Thread Peng Fan
We might need to map an region multiple times, becaue the region might be shared between remote processors, such i.MX8QM with dual M4 cores. So use devm_ioremap, not devm_ioremap_resource. Reviewed-by: Richard Zhu Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 5 +++-- 1 file

[PATCH 08/10] remoteproc: imx_rproc: support i.MX8MQ/M

2020-07-24 Thread Peng Fan
Add i.MX8MQ dev/sys addr map and configuration data structure i.MX8MM share i.MX8MQ settings. Reviewed-by: Richard Zhu Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 39 +++ 1 file changed, 39 insertions(+) diff --git

[PATCH 07/10] remoteproc: imx_rproc: add i.MX specific parse fw hook

2020-07-24 Thread Peng Fan
The hook is used to parse memory-regions and load resource table from the address the remote processor published. Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 99 +- 1 file changed, 98 insertions(+), 1 deletion(-) diff --git

[PATCH 09/10] remoteproc: imx_proc: enable virtio/mailbox

2020-07-24 Thread Peng Fan
Use virtio/mailbox to build connection between Remote Proccessors and Linux. Add delayed work to handle incoming messages. Reviewed-by: Richard Zhu Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 102 +++-- 1 file changed, 99 insertions(+), 3

[PATCH 10/10] remoteproc: imx_rproc: support coproc booting before Linux

2020-07-24 Thread Peng Fan
Detect Coproc booted or not and Parse resource table Set remoteproc state to RPROC_DETACHED when M4 is booted early Add attach hook Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 75 -- 1 file changed, 73 insertions(+), 2 deletions(-) diff

Re: [PATCH] amdgpu_dm: fix nonblocking atomic commit use-after-free

2020-07-24 Thread Paul Menzel
Dear Kees, Am 24.07.20 um 00:32 schrieb Kees Cook: On Thu, Jul 23, 2020 at 09:10:15PM +, Mazin Rezk wrote: When amdgpu_dm_atomic_commit_tail is running in the workqueue, drm_atomic_state_put will get called while amdgpu_dm_atomic_commit_tail is running, causing a race condition where

Re: kernel BUG at mm/vmalloc.c:LINE! (2)

2020-07-24 Thread Thomas Gleixner
Stephen Rothwell writes: >> All a bit mysterious. I think it's best that we revert this from >> linux-next until we hear from Ingo. I queued a patch - I expect >> Stephen will see and grab it, thanks. > > In the end I actually did the revert (of the revert) in the merge of > the tip tree (so

drivers/tty/serial/msm_serial.c:748:25: sparse: sparse: context imbalance in 'msm_handle_rx_dm' - unexpected unlock

2020-07-24 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f37e99aca03f63aa3f2bd13ceaf769455d12c4b0 commit: 08d5470308ac3598e7709d08b8979ce6e9de8da2 serial: core: fix sysrq overhead regression date: 4 weeks ago config: arm64-randconfig-s031-20200723 (attached as

Re: [PATCH v3 3/3] drm/amdgpu: Change type of module param `ppfeaturemask` to hexint

2020-07-24 Thread Christian König
Am 23.07.20 um 15:44 schrieb Paul Menzel: Dear Linus, dear Christian, Am 03.07.20 um 17:29 schrieb Christian König: Am 03.07.20 um 16:29 schrieb Paul Menzel: The newly added hexint helper is more convenient for bitmasks. Before: $ more /sys/module/amdgpu/parameters/ppfeaturemask

Re: PROBLEM: cgroup cost too much memory when transfer small files to tmpfs

2020-07-24 Thread Michal Hocko
On Tue 21-07-20 11:19:52, jingrui wrote: [...] > systemd related issue: https://github.com/systemd/systemd/issues/16499 Well, I would be really careful with one-off and short lived cgroups. Firstly there are charges which cannot be easily reparented and secondly even if the memory footprint is

[tip: x86/cleanups] x86/mm: Drop unused MAX_PHYSADDR_BITS

2020-07-24 Thread tip-bot2 for Arvind Sankar
The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: 0a787b28b7a375ad9d5c77bc3922ae1a8305239e Gitweb: https://git.kernel.org/tip/0a787b28b7a375ad9d5c77bc3922ae1a8305239e Author:Arvind Sankar AuthorDate:Thu, 23 Jul 2020 19:15:42 -04:00

[tip: x86/entry] x86: Correct noinstr qualifiers

2020-07-24 Thread tip-bot2 for Ira Weiny
The following commit has been merged into the x86/entry branch of tip: Commit-ID: 7f6fa101dfac8739764e47751d314551f6160c98 Gitweb: https://git.kernel.org/tip/7f6fa101dfac8739764e47751d314551f6160c98 Author:Ira Weiny AuthorDate:Thu, 23 Jul 2020 09:14:05 -07:00 Committer:

Re: [PATCH v2 0/3] ARM: dts: aspeed: fixup wedge40 device tree

2020-07-24 Thread Tao Ren
On Fri, Jul 24, 2020 at 05:32:30AM +, Joel Stanley wrote: > On Thu, 23 Jul 2020 at 23:05, wrote: > > > > From: Tao Ren > > > > The patch series update several devices' settings in Facebook Wedge40 > > device tree. > > > > Patch #1 disables a few i2c controllers as they are not being used at

Re: [PATCH] newport_con: vc_color is now in state

2020-07-24 Thread Greg KH
On Fri, Jul 24, 2020 at 08:27:35AM +0200, Jiri Slaby wrote: > Since commit 28bc24fc46f9 (vc: separate state), vc->vc_color is known as > vc->state.color. Somehow both me and 0-day bot missed this driver during > the conversion. > > So fix the driver now. > > Signed-off-by: Jiri Slaby > Cc:

Re: [PATCH] newport_con: vc_color is now in state

2020-07-24 Thread Jiri Slaby
On 24. 07. 20, 9:58, Greg KH wrote: > On Fri, Jul 24, 2020 at 08:27:35AM +0200, Jiri Slaby wrote: >> Since commit 28bc24fc46f9 (vc: separate state), vc->vc_color is known as >> vc->state.color. Somehow both me and 0-day bot missed this driver during >> the conversion. >> >> So fix the driver now.

Re: [PATCH] PM / devfrq: Fix indentaion of devfreq_summary debugfs node

2020-07-24 Thread Chanwoo Choi
Hi, On 7/18/20 2:08 AM, Sasha Levin wrote: > Hi > > [This is an automated email] > > This commit has been processed because it contains a "Fixes:" tag > fixing commit: 66d0e797bf09 ("Revert "PM / devfreq: Modify the device name as > devfreq(X) for sysfs""). > > The bot has tested the

Re: [PATCH v2 0/2] reset: reset-zynqmp: Added Versal platform support

2020-07-24 Thread Philipp Zabel
On Wed, 2020-07-22 at 12:46 +0530, Sai Krishna Potthuri wrote: > Extended the ZynqMP reset driver to support Versal platform, accordingly > updated the dt-binding with the Versal platform specific information > like compatible string and reset indices. > > Changes in v2: > - Updated 1/2 patch

Re: [PATCH V3 1/3] reset: imx7: Support module build

2020-07-24 Thread Philipp Zabel
On Mon, 2020-07-20 at 22:21 +0800, Anson Huang wrote: > Use module_platform_driver(), add module device table, author, > description and license to support module build, and > CONFIG_RESET_IMX7 is changed to default 'y' ONLY for i.MX7D, > other platforms need to select it in defconfig. > >

[PATCH] platform/chrome: cros_ec: Fix host command for regulator control.

2020-07-24 Thread Pi-Hsun Shih
Since the host command number 0x012B conflicts with other EC host command, add one to all regulator control related host command. Also fix a wrong alignment on struct and sync the comment with the one in ChromeOS EC codebase. Fixes: dff08caf35ec ("platform/chrome: cros_ec: Add command for

[PATCH] octeontx2-af: Fix use of uninitialized pointer bmap

2020-07-24 Thread Dinghao Liu
If req->ctype does not match any of NIX_AQ_CTYPE_CQ, NIX_AQ_CTYPE_SQ or NIX_AQ_CTYPE_RQ, pointer bmap will remain uninitialized and be accessed in test_bit(), which can lead to kernal crash. Fix this by returning an error code if this case is triggered. Signed-off-by: Dinghao Liu ---

Re: [PATCH v4 14/16] arm64: allwinner: A100: add the basical Allwinner A100 DTSI file

2020-07-24 Thread Maxime Ripard
On Fri, Jul 24, 2020 at 02:25:33PM +0800, Frank Lee wrote: > HI, > > On Fri, Jul 24, 2020 at 12:54 AM Maxime Ripard wrote: > > > > Hi, > > > > On Tue, Jul 14, 2020 at 03:20:29PM +0800, Frank Lee wrote: > > > From: Yangtao Li > > > > > > Allwinner A100 is a new SoC with Cortex-A53 cores, this

Re: [PATCH] sched/fair: consider sched-idle CPU when selecting idle core

2020-07-24 Thread Jiang Biao
On Fri, 24 Jul 2020 at 15:24, Vincent Guittot wrote: > > On Fri, 24 Jul 2020 at 01:39, Jiang Biao wrote: > > > > From: Jiang Biao > > > > Sched-idle CPU has been considered in select_idle_cpu and > > select_idle_smt, it also needs to be considered in select_idle_core to > > be consistent and

Re: [PATCH v5 1/4] riscv: Move kernel mapping to vmalloc zone

2020-07-24 Thread Arnd Bergmann
On Fri, Jul 24, 2020 at 12:34 AM Benjamin Herrenschmidt wrote: > On Thu, 2020-07-23 at 01:21 -0400, Alex Ghiti wrote: > > > works fine with huge pages, what is your problem there ? You rely on > > > punching small-page size holes in there ? > > > > > > > ARCH_HAS_STRICT_KERNEL_RWX prevents the

Re: [PATCH -next] arm64: Export __cpu_logical_map

2020-07-24 Thread Anshuman Khandual
On 07/24/2020 08:38 AM, Kefeng Wang wrote: > +maillist This does not seem to be a correct method of posting any patch. > > On 2020/7/24 11:04, Kefeng Wang wrote: >> ERROR: modpost: "__cpu_logical_map" [drivers/cpufreq/tegra194-cpufreq.ko] >> undefined! >> >> ARM64 tegra194-cpufreq driver

Re: [PATCH v3 5/6] powerpc/pseries: implement paravirt qspinlocks for SPLPAR

2020-07-24 Thread Will Deacon
On Thu, Jul 23, 2020 at 08:47:59PM +0200, pet...@infradead.org wrote: > On Thu, Jul 23, 2020 at 02:32:36PM -0400, Waiman Long wrote: > > BTW, do you have any comment on my v2 lock holder cpu info qspinlock patch? > > I will have to update the patch to fix the reported 0-day test problem, but > > I

Re: [PATCH v2 1/3] mm/shuffle: don't move pages between zones and don't read garbage memmaps

2020-07-24 Thread David Hildenbrand
On 24.07.20 05:08, Andrew Morton wrote: > On Tue, 23 Jun 2020 17:30:18 +0800 Wei Yang > wrote: > >> On Tue, Jun 23, 2020 at 09:55:43AM +0200, David Hildenbrand wrote: >>> On 23.06.20 09:39, David Hildenbrand wrote: > Hmm.. I thought this is the behavior for early section, while it looks

Re: [PATCH 3/3] sparc: Drop unused MAX_PHYSADDR_BITS

2020-07-24 Thread David Hildenbrand
On 24.07.20 01:15, Arvind Sankar wrote: > The macro is not used anywhere, so remove the definition. > > Signed-off-by: Arvind Sankar > --- > arch/sparc/include/asm/sparsemem.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/sparc/include/asm/sparsemem.h >

Re: [PATCH 2/3] sh/mm: Drop unused MAX_PHYSADDR_BITS

2020-07-24 Thread David Hildenbrand
On 24.07.20 01:15, Arvind Sankar wrote: > The macro is not used anywhere, so remove the definition. > > Signed-off-by: Arvind Sankar > --- > arch/sh/include/asm/sparsemem.h | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/arch/sh/include/asm/sparsemem.h

Re: [PATCH 1/3] x86/mm: Drop unused MAX_PHYSADDR_BITS

2020-07-24 Thread David Hildenbrand
On 24.07.20 01:15, Arvind Sankar wrote: > The macro is not used anywhere, and has an incorrect value (going by the > comment) on x86_64 since commit > c898faf91b3e ("x86: 46 bit physical address support on 64 bits") > > To avoid confusion, just remove the definition. > > Signed-off-by: Arvind

Re: [PATCH v2] fbdev: Detect integer underflow at "struct fbcon_ops"->clear_margins.

2020-07-24 Thread Bartlomiej Zolnierkiewicz
On 7/23/20 4:21 PM, Greg Kroah-Hartman wrote: > On Wed, Jul 22, 2020 at 10:07:06AM +0200, Daniel Vetter wrote: >> On Tue, Jul 21, 2020 at 6:08 PM Greg Kroah-Hartman >> wrote: >>> >>> On Thu, Jul 16, 2020 at 08:27:21PM +0900, Tetsuo Handa wrote: On 2020/07/16 19:00, Daniel Vetter wrote:

Re: [RFC PATCH] usb: dwc3: fix maximum_speed check for usb2.0-only core

2020-07-24 Thread Chunfeng Yun
On Fri, 2020-07-24 at 03:32 +, Thinh Nguyen wrote: > Hi, > > Thinh Nguyen wrote: > > Hi, > > > > Chunfeng Yun wrote: > >> The maximum_speed will be USB_SPEED_SUPER_PLUS, but the > >> maximum_speed check for usb2.0-only core doesn't consider it, > >> so fix it, and move the ckeck into

Re: [PATCH] soundwire: master: enable pm runtime

2020-07-24 Thread Greg KH
On Thu, Jul 23, 2020 at 09:49:02PM +0800, Bard Liao wrote: > We should enable pm runtime. Because why? Please read the documentation about how to write good changelog comments... greg k-h

Re: [PATCH] perf: arm-spe: Fix check error when synthesizing events

2020-07-24 Thread Leo Yan
Hi Wei, On Fri, Jul 24, 2020 at 03:26:28PM +0800, Wei Li wrote: > In arm_spe_read_record(), when we are processing an events packet, > 'decoder->packet.index' is the length of payload, which has been > transformed in payloadlen(). So correct the check of 'idx'. > > Signed-off-by: Wei Li Good

[tip: sched/fifo] sched: Remove sched_set_*() return value

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: 8b700983de82f79e05b2c1136d6513ea4c9b22c4 Gitweb: https://git.kernel.org/tip/8b700983de82f79e05b2c1136d6513ea4c9b22c4 Author:Peter Zijlstra AuthorDate:Wed, 22 Apr 2020 13:10:04 +02:00

[tip: sched/fifo] sched: Remove sched_setscheduler*() EXPORTs

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: 616d91b68cd56bcb1954b6a5af7d542401fde772 Gitweb: https://git.kernel.org/tip/616d91b68cd56bcb1954b6a5af7d542401fde772 Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

[tip: sched/fifo] sched,crypto: Convert to sched_set_fifo*()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: dbc6d0d5a5467adb6ea5fb25844e471c7bf8fabf Gitweb: https://git.kernel.org/tip/dbc6d0d5a5467adb6ea5fb25844e471c7bf8fabf Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

[tip: sched/fifo] sched,powerclamp: Convert to sched_set_fifo()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: a2bee0662f72fcbd248a424a1453dd946dcdaf3d Gitweb: https://git.kernel.org/tip/a2bee0662f72fcbd248a424a1453dd946dcdaf3d Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

[tip: sched/fifo] sched,acpi_pad: Convert to sched_set_fifo*()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: 4ca6c1a060943161c6c2ce09e02ed58a69669cfe Gitweb: https://git.kernel.org/tip/4ca6c1a060943161c6c2ce09e02ed58a69669cfe Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

[tip: sched/fifo] sched,irq: Convert to sched_set_fifo()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: 7a40798c714ff462863352d490b382515daba49e Gitweb: https://git.kernel.org/tip/7a40798c714ff462863352d490b382515daba49e Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

[tip: sched/fifo] sched,msm: Convert to sched_set_fifo*()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: 64419ca67622974f46bf053a7e745d2d0d1c43ef Gitweb: https://git.kernel.org/tip/64419ca67622974f46bf053a7e745d2d0d1c43ef Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

[tip: sched/fifo] sched,drbd: Convert to sched_set_fifo*()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: c9ec0524706e580c78c61e38ef5e7761ed2f8485 Gitweb: https://git.kernel.org/tip/c9ec0524706e580c78c61e38ef5e7761ed2f8485 Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

[tip: sched/fifo] sched,drm/scheduler: Convert to sched_set_fifo*()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: 7b31e940b17bc47ca2f5e332c166231f01317469 Gitweb: https://git.kernel.org/tip/7b31e940b17bc47ca2f5e332c166231f01317469 Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

[tip: sched/fifo] sched,bL_switcher: Convert to sched_set_fifo*()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: 0030c1d4a38757fb54a0c96e5e8b59cc0c4f3f28 Gitweb: https://git.kernel.org/tip/0030c1d4a38757fb54a0c96e5e8b59cc0c4f3f28 Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

[tip: sched/fifo] sched,psci: Convert to sched_set_fifo*()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: 6e6d6efabd2567337f7d97791f7a60aa5fdbcfc2 Gitweb: https://git.kernel.org/tip/6e6d6efabd2567337f7d97791f7a60aa5fdbcfc2 Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

[tip: sched/fifo] sched: Provide sched_set_fifo()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: 7318d4cc14c8c8a5dde2b0b72ea50fd2545f0b7a Gitweb: https://git.kernel.org/tip/7318d4cc14c8c8a5dde2b0b72ea50fd2545f0b7a Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

[tip: sched/fifo] sched,powercap: Convert to sched_set_fifo*()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: c3f47cf940efacaa8fab50973dc98f369c2066ff Gitweb: https://git.kernel.org/tip/c3f47cf940efacaa8fab50973dc98f369c2066ff Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

[tip: sched/fifo] sched,watchdog: Convert to sched_set_fifo()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: 94beddacb53cddb78baab6b4597195bb766d70b0 Gitweb: https://git.kernel.org/tip/94beddacb53cddb78baab6b4597195bb766d70b0 Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

Re: [PATCH v3 2/5] vfio/pci: Add device denylist

2020-07-24 Thread Giovanni Cabiddu
On Thu, Jul 23, 2020 at 04:41:26PM -0600, Alex Williamson wrote: > On Thu, 23 Jul 2020 22:47:02 +0100 > Giovanni Cabiddu wrote: > > > Add denylist of devices that by default are not probed by vfio-pci. > > Devices in this list may be susceptible to untrusted application, even > > if the IOMMU is

[tip: sched/fifo] sched,ion: Convert to sched_set_normal()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: 9309de08f14f49a29f6cc8a20653731235692b1f Gitweb: https://git.kernel.org/tip/9309de08f14f49a29f6cc8a20653731235692b1f Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

[tip: sched/fifo] sched,locktorture: Convert to sched_set_fifo()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: 93db9129fa4beb78e2227554d237e8db04ca514c Gitweb: https://git.kernel.org/tip/93db9129fa4beb78e2227554d237e8db04ca514c Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

[tip: sched/fifo] sched,ivtv: Convert to sched_set_fifo*()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: 73f73cc2432acf2e1c8a1ce0720eaced7b5dda16 Gitweb: https://git.kernel.org/tip/73f73cc2432acf2e1c8a1ce0720eaced7b5dda16 Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

[tip: sched/fifo] sched,psi: Convert to sched_set_fifo_low()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: 2cca5426b9c108998bc03230cd6ae440f3e205ed Gitweb: https://git.kernel.org/tip/2cca5426b9c108998bc03230cd6ae440f3e205ed Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

[tip: sched/fifo] sched,mmc: Convert to sched_set_fifo*()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: f8ec806be101e9a6482532d19eca4c5be3535b74 Gitweb: https://git.kernel.org/tip/f8ec806be101e9a6482532d19eca4c5be3535b74 Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

[tip: sched/fifo] sched,rcuperf: Convert to sched_set_fifo_low()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: b1433395c4cc078b4382429e6d7dd1721714094f Gitweb: https://git.kernel.org/tip/b1433395c4cc078b4382429e6d7dd1721714094f Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

[tip: sched/fifo] sched,serial: Convert to sched_set_fifo()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: 28d2f209cd1620afaca6d0a61d1e88a269e9e875 Gitweb: https://git.kernel.org/tip/28d2f209cd1620afaca6d0a61d1e88a269e9e875 Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

[tip: sched/fifo] sched,rcutorture: Convert to sched_set_fifo_low()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: ce1c8afd3f3119ddaddcdff27579f5723f55c75e Gitweb: https://git.kernel.org/tip/ce1c8afd3f3119ddaddcdff27579f5723f55c75e Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

[tip: sched/fifo] sched,spi: Convert to sched_set_fifo*()

2020-07-24 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the sched/fifo branch of tip: Commit-ID: 3070da33400c18e0454832425a530d2d0e6a6fcf Gitweb: https://git.kernel.org/tip/3070da33400c18e0454832425a530d2d0e6a6fcf Author:Peter Zijlstra AuthorDate:Tue, 21 Apr 2020 12:09:13 +02:00

Re: [PATCH v9 02/15] s390/vfio-ap: use new AP bus interface to search for queue devices

2020-07-24 Thread Pierre Morel
On 2020-07-20 17:03, Tony Krowiak wrote: This patch refactor's the vfio_ap device driver to use the AP bus's ap_get_qdev() function to retrieve the vfio_ap_queue struct containing information about a queue that is bound to the vfio_ap device driver. The bus's ap_get_qdev() function retrieves

[PATCH v2] openrisc: Fix oops caused when dumping stack

2020-07-24 Thread Stafford Horne
When dumping a stack with 'cat /proc/#/stack' the kernel would oops. For example: # cat /proc/690/stack Unable to handle kernel access at virtual address 0x7fc60f58 Oops#: CPU #: 0 PC: c00097fcSR: 807fSP: d6f09b9c GPR00: GPR01: d6f09b9c

[PATCH] ath9k: Fix typo in function name

2020-07-24 Thread Pavel Machek
Typo "destoy" made me wonder if correct patch is wrong; fix it. No functional change. Signed-off-by: Pavel Machek (CIP) diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.c b/drivers/net/wireless/ath/ath9k/hif_usb.c index 4ed21dad6a8e..1bb55b9532c9 100644 ---

[PATCH] mtd: rawnand: oxnas: cleanup/simplify code

2020-07-24 Thread Pavel Machek
Simplify oxnas_nand_probe. Signed-off-by: Pavel Machek (CIP) diff --git a/drivers/mtd/nand/raw/oxnas_nand.c b/drivers/mtd/nand/raw/oxnas_nand.c index 8d0d76ad319d..f44947043e5a 100644 --- a/drivers/mtd/nand/raw/oxnas_nand.c +++ b/drivers/mtd/nand/raw/oxnas_nand.c @@ -144,8 +144,7 @@ static int

Re: [PATCH v2 0/8] kcsan: Compound read-write instrumentation

2020-07-24 Thread Peter Zijlstra
On Fri, Jul 24, 2020 at 09:00:00AM +0200, Marco Elver wrote: > Marco Elver (8): > kcsan: Support compounded read-write instrumentation > objtool, kcsan: Add __tsan_read_write to uaccess whitelist > kcsan: Skew delay to be longer for certain access types > kcsan: Add missing

[PATCH] Input: fix typo in function name documentation

2020-07-24 Thread Pavel Machek
Fix non-existing constant in documentation. Signed-off-by: Pavel Machek (CIP) diff --git a/Documentation/input/uinput.rst b/Documentation/input/uinput.rst index b8e90b6a126c..10c62e62a0a6 100644 --- a/Documentation/input/uinput.rst +++ b/Documentation/input/uinput.rst @@ -99,7 +99,7 @@ the sake

[PATCH] RDMA/mlx5: fix typo in structure name

2020-07-24 Thread Pavel Machek
This is user API, but likely noone uses it...? Fix it before it becomes problem. Signed-off-by: Pavel Machek (CIP) diff --git a/include/uapi/rdma/mlx5_user_ioctl_cmds.h b/include/uapi/rdma/mlx5_user_ioctl_cmds.h index 8e316ef896b5..2d889df38df6 100644 ---

Re: [PATCH V2 3/3] tty: serial: qcom_geni_serial: Fix the UART wakeup issue

2020-07-24 Thread Greg KH
On Fri, Jul 24, 2020 at 09:28:02AM +0530, satya priya wrote: > As a part of system suspend we call uart_port_suspend from the > Serial driver, which calls set_mctrl passing mctrl as NULL. This > makes RFR high(NOT_READY) during suspend. > > Due to this BT SoC is not able to send wakeup bytes to

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