[PATCH V1] i2c: tegra: disable irq in tegra_i2c_xfer_msg

2019-06-18 Thread Bitan Biswas
Synchronize ISR and tegra_i2c_xfer_msg execution by disabling interrupt. This avoids spinlock usage for same purpose. Signed-off-by: Bitan Biswas --- drivers/i2c/busses/i2c-tegra.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git

Re: [PATCH V5 6/7] i2c: tegra: fix PIO rx/tx residual transfer check

2019-06-18 Thread Bitan Biswas
On 6/14/19 6:02 AM, Dmitry Osipenko wrote: 14.06.2019 12:50, Bitan Biswas пишет: On 6/13/19 5:28 AM, Dmitry Osipenko wrote: 13.06.2019 14:30, Bitan Biswas пишет: On 6/12/19 7:30 AM, Dmitry Osipenko wrote: 11.06.2019 13:51, Bitan Biswas пишет: Fix expression for residual bytes(less

Re: [PATCH V1] i2c: tegra: disable irq in tegra_i2c_xfer_msg

2019-06-18 Thread Jon Hunter
On 18/06/2019 06:23, Bitan Biswas wrote: > Synchronize ISR and tegra_i2c_xfer_msg execution > by disabling interrupt. This avoids spinlock usage > for same purpose. I think that you need to explain the motivation/benefit of this. It is not immediately clear to me. Sorry if I have missed some

Re: [PATCH 4/4] regulator: adding interrupt handling in labibb regulator

2019-06-18 Thread Nisha Kumari
On 6/13/2019 10:57 PM, Mark Brown wrote: On Wed, Jun 12, 2019 at 04:30:52PM +0530, Nisha Kumari wrote: +static void labibb_sc_err_recovery_work(void *_labibb) +{ + int ret; + struct qcom_labibb *labibb = (struct qcom_labibb *)_labibb; + + labibb->ibb_vreg.vreg_enabled = 0;

Re: [PATCH 4.14 00/53] 4.14.128-stable review

2019-06-18 Thread Naresh Kamboju
On Tue, 18 Jun 2019 at 02:58, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.128 release. > There are 53 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH v7 14/21] iommu/mediatek: Add mmu1 support

2019-06-18 Thread Tomasz Figa
On Mon, Jun 10, 2019 at 9:21 PM Yong Wu wrote: > > Normally the M4U HW connect EMI with smi. the diagram is like below: > EMI >| > M4U >| > smi-common >| >- >||| |

Re: [PATCH 1/5] Powerpc/hw-breakpoint: Replace stale do_dabr() with do_break()

2019-06-18 Thread Michael Neuling
> Subject: Powerpc/hw-breakpoint: Replace stale do_dabr() with do_break() Can you add the word "comment" to this subject. Currently it implies there are code changes here. Mikey On Tue, 2019-06-18 at 09:57 +0530, Ravi Bangoria wrote: > do_dabr() was renamed with do_break() long ago. But I

Re: [PATCH V10 03/15] PCI: dwc: Perform dbi regs write lock towards the end

2019-06-18 Thread Jingoo Han
On 6/12/19, 6:54 PM, Vidya Sagar wrote: > > Remove multiple write enable and disable sequences of dbi registers as > Tegra194 implements writes to BAR-0 register (offset: 0x10) controlled by > DBI write-lock enable bit thereby not allowing any further writes to BAR-0 > register in config space to

Re: [PATCH] modules: fix BUG when load module with rodata=n

2019-06-18 Thread Nadav Amit
> On Jun 16, 2019, at 11:59 PM, Yang Yingliang wrote: > > When loading a module with rodata=n, it causes an executing > NX-protected page BUG. > > [ 32.379191] kernel tried to execute NX-protected page - exploit attempt? > (uid: 0) > [ 32.382917] BUG: unable to handle page fault for

Re: [PATCH 3/3] resource: Introduce resource cache

2019-06-18 Thread Nadav Amit
> On Jun 17, 2019, at 10:33 PM, Nadav Amit wrote: > >> On Jun 17, 2019, at 9:57 PM, Andrew Morton wrote: >> >> On Wed, 12 Jun 2019 21:59:03 -0700 Nadav Amit wrote: >> >>> For efficient search of resources, as needed to determine the memory >>> type for dax page-faults, introduce a cache of

Re: [PATCH 0/3] resource: find_next_iomem_res() improvements

2019-06-18 Thread Dan Williams
On Wed, Jun 12, 2019 at 9:59 PM Nadav Amit wrote: > > Running some microbenchmarks on dax keeps showing find_next_iomem_res() > as a place in which significant amount of time is spent. It appears that > in order to determine the cacheability that is required for the PTE, > lookup_memtype() is

[PATCH v3 4/5] HID: hv: Remove dependencies on PAGE_SIZE for ring buffer

2019-06-18 Thread Maya Nakamura
Define the ring buffer size as a constant expression because it should not depend on the guest page size. Signed-off-by: Maya Nakamura Reviewed-by: Michael Kelley --- drivers/hid/hid-hyperv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hid/hid-hyperv.c

Re: [PATCH 5/5] Powerpc/Watchpoint: Fix length calculation for unaligned target

2019-06-18 Thread Christophe Leroy
Le 18/06/2019 à 06:27, Ravi Bangoria a écrit : Watchpoint match range is always doubleword(8 bytes) aligned on powerpc. If the given range is crossing doubleword boundary, we need to increase the length such that next doubleword also get covered. Ex, address len = 6 bytes

[PATCH v3 2/5] x86: hv: hv_init.c: Add functions to allocate/deallocate page for Hyper-V

2019-06-18 Thread Maya Nakamura
Introduce two new functions, hv_alloc_hyperv_page() and hv_free_hyperv_page(), to allocate/deallocate memory with the size and alignment that Hyper-V expects as a page. Although currently they are not used, they are ready to be used to allocate/deallocate memory on x86 when their ARM64

Re: [PATCH 3/5] Powerpc/hw-breakpoint: Refactor set_dawr()

2019-06-18 Thread Michael Neuling
This is going to collide with this patch https://patchwork.ozlabs.org/patch/1109594/ Mikey On Tue, 2019-06-18 at 09:57 +0530, Ravi Bangoria wrote: > Remove unnecessary comments. Code itself is self explanatory. > And, ISA already talks about MRD field. I Don't think we need > to re-describe

Re: [PATCH] arm64: defconfig: Enable FSL_EDMA driver

2019-06-18 Thread Shawn Guo
On Thu, Jun 13, 2019 at 02:01:11PM +, Leo Li wrote: > > > > -Original Message- > > From: Shawn Guo > > Sent: Wednesday, June 12, 2019 7:45 PM > > To: Leo Li > > Cc: Madalin-cristian Bucur ; Rob Herring > > ; Aisheng Dong ; Vinod Koul > > ; Grant Likely ; moderated > >

Re: [PATCH 2/2] perf trace: Handle NULL pointer dereference in trace__syscall_info()

2019-06-18 Thread Leo Yan
On Mon, Jun 17, 2019 at 02:32:03PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Jun 17, 2019 at 05:11:40PM +0800, Leo Yan escreveu: > > trace__init_bpf_map_syscall_args() invokes trace__syscall_info() to > > retrieve system calls information, it always passes NULL for 'evsel' > > argument;

Re: [PATCH 3/3] resource: Introduce resource cache

2019-06-18 Thread Nadav Amit
> On Jun 17, 2019, at 9:57 PM, Andrew Morton wrote: > > On Wed, 12 Jun 2019 21:59:03 -0700 Nadav Amit wrote: > >> For efficient search of resources, as needed to determine the memory >> type for dax page-faults, introduce a cache of the most recently used >> top-level resource. Caching the

Re: [PATCH v4 5/7] s390: vfio-ap: allow assignment of unavailable AP resources to mdev device

2019-06-18 Thread Harald Freudenberger
On 17.06.19 17:07, Tony Krowiak wrote: > On 6/17/19 6:05 AM, Harald Freudenberger wrote: >> On 13.06.19 21:39, Tony Krowiak wrote: >>> The AP architecture does not preclude assignment of AP resources that are >>> not available. Let's go ahead and implement this facet of the AP >>> architecture for

Re: [PATCH 2/2] usb: storage: scsiglue: Do not skip VPD if try_vpd_pages is set

2019-06-18 Thread Greg Kroah-Hartman
On Mon, Jun 17, 2019 at 10:31:46PM -0300, Marcos Paulo de Souza wrote: > If BLIST_TRY_VPD_PAGES is set for a device, even for an USB, it should > be honored, so only set skip_vpd_pages is try_vpd_pages is not set. > > Signed-off-by: Marcos Paulo de Souza > --- > drivers/usb/storage/scsiglue.c |

Re: [PATCH 4/5] Powerpc/hw-breakpoint: Optimize disable path

2019-06-18 Thread Christophe Leroy
Le 18/06/2019 à 06:27, Ravi Bangoria a écrit : Directly setting dawr and dawrx with 0 should be enough to disable watchpoint. No need to reset individual bits in variable and then set in hw. Signed-off-by: Ravi Bangoria --- arch/powerpc/include/asm/hw_breakpoint.h | 3 ++-

Re: [PATCH 0/5] Powerpc/hw-breakpoint: Fixes plus Code refactor

2019-06-18 Thread Christophe Leroy
Le 18/06/2019 à 06:27, Ravi Bangoria a écrit : patch 1-3: Code refactor patch 4: Speedup disabling breakpoint patch 5: Fix length calculation for unaligned targets While you are playing with hw breakpoints, did you have a look at https://github.com/linuxppc/issues/issues/38 ? Christophe

Re: [PATCH 1/5] Powerpc/hw-breakpoint: Replace stale do_dabr() with do_break()

2019-06-18 Thread Christophe Leroy
The subject text should mention you are changing comments. Here it suggests you are changing code text. Le 18/06/2019 à 06:27, Ravi Bangoria a écrit : do_dabr() was renamed with do_break() long ago. But I still see some comments mentioning do_dabr(). Replace it. s/Replace it/Replace them/

Re: [PATCH 2/2] drivers: gpio: pca953x: use module_siox_driver()

2019-06-18 Thread Uwe Kleine-König
On Mon, Jun 17, 2019 at 08:21:28PM +0200, Enrico Weigelt, metux IT consult wrote: > From: Enrico Weigelt > > Reduce driver init boilerplate by using the new > module_siox_driver() macro. > > Signed-off-by: Enrico Weigelt The subject is wrong, this isn't about pca953x. Best regards Uwe --

[PATCH v2] MAINTAINERS / Documentation: Thorsten Scherer is the successor of Gavin Schenk

2019-06-18 Thread Uwe Kleine-König
From: Gavin Schenk Due to new challenges in my life I can no longer take care of SIOX. Thorsten takes over my SIOX tasks. Signed-off-by: Gavin Schenk Acked-by: Thorsten Scherer Signed-off-by: Uwe Kleine-König --- Hello Greg, this patch was already send by Gavin back in April. I just noticed

Re: [PATCH 3/5] Powerpc/hw-breakpoint: Refactor set_dawr()

2019-06-18 Thread Christophe Leroy
Le 18/06/2019 à 06:27, Ravi Bangoria a écrit : Remove unnecessary comments. Code itself is self explanatory. And, ISA already talks about MRD field. I Don't think we need to re-describe it. In an RFC patch you may "don't think". But in the final patch you need to make a decision and write

Re: [PATCH 2/5] Powerpc/hw-breakpoint: Refactor hw_breakpoint_arch_parse()

2019-06-18 Thread Christophe Leroy
Le 18/06/2019 à 06:27, Ravi Bangoria a écrit : Move feature availability check at the start of the function. Rearrange comment to it's associated code. Use hw->address and hw->len in the 512 bytes boundary check(to write if statement in a single line). Add spacing between code blocks. Are

Re: [PATCH 1/2] clk: imx: Remove __init for imx_check_clocks() API

2019-06-18 Thread Shawn Guo
On Mon, Jun 10, 2019 at 01:36:33PM +0800, anson.hu...@nxp.com wrote: > From: Anson Huang > > Some of i.MX SoCs' clock driver use platform driver model, > and they need to call imx_check_clocks() API, so > imx_check_clocks() API should NOT be in .init section. > > Signed-off-by: Anson Huang

Re: [PATCH 1/2] include: linux: siox: more for declaring siox drivers

2019-06-18 Thread Uwe Kleine-König
On Mon, Jun 17, 2019 at 08:21:27PM +0200, Enrico Weigelt, metux IT consult wrote: > From: Enrico Weigelt > > Add more helper macros for trivial driver init cases, similar to the > already existing module_platform_driver or module_i2c_driver(). Inconsistent use of () after macro names. Other

Re: [PATCH 0/5] Powerpc/hw-breakpoint: Fixes plus Code refactor

2019-06-18 Thread Michael Neuling
On Tue, 2019-06-18 at 08:01 +0200, Christophe Leroy wrote: > > Le 18/06/2019 à 06:27, Ravi Bangoria a écrit : > > patch 1-3: Code refactor > > patch 4: Speedup disabling breakpoint > > patch 5: Fix length calculation for unaligned targets > > While you are playing with hw breakpoints, did you

Re: [PATCH 4/5] Powerpc/hw-breakpoint: Optimize disable path

2019-06-18 Thread Michael Neuling
On Tue, 2019-06-18 at 09:57 +0530, Ravi Bangoria wrote: > Directly setting dawr and dawrx with 0 should be enough to > disable watchpoint. No need to reset individual bits in > variable and then set in hw. This seems like a pointless optimisation to me. I'm all for adding more code/complexity

Re: [PATCH 3/4] regulator: Add labibb driver

2019-06-18 Thread Nisha Kumari
On 6/13/2019 10:34 PM, Bjorn Andersson wrote: On Wed 12 Jun 04:00 PDT 2019, Nisha Kumari wrote: This patch adds labibb regulator driver for supporting LCD mode display on SDM845 platform. Signed-off-by: Nisha Kumari --- drivers/regulator/Kconfig | 10 +

Re: [PATCH -next] arm64/mm: fix a bogus GFP flag in pgd_alloc()

2019-06-18 Thread Mike Rapoport
On Mon, Jun 17, 2019 at 05:36:30PM +0100, Will Deacon wrote: > Hi Mike, > > On Mon, Jun 17, 2019 at 06:12:52PM +0300, Mike Rapoport wrote: > > Andrew, can you please add the patch below as an incremental fix? > > > > With this the arm64::pgd_alloc() should be in the right shape. > > > > > >

Re: [RFC PATCH 0/8] staging: erofs: decompression inplace approach

2019-06-18 Thread Gao Xiang
On 2019/6/18 14:45, Greg Kroah-Hartman wrote: > On Tue, Jun 18, 2019 at 02:18:00PM +0800, Gao Xiang wrote: >> >> >> On 2019/6/18 13:47, Greg Kroah-Hartman wrote: >>> On Tue, Jun 18, 2019 at 09:47:08AM +0800, Gao Xiang wrote: On 2019/6/18 4:36, Greg Kroah-Hartman wrote: > On

Re: [PATCH] clk: imx8mq: Use devm_platform_ioremap_resource() instead of of_iomap()

2019-06-18 Thread Shawn Guo
On Mon, Jun 10, 2019 at 01:39:22PM +0800, anson.hu...@nxp.com wrote: > From: Anson Huang > > i.MX8MQ clock driver uses platform driver model, better to use > devm_platform_ioremap_resource() instead of of_iomap() to get > IO base. > > Signed-off-by: Anson Huang Applied, thanks.

Re: [PATCH 1/2] perf trace: Use pr_debug() instead of fprintf() for logging

2019-06-18 Thread Leo Yan
On Mon, Jun 17, 2019 at 12:24:12PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Jun 17, 2019 at 05:11:39PM +0800, Leo Yan escreveu: > > In the function trace__syscall_info(), it explicitly checks verbose > > level and print out log with fprintf(). Actually, we can use > > pr_debug() to do the

Re: [PATCH v3 2/4] mtd: rawnand: Add Macronix MX25F0A NAND controller

2019-06-18 Thread Boris Brezillon
Hi Mason, On Tue, 18 Jun 2019 09:24:14 +0800 masonccy...@mxic.com.tw wrote: > Hi Miquel, > > > > > > > > > > > > +static void mxic_nand_select_chip(struct nand_chip *chip, > int > > > > > > > > chipnr) > > > > > > > > > > > > > > > > _select_target() is preferred now > > > > >

Re: [PATCH -next] arm64/mm: fix a bogus GFP flag in pgd_alloc()

2019-06-18 Thread Will Deacon
On Tue, Jun 18, 2019 at 09:12:59AM +0300, Mike Rapoport wrote: > On Mon, Jun 17, 2019 at 05:36:30PM +0100, Will Deacon wrote: > > On Mon, Jun 17, 2019 at 06:12:52PM +0300, Mike Rapoport wrote: > > > Andrew, can you please add the patch below as an incremental fix? > > > > > > With this the

[PATCH] arm64: dts: qcom: msm8996: Enable SMMUs

2019-06-18 Thread Bjorn Andersson
Enable SMMUs on 8996 now that the WRZ workaround in the arm-smmu driver has landed. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi

Re: [PATCH] arm64: dts: ls1028a: add crypto node

2019-06-18 Thread Shawn Guo
On Mon, Jun 10, 2019 at 06:23:31PM +0300, Horia Geantă wrote: > LS1028A has a SEC v5.0 compatible security engine. > > Signed-off-by: Horia Geantă Applied, thanks.

Re: [PATCH 3/4] regulator: Add labibb driver

2019-06-18 Thread Nisha Kumari
On 6/13/2019 10:55 PM, Mark Brown wrote: On Wed, Jun 12, 2019 at 04:30:51PM +0530, Nisha Kumari wrote: +static int qcom_labibb_read(struct qcom_labibb *labibb, u16 address, + u8 *val, int count) +{ + int ret; + + ret = regmap_bulk_read(labibb->regmap,

Re: [Patch v2] staging: rtl8723bs: os_dep: ioctl_linux: make use of kzalloc

2019-06-18 Thread Greg Kroah-Hartman
On Tue, Jun 18, 2019 at 07:14:10AM +0530, Hariprasad Kelam wrote: > kmalloc with memset can be replaced with kzalloc. Yes, but did you audit the call-paths of this to ensure that GFP_KERNEL is the correct value for kzalloc() here? If so, please document that in the changelog. thanks, greg k-h

Re: [PATCH v2 2/3] mmc: sdhci: sdhci-pci-o2micro: Check if controller supports 8-bit width

2019-06-18 Thread Adrian Hunter
On 17/06/19 11:10 PM, Raul E Rangel wrote: > The O2 controller supports 8-bit EMMC access. > > JESD84-B51 section A.6.3.a defines the bus testing procedure that > `mmc_select_bus_width()` implements. This is used to determine the actual > bus width of the eMMC. > > Signed-off-by: Raul E Rangel

Re: [PATCH RESEND] fs: cramfs_fs.h: Fix shifting signed 32-bit value by 31 bits problem

2019-06-18 Thread Christoph Hellwig
> -#define CRAMFS_BLK_FLAG_UNCOMPRESSED (1 << 31) > +#define CRAMFS_BLK_FLAG_UNCOMPRESSED (1U << 31) > #define CRAMFS_BLK_FLAG_DIRECT_PTR (1 << 30) Please use the unsigned constants for all flags, not just one.

Re: [PATCH v2] jffs2: remove C++ style comments from uapi header

2019-06-18 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "Masahiro Yamada" > An: "linux-mtd" > CC: "Boris Brezillon" , "Miquel Raynal" > , "Brian Norris" > , "Vignesh Raghavendra" , > "Marek Vasut" , > "Masahiro Yamada" , "richard" > , "David Woodhouse" , > "linux-kernel" > Gesendet: Dienstag, 18. Juni 2019

Re: [PATCH] staging: rtl8723bs: os_dep: Make use rtw_zmalloc

2019-06-18 Thread Greg Kroah-Hartman
On Sun, Jun 16, 2019 at 10:46:19AM +0530, Hariprasad Kelam wrote: > rtw_malloc with memset can be replaced with rtw_zmalloc. > > Signed-off-by: Hariprasad Kelam > --- > drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git

Re: [PATCH v3 1/3] staging: rtl8723bs: Resolve checkpatch error "that open brace { should be on the previous line" in the rtl8723 driver

2019-06-18 Thread Greg Kroah-Hartman
On Sun, Jun 16, 2019 at 09:19:49AM -0700, Shobhit Kukreti wrote: > Cleaned up the code from the following files to get rid of > check patch error "that open brace { should be on the previous line" > > drivers/staging/rtl8723bs/os_dep/mlme_linux.c > drivers/staging/rtl8723bs/os_dep/recv_linux.c >

Re: [PATCH] counter: fix ftm-quaddec build error on UML

2019-06-18 Thread William Breathitt Gray
On Mon, Jun 17, 2019 at 09:54:45PM +0200, Richard Weinberger wrote: > Hi! > > - Ursprüngliche Mail - > > Von: "Randy Dunlap" > > An: "linux-kernel" , linux-...@vger.kernel.org > > CC: "Geert Uytterhoeven" , "Kjeld Flarup" > > , "Patrick Havelange" > > , "William Breathitt Gray" > > ,

Re: [PATCH 4.19 034/118] f2fs: fix to avoid panic in f2fs_inplace_write_data()

2019-06-18 Thread Chao Yu
Hi Pavel, On 2019/6/17 3:54, Pavel Machek wrote: > Hi! > >> [ Upstream commit 05573d6ccf702df549a7bdeabef31e4753df1a90 ] >> >> As Jungyeon reported in bugzilla: >> >> https://bugzilla.kernel.org/show_bug.cgi?id=203239 >> >> - Overview >> When mounting the attached crafted image and running

Re: [PATCH v3 2/2] PCI: Fix disabling of bridge BARs when assigning bus resources

2019-06-18 Thread Benjamin Herrenschmidt
On Mon, 2019-06-17 at 08:53 -0500, Bjorn Helgaas wrote: > On Fri, May 31, 2019 at 11:12:16AM -0600, Logan Gunthorpe wrote: > > One odd quirk of PLX switches is that their upstream bridge port has > > 256K of space allocated behind its BAR0 (most other bridge > > implementations do not report any

Re: [IMX] [DRM]: suspend/resume support

2019-06-18 Thread Oliver Neukum
Am Montag, den 17.06.2019, 19:19 +0530 schrieb Pintu Agarwal: > Currently, I am trying to understand what needs to be taken care > during suspend/resume. You need to take care of * wakeup sources * not requiring services of devices higher up in the tree. > With some reference, I figured out

[PATCH v2 2/2] PM / AVS: SVS: Introduce SVS engine

2019-06-18 Thread Roger Lu
The SVS (Smart Voltage Scaling) engine is a piece of hardware which is used to calculate optimized voltage values of several power domains, e.g. CPU/GPU/CCI, according to chip process corner, temperatures, and other factors. Then DVFS driver could apply those optimized voltage values to reduce

PM / AVS: SVS: Introduce SVS engine

2019-06-18 Thread Roger Lu
SVS driver use OPP adjust event in [1] to update OPP table voltage part. [1] https://patchwork.kernel.org/patch/10946069/ changes since v1: - Add svs subnodes description in binding documents - Set svs_cpu_little & svs_cci vmin to 0x18 to meet cpufreq and cci software architecture. Roger Lu

[PATCH v2 1/2] dt-bindings: soc: add mtk svs dt-bindings

2019-06-18 Thread Roger Lu
Document the binding for enabling mtk svs on MediaTek SoC. Signed-off-by: Roger Lu --- .../devicetree/bindings/power/mtk-svs.txt | 88 +++ 1 file changed, 88 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/mtk-svs.txt diff --git

Re: [PATCH] soc: imx: Add i.MX8MN SoC driver support

2019-06-18 Thread Shawn Guo
On Tue, Jun 11, 2019 at 09:31:25AM +0800, anson.hu...@nxp.com wrote: > From: Anson Huang > > This patch adds i.MX8MN SoC driver support: > > root@imx8mnevk:~# cat /sys/devices/soc0/family > Freescale i.MX > > root@imx8mnevk:~# cat /sys/devices/soc0/machine > NXP i.MX8MNano DDR4 EVK board > >

[PATCH] arm64: dts: qcom: msm8996: Correct apr-domain property

2019-06-18 Thread Bjorn Andersson
The domain specifier was changed from using "reg" to "qcom,apr-domain", update the dts accordingly. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi

Re: [PATCH RESEND] H8300: remove unused barrier defines

2019-06-18 Thread Yoshinori Sato
On Mon, 17 Jun 2019 21:24:12 +0900, Rolf Eike Beer wrote: > > From c907e749917f430e3dc62048985c8419778572f9 Mon Sep 17 00:00:00 2001 > From: Rolf Eike Beer > Date: Fri, 14 Jul 2017 11:19:08 +0200 > Subject: [PATCH] H8300: remove unused barrier defines > > They were introduced in

Re: [RFC PATCH 0/8] staging: erofs: decompression inplace approach

2019-06-18 Thread Greg Kroah-Hartman
On Tue, Jun 18, 2019 at 02:52:21PM +0800, Gao Xiang wrote: > > > On 2019/6/18 14:45, Greg Kroah-Hartman wrote: > > On Tue, Jun 18, 2019 at 02:18:00PM +0800, Gao Xiang wrote: > >> > >> > >> On 2019/6/18 13:47, Greg Kroah-Hartman wrote: > >>> On Tue, Jun 18, 2019 at 09:47:08AM +0800, Gao Xiang

Re: [PATCH v4 2/5] x86/umwait: Initialize umwait control values

2019-06-18 Thread Thomas Gleixner
On Mon, 17 Jun 2019, Fenghua Yu wrote: > On Tue, Jun 11, 2019 at 10:46:55PM +0200, Thomas Gleixner wrote: > > On Sun, 9 Jun 2019, Fenghua Yu wrote: > > > > Sounds good, but: > > > > > > > > > +#define MSR_IA32_UMWAIT_CONTROL_C02BIT(0) > > > > > > > > > +static u32

Re: [PATCH v2 1/1] ASoC: rsnd: fixup mod ID calculation in rsnd_ctu_probe_

2019-06-18 Thread Kuninori Morimoto
Hi > From: Nilkanth Ahirrao > > commit c16015f36cc1 ("ASoC: rsnd: add .get_id/.get_id_sub") > introduces rsnd_ctu_id which calcualates and gives > the main Device id of the CTU by dividing the id by 4. > rsnd_mod_id uses this interface to get the CTU main > Device id. But this commit forgets

[PATCH v3 5/5] Input: hv: Remove dependencies on PAGE_SIZE for ring buffer

2019-06-18 Thread Maya Nakamura
Define the ring buffer size as a constant expression because it should not depend on the guest page size. Signed-off-by: Maya Nakamura Reviewed-by: Michael Kelley --- drivers/input/serio/hyperv-keyboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH] slimbus: core: generate uevent for non-dt only

2019-06-18 Thread Bjorn Andersson
From: Srinivas Kandagatla Rely on MODULE_ALIAS() for automatic kernel module loading, rather than basing it on the OF compatible. This ensures that drivers without of_device_id table, such as wcd9335, will be automatically loaded. Signed-off-by: Srinivas Kandagatla [bjorn: Added commit

[PATCH v3 0/5] hv: Remove dependencies on guest page size

2019-06-18 Thread Maya Nakamura
The Linux guest page size and hypervisor page size concepts are different, even though they happen to be the same value on x86. Hyper-V code mixes up the two, so this patchset begins to address that by creating and using a set of Hyper-V specific page definitions. A major benefit of those new

Re: [PATCH v3 1/3] lkdtm: Check for SMEP clearing protections

2019-06-18 Thread Rasmus Villemoes
On 18/06/2019 06.55, Kees Cook wrote: > +#else > + pr_err("FAIL: this test is x86_64-only\n"); > +#endif > +} Why expose it at all on all other architectures? If you wrap the CRASHTYPE() in an #ifdef, you can also guard the whole lkdtm_UNSET_SMEP definition (the declaration in lkdtm.h can

Re: [PATCH] arm64: dts: imx8mm: Enable SNVS power key according to board design

2019-06-18 Thread Shawn Guo
On Thu, Jun 13, 2019 at 10:01:04AM +0800, anson.hu...@nxp.com wrote: > From: Anson Huang > > The SNVS power key depends on board design, by default it should > be disabled in SoC DT and ONLY be enabled on board DT if it is > wired up. > > Signed-off-by: Anson Huang Applied, thanks.

Re: [PATCH 2/5] Powerpc/hw-breakpoint: Refactor hw_breakpoint_arch_parse()

2019-06-18 Thread Ravi Bangoria
On 6/18/19 11:51 AM, Christophe Leroy wrote: > > > Le 18/06/2019 à 06:27, Ravi Bangoria a écrit : >> Move feature availability check at the start of the function. >> Rearrange comment to it's associated code. Use hw->address and >> hw->len in the 512 bytes boundary check(to write if statement

Re: [PATCH 1/4] dt-bindings: regulator: Add labibb regulator

2019-06-18 Thread Nisha Kumari
On 6/13/2019 9:58 PM, Bjorn Andersson wrote: On Wed 12 Jun 04:00 PDT 2019, Nisha Kumari wrote: Adding the devicetree binding for labibb regulator. Signed-off-by: Nisha Kumari --- .../bindings/regulator/qcom-labibb-regulator.txt | 57 ++ 1 file changed, 57

Re: [PATCH] arm64: dts: imx8mq-evk: Enable SNVS power key

2019-06-18 Thread Shawn Guo
On Thu, Jun 13, 2019 at 09:02:27AM +0800, anson.hu...@nxp.com wrote: > From: Anson Huang > > Enable SNVS power key for i.MX8MQ EVK board. > > Signed-off-by: Anson Huang Applied, thanks.

Re: [PATCH] dmaengine: qcom-bam: fix circular buffer handling

2019-06-18 Thread Sricharan R
Hi Srini, On 6/14/2019 7:50 PM, Srinivas Kandagatla wrote: > For some reason arguments to most of the circular buffers > macros are used in reverse, tail is used for head and vice versa. > > This leads to bam thinking that there is an extra descriptor at the > end and leading to retransmitting

Re: [PATCH 3/5] Powerpc/hw-breakpoint: Refactor set_dawr()

2019-06-18 Thread Ravi Bangoria
On 6/18/19 11:41 AM, Michael Neuling wrote: > This is going to collide with this patch > https://patchwork.ozlabs.org/patch/1109594/ Yeah, I'm aware of the patch. I just developed this on powerpc/next. I'll rebase my patches accordingly once mpe picks up that patche.

Re: [PATCH v2.5 0/3] firmware: Add support for loading compressed files

2019-06-18 Thread Greg Kroah-Hartman
On Tue, Jun 11, 2019 at 02:26:23PM +0200, Takashi Iwai wrote: > [resubmitted with the missing patch] > > Hi, > > here are the rest and the main part of patches to add the support for > loading the compressed firmware files. The patch was slightly > refactored for more easily enhancing for other

[PATCH] ipsec: select CRYPTO_HASH for xfrm_algo

2019-06-18 Thread Arnd Bergmann
kernelci.org reports failed builds on arc because of what looks like an old missed 'select' statement: net/xfrm/xfrm_algo.o: In function `xfrm_probe_algs': xfrm_algo.c:(.text+0x1e8): undefined reference to `crypto_has_ahash' I don't see this in randconfig builds on other architectures, but it's

[PATCH] ASoC: qcom: common: Fix NULL pointer in of parser

2019-06-18 Thread Bjorn Andersson
A snd_soc_dai_link_component is allocated and associated with the first link, so when the code tries to assign the of_node of the second link's "cpu" member it dereferences a NULL pointer. Fix this by moving the allocation and assignement of snd_soc_dai_link_components into the loop, giving us

Re: [PATCH 1/6] ARM: dts: imx6qdl: Enable SNVS power key according to board design

2019-06-18 Thread Shawn Guo
On Thu, Jun 13, 2019 at 11:35:22AM +0800, anson.hu...@nxp.com wrote: > From: Anson Huang > > The SNVS power key depends on board design, by default it should > be disabled in SoC DT and ONLY be enabled on board DT if it is > wired up. > > Signed-off-by: Anson Huang Applied all, thanks.

Re: [RFC PATCH v2 0/2] printk: new ringbuffer implementation

2019-06-18 Thread Petr Mladek
On Mon 2019-06-17 23:09:32, Thomas Gleixner wrote: > On Fri, 7 Jun 2019, John Ogness wrote: > > Polite ping I have started looking at the patchset yesterday. I informed John that I was busy last week via a personal mail. My first impression is very good. But I still have to dive much more

[PATCH v3 3/5] hv: vmbus: Replace page definition with Hyper-V specific one

2019-06-18 Thread Maya Nakamura
Replace PAGE_SIZE with HV_HYP_PAGE_SIZE because the guest page size may not be 4096 on all architectures and Hyper-V always runs with a page size of 4096. Signed-off-by: Maya Nakamura Reviewed-by: Michael Kelley Reviewed-by: Vitaly Kuznetsov --- drivers/hv/hyperv_vmbus.h | 8 1 file

Re: [PATCH] MAINTAINERS: fpga: hand off maintainership to Moritz

2019-06-18 Thread Greg Kroah-Hartman
On Sun, Jun 16, 2019 at 10:11:13PM -0500, Alan Tull wrote: > I'm moving on to a new position and stepping down as FPGA subsystem > maintainer. Moritz has graciously agreed to take over the > maintainership. > > Signed-off-by: Alan Tull Thanks for all the work you have done on this subsystem

Re: [PATCH] video: fbdev: s3c-fb: add COMPILE_TEST support

2019-06-18 Thread Jingoo Han
On 6/14/19, 11:46 PM, Bartlomiej Zolnierkiewicz wrote: > > Add COMPILE_TEST support to s3c-fb driver for better compile > testing coverage. > > Cc: Jingoo Han Acked-by: Jingoo Han > Signed-off-by: Bartlomiej Zolnierkiewicz > --- > drivers/video/fbdev/Kconfig |3 ++- > 1 file changed, 2

[PATCH] ASoC: qcom: common: Mark links as nonatomic

2019-06-18 Thread Bjorn Andersson
The interface used to communicate with the DSP can sleep, so mark the links as nonatomic. This prevents various sleep while atomic errors when bringing up the audio interface. Suggested-by: Srinivas Kandagatla Signed-off-by: Bjorn Andersson --- sound/soc/qcom/common.c | 1 + 1 file changed, 1

[PATCH] locking/atomics: Use sed(1) instead of non-standard head(1) option

2019-06-18 Thread Michael Forney
POSIX says the -n option must be a positive decimal integer. Not all implementations of head(1) support negative numbers meaning offset from the end of the file. Instead, the sed expression '$d' has the same effect of removing the last line of the file. Signed-off-by: Michael Forney ---

[PATCH v3 1/5] x86: hv: hyperv-tlfs.h: Create and use Hyper-V page definitions

2019-06-18 Thread Maya Nakamura
Define HV_HYP_PAGE_SHIFT, HV_HYP_PAGE_SIZE, and HV_HYP_PAGE_MASK because the Linux guest page size and hypervisor page size concepts are different, even though they happen to be the same value on x86. Also, replace PAGE_SIZE with HV_HYP_PAGE_SIZE. Signed-off-by: Maya Nakamura Reviewed-by:

Re: [PATCH v4 4/5] phy: ti: Add a new SERDES driver for TI's AM654x SoC

2019-06-18 Thread Peter Rosin
Hi, Sorry for the late reply, $-work interfered... On 2019-06-13 12:21, Kishon Vijay Abraham I wrote: > Hi, > > On 13/06/19 1:22 PM, Peter Rosin wrote: >> Hi, >> >> On 2019-06-13 06:57, Kishon Vijay Abraham I wrote: >>> Hi Peter, >>> >>> On 13/06/19 4:20 AM, Peter Rosin wrote: Hi!

[PATCH] arm64: dts: qcom: msm8996: Rename smmu nodes

2019-06-18 Thread Bjorn Andersson
Node names shouldn't include "qcom," and should whenever possible use a generic identifier. Resolve this by renaming the smmu nodes "iommu". Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH] Documentation: platform: convert x86-laptop-drivers.txt to reST

2019-06-18 Thread Puranjay Mohan
This converts the plain text documentation to reStructuredText format. No essential content change. Signed-off-by: Puranjay Mohan --- Documentation/platform/x86-laptop-drivers.rst | 23 +++ Documentation/platform/x86-laptop-drivers.txt | 18 --- 2 files changed, 23

Re: [RESEND v4 0/4] I2C: DWC3 USB: Add support for ACPI based AArch64 Laptops

2019-06-18 Thread Felipe Balbi
Hi, Lee Jones writes: > On Mon, 17 Jun 2019, Felipe Balbi wrote: > >> Lee Jones writes: >> >> > This patch-set ensures the kernel is bootable on the newly released >> > AArch64 based Laptops using ACPI configuration tables. The Pinctrl >> > changes have been accepted, leaving only I2C

Re: [PATCH v3 1/3] lkdtm: Check for SMEP clearing protections

2019-06-18 Thread Kees Cook
On Tue, Jun 18, 2019 at 09:10:13AM +0200, Rasmus Villemoes wrote: > On 18/06/2019 06.55, Kees Cook wrote: > > > +#else > > + pr_err("FAIL: this test is x86_64-only\n"); > > +#endif > > +} > > Why expose it at all on all other architectures? If you wrap the > CRASHTYPE() in an #ifdef, you can

Re: [PATCH] ASoC: Add missing newline at end of file

2019-06-18 Thread Geert Uytterhoeven
Hi Mark, On Mon, Jun 17, 2019 at 5:13 PM Mark Brown wrote: > On Mon, Jun 17, 2019 at 04:40:48PM +0200, Geert Uytterhoeven wrote: > > > sound/usb/bcd2000/Makefile | 2 +- > > This isn't ASoC but I'm just going to go ahead and apply it on the basis You're right, sorry for missing that. >

[PATCH v2 1/1] ASoC: rsnd: fixup mod ID calculation in rsnd_ctu_probe_

2019-06-18 Thread Jiada Wang
From: Nilkanth Ahirrao commit c16015f36cc1 ("ASoC: rsnd: add .get_id/.get_id_sub") introduces rsnd_ctu_id which calcualates and gives the main Device id of the CTU by dividing the id by 4. rsnd_mod_id uses this interface to get the CTU main Device id. But this commit forgets to revert the main

Re: [PATCH 02/19] btrfs: Get zone information of zoned block devices

2019-06-18 Thread Naohiro Aota
On 2019/06/13 22:58, Josef Bacik wrote: > On Fri, Jun 07, 2019 at 10:10:08PM +0900, Naohiro Aota wrote: >> If a zoned block device is found, get its zone information (number of zones >> and zone size) using the new helper function btrfs_get_dev_zonetypes(). To >> avoid costly run-time zone report

Re: [PATCH] sched/fair: Introduce fits_capacity()

2019-06-18 Thread Rafael J. Wysocki
On Tue, Jun 18, 2019 at 5:12 AM Viresh Kumar wrote: > > +Rafael > > On 17-06-19, 17:02, Peter Zijlstra wrote: > > On Thu, Jun 06, 2019 at 08:22:04AM +0530, Viresh Kumar wrote: > > > Hmm, even if the values are same currently I am not sure if we want > > > the same for ever. I will write a patch

Re: [PATCH 1/3 v7] serial: mctrl_gpio: Check if GPIO property exisits before requesting it

2019-06-18 Thread Yegor Yefremov
On Mon, Jun 17, 2019 at 5:00 PM Stefan Roese wrote: > > This patch adds a check for the GPIOs property existence, before the > GPIO is requested. This fixes an issue seen when the 8250 mctrl_gpio > support is added (2nd patch in this patch series) on x86 platforms using > ACPI. > > Here Mika's

Re: [PATCH v3 2/4] mtd: rawnand: Add Macronix MX25F0A NAND controller

2019-06-18 Thread Boris Brezillon
On Tue, 18 Jun 2019 08:14:36 +0200 Boris Brezillon wrote: > > > > > > > > > > > > How to make all #CS keep high for NAND to enter > > > > > > low-power standby mode if driver don't use "legacy.select_chip()" > > > > > > > > ? > > > > > > > > > > See commit 02b4a52604a4 ("mtd:

Re: [PATCH 2/3 v7] serial: 8250: Add MSR/MCR TIOCM conversion wrapper functions

2019-06-18 Thread Yegor Yefremov
On Mon, Jun 17, 2019 at 4:59 PM Stefan Roese wrote: > > This patch adds wrapper functions to convert MSR <-> TIOCM and also > MCR <-> TIOCM. These functions are used now in serial8250_do_set_mctrl() > and serial8250_do_get_mctrl(). > > Signed-off-by: Stefan Roese > Suggested-by: Andy Shevchenko

Re: [PATCH v1] scsi: Don't select SCSI_PROC_FS by default

2019-06-18 Thread Marc Gonzalez
On 18/06/2019 03:08, Finn Thain wrote: > On Mon, 17 Jun 2019, Douglas Gilbert wrote: > >> On 2019-06-17 5:11 p.m., Bart Van Assche wrote: >> >>> On 6/12/19 6:59 AM, Marc Gonzalez wrote: >>> According to the option's help message, SCSI_PROC_FS has been superseded for ~15 years. Don't

Re: [PATCH] usb: remove redundant 'default n' from Kconfig-s

2019-06-18 Thread Felipe Balbi
Bartlomiej Zolnierkiewicz writes: > 'default n' is the default value for any bool or tristate Kconfig > setting so there is no need to write it explicitly. > > Also since commit f467c5640c29 ("kconfig: only write '# CONFIG_FOO > is not set' for visible symbols") the Kconfig behavior is the same

Re: [PATCH 3/3 v7] tty/serial/8250: use mctrl_gpio helpers

2019-06-18 Thread Yegor Yefremov
On Mon, Jun 17, 2019 at 5:00 PM Stefan Roese wrote: > > From: Yegor Yefremov > > This patch permits the usage for GPIOs to control > the CTS/RTS/DTR/DSR/DCD/RI signals. > > Changed by Stefan: > Only call mctrl_gpio_init(), if the device has no ACPI companion device > to not break existing ACPI

[PATCH] arm64/mm: don't initialize pgd_cache twice

2019-06-18 Thread Mike Rapoport
When PGD_SIZE != PAGE_SIZE, arm64 uses kmem_cache for allocation of PGD memory. That cache was initialized twice: first through pgtable_cache_init() alias and then as an override for weak pgd_cache_init(). Remove the alias from pgtable_cache_init() and keep the only pgd_cache initialization in

Re: [RFC] Disable lockref on arm64

2019-06-18 Thread Kees Cook
On Mon, Jun 17, 2019 at 06:26:20PM +0100, Will Deacon wrote: > On Mon, Jun 17, 2019 at 01:33:19PM +0200, Ard Biesheuvel wrote: > > On my single core TX2, the comparative performance is as follows > > > > Baseline: REFCOUNT_TIMING test using REFCOUNT_FULL (LSE cmpxchg) > > 191057942484

Re: [alsa-devel] [PATCH v2 09/11] ASoC: Intel: hdac_hdmi: Set ops to NULL on remove

2019-06-18 Thread Takashi Iwai
On Tue, 18 Jun 2019 06:19:15 +0200, Ranjani Sridharan wrote: > > On Mon, 2019-06-17 at 23:36 +0200, Takashi Iwai wrote: > > On Mon, 17 Jun 2019 22:51:42 +0200, > > Ranjani Sridharan wrote: > > > > > > On Mon, 2019-06-17 at 13:36 +0200, Amadeusz Sławiński wrote: > > > > When we unload Skylake

Re: [PATCH] usb: gadget: udc: lpc32xx: allocate descriptor with GFP_ATOMIC

2019-06-18 Thread Felipe Balbi
Alexandre Belloni writes: > Gadget drivers may queue request in interrupt context. This would lead to > a descriptor allocation in that context. In that case we would hit > BUG_ON(in_interrupt()) in __get_vm_area_node. > > Signed-off-by: Alexandre Belloni > --- >

  1   2   3   4   5   6   7   8   9   10   >