x60: warnings on boot and resume, arch/x86/mm/tlb.c:257 initialize_ ... was Re: [PATCH 0/2] Fix resume failure due to PCID

2017-09-14 Thread Pavel Machek
On Wed 2017-09-06 20:25:10, Linus Torvalds wrote: > On Wed, Sep 6, 2017 at 7:54 PM, Andy Lutomirski wrote: > > Patch 1 is the fix. Patch 2 is a comment that would have kept me from > > chasing down a false lead. > > Yes, this seems to fix things for me. Thanks. > > Of course, right now that lap

Re: [Outreachy kernel] [PATCH] gpu: drm: rockchip: Replace dev_* with DRM_DEV_*

2017-09-14 Thread Julia Lawall
On Fri, 15 Sep 2017, Haneen Mohammed wrote: > This patch replace instances of dev_info/err/debug with > DRM_DEV_INFO/ERROR/WARN respectively inorder to use a drm-formatted > specific log messages. Issue corrected with the help of the following > Coccinelle script: > > @r@ > @@ > > ( > -dev_info

Re: n900 in next-20170901

2017-09-14 Thread Joonsoo Kim
On Wed, Sep 13, 2017 at 09:31:27AM -0700, Tony Lindgren wrote: > * Joonsoo Kim [170913 00:54]: > > On Thu, Sep 07, 2017 at 09:16:51AM -0700, Tony Lindgren wrote: > > > I doubt that QEMU n900 boots in secure mode but instead shows > > > the SoC as general purpose SoC. If so, you'd have to patch the

[PATCH] gpu: drm: rockchip: Replace dev_* with DRM_DEV_*

2017-09-14 Thread Haneen Mohammed
This patch replace instances of dev_info/err/debug with DRM_DEV_INFO/ERROR/WARN respectively inorder to use a drm-formatted specific log messages. Issue corrected with the help of the following Coccinelle script: @r@ @@ ( -dev_info +DRM_DEV_INFO | -dev_err +DRM_DEV_ERROR | -dev_dbg +DRM_DEV_DEBUG

Re: [PATCH for-next] RDMA/hns: Delete the unnecessary initializing enum to zero

2017-09-14 Thread Leon Romanovsky
On Fri, Sep 15, 2017 at 10:49:09AM +0800, Wei Hu (Xavier) wrote: > It deletes the unnecessary initializing enum to zero. > > Signed-off-by: Wei Hu (Xavier) > Signed-off-by: Shaobo Xu > Signed-off-by: Lijun Ou > --- > This patch is based on the patchset as below: > [PATCH for-next 00/20] RDMA/hns

Re: [PATCH 4/5] arm: dts: rockchip: add thermal nodes for RV1108 SoC

2017-09-14 Thread rocky.hao
在 2017/8/24 18:27, Rocky Hao 写道: Add thermal zone and dynamic CPU power coefficients for RV1108 Signed-off-by: Rocky Hao --- arch/arm/boot/dts/rv1108.dtsi | 40 1 file changed, 40 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/

[PATCH net] net: phy: Fix mask value write on gmii2rgmii converter speed register

2017-09-14 Thread Fahad Kunnathadi
To clear Speed Selection in MDIO control register(0x10), ie, clear bits 6 and 13 to zero while keeping other bits same. Before AND operation,The Mask value has to be perform with bitwise NOT operation (ie, ~ operator) This patch clears current speed selection before writing the new speed settings

[PATCH resend] [media] uvcvideo: zero seq number when disabling stream

2017-09-14 Thread Hans Yang
For bulk-based devices, when disabling the video stream, in addition to issue CLEAR_FEATURE(HALT), it is better to set alternate setting 0 as well or the sequnce number in host side will probably not reset to zero. Then in next time video stream start, the device will expect host starts packet fro

offres de prêt

2017-09-14 Thread Parick Lacassin
Bonjour Vous aviez besoin de prêts d'argent entre particuliers pour faire face aux difficultés financières pour enfin sortir de l'impasse que provoquent les banques, par le rejet de vos dossiers de demande de crédits ? Je suis un citoyen français en mesure de vous faire un prêt de 5000 euros à 500

Re: [PATCH] crypto: s5p-sss: Add HASH support for Exynos

2017-09-14 Thread Krzysztof Kozlowski
On Wed, Sep 13, 2017 at 4:24 PM, Kamil Konieczny wrote: > Hi Krzysztof, > > On 13.09.2017 15:18, Krzysztof Kozlowski wrote: >> On Wed, Sep 13, 2017 at 2:44 PM, Kamil Konieczny >> wrote: >>> Add support for MD5, SHA1, SHA256 hash algorithms for Exynos HW. >>> It uses the crypto framework asynchron

Re: [PATCH v2] checkpatch: support function pointers for unnamed function definition arguments

2017-09-14 Thread Joe Perches
On Thu, 2017-09-14 at 19:52 +0800, Miles Chen wrote: > Current unnamed function definition argument does not include function > pointer cases and it reports something like: > > WARNING: function definition argument 'void' should also have an identifier > name > +unsigned int (*dummy)(void); > >

Re: [PATCH] xen: don't compile pv-specific parts if XEN_PV isn't configured

2017-09-14 Thread Juergen Gross
On 14/09/17 18:31, Tycho Andersen wrote: > Hi Juergen, > > On Thu, Sep 14, 2017 at 02:38:58PM +0200, Juergen Gross wrote: >> xenbus_client.c contains some functions specific for pv guests. >> Enclose them with #ifdef CONFIG_XEN_PV to avoid compiling them when >> they are not needed (e.g. on ARM).

Re: [PATCH] x86/asm/64: do not clear high 32 bits of syscall number when CONFIG_X86_X32=y

2017-09-14 Thread hpa
On September 14, 2017 10:31:55 PM PDT, Ingo Molnar wrote: > >* Andy Lutomirski wrote: > >> >> > diff --git a/arch/x86/entry/entry_64.S >b/arch/x86/entry/entry_64.S >> >> > index 4916725..3bab6af 100644 >> >> > --- a/arch/x86/entry/entry_64.S >> >> > +++ b/arch/x86/entry/entry_64.S >> >> > @@ -185

Re: [PATCH] x86/asm/64: do not clear high 32 bits of syscall number when CONFIG_X86_X32=y

2017-09-14 Thread hpa
On September 14, 2017 10:31:55 PM PDT, Ingo Molnar wrote: > >* Andy Lutomirski wrote: > >> >> > diff --git a/arch/x86/entry/entry_64.S >b/arch/x86/entry/entry_64.S >> >> > index 4916725..3bab6af 100644 >> >> > --- a/arch/x86/entry/entry_64.S >> >> > +++ b/arch/x86/entry/entry_64.S >> >> > @@ -185

[PATCH v1] [DVB][FRONTEND] Added a new ioctl for optimizing frontend property set operation

2017-09-14 Thread Satendra Singh Thakur
Hello Mr Chehab, Thanks for reviewing the patch. I have modified the patch as per your comments. Please check if it looks fine now. Signed-off-by: Satendra Singh Thakur --- drivers/media/dvb-core/dvb_frontend.c | 212 +- include/uapi/linux/dvb/frontend.h | 2

Re: [PATCH net-next v2 01/10] net: dsa: add debugfs interface

2017-09-14 Thread Jiri Pirko
Thu, Sep 14, 2017 at 11:01:32PM CEST, and...@lunn.ch wrote: >> Can you clarify what type of registers it is you are wanting to read? >> We already have ethtool which is meant to allow reading the device >> registers for a given netdev. As long as the port has a netdev >> associated it then there is

Re: [PATCH for 4.9 11/59] MIPS: fix mem=X@Y commandline processing

2017-09-14 Thread Marcin Nowakowski
Hi, On 14.09.2017 21:17, Mathieu Malaterre wrote: On Thu, Sep 14, 2017 at 9:11 PM, Levin, Alexander (Sasha Levin) wrote: On Thu, Sep 14, 2017 at 08:59:05PM +0200, Mathieu Malaterre wrote: On Thu, Sep 14, 2017 at 5:51 PM, Levin, Alexander (Sasha Levin) wrote: From: Marcin Nowakowski [ Upst

Re: [PATCH 00/12] x86/crypto: Fix RBP usage in several crypto .S files

2017-09-14 Thread Ingo Molnar
* Josh Poimboeuf wrote: > > So if this observation of mine is true we could go back to the old code for > > the > > hotpath, but use RDI for TBL and not reload it in the hotpath. > > Thanks for the excellent breakdown. > > When I looked at the patch again, I came to the same conclusion as yo

Re: [PATCH 00/12] x86/crypto: Fix RBP usage in several crypto .S files

2017-09-14 Thread Ingo Molnar
* Eric Biggers wrote: > Hi Josh, > > On Wed, Sep 13, 2017 at 05:33:03PM -0500, Josh Poimboeuf wrote: > > And here's v2 of the sha512-avx2 patch. It should hopefully gain back > > most of the performance lost by v1. > > > > From: Josh Poimboeuf > > Subject: [PATCH] x86/crypto: Fix RBP usage i

Re: [PATCH] x86/asm/64: do not clear high 32 bits of syscall number when CONFIG_X86_X32=y

2017-09-14 Thread Ingo Molnar
* Andy Lutomirski wrote: > >> > diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry/entry_64.S > >> > index 4916725..3bab6af 100644 > >> > --- a/arch/x86/entry/entry_64.S > >> > +++ b/arch/x86/entry/entry_64.S > >> > @@ -185,12 +185,10 @@ entry_SYSCALL_64_fastpath: > >> > */ > >> >

[PATCH V2] megaraid: kmemleak: Track page allocation for fusion

2017-09-14 Thread shuwang
From: Shu Wang Kmemleak reports about a thousand false positives for fusion-> cmd_list[]. Root casue is the cmd_list objects are allocated from slab allocator, and stored its pointer in object allocated by page allocator. The fix will tell kmemleak to track and scan fusion object. V2: Add commen

[PATCH 2/3] integrity: replace call to integrity_read_file with kernel version

2017-09-14 Thread Mimi Zohar
From: Christoph Hellwig The CONFIG_IMA_LOAD_X509 and CONFIG_EVM_LOAD_X509 options permit loading x509 signed certificates onto the trusted keyrings without verifying the x509 certificate file's signature. This patch replaces the call to the integrity_read_file() specific function with the common

[PATCH 3/3] ima: use fs method to read integrity data

2017-09-14 Thread Mimi Zohar
From: Christoph Hellwig Add a new ->integrity_read file operation to read data for integrity hash collection. This is defined to be equivalent to ->read_iter, except that it will be called with the i_rwsem held exclusively. (Based on Christoph's original patch.) Signed-off-by: Christoph Hellwi

[PATCH 0/3] ima: only call integrity_kernel_read to calc file hash

2017-09-14 Thread Mimi Zohar
The integrity_kernel_read() function was originally introduced to read a file and calculate the file hash by-passing any security checks. Support subsequently was added allowing the kernel to read a file containing a signed x509 certificate and load it onto either the IMA or EVM keyring. This pat

[PATCH 1/3] vfs: constify path argument to kernel_read_file_from_path

2017-09-14 Thread Mimi Zohar
This patch constifies the path argument to kernel_read_file_from_path. Signed-off-by: Mimi Zohar --- fs/exec.c | 2 +- include/linux/fs.h | 2 +- sound/oss/sound_firmware.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/exec.c b/fs/exec.c index

Re: [PATCH 00/12] x86/crypto: Fix RBP usage in several crypto .S files

2017-09-14 Thread Eric Biggers
Hi Josh, On Wed, Sep 13, 2017 at 05:33:03PM -0500, Josh Poimboeuf wrote: > And here's v2 of the sha512-avx2 patch. It should hopefully gain back > most of the performance lost by v1. > > From: Josh Poimboeuf > Subject: [PATCH] x86/crypto: Fix RBP usage in sha512-avx2-asm.S > > Using RBP as a t

Re: [PATCH -mm -v4 3/5] mm, swap: VMA based swap readahead

2017-09-14 Thread Huang, Ying
Minchan Kim writes: > On Fri, Sep 15, 2017 at 11:15:08AM +0800, Huang, Ying wrote: >> Minchan Kim writes: >> >> > On Thu, Sep 14, 2017 at 08:01:30PM +0800, Huang, Ying wrote: >> >> Minchan Kim writes: >> >> >> >> > On Wed, Sep 13, 2017 at 02:02:29PM -0700, Andrew Morton wrote: >> >> >> On Wed

Re: Port the period data column to centos6.7 for perf script

2017-09-14 Thread Andi Kleen
On Fri, Sep 15, 2017 at 10:24:15AM +0800, 禹舟键 wrote: >Hi, all. >I want to draw off-cpu flamegraph using perf script on centos6.7(kernel >version, 2.6.32-573), and I found perf script lacks the period data column >on that version. I  found two related patches, and modifed >buili

Re: [PATCH] vfs: introduce UMOUNT_WAIT which waits for umount completion

2017-09-14 Thread Al Viro
On Thu, Sep 14, 2017 at 08:45:18PM -0700, Jaegeuk Kim wrote: > > Which filesystem it is? With root I would've expected remount ro done > > by sys_umount(); with anything else... How has it managed to avoid > > -EBUSY? If it was umount -l (IOW, MNT_DETACH), I can see that happening, > > but...

Re: [lkp-robot] [sched/fair] 6d46bd3d97: netperf.Throughput_tps -11.3% regression

2017-09-14 Thread Mike Galbraith
On Thu, 2017-09-14 at 11:56 -0400, Rik van Riel wrote: > > On systems with SMT, it may make more sense for > sync wakeups to look for idle threads of the same > core, than to have the woken task end up on the > same thread, and wait for the current task to stop > running. Depends. homer:/root #

Re: [PATCH v2 2/3] efi: call get_event_log before ExitBootServices

2017-09-14 Thread Jarkko Sakkinen
On Thu, Sep 14, 2017 at 12:02:47PM -0700, Jarkko Sakkinen wrote: > On Thu, Sep 14, 2017 at 11:48:54AM -0700, Matthew Garrett wrote: > > On Thu, Sep 14, 2017 at 11:43 AM, Jarkko Sakkinen > > wrote: > > > On Mon, Sep 11, 2017 at 12:00:21PM +0200, Thiebaud Weksteen wrote: > > >> With TPM 2.0 specific

Re: [PATCH 3/5] arm: dts: rockchip: add tsadc node for RV1108 SoC

2017-09-14 Thread rocky.hao
Hi Caesar, Thanks for the reply. 在 2017/9/15 10:25, Caesar Wang 写道: Rocky, 在 2017年08月24日 18:27, Rocky Hao 写道: Add tsadc needed main information for RV1108 SoC. 75Hz is the max clock rate supported by tsadc module. Signed-off-by: Rocky Hao --- arch/arm/boot/dts/rv1108.dtsi | 29 +++

Re: [PATCH 1/2] KVM: nVMX: Fix nested #PF intends to break L1's vmlauch/vmresume

2017-09-14 Thread Wanpeng Li
2017-09-14 5:45 GMT+08:00 Paolo Bonzini : > On 13/09/2017 13:03, Wanpeng Li wrote: >> From: Wanpeng Li >> >> [ cut here ] >> WARNING: CPU: 4 PID: 5280 at /home/kernel/linux/arch/x86/kvm//vmx.c:11394 >> nested_vmx_vmexit+0xc2b/0xd70 [kvm_intel] >> CPU: 4 PID: 5280 Comm: q

Re: [PATCH] vfs: introduce UMOUNT_WAIT which waits for umount completion

2017-09-14 Thread Jaegeuk Kim
On 09/15, Al Viro wrote: > On Thu, Sep 14, 2017 at 05:19:39PM -0700, Jaegeuk Kim wrote: > > Instead, I put more traces in the reboot procedure, and got a clue to > > suspect > > the below flow. > > > > delayed_fput() init > >- umount > > - mntput()

Re: [PATCH -mm -v4 3/5] mm, swap: VMA based swap readahead

2017-09-14 Thread Minchan Kim
On Fri, Sep 15, 2017 at 11:15:08AM +0800, Huang, Ying wrote: > Minchan Kim writes: > > > On Thu, Sep 14, 2017 at 08:01:30PM +0800, Huang, Ying wrote: > >> Minchan Kim writes: > >> > >> > On Wed, Sep 13, 2017 at 02:02:29PM -0700, Andrew Morton wrote: > >> >> On Wed, 13 Sep 2017 10:40:19 +0900 Mi

Re: [PATCH 2/2] clk: Add Aspeed G5 clock driver

2017-09-14 Thread Andrew Jeffery
On Wed, 2017-08-23 at 15:39 +0930, Joel Stanley wrote: > This driver supports the ast2500 and derivative BMC SoCs from Aspeed. > > All of the important clocks are supported, with most non-essential ones > also implemented where information is available. I am working with > Aspeed to clear up some

Re: [PATCH 1/5] dt-bindings: rockchip-thermal: Support the RV1108 SoC compatible

2017-09-14 Thread rocky.hao
Hi Caesar, Thanks for the reply. 在 2017/9/15 9:49, Caesar Wang 写道: Hi Rocky, 在 2017年08月24日 18:27, Rocky Hao 写道: Add a new compatible for thermal founding on RV1108 SoCs. Signed-off-by: Rocky Hao --- Documentation/devicetree/bindings/thermal/rockchip-thermal.txt | 1 + 1 file changed, 1 i

Re: [PATCH 2/5] thermal: rockchip: Support the RV1108 SoC in thermal driver

2017-09-14 Thread Caesar Wang
在 2017年09月15日 10:10, Caesar Wang 写道: Hi Rocky, 在 2017年08月24日 18:27, Rocky Hao 写道: RV1108 SOC has one Temperature Sensor for CPU. Signed-off-by: Rocky Hao Reviewed-by: Caesar Wang --- drivers/thermal/rockchip_thermal.c | 67 ++ 1 file changed, 67 i

Re: [PATCH -mm -v4 3/5] mm, swap: VMA based swap readahead

2017-09-14 Thread Huang, Ying
Minchan Kim writes: > On Thu, Sep 14, 2017 at 08:01:30PM +0800, Huang, Ying wrote: >> Minchan Kim writes: >> >> > On Wed, Sep 13, 2017 at 02:02:29PM -0700, Andrew Morton wrote: >> >> On Wed, 13 Sep 2017 10:40:19 +0900 Minchan Kim wrote: >> >> >> >> > Every zram users like low-end android devi

Re: [PATCH 1/1] irqchip/gicv3: iterate over possible CPUs by for_each_possible_cpu()

2017-09-14 Thread zijun_hu
On 09/15/2017 03:20 AM, Marc Zyngier wrote: > On Thu, Sep 14 2017 at 1:15:14 pm BST, zijun_hu wrote: >> From: zijun_hu >> >> get_cpu_number() doesn't use existing helper to iterate over possible >> CPUs, so error happens in case of discontinuous @cpu_possible_mask >> such as 0b0001. > > Do

linux-next: Tree for Sep 15

2017-09-14 Thread Stephen Rothwell
Hi all, Please do not add any v4.15 related material to your linux-next included branches until after v4.14-rc1 has been released. Changes since 20170914: Non-merge commits (relative to Linus' tree): 674 895 files changed, 40338 insertions(+), 9565 dele

[PATCH V4 3/3] scsi: Align queue to ARCH_DMA_MINALIGN in non-coherent DMA mode

2017-09-14 Thread Huacai Chen
In non-coherent DMA mode, kernel uses cache flushing operations to maintain I/O coherency, so scsi's block queue should be aligned to ARCH_DMA_MINALIGN. Otherwise, it will cause data corruption, at least on MIPS: Step 1, dma_map_single Step 2, cache_invalidate (no writeback)

[PATCH V4 2/3] mm: dmapool: Align to ARCH_DMA_MINALIGN in non-coherent DMA mode

2017-09-14 Thread Huacai Chen
In non-coherent DMA mode, kernel uses cache flushing operations to maintain I/O coherency, so the dmapool objects should be aligned to ARCH_DMA_MINALIGN. Otherwise, it will cause data corruption, at least on MIPS: Step 1, dma_map_single Step 2, cache_invalidate (no writeback)

[PATCH V4 1/3] dma-mapping: Provide a default plat_device_is_coherent()

2017-09-14 Thread Huacai Chen
We will use plat_device_is_coherent() in generic cases, but it is MIPS-specific now. So we provide a default implementation. BTW, export the symbol hw_coherentio for MIPS if the caller of plat_device_is_coherent() is in a module. Cc: sta...@vger.kernel.org Signed-off-by: Huacai Chen --- arch/mi

Re: [PATCH] Support for secure erase functionality

2017-09-14 Thread Damien Le Moal
Philipp, On 9/14/17 21:51, Philipp wrote: > Dear Damien, > > Thank you for your feedback. > >> On 14. Sep 2017, at 10:46, Damien Le Moal >> wrote: > > […] > >> Writing once to a sector stored on spinning rust will *not* fully >> erase the previous data. Part of the signal used for storing tha

[GIT PULL] Please pull 3 more NFS client fixes...

2017-09-14 Thread Trond Myklebust
Hi Linus, The following changes since commit 1bd5d6d08ea7ed0794c8a3908383d6d6fc202cdd: NFS: Count the bytes of skipped subrequests in nfs_lock_and_join_requests() (2017-09-09 16:43:09 -0400) are available in the git repository at: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags

Port the period data column to centos6.7 for perf script

2017-09-14 Thread yuzhoujian
Hi, all. I want to draw off-cpu flamegraph using perf script on centos6.7 (kernel version, 2.6.32-573), and I found perf script lacks the period data column on that version. I found two related patches, and modifed builin-script.c in reference to those patches. perf script:Add period data column

Re: [PATCH 2/5] thermal: rockchip: Support the RV1108 SoC in thermal driver

2017-09-14 Thread Caesar Wang
Hi Rocky, 在 2017年08月24日 18:27, Rocky Hao 写道: RV1108 SOC has one Temperature Sensor for CPU. Signed-off-by: Rocky Hao --- drivers/thermal/rockchip_thermal.c | 67 ++ 1 file changed, 67 insertions(+) diff --git a/drivers/thermal/rockchip_thermal.c b/drive

Re: [PATCH 3/5] arm: dts: rockchip: add tsadc node for RV1108 SoC

2017-09-14 Thread Caesar Wang
Rocky, 在 2017年08月24日 18:27, Rocky Hao 写道: Add tsadc needed main information for RV1108 SoC. 75Hz is the max clock rate supported by tsadc module. Signed-off-by: Rocky Hao --- arch/arm/boot/dts/rv1108.dtsi | 29 + 1 file changed, 29 insertions(+) diff --git a

Re: [PATCH] iio: dac: ds4422/ds4424 dac driver

2017-09-14 Thread Jonathan Cameron
On Thu, 14 Sep 2017 13:24:49 -0700 Ismail Kose wrote: > From: "Ismail H. Kose" > > This patch provides an iio device driver for DS4422/DS4424 chips that support > two/four channel 7-bit Sink/Source Current DAC. > > The driver supports device tree and platform files for the configurations. So

[PATCH for-next] RDMA/hns: Delete the unnecessary initializing enum to zero

2017-09-14 Thread Wei Hu (Xavier)
It deletes the unnecessary initializing enum to zero. Signed-off-by: Wei Hu (Xavier) Signed-off-by: Shaobo Xu Signed-off-by: Lijun Ou --- This patch is based on the patchset as below: [PATCH for-next 00/20] RDMA/hns: Add hip08 RoCE driver support, the related link: https://www.spinics.net/lists

Re: [PATCH for 4.9 07/59] clk: sunxi-ng: set the parent rate when adjustin CPUX clock on A33

2017-09-14 Thread Levin, Alexander (Sasha Levin)
On Fri, Sep 15, 2017 at 10:02:04AM +0800, icen...@aosc.io wrote: >在 2017-09-14 23:51,Levin, Alexander (Sasha Levin) 写道: >>From: Icenowy Zheng >> >>[ Upstream commit bb021cda2ccf45ee9470bf0f8c55323ad1c761ae ] > >As DVFS for A33 doesn't exist in 4.9, this patch doesn't affect 4.9 >at all. Dropped,

Re: [PATCH] vfs: introduce UMOUNT_WAIT which waits for umount completion

2017-09-14 Thread Al Viro
On Thu, Sep 14, 2017 at 05:19:39PM -0700, Jaegeuk Kim wrote: > Instead, I put more traces in the reboot procedure, and got a clue to suspect > the below flow. > > delayed_fput() init >- umount > - mntput() > - mntput_no_expire()- mntput

Re: [PATCH for 4.9 07/59] clk: sunxi-ng: set the parent rate when adjustin CPUX clock on A33

2017-09-14 Thread icenowy
在 2017-09-14 23:51,Levin, Alexander (Sasha Levin) 写道: From: Icenowy Zheng [ Upstream commit bb021cda2ccf45ee9470bf0f8c55323ad1c761ae ] As DVFS for A33 doesn't exist in 4.9, this patch doesn't affect 4.9 at all. The CPUX clock on A33, which is for the Cortex-A7 cores, is designed to be chan

[PATCH 3/3] powerpc/5200: dts: digsy_mtc.dts: fix rv3029 compatible

2017-09-14 Thread Alexandre Belloni
The proper compatible for rv3029 is microcrystal,rv3029. Signed-off-by: Alexandre Belloni --- arch/powerpc/boot/dts/digsy_mtc.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/boot/dts/digsy_mtc.dts b/arch/powerpc/boot/dts/digsy_mtc.dts index c280e75c86bf..c39

[PATCH 1/3] RTC: rv3029: fix vendor string

2017-09-14 Thread Alexandre Belloni
The vendor string for Microcrystal is microcrystal. Signed-off-by: Alexandre Belloni --- Documentation/devicetree/bindings/trivial-devices.txt | 2 +- drivers/rtc/rtc-rv3029c2.c| 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicet

[PATCH 2/3] ARM: dts: at91: usb_a9g20: fix rtc node

2017-09-14 Thread Alexandre Belloni
The rv3029 compatible is missing its vendor string, add it. Also fix the node name to be a proper generic name. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/usb_a9g20_common.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/usb_a9g20_common.

答复: 答复: [PATCH] mfd: rtsx: Add support for RTS5260

2017-09-14 Thread 冯锐
> On Thu, 14 Sep 2017, 冯锐 wrote: > > > On Fri, 08 Sep 2017, rui_f...@realsil.com.cn wrote: > > > > > From: rui_feng > > > > > > Add support for new chip rts5260. > > > > You are adding over 600 lines in this patch. It desearves a more > > forthcoming > commit message. > > > > What is it? > > Wh

Re: [PATCH v2] v4l-ioctl: Fix typo on v4l_print_frmsizeenum

2017-09-14 Thread Laurent Pinchart
Hi Ricardo, Thank you for the patch. On Wednesday, 13 September 2017 10:35:52 EEST Ricardo Ribalda Delgado wrote: > max_width and max_height are swap with step_width and step_height. > > Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Laurent Pinchart > --- > > Since that this bug has b

Re: [PATCH 1/5] dt-bindings: rockchip-thermal: Support the RV1108 SoC compatible

2017-09-14 Thread Caesar Wang
Hi Rocky, 在 2017年08月24日 18:27, Rocky Hao 写道: Add a new compatible for thermal founding on RV1108 SoCs. Signed-off-by: Rocky Hao --- Documentation/devicetree/bindings/thermal/rockchip-thermal.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/thermal/ro

Re: [PATCH] gpio: thunderx: remove unused .map() hook from irq_domain_ops

2017-09-14 Thread Masahiro Yamada
Hi David, 2017-09-15 1:59 GMT+09:00 David Daney : > On 09/13/2017 07:37 PM, Masahiro Yamada wrote: >> >> This driver implements .alloc() hook, so .map() is not used. >> > > Have you tested this? No. I do not have access to this hardware. It is just, in my understanding, .alloc() and .map() are

[PATCH] dt-bindings: RTC: Add bindings for m41t80 and compatibles

2017-09-14 Thread Alexandre Belloni
The ST M41T80 family of RTC are not trivial devices, document them. Signed-off-by: Alexandre Belloni --- .../devicetree/bindings/rtc/rtc-m41t80.txt | 32 ++ .../devicetree/bindings/trivial-devices.txt| 2 -- 2 files changed, 32 insertions(+), 2 deletions(-)

[PATCH] dt-bindings: RTC: merge ds1339 in ds1307 documentation

2017-09-14 Thread Alexandre Belloni
Now that there is documentation for the ds1307 and compatible RTCs, merge the ds1339 documentation in it. Signed-off-by: Alexandre Belloni --- .../devicetree/bindings/rtc/dallas,ds1339.txt | 18 -- Documentation/devicetree/bindings/rtc/rtc-ds1307.txt | 6 ++ 2 fil

[PATCH] clk: tegra: Use readl_relaxed_poll_timeout_atomic in tegra210_clock_init

2017-09-14 Thread Nicolin Chen
Below is the call trace of tegra210_init_pllu() function: start_kernel() -> time_init() --> of_clk_init() ---> tegra210_clock_init() > tegra210_pll_init() -> tegra210_init_pllu() Because the preemtion is disabled in the start_kernel before calling time_init, tegra210_init_pllu

Re: [PATCH v8 10/11] arm64/kasan: explicitly zero kasan shadow memory

2017-09-14 Thread Pavel Tatashin
Hi Mark, Thank you for looking at this. We can't do this because page table is not set until cpu_replace_ttbr1() is called. So, we can't do memset() on this memory until then. Pasha

[PATCH] arm64: Unconditionally support ARCH_HAVE_NMI_SAFE_CMPXCHG

2017-09-14 Thread Stephen Boyd
>From what I can see there isn't anything about ACPI_APEI_SEA that means the arm64 architecture can or cannot support NMI safe cmpxchg, so the if condition here is not important. Let's remove it. Doing that allows us to support ftrace histograms via CONFIG_HIST_TRIGGERS that depends on the arch hav

Re: [PATCH v2 2/5] soc: qcom: smem: Read version by using the smem header

2017-09-14 Thread Bjorn Andersson
On Thu 14 Sep 14:24 PDT 2017, Chris Lew wrote: > The SMEM header structure includes the version information. > Read the version directly from the header instead of getting > an item from the global heap. > > Signed-off-by: Chris Lew Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > > Chan

Re: [PATCH v8 10/11] arm64/kasan: explicitly zero kasan shadow memory

2017-09-14 Thread Mark Rutland
On Thu, Sep 14, 2017 at 06:35:16PM -0400, Pavel Tatashin wrote: > To optimize the performance of struct page initialization, > vmemmap_populate() will no longer zero memory. > > We must explicitly zero the memory that is allocated by vmemmap_populate() > for kasan, as this memory does not go throu

Re: [PATCH v2 1/5] soc: qcom: smem: Use le32_to_cpu for partition size comparison

2017-09-14 Thread Bjorn Andersson
On Thu 14 Sep 14:24 PDT 2017, Chris Lew wrote: > Endianness can vary in the system, add le32_to_cpu when comparing > size values from smem. > > Signed-off-by: Chris Lew Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > > Changes since v1: > - New change > > drivers/soc/qcom/smem.c | 2 +

Re: [PATCH v4 00/14] mpt3sas driver NVMe support:

2017-09-14 Thread Martin K. Petersen
Suganath, > Is there any update on the submitted mpt3sas patches. We are waiting for you to report back your findings on PRP vs. SGL. -- Martin K. Petersen Oracle Linux Engineering

[PATCH] dt-bindings: RTC: DS1307 and compatibles are not trivial

2017-09-14 Thread Alexandre Belloni
Document optional properties for ds1307 and compatible RTCs Signed-off-by: Alexandre Belloni --- .../devicetree/bindings/rtc/rtc-ds1307.txt | 37 ++ .../devicetree/bindings/trivial-devices.txt| 6 2 files changed, 37 insertions(+), 6 deletions(-) create

Re: [PATCH] scsi: acornscsi: fix build error

2017-09-14 Thread Martin K. Petersen
Arnd, > A cleanup patch introduced a fatal typo from inbalanced curly braces: Applied to 4.14/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2 RESEND 1/2] x86/UV: Introduce a helper function to check UV system at earlier stage

2017-09-14 Thread Dave Young
Missed a comma in cc list in last reply, readd linux-efi list in cc. On 09/14/17 at 04:08pm, Baoquan He wrote: > On 09/14/17 at 03:49pm, Dave Young wrote: > > > > diff --git a/arch/x86/include/asm/uv/uv.h b/arch/x86/include/asm/uv/uv.h > > > > index b5a32231abd8..93d7ad8763ba 100644 > > > > --- a/a

Re: [PATCH v2 RESEND 1/2] x86/UV: Introduce a helper function to check UV system at earlier stage

2017-09-14 Thread Dave Young
Cc linux-efi list On 09/14/17 at 04:08pm, Baoquan He wrote: > On 09/14/17 at 03:49pm, Dave Young wrote: > > > > diff --git a/arch/x86/include/asm/uv/uv.h b/arch/x86/include/asm/uv/uv.h > > > > index b5a32231abd8..93d7ad8763ba 100644 > > > > --- a/arch/x86/include/asm/uv/uv.h > > > > +++ b/arch/x86/

Re: [PATCH] initramfs: Fix disabling of initramfs (and its compression)

2017-09-14 Thread Nicholas Piggin
On Thu, 14 Sep 2017 15:59:50 -0700 Florian Fainelli wrote: > On 09/07/2017 09:36 PM, Florian Fainelli wrote: > > > > > > On 09/07/2017 06:19 AM, Nicholas Piggin wrote: > >> On Thu, 7 Sep 2017 05:50:30 -0700 > >> Florian Fainelli wrote: > >> > >>> On 08/28/2017 08:09 PM, Nicholas Piggin wro

RE: [Intel-wired-lan] [PATCH 5/5] e1000e: Avoid receiver overrun interrupt bursts

2017-09-14 Thread Brown, Aaron F
> From: Intel-wired-lan [mailto:intel-wired-lan-boun...@osuosl.org] On Behalf > Of Benjamin Poirier > Sent: Friday, July 21, 2017 11:36 AM > To: Kirsher, Jeffrey T > Cc: net...@vger.kernel.org; intel-wired-...@lists.osuosl.org; linux- > ker...@vger.kernel.org; Lennart Sorensen > Subject: [Intel-w

[PATCH 2/2] ASoC: max98927: Added max98927_dai_tdm_slot function

2017-09-14 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changelog: Added 'max98927_dai_tdm_slot' function to set proper slot configuration. Added variable 'tdm_mode' to avoid BCLK overwrite after 'max98927_dai_tdm_slot' configure BCLK value. :BCLK value is being set inside 'max98927_dai_tdm_slot' function when it is tdm m

[PATCH 2/2] ASoC: max98927: Added max98927_dai_tdm_slot function

2017-09-14 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 120 ++-- sound/soc/codecs/max98927.h | 1 + 2 files changed, 105 insertions(+), 16 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index 6f7b3ef..a1d3935 10064

[PATCH 1/2] ASoC: max98927: Added support for DSP_A and DSP_B format

2017-09-14 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 35 --- sound/soc/codecs/max98927.h | 6 -- 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index d9dbbe7..6f7b3ef 100644 --- a

[PATCH 1/2] ASoC: max98927: Added support for DSP_A and DSP_B format

2017-09-14 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changelog: Modified copyright date Added support for DSP_A and DSP_B format. Added 'use_pdm' variable to distinguish configuration for pcm and pdm. Maxim's TDM_MODE1 is matched with DSP_A Maxim's TDM_MODE0 is matched with DSP_B sound/soc/codecs/max98927.c | 35 +++

RE: [PATCH 1/3] ASoC: max98927: Added support for DSP_A and DSP_B format

2017-09-14 Thread Ryan Lee
>-Original Message- >From: Mark Brown [mailto:broo...@kernel.org] >Sent: Thursday, September 14, 2017 11:50 AM >To: Ryan Lee >Cc: lgirdw...@gmail.com; pe...@perex.cz; ti...@suse.com; >kuninori.morimoto...@renesas.com; alsa-de...@alsa-project.org; linux- >ker...@vger.kernel.org; ryan.lee.ma

RE: [Intel-wired-lan] [PATCH 4/5] e1000e: Separate signaling for link check/link up

2017-09-14 Thread Brown, Aaron F
On 7/21/2017 21:36, Benjamin Poirier wrote: > Lennart reported the following race condition: > > \ e1000_watchdog_task > \ e1000e_has_link > \ hw->mac.ops.check_for_link() === e1000e_check_for_copper_link > /* link is up */ > mac->get_link_status = false; >

Detecting page cache trashing state

2017-09-14 Thread Taras Kondratiuk
Hi In our devices under low memory conditions we often get into a trashing state when system spends most of the time re-reading pages of .text sections from a file system (squashfs in our case). Working set doesn't fit into available page cache, so it is expected. The issue is that OOM killer does

[PATCH] dt-bindings: RTC: Add sirf,prima2-sysrtc bindings

2017-09-14 Thread Alexandre Belloni
Add device tree bindings for the SiRFSoC Real Time Clock. Signed-off-by: Alexandre Belloni --- .../devicetree/bindings/rtc/sirf,prima2-sysrtc.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/sirf,prima2-sysrtc.txt diff -

RE: [Intel-wired-lan] [PATCH 3/5] e1000e: Fix return value test

2017-09-14 Thread Brown, Aaron F
> From: Intel-wired-lan [mailto:intel-wired-lan-boun...@osuosl.org] On Behalf > Of Benjamin Poirier > Sent: Friday, July 21, 2017 11:36 AM > To: Kirsher, Jeffrey T > Cc: net...@vger.kernel.org; intel-wired-...@lists.osuosl.org; linux- > ker...@vger.kernel.org; Lennart Sorensen > Subject: [Intel-w

[PATCH] dt-bindings: RTC: add stericsson,coh901331 bindings

2017-09-14 Thread Alexandre Belloni
Add device tree bindings for the ST-Ericsson COH 901 331 Real Time Clock Signed-off-by: Alexandre Belloni --- .../devicetree/bindings/rtc/stericsson,coh901331.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/stericsson,coh

Re: [PATCH] vfs: introduce UMOUNT_WAIT which waits for umount completion

2017-09-14 Thread Jaegeuk Kim
On 09/14, Jaegeuk Kim wrote: > On 09/14, Al Viro wrote: > > On Thu, Sep 14, 2017 at 02:30:17AM +0100, Al Viro wrote: > > > On Wed, Sep 13, 2017 at 06:10:48PM -0700, Jaegeuk Kim wrote: > > > > > > > Android triggers umount(2) by init process, which is definitely not a > > > > kernel > > > > thread

RE: [Intel-wired-lan] [PATCH 1/5] e1000e: Fix error path in link detection

2017-09-14 Thread Brown, Aaron F
> From: Intel-wired-lan [mailto:intel-wired-lan-boun...@osuosl.org] On Behalf > Of Benjamin Poirier > Sent: Friday, July 21, 2017 11:36 AM > To: Kirsher, Jeffrey T > Cc: net...@vger.kernel.org; intel-wired-...@lists.osuosl.org; linux- > ker...@vger.kernel.org; Lennart Sorensen > Subject: [Intel-w

Re: [lkp-robot] [kprobes] e1ce3eee7d: BUG:using_smp_processor_id()in_preemptible

2017-09-14 Thread Masami Hiramatsu
On Thu, 14 Sep 2017 12:28:32 +0800 kernel test robot wrote: > > FYI, we noticed the following commit: > > commit: e1ce3eee7dcda03f2b2f2d64e2cb2f3a993a3b34 ("kprobes: Use > synchronize_rcu_tasks() for optprobe with CONFIG_PREEMPT") > url: > https://github.com/0day-ci/linux/commits/Masami-Hiram

RE: [Intel-wired-lan] [PATCH net-next v3] e1000e: Be drop monitor friendly

2017-09-14 Thread Brown, Aaron F
> From: Intel-wired-lan [mailto:intel-wired-lan-boun...@osuosl.org] On Behalf > Of Florian Fainelli > Sent: Friday, August 25, 2017 6:14 PM > To: net...@vger.kernel.org > Cc: eduma...@gmail.com; Florian Fainelli ; open list > ; moderated list:INTEL ETHERNET DRIVERS > ; da...@davemloft.net > Subject

Re: [PATCH 14/16] gpio: Add support for banked GPIO controllers

2017-09-14 Thread Tony Lindgren
* Tony Lindgren [170914 16:38]: > * Linus Walleij [170914 07:00]: > > On Fri, Sep 1, 2017 at 8:57 PM, Thierry Reding > > wrote: > > > > > From: Thierry Reding > > > > > > Some GPIO controllers are subdivided into multiple logical blocks called > > > banks (or ports). This is often caused by t

Re: [PATCH 14/16] gpio: Add support for banked GPIO controllers

2017-09-14 Thread Tony Lindgren
* Linus Walleij [170914 07:00]: > On Fri, Sep 1, 2017 at 8:57 PM, Thierry Reding > wrote: > > > From: Thierry Reding > > > > Some GPIO controllers are subdivided into multiple logical blocks called > > banks (or ports). This is often caused by the design assigning separate > > resources, such

Re: [PATCH] thermal: brcmstb: disable trip points properly when needed

2017-09-14 Thread Markus Mayer
On 14 September 2017 at 16:19, Markus Mayer wrote: > From: Markus Mayer > > The code checking for low and high temperature points was still based > on an earlier implementation of the driver. It wasn't working properly > with the data types currently being used. > > We fix this by disabling the h

[BACKPORT] swiotlb-xen: implement xen_swiotlb_dma_mmap callback

2017-09-14 Thread Stefano Stabellini
Hi all, We are getting reports from Xen on ARM users about DMA issues. The problem is that the commit below (7e91c7df29b5e196de3dc6f086c8937973bd0b88) is necessary to support mmap on Xen on ARM. It is self-contained and doesn't affect anything outside of Xen on ARM, so I think is a good candidate

Re: [PATCH 2/2] integrity: replace call to integrity_read_file with kernel version

2017-09-14 Thread James Morris
On Thu, 14 Sep 2017, Christoph Hellwig wrote: > On Fri, Sep 15, 2017 at 06:21:28AM +1000, James Morris wrote: > > So, to be clear, this patch solves the XFS deadlock using a different > > approach (to the now reverted integrity_read approach), which Christoph > > also says is more correct genera

[PATCH] thermal: brcmstb: disable trip points properly when needed

2017-09-14 Thread Markus Mayer
From: Markus Mayer The code checking for low and high temperature points was still based on an earlier implementation of the driver. It wasn't working properly with the data types currently being used. We fix this by disabling the high trip point if our high temperature is INT_MAX and disabling

[PATCH] dt-bindings: trivial: Add RTCs

2017-09-14 Thread Alexandre Belloni
Add remaining trivial RTC bindings. Signed-off-by: Alexandre Belloni --- Documentation/devicetree/bindings/trivial-devices.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/trivial-devices.txt b/Documentation/devicetree/bindings/trivial-devices.txt i

Re: [PATCH RFC 2/3] pipe: protect pipe_max_size access with a mutex

2017-09-14 Thread Mikulas Patocka
I think this mutex is too heavy - if multiple processes simultaneously create a pipe, the mutex would cause performance degradation. You can call do_proc_dointvec with a custom callback "conv" function that does the rounding of the pipe size value. Mikulas On Tue, 5 Sep 2017, Joe Lawrence wrot

[PATCH] dma-buf: remove redundant initialization of sg_table

2017-09-14 Thread Colin King
From: Colin Ian King sg_table is being initialized and is never read before it is updated again later on, hence making the initialization redundant. Remove the initialization. Detected by clang scan-build: "warning: Value stored to 'sg_table' during its initialization is never read" Signed-off-

[git pull] vfs.git misc bits

2017-09-14 Thread Al Viro
The following changes since commit cc4a41fe5541a73019a864883297bd5043aa6d98: Linux 4.13-rc7 (2017-08-27 17:20:40 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.misc for you to fetch changes up to 1985296a3ccd5d89d2ec2ca17b1fa1a

  1   2   3   4   5   6   7   >