Re: [PATCH 4.14 056/109] clk: ti: clkctrl: add support for retrying failed init

2018-03-18 Thread Tero Kristo
On 19/03/18 05:44, Dan Rue wrote: On Fri, Mar 16, 2018 at 04:23:25PM +0100, Greg Kroah-Hartman wrote: 4.14-stable review patch. If anyone has any objections, please let me know. -- From: Tero Kristo [ Upstream commit 729e13bf58e643b9accd2a14c55b555958702fb0 ] In case the c

[PATCH] usb: dwc3: gadget: Correct the logic for queuing sgs

2018-03-18 Thread Anurag Kumar Vulisha
This patch fixes two issues 1. The code logic in dwc3_prepare_one_trb() incorrectly uses the address and length given in req packet even for scattergather lists. This patch correct's the code to use sg->address and sg->length when scattergather lists are present. 2. The present code correctly fet

Re: [PATCH 02/19] csky: Exception handling and syscall

2018-03-18 Thread Guo Ren
Hi Mark, > Here you open code an MFCR instruction. > > I guess MFCR stands for something like move-from-control-register, and MTCR > stands for move-to-control-register? > > I see that later on you have helpers for specific registers, e.g. > mfcr_cpuidrr(). > > You might want to follow the exa

Re: KASAN: slab-out-of-bounds Read in rds_cong_queue_updates

2018-03-18 Thread Dmitry Vyukov
On Mon, Mar 19, 2018 at 9:37 AM, Sowmini Varadhan wrote: > On (03/19/18 09:29), Dmitry Vyukov wrote: >> >> This looks the same as: >> >> #syz dup: KASAN: use-after-free Read in rds_cong_queue_updates > > correct, seems like the rds_destroy_pending() fixes did not seal > this race condition. I need

linux-next: manual merge of the akpm-current tree with the sparc-next tree

2018-03-18 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: mm/memory.c between commit: ca827d55ebaa ("mm, swap: Add infrastructure for saving page metadata on swap") from the sparc-next tree and commit: f2986f002986 ("mm: don't expose page to fast gup before it's ready

Re: [PATCH] crypto: doc - clarify hash callbacks state machine

2018-03-18 Thread Horia Geantă
On 3/16/2018 5:16 PM, Herbert Xu wrote: > On Mon, Mar 05, 2018 at 12:39:45PM +0200, Horia Geantă wrote: >> Even though it doesn't make too much sense, it is perfectly legal to: >> - call .init() and then (as many times) .update() >> - subseqently _not_ call any of .final(), .finup() or .export() >

Re: [RFC PATCH 2/6] fs: provide a generic compat_sys_truncate64() implementation

2018-03-18 Thread Kevin Easton
On Sun, Mar 18, 2018 at 05:10:52PM +0100, Dominik Brodowski wrote: > The compat_sys_truncate64() implementations in mips, powerpc, s390, sparc > and x86 only differed based on whether the u64 parameter needed padding > and on its endianness. > ... > +#ifdef __ARCH_WANT_COMPAT_SYS_TRUNCATE64 >

Re: KASAN: slab-out-of-bounds Read in rds_cong_queue_updates

2018-03-18 Thread Sowmini Varadhan
On (03/19/18 09:29), Dmitry Vyukov wrote: > > This looks the same as: > > #syz dup: KASAN: use-after-free Read in rds_cong_queue_updates correct, seems like the rds_destroy_pending() fixes did not seal this race condition. I need to look at this more carefully to see what race I missed.. no easy

linux-next: manual merge of the akpm-current tree with the block tree

2018-03-18 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in: drivers/block/zram/zram_drv.h between commit: 233bde21aa43 ("block: Move SECTOR_SIZE and SECTOR_SHIFT definitions into ") from the block tree and commit: 5d95e0f3a22b ("zram: drop max_zpage_size and use zs_

Re: INFO: task hung in __tun_chr_ioctl

2018-03-18 Thread Dmitry Vyukov
On Mon, Mar 19, 2018 at 9:31 AM, syzbot wrote: > Hello, > > syzbot hit the following crash on upstream commit > 8f5fd927c3a7576d57248a2d7a0861c3f2795973 (Fri Mar 16 20:37:42 2018 +) > Merge tag 'for-4.16-rc5-tag' of > git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux > > Unfortunately,

Re: KASAN: slab-out-of-bounds Read in rds_cong_queue_updates

2018-03-18 Thread Dmitry Vyukov
On Thu, Feb 22, 2018 at 12:49 PM, syzbot wrote: > Hello, > > syzbot hit the following crash on upstream commit > 79c0ef3e85c015b0921a8fd5dd539d1480e9cd6c (Mon Feb 19 19:58:19 2018 +) > Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net > > So far this crash happened 28 times on > ht

[ACPI / processor] c1294b481b: WARNING:at_include/linux/cpumask.h:#invoke_rcu_core

2018-03-18 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-6): commit: c1294b481baa89caa30b4c2933c5ce662d52070c ("ACPI / processor: Fix possible CPUs map") url: https://github.com/0day-ci/linux/commits/Dou-Liyang/ACPI-processor-Fix-possible-CPUs-map/20180318-023857 in testcase: boo

Re: [PATCH] block, bfq: keep peak_rate estimation within range 1..2^32-1

2018-03-18 Thread Konstantin Khlebnikov
On 19.03.2018 09:03, Paolo Valente wrote: Il giorno 05 mar 2018, alle ore 04:48, Konstantin Khlebnikov ha scritto: Rate should never overflow or become zero because it is used as divider. This patch accumulates it with saturation. Signed-off-by: Konstantin Khlebnikov --- block/bfq-iosched

Re: [PATCH] f2fs: don't put dentry page in pagecache into highmem

2018-03-18 Thread Yunlong Song
OK, got it. On 2018/3/19 14:23, Jaegeuk Kim wrote: On 03/19, Yunlong Song wrote: Hi, Jaegeuk, I find this patch is removed from current branch of dev-test recently, why? Any bugs? Moved into the beginning of the tree for cherry-picking into f2fs-stable. Thanks, On 2018/2/28 20:31, Yunl

Re: [PATCH] f2fs: don't put dentry page in pagecache into highmem

2018-03-18 Thread Jaegeuk Kim
On 03/19, Yunlong Song wrote: > Hi, Jaegeuk, > I find this patch is removed from current branch of dev-test > recently, why? Any bugs? Moved into the beginning of the tree for cherry-picking into f2fs-stable. Thanks, > > On 2018/2/28 20:31, Yunlong Song wrote: > > Previous dentry page uses

Re: [PATCH v2 01/13] i2c: qup: fix copyrights and update to SPDX identifier

2018-03-18 Thread Abhishek Sahu
On 2018-03-18 02:03, Wolfram Sang wrote: On Mon, Mar 12, 2018 at 06:44:50PM +0530, Abhishek Sahu wrote: The file has been updated from 2016 to 2018 so fixed the copyright years. Signed-off-by: Abhishek Sahu --- drivers/i2c/busses/i2c-qup.c | 13 ++--- 1 file changed, 2 insertions(+),

Re: [bug, bisected] pfifo_fast causes packet reordering

2018-03-18 Thread Alexander Stein
On Friday, March 16, 2018, 11:26:47 AM CET Jakob Unterwurzacher wrote: > On 15.03.18 23:30, John Fastabend wrote: > >> I have reproduced it using two USB network cards connected to each other. > >> The test tool sends UDP packets containing a counter and listens on the > >> other interface, it is

Re: [PULL 0/2] vfio-ccw patches for 4.17

2018-03-18 Thread Martin Schwidefsky
On Mon, 5 Mar 2018 13:31:14 +0100 Cornelia Huck wrote: > The following changes since commit 5628683cf77bc8dad3336a9b254e55f728f7c70e: > > s390/dasd: set timestamps unconditionally (2018-02-27 08:05:29 +0100) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linu

[PATCH] ALSA: usb-audio: Fix parsing descriptor of UAC2 processing unit

2018-03-18 Thread Kirill Marinushkin
Currently, the offsets in the UAC2 processing unit descriptor are calculated incorrectly. It causes an issue when connecting the device which provides such a feature: [84126.724420] usb 1-1.3.1: invalid Processing Unit descriptor (id 18) After this patch is applied, the UAC2 processing

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

2018-03-18 Thread Stephen Rothwell
Hi Al, After merging the vfs tree, today's linux-next build (x86_64 allnoconfig) failed like this: fs/super.c: In function 'do_thaw_all_callback': fs/super.c:942:3: error: implicit declaration of function 'emergency_thaw_bdev'; did you mean 'emergency_remount'? [-Werror=implicit-function-declar

Re: [PATCH 3/5] powerpc/mm/32: Use page_is_ram to check for RAM

2018-03-18 Thread Michael Ellerman
Jonathan Neuschäfer writes: > Signed-off-by: Jonathan Neuschäfer > --- > arch/powerpc/mm/pgtable_32.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/powerpc/mm/pgtable_32.c b/arch/powerpc/mm/pgtable_32.c > index d35d9ad3c1cd..d54e1a9c1c99 100644 > --- a/arch/pow

Re: [PATCH] block, bfq: keep peak_rate estimation within range 1..2^32-1

2018-03-18 Thread Paolo Valente
> Il giorno 05 mar 2018, alle ore 04:48, Konstantin Khlebnikov > ha scritto: > > Rate should never overflow or become zero because it is used as divider. > This patch accumulates it with saturation. > > Signed-off-by: Konstantin Khlebnikov > --- > block/bfq-iosched.c |8 +--- > 1 file

[PATCH] tools: Fix str_error_r() Werror=restrict build

2018-03-18 Thread Sergey Senozhatsky
Commit c8b5f2c96d1bf6c ("tools: Introduce str_error_r()") added an str_error_r() wrapper which makes gcc8 unhappy due to restrict-qualified parameter aliasing violation: ../lib/str_error_r.c: In function ‘str_error_r’: ../lib/str_error_r.c:25:3: error: passing argument 1 to restrict-qualified par

RE: [PATCH] vmbus: use put_device() if device_register fail

2018-03-18 Thread KY Srinivasan
> -Original Message- > From: Michael Kelley (EOSG) > Sent: Sunday, March 18, 2018 8:40 PM > To: KY Srinivasan ; Arvind Yadav > ; Stephen Hemminger > ; Haiyang Zhang > Cc: de...@linuxdriverproject.org; linux-kernel@vger.kernel.org > Subject: RE: [PATCH] vmbus: use put_device() if device_r

Re: [PATCH 1/3] x86, pkeys: do not special case protection key 0

2018-03-18 Thread Michael Ellerman
Dave Hansen writes: > On 03/17/2018 02:12 AM, Thomas Gleixner wrote: >>> This is a bit nicer than what Ram proposed because it is simpler >>> and removes special-casing for pkey 0. On the other hand, it does >>> allow applciations to pkey_free() pkey-0, but that's just a silly >>> thing to do, s

Re: linux-next: build warning after merge of the crypto tree

2018-03-18 Thread Harsh Jain
On 19-03-2018 06:34, Stephen Rothwell wrote: > Hi Herbert, > > After merging the crypto tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > In file included from drivers/crypto/chelsio/chcr_ipsec.c:66:0: > drivers/crypto/chelsio/chcr_crypto.h:343:12: warning: 'chcr_a

Re: [PATCH 4.15 000/128] 4.15.11-stable review

2018-03-18 Thread Guenter Roeck
On 03/18/2018 08:39 PM, Dan Rue wrote: On Sun, Mar 18, 2018 at 12:15:23PM +0100, Greg Kroah-Hartman wrote: On Sun, Mar 18, 2018 at 11:25:26AM +0100, Greg Kroah-Hartman wrote: On Fri, Mar 16, 2018 at 04:22:21PM +0100, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for th

[PATCH v2] staging: media: davinci_vpfe: add error handling on kmalloc failure

2018-03-18 Thread Ji-Hun Kim
There is no failure checking on the param value which will be allocated memory by kmalloc. Add a null pointer checking statement. Then goto error: and return -ENOMEM error code when kmalloc is failed. Signed-off-by: Ji-Hun Kim --- Changes since v1: - Return with -ENOMEM directly, instead of got

RE: [PATCH v2 10/21] lightnvm: Remove depends on HAS_DMA in case of platform dependency

2018-03-18 Thread Madalin-cristian Bucur
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Geert Uytterhoeven > Sent: Friday, March 16, 2018 3:52 PM > To: Christoph Hellwig ; Marek Szyprowski > ; Robin Murphy ; > Felipe Balbi ; Greg Kroah-Hartman > ; James E . J . Bottom

[PATCH] gpu: drm: Use list_{next/prev}_entry instead of list_entry

2018-03-18 Thread Arushi Singhal
This patch replace list_entry with list_{next/prev}_entry as it makes the code more clear to read. Done using coccinelle: @@ expression e1; identifier e3; type t; @@ ( - list_entry(e1->e3.next,t,e3) + list_next_entry(e1,e3) | - list_entry(e1->e3.prev,t,e3) + list_prev_entry(e1,e3) ) Signed-off-by

Re: [PATCH 1/2] x86, msr: add rdmsr_safe_on_cpu_resched() and use it in msr_read()

2018-03-18 Thread Eric Dumazet
On Sun, Mar 18, 2018 at 10:14 AM kbuild test robot wrote: > Hi Eric, > Thank you for the patch! Yet something to improve: > [auto build test ERROR on linus/master] > [also build test ERROR on v4.16-rc5 next-20180316] > [if your patch is applied to the wrong git tree, please drop us a note to he

Re: [PATCH v2] exec: Set file unwritable before LSM check

2018-03-18 Thread James Morris
On Fri, 9 Mar 2018, Kees Cook wrote: > The LSM check should happen after the file has been confirmed to be > unchanging. Without this, we could have a race between the Time of Check > (the call to security_kernel_read_file() which could read the file and > make access policy decisions) and the Tim

Re: [PATCH 5/6] dt-bindings: phy-qcom-usb2: Update bindings for sdm845

2018-03-18 Thread Manu Gautam
Hi, On 3/18/2018 6:22 PM, Rob Herring wrote: > On Fri, Mar 16, 2018 at 03:14:58PM +0530, Manu Gautam wrote: >> Update compatible strings for USB2 PHYs on sdm845. >> There are two QUSB2 PHYs present on sdm845. Few PHY registers >> programming is different for these PHYs related to electrical >> pa

Re: [PATCH v2 3/4] arm64: Implement page table free interfaces

2018-03-18 Thread Chintan Pandya
On 3/15/2018 6:48 PM, Mark Rutland wrote: On Thu, Mar 15, 2018 at 06:15:05PM +0530, Chintan Pandya wrote: Implement pud_free_pmd_page() and pmd_free_pte_page(). Make sure, that they are indeed a page table before taking them to free. As mentioned on the prior patch, if the tables we're free

Re: [PATCH v2 2/4] ioremap: Implement TLB_INV before huge mapping

2018-03-18 Thread Chintan Pandya
On 3/16/2018 8:20 PM, Kani, Toshi wrote: On Fri, 2018-03-16 at 13:10 +0530, Chintan Pandya wrote: On 3/15/2018 9:42 PM, Kani, Toshi wrote: On Thu, 2018-03-15 at 18:15 +0530, Chintan Pandya wrote: Huge mapping changes PMD/PUD which could have valid previous entries. This requires proper TLB

Re: [PATCH 5/8] trace_uprobe: Support SDT markers having reference count (semaphore)

2018-03-18 Thread Ravi Bangoria
Hi Oleg, On 03/14/2018 10:29 PM, Oleg Nesterov wrote: > On 03/13, Ravi Bangoria wrote: >> +static bool sdt_valid_vma(struct trace_uprobe *tu, struct vm_area_struct >> *vma) >> +{ >> +unsigned long vaddr = vma_offset_to_vaddr(vma, tu->ref_ctr_offset); >> + >> +return tu->ref_ctr_offset &&

Re: [PATCH 19/19] irqchip: add irq-nationalchip.c and irq-csky.c

2018-03-18 Thread Mark Rutland
On Mon, Mar 19, 2018 at 03:51:41AM +0800, Guo Ren wrote: > +static unsigned int intc_reg; This should be a void __iomem *ptr; > + > +#define CK_VA_INTC_ICR (void *)(intc_reg + 0x00) /* > Interrupt control register(High 16bits) */ > +#define CK_VA_INTC_ISR (void

Re: Re: [PATCH] staging: media: davinci_vpfe: add error handling on kmalloc failure

2018-03-18 Thread Ji-Hun Kim
On Fri, Mar 16, 2018 at 11:32:34AM +0300, Dan Carpenter wrote: > On Fri, Mar 16, 2018 at 01:58:23PM +0900, Ji-Hun Kim wrote: > > There is no failure checking on the param value which will be allocated > > memory by kmalloc. Add a null pointer checking statement. Then goto error: > > and return -ENO

Re: [RFC PATCH 4/6] mm: provide generic compat_sys_readahead() implementation

2018-03-18 Thread Al Viro
On Sun, Mar 18, 2018 at 06:18:48PM +, Al Viro wrote: > I'd done some digging in that area, will find the notes and post. OK, found: We have two ABIs in the game - syscall and normal C. The latter (for all targets we support) can be described in the following terms: * there is a seri

Re: [PATCH v1 1/2] dt-bindings: usb: Update documentation for Qualcomm DWC3 driver

2018-03-18 Thread Manu Gautam
Hi, On 3/18/2018 6:19 PM, Rob Herring wrote: > On Tue, Mar 13, 2018 at 04:06:00PM +0530, Manu Gautam wrote: >> Existing documentation has lot of incorrect information as it >> was originally added for a driver that no longer exists. >> >> Signed-off-by: Manu Gautam >> --- >> .../devicetree/bind

Re: [PATCH] ASoC: uniphier: evea: add switch for changing source of line-in

2018-03-18 Thread Katsuhiro Suzuki
Hello Mark, > -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Thursday, March 15, 2018 1:26 AM > To: Suzuki, Katsuhiro > Cc: alsa-de...@alsa-project.org; Masami Hiramatsu ; > Jassi Brar ; linux-arm-ker...@lists.infradead.org; > linux-kernel@vger.kernel.org > Subj

Re: [PATCH 18/19] clocksource: add timer-nationalchip.c

2018-03-18 Thread Mark Rutland
Hi, On Mon, Mar 19, 2018 at 03:51:40AM +0800, Guo Ren wrote: > +#define NC_VA_COUNTER_1_STATUS (void *)(timer_reg + 0x00) > +#define NC_VA_COUNTER_1_VALUE(void *)(timer_reg + 0x04) > +#define NC_VA_COUNTER_1_CONTROL (void *)(timer_reg + 0x10) > +#define N

[PATCH][v4] PM / sleep: Do not delay the synchronization of MTRR during resume

2018-03-18 Thread Yu Chen
From: Chen Yu Sometimes it is too late for the APs to adjust their MTRRs to the valid ones saved before suspend - currently this action is performed by set_mtrr_state() after all the APs have been brought up. In some cases the BIOS might scribble the MTRR across suspend, as a result we might get

Re: Intel GemniLake xHCI connected devices can never wake up the system from suspend

2018-03-18 Thread Daniel Drake
On Mon, Mar 19, 2018 at 6:36 AM, Rafael J. Wysocki wrote: > On Fri, Mar 16, 2018 at 10:06 AM, Mathias Nyman > wrote: >> Adding Rafael directly to CC >> >> In short, if _S3D and _S3W are missing in DSDT then a PCI device >> stays in D0 during suspend in Linux, but goes to D3 in Windows. >> >> USB

Re: [PATCH v5 3/4] clk: lpc32xx: Set name of regmap_config

2018-03-18 Thread JeffyChen
Hi Vladimir, On 03/19/2018 05:57 AM, Vladimir Zapolskiy wrote: > static struct regmap_config lpc32xx_scb_regmap_config = { >+ .name = "lpc32xx-scb", please rename it to "scb", LPC32xx SoC name is already known from the context. When it's done, feel free to add to the next version my Acked-

[PATCH v6] clk: lpc32xx: Set name of regmap_config

2018-03-18 Thread Jeffy Chen
We are now allowing to register debugfs without a valid device, and not having a valid name will end up using "dummy*" to create debugfs dir. Signed-off-by: Jeffy Chen Acked-by: Vladimir Zapolskiy --- Changes in v6: Modify name as Vladimir suggested. drivers/clk/nxp/clk-lpc32xx.c | 1 + 1 fil

[PATCH 1/2] staging: typec: rt1711h typec chip driver

2018-03-18 Thread ShuFan Lee
From: ShuFan Lee Richtek RT1711H Type-C chip driver that works with Type-C Port Controller Manager to provide USB PD and USB Type-C functionalities. Add definition of TCPC_CC_STATUS_TOGGLING. Signed-off-by: ShuFan Lee --- drivers/staging/typec/Kconfig | 8 + drivers/staging/typec/Mak

Re: linux-next: manual merge of the kvms390 tree with the nds32 tree

2018-03-18 Thread Stephen Rothwell
Hi all, On Mon, 26 Feb 2018 13:34:45 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the kvms390 tree got a conflict in: > > drivers/video/console/Kconfig > > between commit: > > 2312dbf7462b ("drivers/video/concole: add negative dependency for > VGA_CONSOLE on nds32") > >

[PATCH 0/2] staging: typec: rt1711h typec driver and dt-bindings

2018-03-18 Thread ShuFan Lee
From: ShuFan Lee This patch series add rt1711h typec chip driver and dt-bindings changelogs between v1 & v2 - use gpiod_* instead of gpio_* changelogs between v2 & v3 - add dt-bindings for rt1711h typec driver ShuFan Lee (2): staging: typec: rt1711h typec chip driver dt-bindings: usb: rt17

[PATCH 2/2] dt-bindings: usb: rt1711h device tree binding document

2018-03-18 Thread ShuFan Lee
From: ShuFan Lee Add device tree binding document for Richtek RT1711H Type-C chip driver Signed-off-by: ShuFan Lee --- .../devicetree/bindings/usb/richtek,rt1711h.txt| 30 ++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/rich

Re: [PATCH 4.14 056/109] clk: ti: clkctrl: add support for retrying failed init

2018-03-18 Thread Dan Rue
On Fri, Mar 16, 2018 at 04:23:25PM +0100, Greg Kroah-Hartman wrote: > 4.14-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Tero Kristo > > > [ Upstream commit 729e13bf58e643b9accd2a14c55b555958702fb0 ] > > In case the clkctrl node conta

Re: [PATCH 1/2] pci: host: pci-hyperv: Replace GFP_ATOMIC with GFP_KERNEL in hv_pci_onchannelcallback

2018-03-18 Thread Jia-Ju Bai
On 2018/3/19 10:52, KY Srinivasan wrote: -Original Message- From: Jia-Ju Bai Sent: Sunday, March 18, 2018 7:53 AM To: KY Srinivasan ; Haiyang Zhang ; Stephen Hemminger ; bhelg...@google.com Cc: de...@linuxdriverproject.org; linux-...@vger.kernel.org; linux- ker...@vger.kernel.org; Ji

RE: [PATCH] vmbus: use put_device() if device_register fail

2018-03-18 Thread Michael Kelley (EOSG)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org > On Behalf > Of KY Srinivasan > Sent: Sunday, March 18, 2018 8:02 PM > To: Arvind Yadav ; Stephen Hemminger > ; Haiyang Zhang > Cc: de...@linuxdriverproject.org; linux-kernel@vger.kernel.org > Subject: RE: [PATCH] vmbus: us

Re: [PATCH 4.15 000/128] 4.15.11-stable review

2018-03-18 Thread Dan Rue
On Sun, Mar 18, 2018 at 12:15:23PM +0100, Greg Kroah-Hartman wrote: > On Sun, Mar 18, 2018 at 11:25:26AM +0100, Greg Kroah-Hartman wrote: > > On Fri, Mar 16, 2018 at 04:22:21PM +0100, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 4.15.11 release. > > > There a

Re: [PATCH v2 3/3] dt-bindings: phy-mtk-tphy: add properties for U2 slew rate calibrate

2018-03-18 Thread Chunfeng Yun
On Sun, 2018-03-18 at 07:48 -0500, Rob Herring wrote: > On Mon, Mar 12, 2018 at 01:25:40PM +0800, Chunfeng Yun wrote: > > Add two properties of ref_clk and coefficient used by U2 slew rate > > calibrate which may vary on different SoCs > > > > Signed-off-by: Chunfeng Yun > > --- > > Documentatio

[PATCH] irqchip: irq-gic-v4: return real error code

2018-03-18 Thread Peng Hao
__irq_domain_alloc_irqs will return some different error code, so we should return real error code in its_alloc_vcpu_irqs. Signed-off-by: Peng Hao --- drivers/irqchip/irq-gic-v4.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-gic-v4.c b/drivers/i

[PATCH] ARM: dts: imx7d-pinfunc: update sai select input value

2018-03-18 Thread Anson Huang
Update SAI select input daisy chain value according to Reference Manual. Signed-off-by: Anson Huang Signed-off-by: Shengjiu Wang --- arch/arm/boot/dts/imx7d-pinfunc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/imx7d-pinfunc.h b/arch/arm/boot/dts

Re: [PATCH] mm: add config for readahead window

2018-03-18 Thread Wei Wang
On Sun, Mar 18, 2018 at 7:37 PM Huang, Ying wrote: > Wei Wang writes: > > Android devices boot time benefits by bigger readahead window setting from > > init. This patch will make readahead window a config so early boot can > > benefit by it as well. > Can you change the source code of init to

Re: [PATCH] f2fs: don't put dentry page in pagecache into highmem

2018-03-18 Thread Yunlong Song
Hi, Jaegeuk, I find this patch is removed from current branch of dev-test recently, why? Any bugs? On 2018/2/28 20:31, Yunlong Song wrote: Previous dentry page uses highmem, which will cause panic in platforms using highmem (such as arm), since the address space of dentry pages from highmem

linux-next: manual merge of the tip tree with the arm-soc tree

2018-03-18 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: drivers/bus/arm-cci.c between commit: 3de6be7a3dd8 ("drivers/bus: Split Arm CCI driver") from the arm-soc tree and commit: edb39592a587 ("perf: Fix sibling iteration") from the tip tree. I fixed it up (I added the fol

Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-18 Thread Vinod Koul
On Sun, Mar 18, 2018 at 11:44:51AM +0100, Greg Kroah-Hartman wrote: > On Sun, Mar 18, 2018 at 11:24:17AM +0100, Greg Kroah-Hartman wrote: > > > > This patch is causing a build error on arm and arm64 per i.e. > > > > https://kernelci.org/build/id/5aac017e59b5141cb1b3a4d5/ > > > > > > > > Builds are

RE: [PATCH] vmbus: use put_device() if device_register fail

2018-03-18 Thread KY Srinivasan
> -Original Message- > From: devel On Behalf > Of Arvind Yadav > Sent: Saturday, March 17, 2018 11:48 PM > To: Stephen Hemminger ; Haiyang Zhang > > Cc: de...@linuxdriverproject.org; linux-kernel@vger.kernel.org > Subject: [PATCH] vmbus: use put_device() if device_register fail > > if

[PATCH] init: no need to wait device probe

2018-03-18 Thread ning . a . zhang
From: Zhang Ning there are 2 reasons for no need to wait device probe reason 1: mount root device is very late in kernel initial stage. all initcalls are finished. that means most of probe functions are returned. and deferred probe are also finished by late_initcall. only async probe driver are

RE: [PATCH 1/2] pci: host: pci-hyperv: Replace GFP_ATOMIC with GFP_KERNEL in hv_pci_onchannelcallback

2018-03-18 Thread KY Srinivasan
> -Original Message- > From: Jia-Ju Bai > Sent: Sunday, March 18, 2018 7:53 AM > To: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger > ; bhelg...@google.com > Cc: de...@linuxdriverproject.org; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; Jia-Ju Bai > Subject: [PATCH 1

Re: [PATCH v1 02/19] dt-bindings: cpufreq: mediatek: use - instead of _ in examples

2018-03-18 Thread Sean Wang
Hi, Matthias I'm worried you missed the patch which already got both tags Reviewed-by from Rob and Acked-by: Viresh and thus I thought it should be ready for your tree. For the other patches in the same series, I will have v2 to refine them according to these suggestions and comments in v1 and l

Re: kbuild: move cc-option and cc-disable-warning after incl. arch Makefile

2018-03-18 Thread Masahiro Yamada
2018-03-19 9:41 GMT+09:00 Stefan Agner : > Hi Masahiro, > > On 27.11.2017 13:15, Masahiro Yamada wrote: >> Geert reported commit ae6b289a3789 ("kbuild: Set KBUILD_CFLAGS before >> incl. arch Makefile") broke cross-compilation using a cross-compiler >> that supports less compiler options than the ho

Re: [PATCH] f2fs: Set GF_NOFS in read_cache_page_gfp while doing f2fs_quota_read

2018-03-18 Thread Chao Yu
On 2018/3/16 21:23, Ritesh Harjani wrote: > Quota code itself is serializing the operations by taking mutex_lock. > It seems a below deadlock can happen if GF_NOFS is not used in > f2fs_quota_read > > __switch_to+0x88 > __schedule+0x5b0 > schedule+0x78 > schedule_preempt_disabled+0x20 > __mutex_lo

Re: [PATCH] mm: add config for readahead window

2018-03-18 Thread Huang, Ying
Wei Wang writes: > Android devices boot time benefits by bigger readahead window setting from > init. This patch will make readahead window a config so early boot can > benefit by it as well. Can you change the source code of init to call ioctl(BLKRASET) early? Best Regards, Huang, Ying

[PATCH V2 1/2] clk: imx6sx: add missing lvds2 clock to the clock tree

2018-03-18 Thread Anson Huang
i.MX6SX has lvds2 (analog clock2), an I/O clock like lvds1. And this lvds2, along with lvds1, can be used to provide external clock source to the internal pll, such as pll4_audio and pll5_video. This patch mainly adds the lvds2 to the clock tree and fix its relationship with pll accordingly. Sign

[PATCH V2 2/2] ARM: dts: imx6sx-sabreauto: add external 24MHz clock source

2018-03-18 Thread Anson Huang
On i.MX6SX SabreAuto board, there is external 24MHz clock source for analog clock2, add this clock source to clock tree. Signed-off-by: Anson Huang --- changes since V1: remove unnecessary clocks container. arch/arm/boot/dts/imx6sx-sabreauto.dts | 6 ++ 1 file changed, 6 insertions(+

[PATCH] vfio iommu type1: improve memory pinning process for raw PFN mapping

2018-03-18 Thread Jason Cai (Xiang Feng)
When using vfio to pass through a PCIe device (e.g. a GPU card) that has a huge BAR (e.g. 16GB), a lot of cycles are wasted on memory pinning because PFNs of PCI BAR are not backed by struct page, and the corresponding VMA has flag VM_PFNMAP. With this change, when pinning a region which is a raw

Re: [PATCH 0/2] drm/sun4i: Fix some error handling paths in 'sun4i_hdmi_bind()'

2018-03-18 Thread Chen-Yu Tsai
On Mon, Mar 19, 2018 at 6:48 AM, Christophe JAILLET wrote: > I've splitted these fixes into 2 patches becasue they do not fixe the same > commit. > > Christophe JAILLET (2): > drm/sun4i: hdmi: Fix an error handling path in 'sun4i_hdmi_bind()' > drm/sun4i: hdmi: Fix another error handling path

Re: [PATCH v4 10/10] ARM: sunxi: smp: Add initialization of CNTVOFF

2018-03-18 Thread Chen-Yu Tsai
On Mon, Mar 19, 2018 at 3:07 AM, Mylène Josserand wrote: > Hello Mark, > > Please, excuse me for this late answer and thank you for the review! > > On Wed, 7 Mar 2018 12:18:33 + > Marc Zyngier wrote: > >> On 23/02/18 13:37, Mylène Josserand wrote: >> > On Cortex-A7, the CNTVOFF register from

Re: [PATCH] bpf: whitelist syscalls for error injection

2018-03-18 Thread Andy Lutomirski
On Sun, Mar 18, 2018 at 6:47 AM, Dominik Brodowski wrote: > On Fri, Mar 16, 2018 at 03:55:04PM -0700, Howard McLauchlan wrote: >> On 03/13/2018 04:56 PM, Andy Lutomirski wrote: >> > On Tue, Mar 13, 2018 at 11:16 PM, Howard McLauchlan >> > wrote: >> >> Error injection is a useful mechanism to fai

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-18 Thread Jason Gunthorpe
On Fri, Mar 16, 2018 at 02:55:25PM +0200, Jarkko Sakkinen wrote: > On Mon, Mar 12, 2018 at 09:02:32AM -0600, Jason Gunthorpe wrote: > > On Sat, Mar 10, 2018 at 06:16:37PM +0200, Jarkko Sakkinen wrote: > > > TCPA log are can be empty when the TPM is disabled. This commit changes > > > the > > > beh

Compliment of the day to you Dear Friend

2018-03-18 Thread Mrs.Natacha.Farouk
Compliment of the day to you Dear Friend. for security reason contact me Through this email (mrsnatacha.far...@barid.com) Dear Friend. I am Mrs.Natacha Farouk. am sending this brief letter to solicit your partnership to transfer $5.5 million US Dollars. I shall send you more information and proc

RE: [PATCH 2/2] ARM: dts: imx6sx-sabreauto: add external 24MHz clock source

2018-03-18 Thread Anson Huang
Hi, Fabio Anson Huang Best Regards! > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: Sunday, March 18, 2018 9:04 PM > To: Anson Huang > Cc: Shawn Guo ; Sascha Hauer > ; Fabio Estevam ; Rob > Herring ; Mark Rutland ; > Russell King - ARM Linux ; Michael Turq

RE: [PATCH] ARM: dts: imx7s: add anatop vdd1p2 regulator

2018-03-18 Thread Anson Huang
Hi, Fabio Anson Huang Best Regards! > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: Monday, March 19, 2018 3:54 AM > To: Anson Huang > Cc: Shawn Guo ; Sascha Hauer > ; Fabio Estevam ; Rob > Herring ; Mark Rutland ; > Russell King - ARM Linux ; dl-linux-imx

RE: [PATCH 1/2] ARM: dts: pfuze3000: update sw1a/vldo4 voltage range

2018-03-18 Thread Anson Huang
Hi, Fabio Anson Huang Best Regards! > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: Sunday, March 18, 2018 8:55 PM > To: Anson Huang > Cc: Robin Gong ; Shawn Guo ; > Sascha Hauer ; Fabio Estevam > ; Rob Herring ; Mark Rutland > ; Russell King - ARM Linux ;

Re: [PATCH v2 0/7] KASan for arm

2018-03-18 Thread Liuwenliang (Abbott Liu)
On 03/19/2018 09:23 AM, Florian Fainelli wrote: >On 03/18/2018 06:20 PM, Liuwenliang (Abbott Liu) wrote: >> On 03/19/2018 03:14 AM, Florian Fainelli wrote: >>> Thanks for posting these patches! Just FWIW, you cannot quite add >>> someone's Tested-by for a patch series that was just resubmitted give

Re: [PATCH 3/3] arm64: dts: mt2712: Add auxadc device node.

2018-03-18 Thread Matthias Brugger
On 10/16/2017 05:09 PM, Matthias Brugger wrote: > > > On 10/13/2017 05:11 PM, Matthias Brugger wrote: >> >> >> On 09/24/2017 05:47 PM, Jonathan Cameron wrote: >>> On Thu, 21 Sep 2017 09:26:52 +0800 >>> Zhiyong Tao wrote: >>> Add auxadc device node for MT2712. Signed-off-by: Zhiy

Re: [alsa-devel] [PATCH -next] ASoC: wm8400: Use devm_snd_soc_register_component()

2018-03-18 Thread Kuninori Morimoto
Hi Wei > Since the remove callback is removed, the snd_soc_unregister_component() > is missing when remove device. Using devm_snd_soc_register_component() > instead of snd_soc_register_component(). > > Fixes: 10dc44c6462d ("ASoC: wm8400: replace codec to component") > Signed-off-by: Wei Yongjun

Re: [PATCH] init: no need to wait device probe

2018-03-18 Thread Zhang, Ning A
在 2018-03-17六的 12:17 -0700,Randy Dunlap写道: > Maintainers don't mine mailing lists for patches to apply. thank you very much, I will resend my patch. BR. Ning.

Re: [PATCH v3 18/18] infiniband: cxgb4: Eliminate duplicate barriers on weakly-ordered archs

2018-03-18 Thread Jason Gunthorpe
On Sat, Mar 17, 2018 at 02:30:10PM -0400, Sinan Kaya wrote: > Somebody also has to take a task and work very hard to get rid of > __raw_writeX() > APIs in drivers/net directory. It looked like a very common practice though > it clearly violates multiarch portability concerns Jason and Deve highli

Re: [PATCH 02/19] csky: Exception handling and syscall

2018-03-18 Thread Mark Rutland
Hi, On Mon, Mar 19, 2018 at 03:51:24AM +0800, Guo Ren wrote: > +inline static unsigned int > +get_regs_value(unsigned int rx, struct pt_regs *regs) > +{ > + unsigned int value; > + > + if(rx == 0){ > + if(user_mode(regs)){ > + asm volatile("mfcr %0, ss1\n":"

[PATCH v2 0/2] USB Audio Device Class 3.0 support

2018-03-18 Thread Ruslan Bilovol
Hi Takashi, This patch adds initial USB Audio Device Class 3.0 [1] support to the ALSA that we discussed at ELCE. The patch was tested with UAC3 gadget [2] that I posted to USB mailing list before. It is good for working with BADD device which implements such topologies like BAIF (Basic Audio Inp

[PATCH v2 1/2] ALSA: usb-audio: move audioformat quirks to quirks.c

2018-03-18 Thread Ruslan Bilovol
Offload USB audio interface parsing function by moving quirks to a specially designed location (quirks.c) Signed-off-by: Ruslan Bilovol --- sound/usb/quirks.c | 34 ++ sound/usb/quirks.h | 4 sound/usb/stream.c | 30 +- 3 files ch

[PATCH v2 2/2] ALSA: usb: initial USB Audio Device Class 3.0 support

2018-03-18 Thread Ruslan Bilovol
Recently released USB Audio Class 3.0 specification introduces many significant changes comparing to previous versions, like - new Power Domains, support for LPM/L1 - new Cluster descriptor - changed layout of all class-specific descriptors - new High Capability descriptors - New class-specifi

Applied "ASoC: add tda7419 audio processor driver" to the asoc tree

2018-03-18 Thread Mark Brown
The patch ASoC: add tda7419 audio processor driver has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linu

[PATCH net-next v2 0/2] brcmfmac: add new dt entries for SG SDIO settings

2018-03-18 Thread Alexey Roslyakov
Changes in v2: don't check of_property_read_* return values since it doesn't change the value if property not found. Suggested by Andrew Lunn.

Applied "ASoC: add tda7419 audio processor binding" to the asoc tree

2018-03-18 Thread Mark Brown
The patch ASoC: add tda7419 audio processor binding has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Lin

Re: [PATCH v1] arm: dts: mt7623: add PCIe related nodes

2018-03-18 Thread Matthias Brugger
On 02/14/2018 04:27 AM, Ryder Lee wrote: > This patch adds some device nodes for the PCIe function block and updates > related pinmux. > > Moreover, we add interrupt-map properties in both parent and children as > the chip only has one IRQ per slot that is connected to all INTx and get > propaga

[PATCH net-next v2 1/2] brcmfmac: add new dt entries for SG SDIO settings

2018-03-18 Thread Alexey Roslyakov
There are 3 fields in SDIO settings (quirks) to workaround some of the SG SDIO host particularities, i.e higher align requirements for SG items. All coding is done the long time ago, but there is no way to change the driver behavior without patching the kernel. Add missing devicetree entries. Sign

[PATCH net-next v2 2/2] dt: bindings: add new dt entries for brcmfmac

2018-03-18 Thread Alexey Roslyakov
In case if the host has higher align requirements for SG items, allow setting device-specific aligns for scatterlist items. Signed-off-by: Alexey Roslyakov --- Documentation/devicetree/bindings/net/wireless/brcm,bcm43xx-fmac.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documenta

Re: [PATCH v2 1/2] tracing: Improve design of preemptirq tracepoints and its users

2018-03-18 Thread Joel Fernandes
On Sat, Mar 17, 2018 at 12:03 PM, kbuild test robot wrote: > Hi Joel, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.16-rc5 next-20180316] > [if your patch is applied to the wrong git tree, please drop us a note to

Re: [PATCH v2 1/5] dt-bindings: soc: update MT2712 power dt-bindings

2018-03-18 Thread Matthias Brugger
On 03/12/2018 08:03 AM, Weiyi Lu wrote: > Add new power domains(MFG_SC1/MFG_SC2/MFG_SC3) > for MT2712 according to ECO design change. > > Signed-off-by: Weiyi Lu > Reviewed-by: Rob Herring Pushed to v4.16-next/soc Thanks! > --- > include/dt-bindings/power/mt2712-power.h | 3 +++ > 1 file c

Re: [PATCH v2 2/5] soc: mediatek: update power domain data of MT2712

2018-03-18 Thread Matthias Brugger
On 03/12/2018 08:03 AM, Weiyi Lu wrote: > 1. split MFG power domain into MFG/MFG_SC1/MFG_SC2/MFG_SC3 > according to MT2712 ECO design change > 2. add subdomain support for MT2712 > > Signed-off-by: Weiyi Lu Pushed to v4.16-next/soc Thanks! > --- > drivers/soc/mediatek/mtk-scpsys.c | 42 > +

linux-next: manual merge of the drm-misc tree with the drm tree

2018-03-18 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/i915/intel_color.c between commit: db61d160b3ed ("drm/i915: Remove the pointless 1:1 matrix copy") from the drm tree and commit: d5517a39dce4 ("drm/i915: Remove the blob->data casts") from the drm-

Re: [PATCHv2 4/4] gpio: Remove VLA from stmpe driver

2018-03-18 Thread Phil Reid
On 16/03/2018 02:00, Laura Abbott wrote: The new challenge is to remove VLAs from the kernel (see https://lkml.org/lkml/2018/3/7/621) This patch replaces a VLA with an appropriate call to kmalloc_array. Signed-off-by: Laura Abbott --- v2: Switch to GFP_KERNEL. There was some discussion about i

Re: [PATCH v4 0/9] Initial Allwinner H6 support

2018-03-18 Thread Icenowy Zheng
于 2018年3月19日 GMT+08:00 上午4:17:44, Maxime Ripard 写到: >On Fri, Mar 16, 2018 at 10:02:06PM +0800, Icenowy Zheng wrote: >> This patchset adds initial support for the Allwinner H6 SoC. >> >> It's quite different from earlier Allwinner SoCs. For example, the >> memory map is refactored, and the CCU i

  1   2   3   4   5   >