Re: [RFC PATCH] x86/mce: Make mce_rdmsrl() do a plain RDMSR only

2020-09-08 Thread Borislav Petkov
On Tue, Sep 08, 2020 at 11:46:50AM +0200, Borislav Petkov wrote: > So, Andy suggested we do a simple .fixup so that when the RDMSR fails, > in the fixup we panic directly. Ok, so I think this is what Andy meant last night and PeterZ just suggested it too: We do a: _ASM_EXTABLE_HANDLE(1b

linux-next: build failure after merge of the akpm-current tree

2020-09-08 Thread Stephen Rothwell
Hi all, After merging the akpm-current tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/xen/unpopulated-alloc.c: In function 'fill_list': drivers/xen/unpopulated-alloc.c:30:9: error: 'struct dev_pagemap' has no member named 'res'; did you mean 'ref'? 30 | pgmap-

[PATCH 0/5] address W=1 warnings at staging/media/atomisp

2020-09-08 Thread Mauro Carvalho Chehab
The linux-media policy is to have zero warnings with W=1. However, when I started using a Jenkins instance at https://builder.linuxtv.org to automate such tests, I didn't notice that a bug at the scripts were just ignoring warnings. Now that this is fixed, we need to get rid of the warnings that g

[PATCH v3 1/3] PM / devfreq: Add devfreq_get_devfreq_by_node function

2020-09-08 Thread Chanwoo Choi
From: Leonard Crestez Split off part of devfreq_get_devfreq_by_phandle into a separate function. This allows callers to fetch devfreq instances by enumerating devicetree instead of explicit phandles. Reviewed-by: Lukasz Luba Signed-off-by: Leonard Crestez [cw00.choi: Export devfreq_get_devfreq

[PATCH v3 3/3] PM / devfreq: event: Change prototype of devfreq_event_get_edev_by_phandle function

2020-09-08 Thread Chanwoo Choi
Previously, devfreq core support 'devfreq-events' property in order to get the devfreq-event device by phandle. But, 'devfreq-events' property name is not proper on devicetree binding because this name doesn't mean the any h/w attribute. The devfreq-event core hand over the rights to decide the pr

[PATCH v3 0/3] PM / devfreq: Deprecate fixed property name by using phandle get

2020-09-08 Thread Chanwoo Choi
Pirot to that devfreq and devfreq-event framework defines the fixed 'devfreq' and 'devfreq-event' property to get the devfreq/devfreq-event phandle. But, these property name are not expressing the h/w. So, deprecate the fixed property name of both 'devfreq' and 'devfreq-event'. But, in order to kee

[PATCH 5/5] media: atomisp: get rid of -Wsuggest-attribute=format warnings

2020-09-08 Thread Mauro Carvalho Chehab
There are some warnings reported by gcc: drivers/staging/media/atomisp//pci/atomisp_compat_css20.c:164:2: warning: function ‘atomisp_css2_dbg_print’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] drivers/staging/media/atomisp//pci/atomisp_compa

[PATCH] firmware: imx: scu-pd: ignore power domain not owned

2020-09-08 Thread peng . fan
From: Peng Fan Should not register power domain that not owned by current partition. Alought power domains will not be registered when power on failure, we have to let CPU waste more cycles. Whether power on or owned check, both need communicate with SCU, but with owned check, we no need to run

[PATCH v3 2/3] PM / devfreq: Change prototype of devfreq_get_devfreq_by_phandle function

2020-09-08 Thread Chanwoo Choi
Previously, devfreq core support 'devfreq' property in order to get the devfreq device by phandle. But, 'devfreq' property name is not proper on devicetree binding because this name doesn't mean the any h/w attribute. The devfreq core hand over the right to decide the property name for getting the

[PATCH 2/5] media: atomisp: print a warning if error while setting downscaler

2020-09-08 Thread Mauro Carvalho Chehab
As warned by gcc: drivers/staging/media/atomisp//pci/isp/kernels/dvs/dvs_1.0/ia_css_dvs.host.c:237:31: warning: variable ‘isp_data_ptr’ set but not used [-Wunused-but-set-variable] ia_css_vf_configure() logic has an error var that detects troubles when setting the kernel for downscaling. Th

[PATCH 1/5] media: atomisp: get rid of some cleanup leftovers

2020-09-08 Thread Mauro Carvalho Chehab
The code that used to check for ISP2400/2401 version were using the revision number in order to decide wheather version should be used. With the new version, the code doesn't need to check anymore for ISP version. Fixes: ca133c395f2f ("media: atomisp: improve device detection code") Signed-off-by:

[PATCH 3/5] media: atomisp: get rid of unused vars

2020-09-08 Thread Mauro Carvalho Chehab
There are several vars declared and set but unused: drivers/staging/media/atomisp//pci/sh_css_param_shading.c:239:4: warning: variable ‘padded_width’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/sh_css.c:1366:24: warning: variable ‘stream’ set b

[PATCH 4/5] media: atomisp: move a static constant out of a header file

2020-09-08 Thread Mauro Carvalho Chehab
Gcc reports that input_formatter_alignment is not used: In file included from ./drivers/staging/media/atomisp//pci/hive_isp_css_include/input_formatter.h:34, from drivers/staging/media/atomisp//pci/runtime/debug/src/ia_css_debug.c:55: ./drivers/staging/m

[PATCH linux-firmware] brcm: Fix a stale symlink for RPi3 model b+

2020-09-08 Thread Takashi Iwai
The symlink for brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt was wrongly listed with the same subdirectory brcm, and this resulted in a stale symlink. Fix it. Signed-off-by: Takashi Iwai --- WHENCE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WHENCE b/WHENCE index 4a

KASAN: unknown-crash Write in do_con_write

2020-09-08 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:f4d51dff Linux 5.9-rc4 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1655cb3590 kernel config: https://syzkaller.appspot.com/x/.config?x=8f5c353182ed6199 dashboard link: https://syzkaller.appspot

Re: [PATCH 1/2] arm64/mm: Change THP helpers to comply with generic MM semantics

2020-09-08 Thread Anshuman Khandual
On 09/03/2020 10:26 PM, Catalin Marinas wrote: > On Mon, Aug 17, 2020 at 02:49:43PM +0530, Anshuman Khandual wrote: >> pmd_present() and pmd_trans_huge() are expected to behave in the following >> manner during various phases of a given PMD. It is derived from a previous >> detailed discussion o

Re: [PATCH] clk: imx: lpcg-scu: SW workaround for errata (e10858)

2020-09-08 Thread Abel Vesa
On 20-09-08 17:14:47, peng@nxp.com wrote: > From: Peng Fan > > Back-to-back LPCG writes can be ignored by the LPCG register due to > a HW bug. The writes need to be separated by at least 4 cycles of > the gated clock. > > The workaround is implemented as follows: > 1. For clocks running grea

[PATCH v7.1 39/72] x86/sev-es: Setup early #VC handler

2020-09-08 Thread Joerg Roedel
From: Joerg Roedel Setup an early handler for #VC exceptions. There is no GHCB mapped yet, so just re-use the vc_no_ghcb_handler. It can only handle CPUID exit-codes, but that should be enough to get the kernel through verify_cpu() and __startup_64() until it runs on virtual addresses. Signed-of

Re: [PATCH v2] dwc3-of-simple: add support for Hikey 970

2020-09-08 Thread Mauro Carvalho Chehab
Hi Felipe, Em Tue, 08 Sep 2020 13:02:09 +0300 Felipe Balbi escreveu: > Hi, > > Mauro Carvalho Chehab writes: > > This binding driver is needed for Hikey 970 to work, > > as otherwise a Serror is produced: > > you mentioned Serror doesn't happen anymore... > > > [1.837458] SError In

[PATCH v7.1 40/72] x86/sev-es: Setup GHCB based boot #VC handler

2020-09-08 Thread Joerg Roedel
From: Joerg Roedel Add the infrastructure to handle #VC exceptions when the kernel runs on virtual addresses and has a GHCB mapped. This handler will be used until the runtime #VC handler takes over. Since the handler runs very early, disable instrumentation for sev-es.c. Signed-off-by: Joerg R

Re: [PATCH v5] dt-binding: phy: convert ti,omap-usb2 to YAML

2020-09-08 Thread Vinod Koul
On 31-08-20, 17:21, Roger Quadros wrote: > Move ti,omap-usb2 to its own YAML schema. Applied, thanks -- ~Vinod

[PATCH] mm/memcg: rename watermark as max_usage

2020-09-08 Thread Alex Shi
The page_counter's watermark used to show as max_usage_in_bytes in memory cgroup. named as watermark is a kind of misleadking. So, let's rename it as it usage. Signed-off-by: Alex Shi Cc: Andrew Morton Cc: Johannes Weiner Cc: Michal Hocko Cc: Vladimir Davydov Cc: linux-kernel@vger.kernel.

Re: [PATCH 0/3] phy: ti: gmii-sel: update to support multiport k3 devices

2020-09-08 Thread Vinod Koul
On 28-08-20, 23:19, Grygorii Strashko wrote: > Hi Kishon, > > This series introduces support for multiport K3 CPSW devices like one, which > can be found on J721E SoC (MAIN CPSW). > The first two patches are preparation changes. The Patch 3 add support for > retrieving number of ports and base reg

Re: [RFC PATCH] sched: only issue an audit on privileged operation

2020-09-08 Thread peterz
On Fri, Sep 04, 2020 at 06:00:31PM +0200, Christian Göttsche wrote: > sched_setattr(2) does via kernel/sched/core.c:__sched_setscheduler() > issue a CAP_SYS_NICE audit event unconditionally, even when the requested > operation does not require that capability / is un-privileged. > > Perform privil

[PATCH v3 01/14] dt-bindings: clocks: imx8mp: Rename audiomix ids clocks to audio_blk_ctl

2020-09-08 Thread Abel Vesa
In the reference manual the actual name is Audio BLK_CTL. Lets make it more obvious here by renaming from audiomix to audio_blk_ctl. Signed-off-by: Abel Vesa Acked-by: Rob Herring Reviewed-by: Dong Aisheng --- include/dt-bindings/clock/imx8mp-clock.h | 120 +++ 1 fi

[PATCH v3 02/14] dt-bindings: reset: imx8mp: Add audio blk_ctl reset IDs

2020-09-08 Thread Abel Vesa
These will be used by the imx8mp for blk_ctl driver. Signed-off-by: Abel Vesa Acked-by: Rob Herring Reviewed-by: Dong Aisheng --- include/dt-bindings/reset/imx8mp-reset.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/dt-bindings/reset/imx8mp-reset.h b/include/dt-bindings/re

[PATCH v3 00/14] Add BLK_CTL support for i.MX8MP

2020-09-08 Thread Abel Vesa
The BLK_CTL according to HW design is basically the wrapper of the entire function specific group of IPs and holds GPRs that usually cannot be placed into one specific IP from that group. Some of these GPRs are used to control some clocks, other some resets, others some very specific function that

[PATCH v3 10/14] clk: imx: Add generic blk-ctl driver

2020-09-08 Thread Abel Vesa
The i.MX8MP platform introduces a new type of IP which is called BLK_CTL in RM and usually is comprised of some GPRs that are considered too generic to be part of any dedicated IP from that specific subsystem. In general, some of the GPRs have some clock bits, some have reset bits, so in order to

[PATCH v3 11/14] clk: imx: Add blk-ctl driver for i.MX8MP

2020-09-08 Thread Abel Vesa
This driver is intended to work with the following BLK_CTL IPs found in i.MX8MP: - Audio - Media - HDMI Signed-off-by: Abel Vesa --- drivers/clk/imx/Makefile | 2 +- drivers/clk/imx/clk-blk-ctl-imx8mp.c | 313 +++ 2 files changed, 314 insertions(+

[PATCH v3 14/14] arm64: dts: imx8mp: Add hdmi_blk_ctl node

2020-09-08 Thread Abel Vesa
Some of the features of the hdmi_ctl will be used by some different drivers in a way those drivers will know best, so adding the syscon compatible we allow those to do just that. Only the resets and the clocks are registered bit the clk-blk-ctl driver. Signed-off-by: Abel Vesa --- arch/arm64/boo

[PATCH v3 13/14] arm64: dts: imx8mp: Add media_blk_ctl node

2020-09-08 Thread Abel Vesa
Some of the features of the media_ctl will be used by some different drivers in a way those drivers will know best, so adding the syscon compatible we allow those to do just that. Only the resets and the clocks are registered bit the clk-blk-ctl driver. Signed-off-by: Abel Vesa Reviewed-by: Dong

Re: [PATCH v4 1/2] cpufreq: mediatek-hw: Add support for Mediatek cpufreq HW driver

2020-09-08 Thread Viresh Kumar
On 08-09-20, 15:35, Hector Yuan wrote: > From: "Hector.Yuan" > > Add MT6779 cpufreq HW support. > > Signed-off-by: Hector.Yuan > --- > drivers/cpufreq/Kconfig.arm | 12 ++ > drivers/cpufreq/Makefile |1 + > drivers/cpufreq/mediatek-cpufreq-hw.c | 294 > ++

Re: [PATCH 0/5] address W=1 warnings at staging/media/atomisp

2020-09-08 Thread Mauro Carvalho Chehab
Hi Greg, Em Tue, 8 Sep 2020 12:12:21 +0200 Mauro Carvalho Chehab escreveu: > The linux-media policy is to have zero warnings with W=1. However, when > I started using a Jenkins instance at https://builder.linuxtv.org to automate > such tests, I didn't notice that a bug at the scripts were just

Re: [PATCH v1 5/5] hv_balloon: try to merge system ram resources

2020-09-08 Thread David Hildenbrand
On 04.09.20 19:30, Wei Liu wrote: > On Fri, Aug 21, 2020 at 12:34:31PM +0200, David Hildenbrand wrote: >> Let's use the new mechanism to merge system ram resources below the >> root. We are the only one hotplugging system ram, e.g., DIMMs don't apply, >> so this is safe to be used. >> >> Cc: Andrew

Re: [PATCH v1 2/5] kernel/resource: merge_system_ram_resources() to merge resources after hotplug

2020-09-08 Thread David Hildenbrand
On 31.08.20 11:35, Pankaj Gupta wrote: >> Some add_memory*() users add memory in small, contiguous memory blocks. >> Examples include virtio-mem, hyper-v balloon, and the XEN balloon. >> >> This can quickly result in a lot of memory resources, whereby the actual >> resource boundaries are not of in

[PATCH v3 12/14] arm64: dts: imx8mp: Add audio_blk_ctl node

2020-09-08 Thread Abel Vesa
Some of the features of the audio_ctl will be used by some different drivers in a way those drivers will know best, so adding the syscon compatible we allow those to do just that. Only the resets and the clocks are registered bit the clk-blk-ctl driver. Signed-off-by: Abel Vesa Reviewed-by: Dong

[PATCH v3 06/14] dt-bindings: clock: imx8mp: Add hdmi blk_ctl clock IDs

2020-09-08 Thread Abel Vesa
These will be used by the imx8mp for blk_ctl driver. Signed-off-by: Abel Vesa Acked-by: Rob Herring --- include/dt-bindings/clock/imx8mp-clock.h | 40 1 file changed, 40 insertions(+) diff --git a/include/dt-bindings/clock/imx8mp-clock.h b/include/dt-bindings/

[PATCH v3 05/14] dt-bindings: reset: imx8mp: Add media blk_ctl reset IDs

2020-09-08 Thread Abel Vesa
These will be used by the imx8mp for blk_ctl driver. Signed-off-by: Abel Vesa Acked-by: Rob Herring Reviewed-by: Dong Aisheng --- include/dt-bindings/reset/imx8mp-reset.h | 28 1 file changed, 28 insertions(+) diff --git a/include/dt-bindings/reset/imx8mp-reset.h

[PATCH 10/10] dts: hisilicon: add support for USB3 on Hikey 970

2020-09-08 Thread Mauro Carvalho Chehab
Add the USB3 bindings for Kirin 970 phy and Hikey 970 board. Signed-off-by: Mauro Carvalho Chehab --- .../boot/dts/hisilicon/hi3670-hikey970.dts| 102 ++ arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 58 ++ 2 files changed, 160 insertions(+) diff --git a/arch/arm6

[PATCH 09/10] misc: hisi_hikey_usb: add support for Hikey 970

2020-09-08 Thread Mauro Carvalho Chehab
The HiKey 970 board is similar to Hikey 960 with regards to its USB configutation: it also relies on a USB HUB that is used when DWC3 is at host mode. However, it requires a few extra DT settings, as it uses a voltage regulator and GPIO reset pin. Add support for them. Signed-off-by: Mauro Carva

[PATCH 01/10] phy: hisilicon: add USB physical layer for Kirin 3670

2020-09-08 Thread Mauro Carvalho Chehab
From: Yu Chen Add the Hisilicon Kirin 3670 USB phy driver just after the hi3660, using the same namespace. This driver was imported from Linaro's official Hikey 970 tree, from the original patch, removing the addition of the dwg3-specific parts. Signed-off-by: Yu Chen Signed-off-by: Mauro Carv

Re: [PATCH 3/7] cpufreq: qcom-hw: Make use of cpufreq driver_data for passing pdev

2020-09-08 Thread Viresh Kumar
On 08-09-20, 13:27, Manivannan Sadhasivam wrote: > Get rid of global_pdev pointer and make use of cpufreq driver_data for > passing the reference of pdev. This aligns with what other cpufreq drivers > are doing. > > Signed-off-by: Manivannan Sadhasivam > --- > drivers/cpufreq/qcom-cpufreq-hw.c |

[PATCH 08/10] misc: hisi_hikey_usb: Driver to support onboard USB gpio hub on Hikey960

2020-09-08 Thread Mauro Carvalho Chehab
From: Yu Chen The HiKey960 has a fairly complex USB configuration due to it needing to support a USB-C port for host/device mode and multiple USB-A ports in host mode, all using a single USB controller. See schematics here: https://github.com/96boards/documentation/raw/master/consumer/hikey/h

[PATCH 05/10] phy: hisilicon: phy-hi3670-usb3: change some DT properties

2020-09-08 Thread Mauro Carvalho Chehab
Do some changes at the DT properties in order to make it follow the phy-hi3660-usb3 example and to simplify usb3-phy-tx-vboost-lvl name. Signed-off-by: Mauro Carvalho Chehab --- drivers/phy/hisilicon/phy-hi3670-usb3.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a

[PATCH v3 09/14] Documentation: bindings: clk: Add bindings for i.MX BLK_CTL

2020-09-08 Thread Abel Vesa
Document the i.MX BLK_CTL with its devicetree properties. Signed-off-by: Abel Vesa Reviewed-by: Dong Aisheng --- .../devicetree/bindings/clock/fsl,imx-blk-ctl.yaml | 60 ++ 1 file changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/fsl,imx-b

[PATCH 04/10] phy: hisilicon: phy-hi3670-usb3: fix coding style

2020-09-08 Thread Mauro Carvalho Chehab
Address the issues reported by checkpatch --strict, and add a SPDX tag. Signed-off-by: Mauro Carvalho Chehab --- drivers/phy/hisilicon/phy-hi3670-usb3.c | 157 1 file changed, 76 insertions(+), 81 deletions(-) diff --git a/drivers/phy/hisilicon/phy-hi3670-usb3.c b/driv

[PATCH 06/10] dt-bindings: phy: convert phy-kirin970-usb3.txt to yaml

2020-09-08 Thread Mauro Carvalho Chehab
Use the new YAML for this physical layer. Signed-off-by: Mauro Carvalho Chehab --- .../bindings/phy/hisilicon,hi3670-usb3.yaml | 72 +++ .../bindings/phy/phy-hi3670-usb3.txt | 25 --- 2 files changed, 72 insertions(+), 25 deletions(-) create mode 100644 Documenta

[PATCH] Fixed NULL pointer dereference in handle_edid functions for GPUs that do not support EDID

2020-09-08 Thread Alejandro Sior
In the function intel_vgpu_reg_rw_edid of gvt/kvmgt.c, pos can get equal to NULL for GPUs that do not properly support EDID. In those cases, when pos gets passed to the handle_edid functions, it gets added a short offset then it's dereferenced in memcpy's, leading to a kernel oops: null pointer

[PATCH 00/10] Add USB support for Hikey 970

2020-09-08 Thread Mauro Carvalho Chehab
This series adds the phy layer needed by Kirin 970 SoC. It also adds a GPIO USB3 HUB driver, that is meant to support the HUB which comes inside with HiKey 960 and 970 designs. The hub used on Hikey 970 is this one: Bus 002 Device 002: ID 0451:8140 Texas Instruments, Inc. TUSB8041 4-Port

[PATCH 02/10] phy: hisilicon: phy-hi3670-usb3: fix some issues at the init code

2020-09-08 Thread Mauro Carvalho Chehab
From: Yu Chen There are some problems at the initialization part of this phy. Solve them. Signed-off-by: Yu Chen Signed-off-by: Mauro Carvalho Chehab --- drivers/phy/hisilicon/phy-hi3670-usb3.c | 70 +++-- 1 file changed, 32 insertions(+), 38 deletions(-) diff --git a/dri

[PATCH 03/10] phy: hisilicon: phy-hi3670-usb3: use a consistent namespace

2020-09-08 Thread Mauro Carvalho Chehab
Rename hikey970 to hi3670, in order to use a namespace similar to hi3660 driver. Signed-off-by: Mauro Carvalho Chehab --- .../bindings/phy/phy-hi3670-usb3.txt | 4 +- drivers/phy/hisilicon/phy-hi3670-usb3.c | 98 +-- 2 files changed, 51 insertions(+), 51 deletions

[PATCH 07/10] MAINTAINERS: add myself as maintainer for Kirin 970 USB PHY

2020-09-08 Thread Mauro Carvalho Chehab
Now that this driver was added upsream, it needs a maintainer. Signed-off-by: Mauro Carvalho Chehab --- MAINTAINERS | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2f497c7d659c..267ba0b7a52e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

[PATCH v3 03/14] dt-bindings: clock: imx8mp: Add ids for the audio shared gate

2020-09-08 Thread Abel Vesa
All these IDs are for one single HW gate (CCGR101) that is shared between these root clocks. Signed-off-by: Abel Vesa Acked-by: Rob Herring --- include/dt-bindings/clock/imx8mp-clock.h | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/imx

[PATCH v3 04/14] dt-bindings: clock: imx8mp: Add media blk_ctl clock IDs

2020-09-08 Thread Abel Vesa
These will be used by the imx8mp for blk_ctl driver. Signed-off-by: Abel Vesa Acked-by: Rob Herring Reviewed-by: Dong Aisheng --- include/dt-bindings/clock/imx8mp-clock.h | 28 1 file changed, 28 insertions(+) diff --git a/include/dt-bindings/clock/imx8mp-clock.h

[PATCH v3 08/14] clk: imx8mp: Add audio shared gate

2020-09-08 Thread Abel Vesa
According to the RM, the CCGR101 is shared for the following root clocks: - AUDIO_AHB_CLK_ROOT - AUDIO_AXI_CLK_ROOT - SAI2_CLK_ROOT - SAI3_CLK_ROOT - SAI5_CLK_ROOT - SAI6_CLK_ROOT - SAI7_CLK_ROOT - PDM_CLK_ROOT Signed-off-by: Abel Vesa Reviewed-by: Dong Aisheng --- drivers/clk/imx/clk-imx8mp.c

Re: [PATCH RESEND 1/9] crypto: caam/jr - add fallback for XTS with more than 8B IV

2020-09-08 Thread Horia Geantă
On 8/21/2020 6:47 AM, Herbert Xu wrote: > On Thu, Aug 06, 2020 at 07:35:43PM +0300, Andrei Botila wrote: >> >> +static bool xts_skcipher_ivsize(struct skcipher_request *req) >> +{ >> +struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); >> +unsigned int ivsize = crypto_skcipher_i

[PATCH v3 07/14] dt-bindings: reset: imx8mp: Add hdmi blk_ctl reset IDs

2020-09-08 Thread Abel Vesa
These will be used imx8mp for blk_ctl driver. Signed-off-by: Abel Vesa Acked-by: Rob Herring Reviewed-by: Dong Aisheng --- include/dt-bindings/reset/imx8mp-reset.h | 12 1 file changed, 12 insertions(+) diff --git a/include/dt-bindings/reset/imx8mp-reset.h b/include/dt-bindings/

Re: [PATCH 7/7] cpufreq: qcom-hw: Use devm_platform_ioremap_resource() to simplify code

2020-09-08 Thread Viresh Kumar
On 08-09-20, 13:27, Manivannan Sadhasivam wrote: > devm_platform_ioremap_resource() is the combination of > platform_get_resource() and devm_ioremap_resource(). Hence, use it to > simplify the code a bit. > > Signed-off-by: Manivannan Sadhasivam > --- > drivers/cpufreq/qcom-cpufreq-hw.c | 11 +++

Re: [PATCH 5/7] cpufreq: qcom-hw: Use regmap for accessing hardware registers

2020-09-08 Thread Viresh Kumar
On 08-09-20, 13:27, Manivannan Sadhasivam wrote: > Use regmap for accessing cpufreq registers in hardware. Why ? Please mention why a change is required in the log. > Signed-off-by: Manivannan Sadhasivam > --- > drivers/cpufreq/qcom-cpufreq-hw.c | 55 ++- > 1 file ch

Re: [PATCH] mm/memcg: rename watermark as max_usage

2020-09-08 Thread Michal Hocko
On Tue 08-09-20 18:25:21, Alex Shi wrote: > The page_counter's watermark used to show as max_usage_in_bytes in memory > cgroup. named as watermark is a kind of misleadking. So, let's rename it > as it usage. Is this really necessary? This just adds a code churn for something that is highly subject

Re: [PATCH v5 00/21] kprobes: Unify kretprobe trampoline handlers and make kretprobe lockless

2020-09-08 Thread peterz
On Thu, Sep 03, 2020 at 10:39:54AM +0900, Masami Hiramatsu wrote: > > There's a bug, that might make it miss it. I have a patch. I'll send it > > shortly. > > OK, I've confirmed that the lockdep warns on kretprobe from INT3 > with your fix. I'm now trying and failing to reproduce I can't see

Re: [PATCH 2/7] arm64: dts: qcom: sm8250: Add cpufreq hw node

2020-09-08 Thread Viresh Kumar
On 08-09-20, 13:27, Manivannan Sadhasivam wrote: > From: Bjorn Andersson > > Add cpufreq HW device node to scale 4-Silver/3-Gold/1-Gold+ cores > on SM8250 SoCs. > > Signed-off-by: Bjorn Andersson > Signed-off-by: Manivannan Sadhasivam > --- > arch/arm64/boot/dts/qcom/sm8250.dtsi | 22

Re: [PATCH 1/2] arm64/mm: Change THP helpers to comply with generic MM semantics

2020-09-08 Thread Anshuman Khandual
On 09/03/2020 11:01 PM, Ralph Campbell wrote: > > On 9/3/20 9:56 AM, Catalin Marinas wrote: >> On Mon, Aug 17, 2020 at 02:49:43PM +0530, Anshuman Khandual wrote: >>> pmd_present() and pmd_trans_huge() are expected to behave in the following >>> manner during various phases of a given PMD. It is

Re: [PATCH v11 00/11] PCI: brcmstb: enable PCIe for STB chips

2020-09-08 Thread Lorenzo Pieralisi
On Mon, Sep 07, 2020 at 11:29:06AM -0700, Florian Fainelli wrote: > > > On 9/7/2020 10:43 AM, Jim Quinlan wrote: > > On Mon, Sep 7, 2020 at 5:16 AM Lorenzo Pieralisi > > wrote: > > > > > > On Thu, Aug 27, 2020 at 09:29:59AM -0400, Jim Quinlan wrote: > > > > On Thu, Aug 27, 2020 at 2:35 AM Chris

Re: [PATCH v2 1/2] arm64: dts: Add the Kontron i.MX8M Mini SoMs and baseboards

2020-09-08 Thread Frieder Schrempf
On 17.08.20 10:51, Shawn Guo wrote: On Thu, Jul 16, 2020 at 06:11:58PM +0200, Schrempf Frieder wrote: From: Frieder Schrempf Kontron Electronics GmbH offers small and powerful SoMs based on the i.MX8M Mini SoC including PMIC, LPDDR4-RAM, eMMC and SPI NOR. The matching baseboards have the same

Re: [PATCH v5 0/6] mm / virtio-mem: support ZONE_MOVABLE

2020-09-08 Thread David Hildenbrand
On 21.08.20 22:55, Andrew Morton wrote: > On Fri, 21 Aug 2020 10:45:33 +0200 David Hildenbrand wrote: > >> On 21.08.20 10:31, David Hildenbrand wrote: >>> On 16.08.20 14:53, David Hildenbrand wrote: For 5.10. Patch #1-#4,#6 have RBs or ACKs, patch #5 is virtio-mem stuff maintained by me

linux-next: build failure after merge of the akpm tree

2020-09-08 Thread Stephen Rothwell
Hi all, After merging the akpm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: mm/madvise.c: In function 'madv_import_iovec': mm/madvise.c:1233:6: error: implicit declaration of function 'in_compat_syscall' [-Werror=implicit-function-declaration] 1233 | if (in_compat

Re: [PATCH v4 00/23] device-dax: Support sub-dividing soft-reserved ranges

2020-09-08 Thread David Hildenbrand
On 22.08.20 01:21, Andrew Morton wrote: > On Wed, 19 Aug 2020 18:53:57 -0700 Dan Williams > wrote: > >>> I think I am missing some important pieces. Bear with me. >> >> No worries, also bear with me, I'm going to be offline intermittently >> until at least mid-September. Hopefully Joao and/or Vi

Re: [PATCH] mm: madvise: fix vma user-after-free

2020-09-08 Thread David Hildenbrand
On 16.08.20 16:12, Yang Shi wrote: > The syzbot reported the below use-after-free: > > BUG: KASAN: use-after-free in madvise_willneed mm/madvise.c:293 [inline] > BUG: KASAN: use-after-free in madvise_vma mm/madvise.c:942 [inline] > BUG: KASAN: use-after-free in do_madvise.part.0+0x1c8b/0x1cf0 > m

Re: [PATCH v7 41/72] x86/sev-es: Setup per-cpu GHCBs for the runtime handler

2020-09-08 Thread Borislav Petkov
On Mon, Sep 07, 2020 at 03:15:42PM +0200, Joerg Roedel wrote: > +void __init sev_es_init_vc_handling(void) > +{ > + int cpu; > + > + BUILD_BUG_ON((offsetof(struct sev_es_runtime_data, ghcb_page) % > PAGE_SIZE) != 0); Simplified that to: BUILD_BUG_ON(offsetof(struct sev_es_runtime

[PATCH v2 1/1] i2c: busses: Add support for atomic transfers in Actions Semi Owl driver

2020-09-08 Thread Cristian Ciocaltea
Atomic transfers are required to properly power off a machine through an I2C controlled PMIC, such as the Actions Semi ATC260x series. System shutdown may happen with interrupts being disabled and, as a consequence, the kernel may hang if the driver does not support atomic transfers. This functio

Re: [PATCH] phy: ti: am654: Fix a leak in serdes_am654_probe()

2020-09-08 Thread Vinod Koul
On 05-09-20, 15:46, Dan Carpenter wrote: > If devm_phy_create() fails then we need to call of_clk_del_provider(node) > to undo the call to of_clk_add_provider(). Applied, thanks -- ~Vinod

Re: [PATCH net-next] netfilter: ebt_stp: Remove unused macro BPDU_TYPE_TCN

2020-09-08 Thread Pablo Neira Ayuso
On Fri, Sep 04, 2020 at 08:56:53PM +0800, Wang Hai wrote: > BPDU_TYPE_TCN is never used after it was introduced. > So better to remove it. Applied, thanks.

[PATCH] PM / devfreq: Add timer type to devfreq_summary debugfs

2020-09-08 Thread Chanwoo Choi
The commit 4dc3bab8687f ("PM / devfreq: Add support delayed timer for polling mode") supports the delayed timer but this commit missed the adding the timer type to devfreq_summary debugfs node. Add the timer type to devfreq_summary debugfs. Fixes: 4dc3bab8687f ("PM / devfreq: Add support delayed t

linux-next: Tree for Sep 8

2020-09-08 Thread Stephen Rothwell
Hi all, Changes since 20200903: I reverted a commit from the kbuild tree on request. The vfs tree gained conflicts against the m68k and s390 trees. The v4l-dvb tree gained a build failure so I used the version from next-20200903. The bpf-next tree gained a build failure so I used the version f

Re: linux-next: build failure after merge of the tip tree

2020-09-08 Thread peterz
On Tue, Sep 08, 2020 at 07:12:23PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the tip tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > ERROR: modpost: too long symbol > ".__tracepoint_iter_pnfs_mds_fallback_pg_get_mirror_count" > [fs/nfs/flexfilelayo

Re: Question about dev_validate_header used in af_packet.c

2020-09-08 Thread Xie He
On Tue, Sep 8, 2020 at 1:41 AM Willem de Bruijn wrote: > > The intent is to bypass such validation to be able to test device > drivers. Note that removing that may cause someone's test to start > failing. > > > So there's no point in > > keeping the ability to test this, either. > > I don't disag

Re: linux-next: manual merge of the drm-intel tree with Linus' tree

2020-09-08 Thread Stephen Rothwell
Hi Hans, On Tue, 8 Sep 2020 10:22:06 +0200 Hans de Goede wrote: > > On 9/8/20 6:00 AM, Stephen Rothwell wrote: > > > > Today's linux-next merge of the drm-intel tree got a conflict in: > > > >drivers/gpu/drm/i915/display/intel_panel.c > > > > between commit: > > > >f8bd54d21904 ("drm/

[PATCH v2 net] net: sch_generic: aviod concurrent reset and enqueue op for lockless qdisc

2020-09-08 Thread Yunsheng Lin
Currently there is concurrent reset and enqueue operation for the same lockless qdisc when there is no lock to synchronize the q->enqueue() in __dev_xmit_skb() with the qdisc reset operation in qdisc_deactivate() called by dev_deactivate_queue(), which may cause out-of-bounds access for priv->ring[

RE: [PATCH RFC 0/7] net: bridge: cfm: Add support for Connectivity Fault Management(CFM)

2020-09-08 Thread Henrik.Bjoernlund
Hi Nik, Thanks a lot for reviewing. -Original Message- From: Nikolay Aleksandrov Sent: 7. september 2020 15:56 To: step...@networkplumber.org; Horatiu Vultur - M31836 Cc: bri...@lists.linux-foundation.org; Henrik Bjoernlund - M31679 ; da...@davemloft.net; linux-kernel@vger.kernel.or

[PATCH] dmaengine: Kconfig: Update description for RCAR_DMAC config

2020-09-08 Thread Lad Prabhakar
rcar-dmac driver is used on Renesas R-Car Gen2 and Gen3 devices update the same to reflect the description for RCAR_DMAC config. Signed-off-by: Lad Prabhakar --- drivers/dma/sh/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/sh/Kconfig b/drivers/dma/sh

Re: [PATCH 2/7] arm64: dts: qcom: sm8250: Add cpufreq hw node

2020-09-08 Thread Manivannan Sadhasivam
On 0908, Viresh Kumar wrote: > On 08-09-20, 13:27, Manivannan Sadhasivam wrote: > > From: Bjorn Andersson > > > > Add cpufreq HW device node to scale 4-Silver/3-Gold/1-Gold+ cores > > on SM8250 SoCs. > > > > Signed-off-by: Bjorn Andersson > > Signed-off-by: Manivannan Sadhasivam > > --- > > a

Re: [PATCH v3 1/2] iio: adc: mt6360: Add ADC driver for MT6360

2020-09-08 Thread Gene Chen
Jonathan Cameron 於 2020年9月8日 週二 下午5:08寫道: > > On Tue, 8 Sep 2020 14:17:42 +0800 > Gene Chen wrote: > > > Jonathan Cameron 於 2020年8月30日 週日 上午1:12寫道: > > > > > > On Mon, 24 Aug 2020 17:06:24 +0800 > > > Gene Chen wrote: > > > > > > > From: Gene Chen > > > > > > > > Add MT6360 ADC driver include

Re: [PATCH v4 1/2] cpufreq: mediatek-hw: Add support for Mediatek cpufreq HW driver

2020-09-08 Thread Hector Yuan
On Tue, 2020-09-08 at 15:57 +0530, Viresh Kumar wrote: > On 08-09-20, 15:35, Hector Yuan wrote: > > From: "Hector.Yuan" > > > > Add MT6779 cpufreq HW support. > > > > Signed-off-by: Hector.Yuan > > --- > > drivers/cpufreq/Kconfig.arm | 12 ++ > > drivers/cpufreq/Makefile

Re: [PATCH 7/7] cpufreq: qcom-hw: Use devm_platform_ioremap_resource() to simplify code

2020-09-08 Thread Manivannan Sadhasivam
On 0908, Viresh Kumar wrote: > On 08-09-20, 13:27, Manivannan Sadhasivam wrote: > > devm_platform_ioremap_resource() is the combination of > > platform_get_resource() and devm_ioremap_resource(). Hence, use it to > > simplify the code a bit. > > > > Signed-off-by: Manivannan Sadhasivam > > --- >

My Dear in the lord

2020-09-08 Thread Mrs. Mina A, Brunel
My Dear in the lord My name is Mrs. Mina A. Brunel I am a Norway Citizen who is living in Burkina Faso, I am married to Mr. Brunel Patrice, a politicians who owns a small gold company in Burkina Faso; He died of Leprosy and Radesyge, in year February 2010, During his lifetime he deposited t

[PATCH v1 0/2] add Centaur Family >= 7 CPUs support

2020-09-08 Thread Tony W Wang-oc
New Centaur CPUs have Family >= 7. So, add specific initialization for these CPUs in centaur.c In order to handle Family >= 7, also use if instead two-condition switch-case in centaur.c Tony W Wang-oc (2): x86/cpu: replace two-condition switch-case with if statement x86/cpu: add Centaur Famil

[PATCH v1 2/2] x86/cpu: add Centaur Family >=7 CPUs initialization support

2020-09-08 Thread Tony W Wang-oc
add Centaur Family >=7 CPUs specific initialization support in centaur.c Signed-off-by: Tony W Wang-oc --- arch/x86/kernel/cpu/centaur.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/cpu/centaur.c b/arch/x86/kernel/cpu/centaur.c index 5f811586..345f7

Re: [RFC] arm64: mm: Do not use both DMA zones when 30-bit address space unavailable

2020-09-08 Thread Catalin Marinas
Hi Nicolas, On Mon, Sep 07, 2020 at 07:50:43PM +0200, Nicolas Saenz Julienne wrote: > On Fri, 2020-08-28 at 18:43 +0100, Catalin Marinas wrote: > > On Wed, Aug 19, 2020 at 08:24:33PM +0200, Nicolas Saenz Julienne wrote: > > > There is no benefit in splitting the 32-bit address space into two > > >

Re: [PATCH v4 2/2] dt-bindings: cpufreq: add bindings for MediaTek cpufreq HW

2020-09-08 Thread Hector Yuan
On Tue, 2020-09-08 at 15:37 +0530, Viresh Kumar wrote: > On 08-09-20, 15:35, Hector Yuan wrote: > > From: "Hector.Yuan" > > > > Add devicetree bindings for MediaTek HW driver. > > > > Signed-off-by: Hector.Yuan > > --- > > .../bindings/cpufreq/cpufreq-mediatek-hw.yaml | 141 > >

RE: [PATCH v5 00/21] kprobes: Unify kretprobe trampoline handlers and make kretprobe lockless

2020-09-08 Thread eddy...@trendmicro.com
> From: pet...@infradead.org > > I'm now trying and failing to reproduce I can't seem to make it use > int3 today. It seems to want to use ftrace or refuses everything. I'm > probably doing it wrong. > You can turn off CONFIG_KPROBES_ON_FTRACE (and also sysctl debug.kprobes-optimization) to

[PATCH v2] Improve perf option help information in perf.txt

2020-09-08 Thread Zejiang Tang
Perf could use many options, such as:-vv, --exec-path, --html-path, -p, --paginate,--no-pager, --debugfs-dir, --buildid-dir, --list-cmds, --list-opts. Add these options in perf.txt. Signed-off-by: Zejiang Tang --- tools/perf/Documentation/perf.txt | 69 ++- 1

Re: [PATCH v2] sched/debug: Add new tracepoint to track cpu_capacity

2020-09-08 Thread Dietmar Eggemann
On 07/09/2020 16:51, Qais Yousef wrote: > On 09/07/20 13:13, pet...@infradead.org wrote: >> On Mon, Sep 07, 2020 at 11:48:45AM +0100, Qais Yousef wrote: >>> IMHO the above is a hack. Out-of-tree modules should rely on public headers >>> and >>> exported functions only. What you propose means that

Re: [PATCH] brcmsmac: fix memory leak in wlc_phy_attach_lcnphy

2020-09-08 Thread Arend Van Spriel
On 9/8/2020 2:13 AM, Keita Suzuki wrote: When wlc_phy_txpwr_srom_read_lcnphy fails in wlc_phy_attach_lcnphy, the allocated pi->u.pi_lcnphy is leaked, since struct brcms_phy will be freed in the caller function. Fix this by calling wlc_phy_detach_lcnphy in the error handler of wlc_phy_txpwr_srom_

Re: [PATCH v4 1/2] cpufreq: mediatek-hw: Add support for Mediatek cpufreq HW driver

2020-09-08 Thread Hector Yuan
On Tue, 2020-09-08 at 16:43 +0530, Viresh Kumar wrote: > On 08-09-20, 19:10, Hector Yuan wrote: > > OK, I will define the corresponding exit function. > > Also please add remove() corresponding to probe(). > OK, thanks for your kind reminder.

Re: [PATCH 5/7] cpufreq: qcom-hw: Use regmap for accessing hardware registers

2020-09-08 Thread Manivannan Sadhasivam
On 0908, Viresh Kumar wrote: > On 08-09-20, 16:41, Manivannan Sadhasivam wrote: > > On 0908, Viresh Kumar wrote: > > > On 08-09-20, 13:27, Manivannan Sadhasivam wrote: > > > > Use regmap for accessing cpufreq registers in hardware. > > > > > > Why ? Please mention why a change is required in the l

Re: [PATCH] dmaengine: Kconfig: Update description for RCAR_DMAC config

2020-09-08 Thread Geert Uytterhoeven
Hi Prabhakar, On Tue, Sep 8, 2020 at 1:06 PM Lad Prabhakar wrote: > rcar-dmac driver is used on Renesas R-Car Gen2 and Gen3 devices > update the same to reflect the description for RCAR_DMAC config. > > Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven Do you want to mention RZ/G1

Re: [RFC PATCH] sched: only issue an audit on privileged operation

2020-09-08 Thread Ondrej Mosnacek
On Tue, Sep 8, 2020 at 12:26 PM wrote: > On Fri, Sep 04, 2020 at 06:00:31PM +0200, Christian Göttsche wrote: > > sched_setattr(2) does via kernel/sched/core.c:__sched_setscheduler() > > issue a CAP_SYS_NICE audit event unconditionally, even when the requested > > operation does not require that c

Re: [PATCH] fs: adjust dirtytime_interval_handler definition to match prototype

2020-09-08 Thread Jan Kara
On Mon 07-09-20 11:31:40, Tobias Klauser wrote: > Commit 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") > changed ctl_table.proc_handler to take a kernel pointer. Adjust the > definition of dirtytime_interval_handler to match its prototype in > linux/writeback.h which fixes the fol

Re: [PATCH] fsync.2: ERRORS: add EIO and ENOSPC

2020-09-08 Thread Jan Kara
Added Jeff to CC since he has written the code... On Mon 07-09-20 09:11:06, Michael Kerrisk (man-pages) wrote: > [Widening the CC to include Andrew and linux-fsdevel@] > [Milan: thanks for the patch, but it's unclear to me from your commit > message how/if you verified the details.] > > Andrew, m

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