Re: [PATCH] ASoC: fsl: imx-pcm-dma: Don't request dma channel in probe

2020-05-20 Thread Shengjiu Wang
Hi On Tue, May 19, 2020 at 6:04 PM Lucas Stach wrote: > > Am Dienstag, den 19.05.2020, 17:41 +0800 schrieb Shengjiu Wang: > > There are two requirements that we need to move the request > > of dma channel from probe to open. > > How do you handle -EPROBE_DEFER return code from the channel request

[PATCH] PCI: rcar: fix runtime pm imbalance on error

2020-05-20 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even it returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/pci/controller/pcie-rcar.c | 3 +-- 1 file changed, 1 insertion(+), 2 de

Re: [PATCH] futex: send SIGBUS if argument is not aligned on a four-byte boundary

2020-05-20 Thread Konstantin Khlebnikov
On 20/05/2020 01.53, Thomas Gleixner wrote: Konstantin Khlebnikov writes: Userspace implementations of mutexes (including glibc) in some cases retries operation without checking error code from syscall futex. This is good for performance because most errors are impossible when locking code tru

Re: [PATCH v4 3/4] mm/memory.c: Add memory read privilege on page fault handling

2020-05-20 Thread maobibo
On 05/20/2020 09:30 AM, Andrew Morton wrote: > On Tue, 19 May 2020 18:03:29 +0800 Bibo Mao wrote: > >> Here add pte_sw_mkyoung function to make page readable on MIPS >> platform during page fault handling. This patch improves page >> fault latency about 10% on my MIPS machine with lmbench >> l

Re: zswap z3fold + memory offline = infinite loop

2020-05-20 Thread Vitaly Wool
On Tue, May 19, 2020 at 5:50 AM Qian Cai wrote: > > > > > Removing that check in ->isolate() is not a big deal, but ->migratepage() > > shall not allow actual migration anyway if there are mapped objects. > > Is that worse than an endless loop here? Well, let's figure if there really has to be

Re: seccomp feature development

2020-05-20 Thread Sargun Dhillon
On Tue, May 19, 2020 at 3:26 AM Christian Brauner wrote: > > On Mon, May 18, 2020 at 02:04:57PM -0700, Kees Cook wrote: > > Hi! > > > > This is my attempt at a brain-dump on my plans for nearish-term seccomp > > features. Welcome to my TED talk... ;) > > > > These are the things I've been thin

Re: [PATCH v4 1/4] dt-bindings: iio: magnetometer: ak8975: convert txt format to yaml

2020-05-20 Thread Andy Shevchenko
On Wed, May 20, 2020 at 10:32 AM Jonathan Albrieux wrote: > +maintainers: > + - can't find a maintainer, author is Laxman Dewangan Alas, you'll never go forward with this. One (easiest way) is to drop this patch completely if you won't be a maintainer of the binding. -- With Best Regards, A

Re: [PATCH] Replace HTTP links with HTTPS ones: documentation

2020-05-20 Thread Andy Shevchenko
Awesome, thanks! On Wed, May 20, 2020 at 1:04 AM Alexander A. Klimov wrote: > > > > Am 19.05.20 um 22:49 schrieb Andy Shevchenko: > > On Sat, May 16, 2020 at 3:31 PM Alexander A. Klimov > > wrote: > >> > >> ... for security reasons. > >> > >> No breaking changes as either the HTTP vhost redirect

Re: [PATCH 1/2] MAINTAINERS: Add entry for ROHM power management ICs

2020-05-20 Thread Lee Jones
On Wed, 20 May 2020, Vaittinen, Matti wrote: > Morning Lee, > > On Wed, 2020-05-20 at 07:35 +0100, Lee Jones wrote: > > On Wed, 20 May 2020, Matti Vaittinen wrote: > > > > > Add entry for maintaining power management IC drivers for ROHM > > > BD71837, BD71847, BD71850, BD71828, BD71878, BD70528

[PATCH V3] dt-bindings: thermal: Convert i.MX to json-schema

2020-05-20 Thread Anson Huang
Convert the i.MX thermal binding to DT schema format using json-schema Signed-off-by: Anson Huang --- Changes since V2: - remove unnecessary property in compatible; - add detail description for interrupts; - add description for each item of nvmem-cells; - add more

Re: [PATCH v1 1/1] PCI/ERR: Handle fatal error recovery for non-hotplug capable devices

2020-05-20 Thread Yicong Yang
On 2020/5/7 11:32, sathyanarayanan.kuppusw...@linux.intel.com wrote: > From: Kuppuswamy Sathyanarayanan > > If there are non-hotplug capable devices connected to a given > port, then during the fatal error recovery(triggered by DPC or > AER), after calling reset_link() function, we cannot rely on

[PATCH 04/10] media: mtk-vcodec: venc: handle firmware version field

2020-05-20 Thread Alexandre Courbot
Firmwares for encoders newer than MT8173 will include an ABI version number in their initialization ack message. Add the capacity to manage it and make initialization fail if the firmware ABI is of a version that we don't support. For MT8173, this ABI version field is reserved and thus undefined ;

[PATCH 03/10] media: mtk-vcodec: venc: support SCP firmware

2020-05-20 Thread Alexandre Courbot
From: Yunfei Dong Support the new extended firmware used by MT8183's encoder. Signed-off-by: Yunfei Dong [acourbot: refactor, cleanup and split] Co-developed-by: Alexandre Courbot Signed-off-by: Alexandre Courbot --- .../platform/mtk-vcodec/mtk_vcodec_drv.h | 12 +++ .../platform/mtk-vc

RE: [RESEND 1/4] arm64: dts: lx2160a: add ftm_alarm0 DT node

2020-05-20 Thread Biwen Li (OSS)
> > > > diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > > > > b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > > > > index e5ee5591e52b..e0d8d68ce070 100644 > > > > --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > > > > +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi >

[PATCH 09/10] media: dt-bindings: mtk-vcodec: specify SCP node

2020-05-20 Thread Alexandre Courbot
The mediatek codecs can use either the VPU or the SCP as their interface to firmware. Reflect this in the DT bindings. Signed-off-by: Alexandre Courbot --- Documentation/devicetree/bindings/media/mediatek-vcodec.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documenta

[PATCH 01/10] media: mtk-vcodec: abstract firmware interface

2020-05-20 Thread Alexandre Courbot
From: Yunfei Dong MT8183's codec firwmare is run by a different remote processor from MT8173. While the firmware interface is basically the same, the way to invoke it differs. Abstract all firmware calls under a layer that will allow us to handle both firmware types transparently. Signed-off-by:

[PATCH 00/10] media: mtk-vcodec: venc: support for MT8183

2020-05-20 Thread Alexandre Courbot
This series adds support for the encoder present on MT8183. It is very similar to the one in MT8173, but with different capabilities and using a new firmware interface (SCP, while MT8173 talked to the VPU). So this series starts with some preparatory work by putting the firmware interface behind a

[PATCH 02/10] media: mtk-vcodec: add SCP firmware ops

2020-05-20 Thread Alexandre Courbot
From: Yunfei Dong Add support for communicating with the SCP firmware, which will be used by MT8183. Signed-off-by: Yunfei Dong [acourbot: refactor, cleanup and split] Co-developed-by: Alexandre Courbot Signed-off-by: Alexandre Courbot --- drivers/media/platform/Kconfig| 2 +

[PATCH 05/10] media: mtk-vcodec: venc: specify bitrate range per-chip

2020-05-20 Thread Alexandre Courbot
Different chips have different supported bitrate ranges. Move the min and max supported bitrates to the platform data. Signed-off-by: Alexandre Courbot --- drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h | 4 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c | 3 ++- drivers/med

[PATCH 07/10] media: mtk-vcodec: venc: remove redundant code

2020-05-20 Thread Alexandre Courbot
vidioc_try_fmt() does clamp height and width when called on the OUTPUT queue, so clamping them prior to calling this function is redundant. Set the queue's parameters after calling vidioc_try_fmt() so we can use the values it computed. Signed-off-by: Alexandre Courbot --- .../media/platform/mtk-

[PATCH 08/10] media: mtk-vcodec: add support for MT8183 encoder

2020-05-20 Thread Alexandre Courbot
From: Yunfei Dong Now that all the supporting blocks are present, enable encoder for MT8183. Signed-off-by: Yunfei Dong [acourbot: refactor, cleanup and split] Co-developed-by: Alexandre Courbot Signed-off-by: Alexandre Courbot --- .../platform/mtk-vcodec/mtk_vcodec_drv.h | 1 + .../pl

[PATCH 10/10] media: dt-bindings: mtk-vcodec: document mediatek,mt8183-vcodec-enc

2020-05-20 Thread Alexandre Courbot
Support for the MT8183 encoder has been added, document the corresponding DT bindings. Signed-off-by: Alexandre Courbot --- Documentation/devicetree/bindings/media/mediatek-vcodec.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/media

[PATCH 06/10] media: mtk-vcodec: venc: specify supported formats per-chip

2020-05-20 Thread Alexandre Courbot
Different chips have different supported bitrate ranges. Move the list of supported formats to the platform data, and split the output and capture formats into two lists to make it easier to find the default format for each queue. Signed-off-by: Alexandre Courbot --- .../platform/mtk-vcodec/mtk_

Re: [PATCH 3/3] objtool: Enable compilation of objtool for all architectures

2020-05-20 Thread Julien Thierry
On 5/19/20 9:55 PM, Matt Helsley wrote: objtool currently only compiles for x86 architectures. This is fine as it presently does not support tooling for other architectures. However, we would like to be able to convert other kernel tools to run as objtool sub commands because they too process

Re: [PATCH] sh: include linux/time_types.h for sockios

2020-05-20 Thread Arnd Bergmann
On Wed, May 20, 2020 at 3:10 AM Andrew Morton wrote: > > On Tue, 19 May 2020 15:13:13 +0200 Arnd Bergmann wrote: > > > Using the socket ioctls on arch/sh (and only there) causes build > > time problems when __kernel_old_timeval/__kernel_old_timespec are > > not already visible to the compiler. >

Re: [PATCH v7 0/4] support reserving crashkernel above 4G on arm64 kdump

2020-05-20 Thread Bhupesh Sharma
Hi John, On Wed, May 20, 2020 at 1:53 AM John Donnelly wrote: > > > > > On May 19, 2020, at 5:21 AM, Arnd Bergmann wrote: > > > > On Thu, Mar 26, 2020 at 4:10 AM Chen Zhou wrote: > >> > >> Hi all, > >> > >> Friendly ping... > > > > I was asked about this patch series, and see that you last post

Re: [PATCH v2 12/15] ath10k: use new module_firmware_crashed()

2020-05-20 Thread Andy Shevchenko
On Wed, May 20, 2020 at 8:40 AM Emmanuel Grumbach wrote: > Since I have been involved quite a bit in the firmware debugging > features in iwlwifi, I think I can give a few insights here. > > But before this, we need to understand that there are several sources of > issues: > 1) the firmware may

Re: [PATCH 3/3] perf/x86/rapl: add AMD Fam17h RAPL support

2020-05-20 Thread Stephane Eranian
Hi, On Mon, May 18, 2020 at 1:16 PM Stephane Eranian wrote: > > On Mon, May 18, 2020 at 2:34 AM Peter Zijlstra wrote: > > > > On Fri, May 15, 2020 at 02:57:33PM -0700, Stephane Eranian wrote: > > > > > +static struct perf_msr amd_rapl_msrs[] = { > > > + [PERF_RAPL_PP0] = { 0, &rapl_events_c

Re: [RFC PATCH 0/8] Qualcomm Cloud AI 100 driver

2020-05-20 Thread Daniel Vetter
On Wed, May 20, 2020 at 7:15 AM Greg Kroah-Hartman wrote: > > On Tue, May 19, 2020 at 10:41:15PM +0200, Daniel Vetter wrote: > > On Tue, May 19, 2020 at 07:41:20PM +0200, Greg Kroah-Hartman wrote: > > > On Tue, May 19, 2020 at 08:57:38AM -0600, Jeffrey Hugo wrote: > > > > On 5/18/2020 11:08 PM, Da

[PATCH] ASoC: mmp-sspa: Fix the error handling in probe()

2020-05-20 Thread Lubomir Rintel
If we fail after pm_runtime_enable(), we fail to undo it. Same with clk_prepare_enable(). Let's order them after all things that can fail. Fixes: 7d98cc648253 ("ASoC: mmp-sspa: Add support for the runtime power management") Signed-off-by: Lubomir Rintel --- sound/soc/pxa/mmp-sspa.c | 16 +++

Re: [PATCH] ARM: pass -msoft-float to gcc earlier

2020-05-20 Thread Szabolcs Nagy
The 05/19/2020 17:38, Nick Desaulniers wrote: > sorry, hit tab/enter too soon... > > On Tue, May 19, 2020 at 5:37 PM Nick Desaulniers > wrote: > > > > On Tue, May 19, 2020 at 3:09 PM Arnd Bergmann wrote: > > > > > > Szabolcs Nagy ran into a kernel build failure with a custom gcc > > > toochain t

[RFC][PATCH V2] GCOV: profile by modules

2020-05-20 Thread gengcixi
From: Cixi Geng --- Replace symbol GCOV_PROFILE_MODULES with GCOV_PROFILE_PREREQS --- The CONFIG_GCOV_PROFILE_ALL will compile kernel by profiling entire kernel which will lead to kernel run slower.Use GCOV_PROFILE_PREREQS to control part of the kernel modules to open gcov. Only add SERIAL_GCOV

Re: [PATCH v3 38/75] x86/sev-es: Add SEV-ES Feature Detection

2020-05-20 Thread Borislav Petkov
On Tue, Apr 28, 2020 at 05:16:48PM +0200, Joerg Roedel wrote: > +bool sev_es_active(void) > +{ > + return !!(sev_status & MSR_AMD64_SEV_ES_ENABLED); > +} > +EXPORT_SYMBOL_GPL(sev_es_active); I don't see this being used in modules anywhere in the patchset. Or am I missing something? -- Regard

Re: [PATCH 2/4] dt-bindings: sram: add documentation for reserved-only flag

2020-05-20 Thread Thierry Reding
On Wed, May 13, 2020 at 12:41:27PM +0200, Mian Yousaf Kaukab wrote: > On Tue, May 12, 2020 at 01:45:28PM -0600, Stephen Warren wrote: > > On 5/12/20 8:48 AM, Mian Yousaf Kaukab wrote: > > > Add documentation for the new optional flag added for SRAM driver. > > > > > diff --git a/Documentation/devi

[PATCH] PCI: tegra: fix runtime pm imbalance on error

2020-05-20 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even it returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Also This driver forgets to call pm_runtime_disable() when pm_runtime_get_sync() returns an error code. Signed-o

Re: [PATCH v2 2/2] i2c: mediatek: Add i2c ac-timing adjust support

2020-05-20 Thread Qii Wang
Hi Geert, On Tue, 2020-05-19 at 09:14 +0200, Geert Uytterhoeven wrote: > Hi Qii, > > On Tue, May 19, 2020 at 4:59 AM Qii Wang wrote: > > On Mon, 2020-05-18 at 17:44 +0200, Geert Uytterhoeven wrote: > > > On Thu, May 14, 2020 at 3:13 PM Qii Wang wrote: > > > > This patch adds a algorithm to calc

Re: BUG: sleeping function called from atomic due to "Balance initial LPI affinity across CPUs"

2020-05-20 Thread John Garry
On 19/05/2020 23:09, Qian Cai wrote: Reverted the linux-next commit f068a62c548c ("irqchip/gic-v3-its: Balance initial LPI affinity across CPUs") fixed these warnings during boot, Thanks for the notice. So we need the following set to see this: CONFIG_CPUMASK_OFFSTACK=y CONFIG_DEBUG_ATOMIC_SLEE

Re: [PATCH] iio: dac: ad5592r-base: Replace indio_dev->mlock with own device lock

2020-05-20 Thread Ardelean, Alexandru
On Wed, 2020-05-20 at 09:18 +0300, Sergiu Cuciurean wrote: > [External] > > As part of the general cleanup of indio_dev->mlock, this change replaces > it with a local lock on the device's state structure. > This requires a V2. It produces a warning: 159 | struct iio_dev *iio_dev = iio_priv_t

Re: linux-next: Tree for May 19 (i2c/busses/i2c-mt65xx.o)

2020-05-20 Thread Wolfram Sang
On Tue, May 19, 2020 at 05:24:30PM -0700, Randy Dunlap wrote: > On 5/19/20 11:03 AM, Stephen Rothwell wrote: > > Hi all, > > > > News: there will be no linux-next release tomorrow. > > > > Changes since 20200518: > > > > on i386: > > ERROR: modpost: "__udivdi3" [drivers/i2c/busses/i2c-mt65xx.k

[PATCH v3 1/3] dt-bindings: mailbox: Add devicetree binding for Qcom IPCC

2020-05-20 Thread Manivannan Sadhasivam
Add devicetree YAML binding for Qualcomm Inter-Processor Communication Controller (IPCC) block. Reviewed-by: Bjorn Andersson Signed-off-by: Manivannan Sadhasivam --- .../bindings/mailbox/qcom-ipcc.yaml | 80 +++ include/dt-bindings/mailbox/qcom-ipcc.h | 33 ++

[PATCH] PCI: dwc: pci-dra7xx: fix runtime pm imbalance on error

2020-05-20 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even it returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/pci/controller/dwc/pci-dra7xx.c | 3 +-- 1 file changed, 1 insertion(+),

[PATCH v3 2/3] mailbox: Add support for Qualcomm IPCC

2020-05-20 Thread Manivannan Sadhasivam
Add support for the Inter-Processor Communication Controller (IPCC) block from Qualcomm that coordinates the interrupts (inbound & outbound) for Multiprocessor (MPROC), COMPUTE-Level0 (COMPUTE-L0) & COMPUTE-Level1 (COMPUTE-L1) protocols for the Application Processor Subsystem (APSS). This driver i

[PATCH v3 0/3] Add Qualcomm IPCC driver support

2020-05-20 Thread Manivannan Sadhasivam
Hello, This series adds mailbox driver support for Qualcomm Inter Processor Communications Controller (IPCC) block found in MSM chipsets. This block is used to route interrupts between modems, DSPs and APSS (Application Processor Subsystem). The driver is modeled as a mailbox+irqchip driver. The

Re: [RFC][PATCH V2] GCOV: profile by modules

2020-05-20 Thread Greg KH
On Wed, May 20, 2020 at 04:38:21PM +0800, gengc...@gmail.com wrote: > From: Cixi Geng > > --- > Replace symbol GCOV_PROFILE_MODULES with GCOV_PROFILE_PREREQS > --- That can't go in the body of a changelog, as it will be cut off. Try applying this patch with 'git am' and see what happens :(

[PATCH v3 3/3] MAINTAINERS: Add entry for Qualcomm IPCC driver

2020-05-20 Thread Manivannan Sadhasivam
Add MAINTAINERS entry for Qualcomm IPCC driver and its binding. Reviewed-by: Bjorn Andersson Signed-off-by: Manivannan Sadhasivam --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e64e5db31497..cc2fb991cc0d 100644 --- a/MAINTAINERS +++ b

Re: [PATCH v2] mfd: stm32-timers: Use dma_request_chan() instead dma_request_slave_channel()

2020-05-20 Thread Lee Jones
On Tue, 07 Jan 2020, Peter Ujfalusi wrote: > dma_request_slave_channel() is a wrapper on top of dma_request_chan() > eating up the error code. > > By using dma_request_chan() directly the driver can support deferred > probing against DMA. > > Signed-off-by: Peter Ujfalusi > --- > Hi, > > Chang

Re: [ISSUE] acpi_cpufreq is added and removed frequently

2020-05-20 Thread Feng Li
Oh, the trouble maker has been found. A background program call 'udevadm retrigger' periodically. Closed. Feng Li 于2020年5月20日周三 下午2:47写道: > > Hi expert, > > I could see my CentOS7, `udevadm monitor` reports this log very fast: > > UDEV [14258.464055] change > /devices/LNXSYSTM:00/device:00/ACPI

Re: [RFC][PATCH V2] GCOV: profile by modules

2020-05-20 Thread Greg KH
On Wed, May 20, 2020 at 04:38:21PM +0800, gengc...@gmail.com wrote: > From: Cixi Geng > > --- > Replace symbol GCOV_PROFILE_MODULES with GCOV_PROFILE_PREREQS > --- > The CONFIG_GCOV_PROFILE_ALL will compile kernel by profiling entire > kernel which will lead to kernel run slower.Use GCOV_PROFILE_

Re: [PATCH v3] dt-bindings: mfd: Convert stmfx bindings to json-schema

2020-05-20 Thread Lee Jones
On Thu, 20 Feb 2020, Benjamin Gaignard wrote: > Convert stmfx bindings to json-schema > > Signed-off-by: Benjamin Gaignard > --- > .../devicetree/bindings/mfd/st,stmfx.yaml | 124 > + > Documentation/devicetree/bindings/mfd/stmfx.txt| 28 - > .../devicetr

[tip:x86/cleanups] BUILD SUCCESS 0e5e3d4461a22d739fb2284a6e313fb6cecf2871

2020-05-20 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/cleanups branch HEAD: 0e5e3d4461a22d739fb2284a6e313fb6cecf2871 x86/audit: Fix a -Wmissing-prototypes warning for ia32_classify_syscall() elapsed time: 642m configs tested: 98 configs skipped: 1 The following configs

Re: [PATCH 2/4] dt-bindings: sram: add documentation for reserved-only flag

2020-05-20 Thread Thierry Reding
On Tue, May 19, 2020 at 05:03:26PM -0600, Rob Herring wrote: > On Tue, May 19, 2020 at 10:16:43AM -0600, Stephen Warren wrote: > > On 5/13/20 4:41 AM, Mian Yousaf Kaukab wrote: > > > On Tue, May 12, 2020 at 01:45:28PM -0600, Stephen Warren wrote: > > >> On 5/12/20 8:48 AM, Mian Yousaf Kaukab wrote:

Re: [PATCH v5 09/19] mtd: spi-nor: sfdp: parse xSPI Profile 1.0 table

2020-05-20 Thread Pratyush Yadav
Hi Mason, On 20/05/20 03:59PM, masonccy...@mxic.com.tw wrote: > > Hi Pratyush, > > > +/** > > + * spi_nor_parse_profile1() - parse the xSPI Profile 1.0 table > > + * @nor: pointer to a 'struct spi_nor' > > + * @param_header: pointer to the 'struct sfdp_parameter_header' > describing > >

Re: [PATCH] m68k: add missing __user annotation in get_user()

2020-05-20 Thread Michael S. Tsirkin
On Wed, May 20, 2020 at 02:57:50PM +0800, Jason Wang wrote: > The ptr is a pointer to userspace memory. So we need annotate it with > __user otherwise we may get sparse warnings like: > > drivers/vhost/vhost.c:1603:13: sparse: sparse: incorrect type in initializer > (different address spaces) @@

[PATCH] PCI: qcom: fix runtime pm imbalance on error

2020-05-20 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even it returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/pci/controller/dwc/pcie-qcom.c | 3 +-- 1 file changed, 1 insertion(+),

Re: [PATCH] i3c: master: fix for SETDASA and DAA process

2020-05-20 Thread Boris Brezillon
On Thu, 14 May 2020 18:30:09 +0200 Parshuram Thombare wrote: > This patch fix following issues. > 1. Controller slots blocked for devices with static_addr >but no init_dyn_addr may limit the number of I3C devices >on the bus which gets dynamic address in DAA. So >instead of attaching

Re: [PATCH v2 2/2] i2c: mediatek: Add i2c ac-timing adjust support

2020-05-20 Thread Geert Uytterhoeven
Hi Qii, On Wed, May 20, 2020 at 10:44 AM Qii Wang wrote: > On Tue, 2020-05-19 at 09:14 +0200, Geert Uytterhoeven wrote: > > On Tue, May 19, 2020 at 4:59 AM Qii Wang wrote: > > > On Mon, 2020-05-18 at 17:44 +0200, Geert Uytterhoeven wrote: > > > > On Thu, May 14, 2020 at 3:13 PM Qii Wang wrote:

Re: [PATCH] x86/Hyper-V: Support for free page reporting

2020-05-20 Thread Vitaly Kuznetsov
Sunil Muthuswamy writes: > Linux has support for free page reporting now (36e66c554b5c) for > virtualized environment. On Hyper-V when virtually backed VMs are > configured, Hyper-V will advertise cold memory discard capability, > when supported. This patch adds the support to hook into the free

Re: [PATCH v2] tty: hvc: Fix data abort due to race in hvc_open

2020-05-20 Thread Jiri Slaby
On 20. 05. 20, 8:47, Raghavendra Rao Ananta wrote: > Potentially, hvc_open() can be called in parallel when two tasks calls > open() on /dev/hvcX. In such a scenario, if the hp->ops->notifier_add() > callback in the function fails, where it sets the tty->driver_data to > NULL, the parallel hvc_open

Bad kfree of dma_parms in v5.7-rc5

2020-05-20 Thread Tomi Valkeinen
Hi, Commit 9495b7e92f716ab2bd6814fab5e97ab4a39adfdd ("driver core: platform: Initialize dma_parms for platform devices") v5.7-rc5 causes at least some v4l2 platform drivers to break when freeing resources. E.g. drivers/media/platform/ti-vpe/cal.c uses vb2_dma_contig_set_max_seg_size() and vb2

Re: [PATCH v2 2/6] mfd: add support for the Khadas System control Microcontroller

2020-05-20 Thread Lee Jones
On Tue, 12 May 2020, Neil Armstrong wrote: > This Microcontroller is present on the Khadas VIM1, VIM2, VIM3 and Edge > boards. > > It has multiple boot control features like password check, power-on > options, power-off control and system FAN control on recent boards. > > This implements a very

[PATCH] PCI: tegra: fix runtime pm imbalance on error

2020-05-20 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even it returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/pci/controller/dwc/pcie-tegra194.c | 2 +- 1 file changed, 1 insertion(+

Re: [PATCH] x86/Hyper-V: Support for free page reporting

2020-05-20 Thread Wei Liu
On Tue, May 19, 2020 at 06:37:57PM +, Sunil Muthuswamy wrote: > Linux has support for free page reporting now (36e66c554b5c) for > virtualized environment. On Hyper-V when virtually backed VMs are > configured, Hyper-V will advertise cold memory discard capability, > when supported. This patch

Re: [PATCH] clocksource/drivers/timer-ti-dm: Do one override clock parent in prepare()

2020-05-20 Thread Daniel Lezcano
On 05/05/2020 20:07, Tony Lindgren wrote: > * Tony Lindgren [200428 18:23]: >> * Lokesh Vutla [200427 17:29]: >>> omap_dm_timer_prepare() is setting up the parent 32KHz clock. This >>> prepare() gets called by request_timer in the client's driver. Because of >>> this, the timer clock parent that

[PATCH] PCI: cadence: fix runtime pm imbalance on error

2020-05-20 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even it returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/pci/controller/cadence/pcie-cadence-plat.c | 3 +-- 1 file changed, 1 in

Re: [PATCH] x86/Hyper-V: Support for free page reporting

2020-05-20 Thread Wei Liu
On Wed, May 20, 2020 at 10:59:22AM +0200, Vitaly Kuznetsov wrote: > Sunil Muthuswamy writes: [...] > > +EXPORT_SYMBOL_GPL(hv_query_ext_cap); > > diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c > > index ebf34c7bc8bc..2de3f692c8bf 100644 > > --- a/arch/x86/kernel/cpu/ms

Re: seccomp feature development

2020-05-20 Thread Sargun Dhillon
On Mon, May 18, 2020 at 02:04:57PM -0700, Kees Cook wrote: > Hi! > > This is my attempt at a brain-dump on my plans for nearish-term seccomp > features. Welcome to my TED talk... ;) > > These are the things I've been thinking about: > > - fd passing > - deep argument inspection > - changing stru

Re: [RFC][PATCH V2] GCOV: profile by modules

2020-05-20 Thread Cixi Geng
Thank you for guidances, I will fix error and upload new patch Greg KH 于2020年5月20日周三 下午4:51写道: > > On Wed, May 20, 2020 at 04:38:21PM +0800, gengc...@gmail.com wrote: > > From: Cixi Geng > > > > --- > > Replace symbol GCOV_PROFILE_MODULES with GCOV_PROFILE_PREREQS > > --- > > The CONFIG_GCOV_PRO

[PATCH] selftests/exec: Add binfmt_script regression test

2020-05-20 Thread Kees Cook
While working on commit b5372fe5dc84 ("exec: load_script: Do not exec truncated interpreter path"), I wrote a series of test scripts to verify corner cases. However, soon after, commit 6eb3c3d0a52d ("exec: increase BINPRM_BUF_SIZE to 256") landed, resulting in the tests needing to be refactored for

Re: [PATCH v2 1/2] hwrng: iproc-rng200 - Set the quality value

2020-05-20 Thread Lukasz Stelmach
It was <2020-05-20 śro 08:23>, when Stephan Mueller wrote: > Am Dienstag, 19. Mai 2020, 23:25:51 CEST schrieb Łukasz Stelmach: > >> The value was estimaded with ea_iid[1] using on 10485760 bytes read from >> the RNG via /dev/hwrng. The min-entropy value calculated using the most >> common value est

[PATCH -next] scsi: ibmvscsi: Make some functions static

2020-05-20 Thread Chen Tao
Fix the following warning: drivers/scsi/ibmvscsi/ibmvscsi.c:2387:12: warning: symbol 'ibmvscsi_module_init' was not declared. Should it be static? drivers/scsi/ibmvscsi/ibmvscsi.c:2409:13: warning: symbol 'ibmvscsi_module_exit' was not declared. Should it be static? Signed-off-by: Chen Tao ---

Re: Bad kfree of dma_parms in v5.7-rc5

2020-05-20 Thread Marek Szyprowski
Hi Tomi, On 20.05.2020 11:00, Tomi Valkeinen wrote: > Commit 9495b7e92f716ab2bd6814fab5e97ab4a39adfdd ("driver core: > platform: Initialize dma_parms for platform devices") v5.7-rc5 causes > at least some v4l2 platform drivers to break when freeing resources. > > E.g. drivers/media/platform/ti-v

Re: [PATCH v1] driver core: Fix handling of SYNC_STATE_ONLY + STATELESS device links

2020-05-20 Thread Rafael J. Wysocki
On Wed, May 20, 2020 at 6:36 AM Saravana Kannan wrote: > > Commit 21c27f06587d ("driver core: Fix SYNC_STATE_ONLY device link > implementation") didn't completely fix STATELESS + SYNC_STATE_ONLY > handling. > > What looks like an optimization in that commit is actually a bug that > causes an if co

RE: [PATCH v12 10/18] x86/fsgsbase/64: Enable FSGSBASE instructions in helper functions

2020-05-20 Thread David Laight
From: Thomas Gleixner > Sent: 19 May 2020 15:48 > > David Laight writes: > > From: Sasha Levin > >> >> + native_swapgs(); > >> >> + gsbase = rdgsbase(); > >> >> + native_swapgs(); > > > > Does local_irq_save() even do anything useful here. > > You need to

Re: [PATCH v3 40/75] x86/sev-es: Compile early handler code into kernel image

2020-05-20 Thread Borislav Petkov
On Tue, Apr 28, 2020 at 05:16:50PM +0200, Joerg Roedel wrote: > +static inline u64 sev_es_rd_ghcb_msr(void) > +{ > + return native_read_msr(MSR_AMD64_SEV_ES_GHCB); > +} > + > +static inline void sev_es_wr_ghcb_msr(u64 val) > +{ > + u32 low, high; > + > + low = (u32)(val); > + high

Re: [PATCH] MAINTAINERS: add files related to kdump

2020-05-20 Thread Dave Young
Hi Baoquan, On 05/20/20 at 04:05pm, Baoquan He wrote: > Kdump is implemented based on kexec, however some files are only > related to crash dumping and missing, add them to KDUMP entry. > > Signed-off-by: Baoquan He > --- > MAINTAINERS | 5 + > 1 file changed, 5 insertions(+) > > diff --git

Re: [PATCH] ACPICA: Replace one-element array and use struct_size() helper

2020-05-20 Thread Rafael J. Wysocki
On Wed, May 20, 2020 at 12:46 AM Gustavo A. R. Silva wrote: > > On Tue, May 19, 2020 at 12:25:13PM +0200, Rafael J. Wysocki wrote: > > On Tue, May 19, 2020 at 12:22 AM Gustavo A. R. Silva > > wrote: > > > > > > The current codebase makes use of one-element arrays in the following > > > form: > >

Re: [PATCH v2 2/2] i2c: mediatek: Add i2c ac-timing adjust support

2020-05-20 Thread Qii Wang
Hi Geert, On Wed, 2020-05-20 at 10:58 +0200, Geert Uytterhoeven wrote: > Hi Qii, > > On Wed, May 20, 2020 at 10:44 AM Qii Wang wrote: > > On Tue, 2020-05-19 at 09:14 +0200, Geert Uytterhoeven wrote: > > > On Tue, May 19, 2020 at 4:59 AM Qii Wang wrote: > > > > On Mon, 2020-05-18 at 17:44 +0200,

Re: [PATCH v4 2/4] kasan: record and print the free track

2020-05-20 Thread Walter Wu
> On Wed, May 20, 2020 at 8:18 AM Walter Wu wrote: > > > > On Wed, 2020-05-20 at 13:14 +0800, Walter Wu wrote: > > > > On Wed, May 20, 2020 at 6:03 AM Walter Wu > > > > wrote: > > > > > > > > > > > On Tue, May 19, 2020 at 4:25 AM Walter Wu > > > > > > wrote: > > > > > > > > > > > > > > Move fr

Re: [PATCH v2 1/2] hwrng: iproc-rng200 - Set the quality value

2020-05-20 Thread Stephan Mueller
Am Mittwoch, 20. Mai 2020, 11:10:32 CEST schrieb Lukasz Stelmach: Hi Lukasz, > It was <2020-05-20 śro 08:23>, when Stephan Mueller wrote: > > Am Dienstag, 19. Mai 2020, 23:25:51 CEST schrieb Łukasz Stelmach: > >> The value was estimaded with ea_iid[1] using on 10485760 bytes read from > >> the RN

Re: Bad kfree of dma_parms in v5.7-rc5

2020-05-20 Thread Tomi Valkeinen
Hi Marek, On 20/05/2020 12:13, Marek Szyprowski wrote: Hi Tomi, On 20.05.2020 11:00, Tomi Valkeinen wrote: Commit 9495b7e92f716ab2bd6814fab5e97ab4a39adfdd ("driver core: platform: Initialize dma_parms for platform devices") v5.7-rc5 causes at least some v4l2 platform drivers to break when free

Re: [PATCH] MIPS: ingenic: Add missing include

2020-05-20 Thread Philippe Mathieu-Daudé
Hi Thomas, On Wed, May 20, 2020 at 8:50 AM Thomas Bogendoerfer wrote: > > On Tue, May 19, 2020 at 11:22:30PM +0200, Paul Cercueil wrote: > > Add missing include which adds the prototype to plat_time_init(). > > > > Fixes: f932449c11da ("MIPS: ingenic: Drop obsolete code, merge the rest in > > se

Re: [PATCH v2 01/14] dt-bindings: arm: add a binding document for MediaTek PERICFG controller

2020-05-20 Thread Bartosz Golaszewski
wt., 19 maj 2020 o 20:28 Rob Herring napisał(a): > > On Mon, May 11, 2020 at 05:07:46PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > This adds a binding document for the PERICFG controller present on > > MediaTek SoCs. For now the only variant supported is 'mt8516-peric

[v2 1/2] dts: ppc: t4240rdb: remove interrupts property

2020-05-20 Thread Biwen Li
From: Biwen Li This removes interrupts property to drop warning as follows: - $ hwclock.util-linux hwclock.util-linux: select() to /dev/rtc0 to wait for clock tick timed out My case: - RTC ds1374's INT pin is connected to VCC on T4240RDB, then the RTC cannot inform cpu

RE: [PATCH] i3c: master: fix for SETDASA and DAA process

2020-05-20 Thread Parshuram Raju Thombare
>> This patch fix following issues. >> 1. Controller slots blocked for devices with static_addr >>but no init_dyn_addr may limit the number of I3C devices >>on the bus which gets dynamic address in DAA. So >>instead of attaching all the devices with static_addr, >>now we only attach

[v2 2/2] dts: ppc: t1024rdb: remove interrupts property

2020-05-20 Thread Biwen Li
From: Biwen Li This removes interrupts property to drop warning as follows: - $ hwclock.util-linux hwclock.util-linux: select() to /dev/rtc0 to wait for clock tick timed out My case: - RTC ds1339s INT pin isn't connected to cpus INT pin on T1024RDB, then the RTC cannot

Dear Friend,

2020-05-20 Thread Mr Saeed Ahmed
Dear Friend, I want you to be honest and truthful with me that you will help me with all your effort and time for just seven to fourteen workings of your time Please kindly reply to my most confidential email if you are really interested in helping me please: saeedasutanah...@gmail.com

Re: [RFC][PATCH V2] GCOV: profile by modules

2020-05-20 Thread Cixi Geng
>> +config SERIAL_GCOV >> + bool "open gcov for serial" >What do you mean by "open"? And Kconfig entries are usually Upper Case" :) >> + depends on GCOV_PROFILE_PREREQS >> + help >> + Say Y here to enable gcov in serial. >I think we need more text here. Maybe I should

RE: [PATCH] ARM: dts: imx: Make tempmon node as child of anatop node

2020-05-20 Thread Aisheng Dong
> From: Anson Huang > Sent: Wednesday, May 20, 2020 4:12 PM > > > Subject: RE: [PATCH] ARM: dts: imx: Make tempmon node as child of > > anatop node > > > > > From: Anson Huang > > > Sent: Wednesday, May 20, 2020 3:47 PM > > > > > > > Subject: RE: [PATCH] ARM: dts: imx: Make tempmon node as child

Re: [PATCH] MIPS: ingenic: Add missing include

2020-05-20 Thread Thomas Bogendoerfer
On Wed, May 20, 2020 at 11:19:49AM +0200, Philippe Mathieu-Daudé wrote: > Hi Thomas, > > On Wed, May 20, 2020 at 8:50 AM Thomas Bogendoerfer > wrote: > > > > On Tue, May 19, 2020 at 11:22:30PM +0200, Paul Cercueil wrote: > > > Add missing include which adds the prototype to plat_time_init(). > >

Re: [PATCH V5 1/5] rpmsg: glink: Use complete_all for open states

2020-05-20 Thread Arun Kumar Neelakantam
On 5/14/2020 2:29 AM, Mathieu Poirier wrote: Hi Arun, On Wed, May 13, 2020 at 10:40:02AM +0530, Arun Kumar Neelakantam wrote: From: Chris Lew The open_req and open_ack completion variables are the state variables to represet a remote channel as open. Use complete_all so there are no s/repr

[PATCH v7 4/5] ARM: dts: add Protonic RVT board

2020-05-20 Thread Oleksij Rempel
Protonic RVT is an internal development platform for a wireless ISObus Virtual Terminal based on COTS tablets, and the predecessor of the WD2 platform. Reviewed-by: Rob Herring Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/b

[PATCH v7 0/5] mainline Protonic boards

2020-05-20 Thread Oleksij Rempel
changes v7: - VT7: reorder node alphabetically - VT7: rename "reg_12v_bl: regulator-bl-12v" to "reg_bl_12v0: regulator-bl-12v0" - VT7: remove panel and TS nodes. This drivers are currently not mainline. - prti6q.dtsi: move reg_1v8 to prti6q.dts - prti6q.dtsi: remove pinctrl from the can1 node. It

[PATCH v7 5/5] dt-bindings: arm: fsl: add different Protonic boards

2020-05-20 Thread Oleksij Rempel
Add Protonic PRTI6Q, WD2, RVT, VT7 boards. Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/arm/fsl.yaml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index cd3fbe7e39487

[PATCH v7 1/5] ARM: dts: add Protonic PRTI6Q board

2020-05-20 Thread Oleksij Rempel
Protonic PRTI6Q is a development board and a base class for different specific customer application boards based on the i.MX6 family of SoCs, developed by Protonic Holland. Reviewed-by: Rob Herring Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile

Re: [PATCH v11 2/3] mfd: add Gateworks System Controller core driver

2020-05-20 Thread Lee Jones
On Fri, 15 May 2020, Tim Harvey wrote: > The Gateworks System Controller (GSC) is an I2C slave controller > implemented with an MSP430 micro-controller whose firmware embeds the > following features: > - I/O expander (16 GPIO's) using PCA955x protocol > - Real Time Clock using DS1672 protocol >

[PATCH v7 3/5] ARM: dts: add Protonic VT7 board

2020-05-20 Thread Oleksij Rempel
The Protonic VT7 is a mid-class ISObus Virtual Terminal with a 7 inch touchscreen display. Reviewed-by: Rob Herring Signed-off-by: Robin van der Gracht Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-prtvt7.dt

[PATCH v7 2/5] ARM: dts: add Protonic WD2 board

2020-05-20 Thread Oleksij Rempel
Add support for the Protonic WD2 board, which is an internal development platform for low-cost agricultural Virtual Terminals based on COTS tablets and web applications. It inherits from the PRTI6Q base class. Reviewed-by: Rob Herring Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --

Re: [PATCH 3/3] hwmon: add Gateworks System Controller support

2020-05-20 Thread Lee Jones
On Fri, 15 May 2020, Tim Harvey wrote: > The Gateworks System Controller has a hwmon sub-component that exposes > up to 16 ADC's, some of which are temperature sensors, others which are > voltage inputs. The ADC configuration (register mapping and name) is > configured via device-tree and varies b

Re: [PATCH v11 1/3] dt-bindings: mfd: Add Gateworks System Controller bindings

2020-05-20 Thread Lee Jones
On Fri, 15 May 2020, Tim Harvey wrote: > This patch adds documentation of device-tree bindings for the > Gateworks System Controller (GSC). > > Signed-off-by: Tim Harvey > Reviewed-by: Rob Herring > --- > v11: > - no change > > v10: > - no change > > v9: > - added Reviewed-by: Rob Herring

[GIT PULL] Immutable branch between MFD and HWMON due for the v5.8 merge window

2020-05-20 Thread Lee Jones
Enjoy! The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136: Linux 5.7-rc1 (2020-04-12 12:35:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git ib-mfd-hwmon-v5.8 for you to fetch changes up to 3bce5377ef66a8700

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