Re: [PATCH 1/2] zram: add zstd to the supported algorithms list

2017-09-12 Thread Minchan Kim
On Tue, Sep 12, 2017 at 02:00:04PM +0900, Sergey Senozhatsky wrote: > Add ZSTD to the list of supported compression algorithms. > > ZRAM fio perf test: > > LZO DEFLATE ZSTD > > #jobs1 > WRITE: (2180MB/s) (77.2MB/s) (1429MB/s) > WRITE:

Re: btusb "firmware request while host is not available" at resume

2017-09-12 Thread Marcel Holtmann
Hi Luis, If something needs to be fixed, can you make a patch showing that? Or do we also need to revert anything else as well to get back to a "better working" state? >>> >>> I took a look at the driver and it seems that btusb_setup_intel_new() is >>> not called after the driver

Re: [PATCH v2] USB: xhci: reducing HS port auto-resume latency.

2017-09-12 Thread Mathias Nyman
Hi On 12.09.2017 08:57, anshuman gupta wrote: I have addressed the feedback on the patch description with reference to thread https://patchwork.kernel.org/patch/9916641/ with [PATCH V2] please provide your review comments. I'm taking the patch and sending it forward to Greg after the merge wi

Re: [PATCH v2 2/3] livepatch: add atomic replace

2017-09-12 Thread Jason Baron
On 09/12/2017 01:35 AM, Petr Mladek wrote: > On Mon 2017-09-11 23:46:28, Jason Baron wrote: >> On 09/11/2017 09:53 AM, Petr Mladek wrote: >>> On Wed 2017-08-30 17:38:44, Jason Baron wrote: diff --git a/include/linux/livepatch.h b/include/linux/livepatch.h index 8d3df55..ee6d18b 100644 >

Re: [PATCH] sysrq : fix Show Regs call trace on ARM

2017-09-12 Thread Jiri Slaby
On 09/13/2017, 08:04 AM, Jiri Slaby wrote: > On 09/11/2017, 01:22 PM, Jibin Xu wrote: >> Hi,Jiri: >> >> I tested get_irq_regs() behave in the softirq context, >> I called get_irq_regs() by a tasklet, It returns NULL.My understanding is >> get_irq_regs() can return the right result >> only in hard

Re: [PATCH] swapon: fix vfree() badness

2017-09-12 Thread Michal Hocko
On Tue 05-09-17 11:40:51, Dave Chinner wrote: > From: Dave Chinner > > The cluster_info structure is allocated with kvzalloc(), which can > return kmalloc'd or vmalloc'd memory. It must be paired with > kvfree(), but sys_swapon uses vfree(), resultin in this warning > from xfstests generic/357: >

Re: Re: [PATCH] sysrq : fix Show Regs call trace on ARM

2017-09-12 Thread Jiri Slaby
On 09/11/2017, 01:22 PM, Jibin Xu wrote: > Hi,Jiri: > > I tested get_irq_regs() behave in the softirq context, > I called get_irq_regs() by a tasklet, It returns NULL.My understanding is > get_irq_regs() can return the right result > only in hardware IRQ,otherwise it returns NULL. > So I t

Re: [PATCH] mm/memory_hotplug: fix wrong casting for __remove_section()

2017-09-12 Thread Michal Hocko
On Tue 12-09-17 13:05:39, YASUAKI ISHIMATSU wrote: > Hi Michal, > > Thanks you for reviewing my patch. > > On 09/12/2017 08:49 AM, Michal Hocko wrote: > > On Fri 08-09-17 16:43:04, YASUAKI ISHIMATSU wrote: > >> __remove_section() calls __remove_zone() to shrink zone and pgdat. > >> But due to wro

Re: [Outreachy kernel] [PATCH] staging: wlan-ng: Replace pr_debug with netdev_dbg

2017-09-12 Thread Julia Lawall
On Tue, 12 Sep 2017, Haneen Mohammed wrote: > This patch replace pr_debug with netdev_dbg when appropriate net_device > structure is found. > Issue found using the following Coccinelle script: > > @r exists@ > identifier f, s, i; > position p; > @@ > > f(...,struct s *i,...) { > <+... when != i

Re: [PATCH v3 2/2] hwmon: (ltq-cputemp) add devicetree bindings documentation

2017-09-12 Thread Florian Eckert
Hello Rob > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt > @@ -0,0 +1,10 @@ > +Lantiq cpu temperatur sensor s/temperatur/temperature/ Will update this in a follow up page based on the old one. So no v4? > + > +Requires node properties: > +- compatible val

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

2017-09-12 Thread Laurent Pinchart
Hi Ricardo, Thank you for the patch. On Friday, 8 September 2017 18:47:10 EEST Ricardo Ribalda Delgado wrote: > max_width and max_height are swap with step_width and step_height. > > Signed-off-by: Ricardo Ribalda Delgado > --- > > Since that this bug has been here for ever. I do not know if w

[PATCH 2/9] mtd: nand: denali: prefix detect_max_banks() with denali_

2017-09-12 Thread Masahiro Yamada
All functions in this driver are prefixed with denali_ except detect_max_banks(). Rename it for consistency. Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/denali.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.

[PATCH 6/9] mtd: nand: denali: clean up macros with

2017-09-12 Thread Masahiro Yamada
All the register offsets and bitfield masks are defined in denali.h, but the driver code ended up with additional crappy macros such as MAKE_ECC_CORRECTION(), ECC_SECTOR(), etc. The reason is apparent - accessing a register field requires mask and shift pair. The denali.h only provides mask. How

Re: [PATCH] fscrypt: lock mutex before checking for bounce page pool

2017-09-12 Thread Eric Biggers
On Thu, Jul 06, 2017 at 10:57:48AM -0700, Eric Biggers wrote: > fscrypt_initialize(), which allocates the global bounce page pool when > an encrypted file is first accessed, uses "double-checked locking" to > try to avoid locking fscrypt_init_mutex. However, it doesn't use any > memory barriers, s

[PATCH 8/9] mtd: nand: denali: clean up comments

2017-09-12 Thread Masahiro Yamada
This driver explains too much about what is apparent from the code. Comments around basic APIs such as init_completion(), spin_lock_init(), etc. seem unneeded lessons to kernel developers. (With those comments dropped, denali_drv_init() is small enough, so it has been merged into the probe functio

[PATCH 3/9] mtd: nand: denali: consolidate include directives

2017-09-12 Thread Masahiro Yamada
Include necessary headers explicitly without relying on indirect header inclusion. Also, sort them alphabetically. , , turned out bogus, so removed. Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/denali.c | 12 +++- drivers/mtd/nand/denali.h | 3 +++ drivers/mtd/nand/de

[PATCH 5/9] mtd: nand: denali: slight clean up of denali_wait_for_irq()

2017-09-12 Thread Masahiro Yamada
This function has a local variable "irq_mask" and its value is the same as denali->irq_mask. Clean up the code a little. Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/denali.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand

[PATCH 9/9] mtd: nand: denali: remove unneeded init of ECC_ENABLE register

2017-09-12 Thread Masahiro Yamada
The ECC correction is properly enabled/disabled before the page read/write. There is no need to set up this at the beginning of the probe. Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/denali.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/n

[PATCH 1/9] mtd: nand: denali: squash setup_ecc_for_xfer() helper into caller

2017-09-12 Thread Masahiro Yamada
The setup_ecc_for_xfer() is only called from denali_data_xfer(). This helper is small enough, so squash it into the caller. This looks cleaner to me. Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/denali.c | 22 +++--- 1 file changed, 3 insertions(+), 19 deletions(-) diff

[PATCH 0/9] mtd: nand: denali: more clean-ups

2017-09-12 Thread Masahiro Yamada
This series make the Denali driver even cleaner and more correct. The last patch may cause a conflict unless http://patchwork.ozlabs.org/patch/813125/ is applied first. Masahiro Yamada (9): mtd: nand: denali: squash setup_ecc_for_xfer() helper into caller mtd: nand: denali: prefix detect_m

[PATCH 7/9] mtd: nand: denali: use more FIELD_PREP / FIELD_GET where appropriate

2017-09-12 Thread Masahiro Yamada
In several places in this driver, the register fields are retrieved as follows: val = reg & FOO_MASK; Then, modified as follows: reg &= ~FOO_MASK; reg |= val; This code relies on its shift is 0, which we will never know until we check the definition of FOO_MASK. Use FIELD_PREP / FIELD_GE

[PATCH 4/9] mtd: nand: denali: squash denali_enable_dma() helper into caller

2017-09-12 Thread Masahiro Yamada
This helper just sets/clears a flag of DMA_ENABLE register (with register read-back, I do not know why it is necessary). Move the register write code to the caller, and remove the helper. It works for me without the register read-back. Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/denali

Re: [PATCHv3 08/11] sparc64: update pmdp_invalidate to return old pmd value

2017-09-12 Thread Aneesh Kumar K.V
"Kirill A. Shutemov" writes: > From: "Aneesh Kumar K.V" You got the author wrong there. > > It's required to avoid loosing dirty and accessed bits. > > Signed-off-by: Nitin Gupta > Signed-off-by: Kirill A. Shutemov > --- > arch/sparc/include/asm/pgtable_64.h | 2 +- > arch/sparc/mm/tlb.c

Re: [PATCH v2] arm64: fix unwind_frame() for filtered out fn for function graph tracing

2017-09-12 Thread Pratyush Anand
On Wednesday 13 September 2017 08:12 AM, Will Deacon wrote: On Tue, Sep 12, 2017 at 10:54:28AM +0100, James Morse wrote: Hi Pratyush, On 01/09/17 06:48, Pratyush Anand wrote: do_task_stat() calls get_wchan(), which further does unbind_frame(). unbind_frame() restores frame->pc to original va

Seemingly random performance degradation in 4.13

2017-09-12 Thread vcaputo
Hello, I've been working on some graphics hacks which has me paying close attention to frame rates. Something I've noticed recently in the 4.13 cycle is a seemingly random loss of ~40% frame rate. These are purely software-rendered hacks, and I haven't spent much time trying to figure out what i

[PATCH] staging: wlan-ng: Replace pr_debug with netdev_dbg

2017-09-12 Thread Haneen Mohammed
This patch replace pr_debug with netdev_dbg when appropriate net_device structure is found. Issue found using the following Coccinelle script: @r exists@ identifier f, s, i; position p; @@ f(...,struct s *i,...) { <+... when != i == NULL ( pr_err@p(...); | pr_info@p(...); | pr_debug@p(...); ) ...

Re: [PATCH v4 00/10] PCID and improved laziness

2017-09-12 Thread Sai Praneeth Prakhya
> > > Hi Andy, > > I have booted Linus's tree (8fac2f96ab86b0e14ec4e42851e21e9b518bdc55) on > Skylake server and noticed that it reboots automatically. > > When I booted the same kernel with command line arg "nopcid" it works > fine. Please find below a snippet of dmesg. Please let me know if y

Re: [PATCH 4.13 20/27] Revert "firmware: add sanity check on shutdown/suspend"

2017-09-12 Thread Linus Torvalds
On Tue, Sep 12, 2017 at 5:47 PM, Greg Kroah-Hartman wrote: > >> If reverting this commit please consider reverting also commit >> 06a45a93e7d34a ("firmware: move umh try locks into the umh code"). > > Ok, I can queue that revert up in my tree and will send it to Linus once > 4.14-rc1 is out. I wa

Re: [PATCH 1/1] clk: bulk: add of_clk_bulk_get()

2017-09-12 Thread kbuild test robot
Hi Dong, [auto build test ERROR on clk/clk-next] [also build test ERROR on v4.13 next-20170912] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Dong-Aisheng/clk-bulk-add-of_clk_bulk_get/20170913

Re: 4.13 on thinkpad x220: oops when writing to SD card

2017-09-12 Thread Shawn Lin
one cpuset=/ mems_allowed=0 [ 540.508727] CPU: 2 PID: 3039 Comm: iozone Not tainted 4.13.0-next-20170912-3-g01cc0dd5-dirty #110 [ 540.509537] Hardware name: Firefly-RK3399 Board (DT) [ 540.509977] Call trace: [ 540.510221] [] dump_backtrace+0x0/0x480 [ 540.510707] [] show_stack+0x14/0x20

linux-next: Tree for Sep 13

2017-09-12 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 20170912: Non-merge commits (relative to Linus' tree): 941 1226 files changed, 52047 insertions(+), 11752 dele

Re: [PATCH] scsi: shost->async_scan should be protected by mutex_lock

2017-09-12 Thread Ouyangzhaowei (Charles)
shost->async_scan should be protected by mutex_lock, otherwise the check of "called twice" won't work. Signed-off-by: Ouyang Zhaowei --- drivers/scsi/scsi_scan.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index fd

Re: [PATCH] w90p910_ether: include linux/interrupt.h

2017-09-12 Thread David Miller
From: Arnd Bergmann Date: Tue, 12 Sep 2017 14:31:48 +0200 > A randconfig build caused a compile failure: > > drivers/net/ethernet/nuvoton/w90p910_ether.c: In function > 'w90p910_ether_close': > drivers/net/ethernet/nuvoton/w90p910_ether.c:580:2: error: implicit > declaration of function 'free_

Re: [PATCH] blk-mq: put the driver tag of nxt rq before first one is requeued

2017-09-12 Thread jianchao.wang
On 09/13/2017 11:54 AM, Jens Axboe wrote: > On 09/12/2017 09:39 PM, jianchao.wang wrote: >>> Exactly, and especially the readability is the key element here. It's >>> just not worth it to try and be too clever, especially not for >>> something like this. When you read the above, you immediately k

Re: [PATCH] ipv4: Namespaceify tcp_fastopen knob

2017-09-12 Thread David Miller
From: Haishuang Yan Date: Tue, 12 Sep 2017 18:30:57 +0800 > Different namespace application might require enable TCP Fast Open > feature independently of the host. > > Reported-by: Luca BRUNO > Signed-off-by: Haishuang Yan ... > diff --git a/samples/bpf/test_ipip.sh b/samples/bpf/test_ipip.sh

Re: [PATCH] blk-mq: put the driver tag of nxt rq before first one is requeued

2017-09-12 Thread Jens Axboe
On 09/12/2017 09:39 PM, jianchao.wang wrote: >> Exactly, and especially the readability is the key element here. It's >> just not worth it to try and be too clever, especially not for >> something like this. When you read the above, you immediately know >> what the code does without needing a comme

Re: [PATCH] blk-mq: put the driver tag of nxt rq before first one is requeued

2017-09-12 Thread Ming Lei
On Tue, Sep 12, 2017 at 08:45:19PM -0600, Jens Axboe wrote: > On 09/12/2017 08:42 PM, jianchao.wang wrote: > > > > > > On 09/13/2017 10:23 AM, Jens Axboe wrote: > >> On 09/12/2017 07:39 PM, jianchao.wang wrote: > >>> > >>> > >>> On 09/13/2017 09:24 AM, Ming Lei wrote: > On Wed, Sep 13, 2017

Re: [PATCH 4.9 00/14] 4.9.50-stable review

2017-09-12 Thread Greg Kroah-Hartman
On Tue, Sep 12, 2017 at 09:27:45PM -0500, Tom Gall wrote: > > > On Sep 12, 2017, at 11:58 AM, Greg Kroah-Hartman > > wrote: > > > > This is the start of the stable review cycle for the 4.9.50 release. > > There are 14 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH v8 01/13] x86/apic: Construct a selector for the interrupt delivery mode

2017-09-12 Thread Dou Liyang
Hi Baoquan, At 09/13/2017 10:30 AM, Baoquan He wrote: Hi dou, On 09/12/17 at 09:20am, Dou Liyang wrote: I thought again and again, I would not change this check logic. Because actually, we have three possibilities: 1. ACPI on chip 2. 82489DX 3. no APIC lapic_is_integrated() is used to

Re: [PATCH v4 2/2] ip6_tunnel: fix ip6 tunnel lookup in collect_md mode

2017-09-12 Thread David Miller
From: Haishuang Yan Date: Tue, 12 Sep 2017 17:47:57 +0800 > In collect_md mode, if the tun dev is down, it still can call > __ip6_tnl_rcv to receive on packets, and the rx statistics increase > improperly. > > When the md tunnel is down, it's not neccessary to increase RX drops > for the tunnel

Re: [PATCH v4 1/2] ip_tunnel: fix ip tunnel lookup in collect_md mode

2017-09-12 Thread David Miller
From: Haishuang Yan Date: Tue, 12 Sep 2017 17:47:56 +0800 > In collect_md mode, if the tun dev is down, it still can call > ip_tunnel_rcv to receive on packets, and the rx statistics increase > improperly. > > When the md tunnel is down, it's not neccessary to increase RX drops > for the tunnel

Re: [PATCH] blk-mq: put the driver tag of nxt rq before first one is requeued

2017-09-12 Thread jianchao.wang
On 09/13/2017 10:45 AM, Jens Axboe wrote: @@ -1029,14 +1029,20 @@ bool blk_mq_dispatch_rq_list(struct request_queue *q, struct list_head *list) if (list_empty(list)) bd.last = true; else {

Re: [PATCH v2] openvswitch: Fix an error handling path in 'ovs_nla_init_match_and_action()'

2017-09-12 Thread David Miller
From: Christophe JAILLET Date: Mon, 11 Sep 2017 21:56:20 +0200 > All other error handling paths in this function go through the 'error' > label. This one should do the same. > > Fixes: 9cc9a5cb176c ("datapath: Avoid using stack larger than 1024.") > Signed-off-by: Christophe JAILLET Applied.

Re: [PATCH] usb: storage: make const arrays static, reduces object code size

2017-09-12 Thread Alan Stern
On Tue, 12 Sep 2017, Colin King wrote: > From: Colin Ian King > > Don't populate const arrays on the stack, instead make them > static. Makes the object code smaller by over 1070 bytes: > > Before: >text data bss dec hex filename >3505 880 04385

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

2017-09-12 Thread kbuild test robot
Hi Huacai, [auto build test ERROR on linus/master] [also build test ERROR on v4.13 next-20170912] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Huacai-Chen/dma-mapping-Provide-a-default

Re: [RFC PATCH 6/6] iommu/arm-smmu-v3: Avoid ILLEGAL setting of STE.S1STALLD and CD.S

2017-09-12 Thread Will Deacon
On Tue, Sep 05, 2017 at 01:54:19PM +0100, Jean-Philippe Brucker wrote: > On 31/08/17 09:20, Yisheng Xie wrote: > > It is ILLEGAL to set STE.S1STALLD if STALL_MODEL is not 0b00, which > > means we should not disable stall mode if stall/terminate mode is not > > configuable. > > > > Meanwhile, it is

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

2017-09-12 Thread Mimi Zohar
This patch constifies the path argument to kernel_read_file_from_path. (Extracted from Helwig's patch.) 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 --

Re: Patch 0727d35de ("Make initramfs honor CONFIG_DEVTMPFS_MOUNT") breaks boot

2017-09-12 Thread Rob Landley
On 09/11/2017 06:45 AM, Petr Mladek wrote: >> Except for the second printk line: If you boot with rdinit=/bin/hush >> then the first time you mount -t devtmpfs /dev /dev after boot (with >> CONFIG_DEVTMPFS_MOUNT already having mounted it), you get the 0 return >> value but the last printk() doesn't

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

2017-09-12 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

Re: [PATCH v2 1/2] mtd: nand: introduce NAND_ROW_ADDR_3 flag

2017-09-12 Thread Yang, Wenyou
On 2017/9/13 10:05, Masahiro Yamada wrote: Several drivers check ->chipsize to see if the third row address cycle is needed. Instead of embedding magic sizes such as 32MB, 128MB in drivers, introduce a new flag NAND_ROW_ADDR_3 for clean-up. Since nand_scan_ident() knows well about the device,

Re: [PATCH] blk-mq: put the driver tag of nxt rq before first one is requeued

2017-09-12 Thread Jens Axboe
On 09/12/2017 08:42 PM, jianchao.wang wrote: > > > On 09/13/2017 10:23 AM, Jens Axboe wrote: >> On 09/12/2017 07:39 PM, jianchao.wang wrote: >>> >>> >>> On 09/13/2017 09:24 AM, Ming Lei wrote: On Wed, Sep 13, 2017 at 09:01:25AM +0800, jianchao.wang wrote: > Hi ming > > On 09/12/2

Re: [PATCH] blk-mq: put the driver tag of nxt rq before first one is requeued

2017-09-12 Thread jianchao.wang
On 09/13/2017 10:23 AM, Jens Axboe wrote: > On 09/12/2017 07:39 PM, jianchao.wang wrote: >> >> >> On 09/13/2017 09:24 AM, Ming Lei wrote: >>> On Wed, Sep 13, 2017 at 09:01:25AM +0800, jianchao.wang wrote: Hi ming On 09/12/2017 06:23 PM, Ming Lei wrote: >> @@ -1029,14 +1029,20 @

Re: [PATCH v2] arm64: fix unwind_frame() for filtered out fn for function graph tracing

2017-09-12 Thread Will Deacon
On Tue, Sep 12, 2017 at 10:54:28AM +0100, James Morse wrote: > Hi Pratyush, > > On 01/09/17 06:48, Pratyush Anand wrote: > > do_task_stat() calls get_wchan(), which further does unbind_frame(). > > unbind_frame() restores frame->pc to original value in case function > > graph tracer has modified a

Re: [PATCH v3 4/6] [media] exynos-gsc: Add hardware rotation limits

2017-09-12 Thread Hoegeun Kwon
Hi Sylwester, On 09/11/2017 06:35 PM, Sylwester Nawrocki wrote: On 09/08/2017 08:02 AM, Hoegeun Kwon wrote: The hardware rotation limits of gsc depends on SOC (Exynos 5250/5420/5433). Distinguish them and add them to the driver data. Signed-off-by: Hoegeun Kwon --- drivers/media/platform/ex

Re: [PATCH v2 2/3] ARM: dts: exynos: Add clean name of compatible.

2017-09-12 Thread Hoegeun Kwon
On 09/10/2017 04:57 AM, kbuild test robot wrote: Hi Hoegeun, [auto build test ERROR on robh/for-next] [also build test ERROR on v4.13 next-20170908] [cannot apply to drm-exynos/exynos-drm/for-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system

Re: [PATCH v8 01/13] x86/apic: Construct a selector for the interrupt delivery mode

2017-09-12 Thread Baoquan He
Hi dou, On 09/12/17 at 09:20am, Dou Liyang wrote: > I thought again and again, I would not change this check logic. > > Because actually, we have three possibilities: > > 1. ACPI on chip > 2. 82489DX > 3. no APIC > > lapic_is_integrated() is used to check the APIC's type which is > APIC o

RE: [PATCH v1 1/3] dt-bindings: nvmem: add description for UniPhier eFuse

2017-09-12 Thread Keiji Hayashibara
Hello Rob, Thank you for your comment. > From: Rob Herring [mailto:r...@kernel.org] > Sent: Wednesday, September 13, 2017 1:16 AM > > On Tue, Sep 05, 2017 at 04:04:31PM +0900, Keiji Hayashibara wrote: > > Hello Yamada-san, > > > > Thank you for your comment. > > > > > From: Masahiro Yamada [mail

Re: [PATCH 4.9 00/14] 4.9.50-stable review

2017-09-12 Thread Tom Gall
> On Sep 12, 2017, at 11:58 AM, Greg Kroah-Hartman > wrote: > > This is the start of the stable review cycle for the 4.9.50 release. > There are 14 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. >

Quick Loans

2017-09-12 Thread Loans Services Pvt Ltd
Do you need a loan to pay up bill or to start a business? Email Us

Re: [PATCH] blk-mq: put the driver tag of nxt rq before first one is requeued

2017-09-12 Thread Jens Axboe
On 09/12/2017 07:39 PM, jianchao.wang wrote: > > > On 09/13/2017 09:24 AM, Ming Lei wrote: >> On Wed, Sep 13, 2017 at 09:01:25AM +0800, jianchao.wang wrote: >>> Hi ming >>> >>> On 09/12/2017 06:23 PM, Ming Lei wrote: > @@ -1029,14 +1029,20 @@ bool blk_mq_dispatch_rq_list(struct request_queue

Re: [PATCH v2 00/10] spi-nor: intel-spi: Various fixes and enhancements

2017-09-12 Thread Bin Meng
Hi Joakim, On Tue, Sep 12, 2017 at 1:44 AM, Joakim Tjernlund wrote: > On Mon, 2017-09-11 at 02:41 -0700, Bin Meng wrote: >> This series does several bug fixes and clean ups against the intel-spi >> spi-nor driver, as well as enhancements to make the driver independent >> on the underlying BIOS/bo

Re: [PATCHv3 11/11] mm: Use updated pmdp_invalidate() interface to track dirty/accessed bits

2017-09-12 Thread Aneesh Kumar K.V
How about this additional patch ?. This results in code reduction. >From fed62d0541ae78206a1a25caeb46a3ffa7ade9c8 Mon Sep 17 00:00:00 2001 From: "Aneesh Kumar K.V" Date: Thu, 27 Jul 2017 12:21:33 +0530 Subject: [PATCH] mm/thp: Remove pmd_huge_split_prepare Instead of marking the pmd ready for s

[PATCH v2 1/2] mtd: nand: introduce NAND_ROW_ADDR_3 flag

2017-09-12 Thread Masahiro Yamada
Several drivers check ->chipsize to see if the third row address cycle is needed. Instead of embedding magic sizes such as 32MB, 128MB in drivers, introduce a new flag NAND_ROW_ADDR_3 for clean-up. Since nand_scan_ident() knows well about the device, it can handle this properly. The flag is set

[PATCH v2 2/2] mtd: nand: denali: support two row address cycle devices

2017-09-12 Thread Masahiro Yamada
The register TWO_ROW_ADDR_CYCLES specifies the number of row address cycles of the device, but it is fixed to 0 in the driver init code (i.e. always 3 row address cycles). Reflect the result of nand_scan_ident() to the register setting in order to support 2 row address cycle devices. Signed-off-b

[PATCH v2 0/2] mtd: nand: introduce NAND_ROW_ADDR_3 flag and improve Denali driver

2017-09-12 Thread Masahiro Yamada
Currently, Denali NAND driver always expects 3 row address cycle devices because the driver init code hard-code the register setting. I will fix it in 2/2. Many drivers check chip->chipsize if the third row address cycle is needed or not. This is not nice because 32MB, 128MB are magic numbers. n

Re: Does perf-annotate work correctly?

2017-09-12 Thread Du, Changbin
On Tue, Sep 12, 2017 at 11:33:50AM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Sep 12, 2017 at 06:10:35PM +0800, Du, Changbin escreveu: > > When a annotate a symbol, I find the annotated C source code doesn't match > > assembly code. > > So I cannot determine which line of C code has much ove

Re: [PATCH] blk-mq: put the driver tag of nxt rq before first one is requeued

2017-09-12 Thread Ming Lei
On Wed, Sep 13, 2017 at 09:39:44AM +0800, jianchao.wang wrote: > > > On 09/13/2017 09:24 AM, Ming Lei wrote: > > On Wed, Sep 13, 2017 at 09:01:25AM +0800, jianchao.wang wrote: > >> Hi ming > >> > >> On 09/12/2017 06:23 PM, Ming Lei wrote: > @@ -1029,14 +1029,20 @@ bool blk_mq_dispatch_rq_lis

Re: [PATCH 4.13 20/27] Revert "firmware: add sanity check on shutdown/suspend"

2017-09-12 Thread Greg Kroah-Hartman
On Wed, Sep 13, 2017 at 03:22:52AM +0200, Luis R. Rodriguez wrote: > On Tue, Sep 12, 2017 at 05:47:58PM -0700, Greg Kroah-Hartman wrote: > > On Tue, Sep 12, 2017 at 07:20:08PM +0200, Luis R. Rodriguez wrote: > > > On Tue, Sep 12, 2017 at 10:00:00AM -0700, Greg Kroah-Hartman wrote: > > > > 4.13-stab

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

2017-09-12 Thread Minchan Kim
On Mon, Aug 07, 2017 at 01:40:36PM +0800, Huang, Ying wrote: > From: Huang Ying > > The swap readahead is an important mechanism to reduce the swap in > latency. Although pure sequential memory access pattern isn't very > popular for anonymous memory, the space locality is still considered > val

Re: [PATCH] blk-mq: put the driver tag of nxt rq before first one is requeued

2017-09-12 Thread jianchao.wang
On 09/13/2017 09:24 AM, Ming Lei wrote: > On Wed, Sep 13, 2017 at 09:01:25AM +0800, jianchao.wang wrote: >> Hi ming >> >> On 09/12/2017 06:23 PM, Ming Lei wrote: @@ -1029,14 +1029,20 @@ bool blk_mq_dispatch_rq_list(struct request_queue *q, struct list_head *list) if (li

Re: [PATCH 4.13 20/27] Revert "firmware: add sanity check on shutdown/suspend"

2017-09-12 Thread Luis R. Rodriguez
On Tue, Sep 12, 2017 at 05:47:58PM -0700, Greg Kroah-Hartman wrote: > On Tue, Sep 12, 2017 at 07:20:08PM +0200, Luis R. Rodriguez wrote: > > On Tue, Sep 12, 2017 at 10:00:00AM -0700, Greg Kroah-Hartman wrote: > > > 4.13-stable review patch. If anyone has any objections, please let me > > > know.

Re: [PATCH] blk-mq: put the driver tag of nxt rq before first one is requeued

2017-09-12 Thread Ming Lei
On Wed, Sep 13, 2017 at 09:01:25AM +0800, jianchao.wang wrote: > Hi ming > > On 09/12/2017 06:23 PM, Ming Lei wrote: > >> @@ -1029,14 +1029,20 @@ bool blk_mq_dispatch_rq_list(struct request_queue > >> *q, struct list_head *list) > >>if (list_empty(list)) > >>bd.las

Re: [PATCH 1/2] mtd: nand: introduce NAND_ROW_ADDR_3 flag

2017-09-12 Thread kbuild test robot
Hi Masahiro, [auto build test ERROR on l2-mtd-boris/nand/next] [also build test ERROR on v4.13 next-20170912] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Masahiro-Yamada/mtd-nand-introduce

Re: [RFC PATCH 0/6] Add platform device SVM support for ARM SMMUv3

2017-09-12 Thread Bob Liu
On 2017/9/6 17:57, Jean-Philippe Brucker wrote: > On 06/09/17 02:02, Bob Liu wrote: >> On 2017/9/5 20:56, Jean-Philippe Brucker wrote: >>> On 31/08/17 09:20, Yisheng Xie wrote: Jean-Philippe has post a patchset for Adding PCIe SVM support to ARM SMMUv3: https://www.spinics.net/lists

Re: [PATCH 4.4 00/31] 4.4.88-stable review

2017-09-12 Thread Greg Kroah-Hartman
On Tue, Sep 12, 2017 at 03:57:50PM -0700, kernelci.org bot wrote: > stable-rc/linux-4.4.y boot: 450 boots: 1 failed, 446 passed with 3 offline > (v4.4.87-32-gb8c205d85576) > > Full Boot Summary: > https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.4.y/kernel/v4.4.87-32-gb8c205d85576/ > F

Re: [PATCH 4.13 00/27] 4.13.2-stable review

2017-09-12 Thread Greg Kroah-Hartman
On Tue, Sep 12, 2017 at 03:57:50PM -0700, kernelci.org bot wrote: > stable-rc/linux-4.13.y boot: 210 boots: 7 failed, 200 passed with 3 conflicts > (v4.13.1-28-g0a9a7505477b) 7 failures here, and 8 for 4.12, are these to be expected? thanks, greg k-h

Re: [PATCH] blk-mq: put the driver tag of nxt rq before first one is requeued

2017-09-12 Thread jianchao.wang
Hi ming On 09/12/2017 06:23 PM, Ming Lei wrote: >> @@ -1029,14 +1029,20 @@ bool blk_mq_dispatch_rq_list(struct request_queue >> *q, struct list_head *list) >> if (list_empty(list)) >> bd.last = true; >> else { >> -struct request *

Re: [PATCH v2 3/4] tpm: reduce tpm_msleep() time in get_burstcount()

2017-09-12 Thread Jarkko Sakkinen
On Wed, Sep 06, 2017 at 08:56:38AM -0400, Nayna Jain wrote: > Currently, get_burstcount() function sleeps for 5msec in a loop > before retrying for next query to burstcount. However, if it takes > lesser time for TPM to return, this 5 msec delay is longer > than necessary. > > This patch replaces

Re: [PATCH 00/11] Kselftest make O=dir work

2017-09-12 Thread Greg KH
On Tue, Sep 12, 2017 at 05:52:53PM -0600, Shuah Khan wrote: > During [MAINTAINERS SUMMIT] & [TECH TOPIC] Improve regression tracking > discussion, it was brought to my attention that kselftest lacks support > for make O=dir use-case which is used by several developers to relocate > objects and keep

Re: [PATCH v2 2/4] tpm: define __wait_for_tpm_stat to specify variable polling sleep time

2017-09-12 Thread Jarkko Sakkinen
On Wed, Sep 06, 2017 at 08:56:37AM -0400, Nayna Jain wrote: > The existing wait_for_tpm_stat() checks the chip status before > sleeping for 5 msec in a polling loop. For some functions although > the status isn't ready immediately, the status returns extremely > quickly. Waiting for 5 msec causes

Re: [PATCH 4.13 00/27] 4.13.2-stable review

2017-09-12 Thread Greg Kroah-Hartman
On Tue, Sep 12, 2017 at 06:13:32PM -0600, Shuah Khan wrote: > On 09/12/2017 10:59 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.13.2 release. > > There are 27 patches in this series, all will be posted as a response > > to this one. If anyone has any issu

Re: [PATCH 4/5] mm:swap: respect page_cluster for readahead

2017-09-12 Thread Huang, Ying
Minchan Kim writes: > On Tue, Sep 12, 2017 at 04:32:43PM +0800, Huang, Ying wrote: >> Minchan Kim writes: >> >> > On Tue, Sep 12, 2017 at 04:07:01PM +0800, Huang, Ying wrote: >> > < snip > >> >> >> > My concern is users have been disabled swap readahead by >> >> >> > page-cluster would >> >> >

[GIT PULL] clk changes for v4.14

2017-09-12 Thread Stephen Boyd
The following changes since commit a376a4b0453ffac35ba6215dd1d1e53e37c5e810: clk: rockchip: fix up indentation of some RV1108 clock-ids (2017-08-06 19:45:19 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-for-linus for you to f

Re: [PATCH] datapath: Fix an error handling path in 'ovs_nla_init_match_and_action()'

2017-09-12 Thread Tonghao Zhang
On Tue, Sep 12, 2017 at 3:20 AM, Christophe JAILLET wrote: > All other error handling paths in this function go through the 'error' > label. This one should do the same. > > Fixes: 9cc9a5cb176c ("datapath: Avoid using stack larger than 1024.") > Signed-off-by: Christophe JAILLET > --- > I think t

Re: [PATCH 4.13 20/27] Revert "firmware: add sanity check on shutdown/suspend"

2017-09-12 Thread Greg Kroah-Hartman
On Tue, Sep 12, 2017 at 07:20:08PM +0200, Luis R. Rodriguez wrote: > On Tue, Sep 12, 2017 at 10:00:00AM -0700, Greg Kroah-Hartman wrote: > > 4.13-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Linus Torvalds > > > > commit f007ca

Re: [PATCH v2 4/4] tpm: use tpm_msleep() value as max delay

2017-09-12 Thread Jarkko Sakkinen
On Wed, Sep 06, 2017 at 08:56:39AM -0400, Nayna Jain wrote: > Currently, tpm_msleep() uses delay_msec as the minimum value in > usleep_range. However, that is the maximum time we want to wait. > The function is modified to use the delay_msec as the maximum > value, not the minimum value. > > After

Re: [PATCH v2 1/4] tpm: ignore burstcount to improve tpm_tis send() performance.

2017-09-12 Thread Jarkko Sakkinen
On Wed, Sep 06, 2017 at 08:56:36AM -0400, Nayna Jain wrote: > The TPM burstcount status indicates the number of bytes that can > be sent to the TPM without causing bus wait states. Effectively, > it is the number of empty bytes in the command FIFO. Further, > some TPMs have a static burstcount, wh

Re: [PATCH 3/9] kexec_file: factor out crashdump elf header function from x86

2017-09-12 Thread AKASHI Takahiro
On Tue, Sep 12, 2017 at 01:55:21PM +0800, Dave Young wrote: > Hi, > On 09/08/17 at 12:16pm, AKASHI Takahiro wrote: > [snip] > > --- a/include/linux/kexec.h > > +++ b/include/linux/kexec.h > > @@ -162,6 +162,25 @@ int __weak arch_kexec_walk_mem(struct kexec_buf *kbuf, > >

Re: [PATCH 1/1] clk: bulk: add of_clk_bulk_get()

2017-09-12 Thread kbuild test robot
Hi Dong, [auto build test WARNING on clk/clk-next] [also build test WARNING on v4.13 next-20170912] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Dong-Aisheng/clk-bulk-add-of_clk_bulk_get

[GIT PULL] f2fs: update for 4.14-rc1

2017-09-12 Thread Jaegeuk Kim
Hi Linus, Could you please consider this pull request? Thanks all the time, The following changes since commit fd2b2c57ec2020ae1b5e24717a876c71e31e5ab8: Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi (2017-07-25 20:10:10 -0700) are available in the git re

Re: [PATCH 5/5] mm:swap: skip swapcache for swapin of synchronous device

2017-09-12 Thread Minchan Kim
On Wed, Sep 13, 2017 at 04:22:59AM +0800, kbuild test robot wrote: > Hi Minchan, > > [auto build test ERROR on mmotm/master] > [also build test ERROR on next-20170912] > [cannot apply to linus/master v4.13] > [if your patch is applied to the wrong git tree, please drop us

Re: [PATCH] mm, hugetlb, soft_offline: save compound page order before page migration

2017-09-12 Thread Naoya Horiguchi
Hi Alexandru, On Tue, Sep 12, 2017 at 10:43:06PM +0200, Alexandru Moise wrote: > This fixes a bug in madvise() where if you'd try to soft offline a > hugepage via madvise(), while walking the address range you'd end up, > using the wrong page offset due to attempting to get the compound > order of

Re: [PATCH 4.13 00/27] 4.13.2-stable review

2017-09-12 Thread Shuah Khan
On 09/12/2017 10:59 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.13.2 release. > There are 27 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. > > Responses sh

Re: [PATCH 4.12 00/22] 4.12.13-stable review

2017-09-12 Thread Shuah Khan
On 09/12/2017 10:59 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.12.13 release. > There are 22 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. > > Responses s

Re: [PATCH 4.9 00/14] 4.9.50-stable review

2017-09-12 Thread Shuah Khan
On 09/12/2017 10:58 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.50 release. > There are 14 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. > > Responses sh

Re: [PATCH 4.4 00/31] 4.4.88-stable review

2017-09-12 Thread Shuah Khan
On 09/12/2017 10:55 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.88 release. > There are 31 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. > > Responses sh

Re: [PATCH 3.18 00/19] 3.18.71-stable review

2017-09-12 Thread Shuah Khan
On 09/12/2017 10:54 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.71 release. > There are 19 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. > > Responses s

[PATCH 03/11] selftests: Makefile: clear LDFLAGS for make O=dir use-case

2017-09-12 Thread Shuah Khan
kselftest target fails when object directory is specified to relocate objects. Inherited "LDFLAGS = -m" fails the test builds. Clear it. Signed-off-by: Shuah Khan --- tools/testing/selftests/Makefile | 4 1 file changed, 4 insertions(+) diff --git a/tools/testing/selftests/Makefile b/tools

[PATCH 02/11] selftests: lib.mk: kselftest and kselftest-clean fail for make O=dir case

2017-09-12 Thread Shuah Khan
kselftest and kselftest-clean targets fail when object directory is specified to relocate objects. Main Makefile make O= path clears the built-in defines LINK.c, COMPILE.S, LINK.S, and RM that are used in lib.mk to build and clean targets. Define them. Signed-off-by: Shuah Khan --- tools/testing

[PATCH 04/11] selftests: lib.mk: fix test executable status check to use full path

2017-09-12 Thread Shuah Khan
Fix test executable status check to use full path for make O=dir case,m when tests are relocated to user specified object directory. Without the full path, this check fails to find the file and fails the test. Signed-off-by: Shuah Khan --- tools/testing/selftests/lib.mk | 2 +- 1 file changed, 1

  1   2   3   4   5   6   7   8   >