[PATCH v3] arm64: dts: ls1088a: add one more thermal zone node

2019-03-03 Thread Yuantian Tang
Ls1088a has 2 thermal sensors, core cluster and SoC platform. Core cluster sensor is used to monitor the temperature of core and SoC platform is for platform. The current dts only support the first sensor. This patch adds the second sensor node to dts to enable it. Signed-off-by: Yuantian Tang

Re: [PATCH] aio: prevent the final fput() in the middle of vfs_poll() (Re: KASAN: use-after-free Read in unix_dgram_poll)

2019-03-03 Thread Dmitry Vyukov
On Sun, Mar 3, 2019 at 4:19 PM Al Viro wrote: > > On Sun, Mar 03, 2019 at 01:55:02PM +, Al Viro wrote: > > > Maybe unrelated to this bug, but... What's to prevent a wakeup > > that happens just after we'd been added to a waitqueue by ->poll() > > triggering aio_poll_wake(), which gets to

Re: [PATCH] net: xfrm: Add '_rcu' tag for rcu protected pointer in netns_xfrm

2019-03-03 Thread kbuild test robot
Hi Su, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] [also build test WARNING on v5.0 next-20190301] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: BUG: unable to handle kernel paging request in bpf_prog_kallsyms_add

2019-03-03 Thread Dmitry Vyukov
On Mon, Sep 10, 2018 at 10:31 AM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:f6f3bac08ff9 tools/bpf: bpftool: add net support > git tree: bpf-next > console output: https://syzkaller.appspot.com/x/log.txt?x=1794005640 > kernel config:

Re: [PATCH] percpu/module resevation: change resevation size iff X86_VSMP is set

2019-03-03 Thread Eial Czerwacki
Greetings Barret, On 3/1/19 8:30 PM, Barret Rhoden wrote: > Hi - > > On 01/21/2019 06:47 AM, Eial Czerwacki wrote: >> > > Your main issue was that you only sent this patch to LKML, but not the > maintainers of the file.  If you don't, your patch might get lost.  To > get the appropriate people

Re: KASAN: use-after-free Read in get_mem_cgroup_from_mm

2019-03-03 Thread Dmitry Vyukov
On Sun, Mar 3, 2019 at 5:19 PM zhong jiang wrote: > > Hi, guys > > I also hit the following issue. but it fails to reproduce the issue by the > log. > > it seems to the case that we access the mm->owner and deference it will > result in the UAF. > But it should not be possible that we specify

Re: [RFC PATCH 2/2] ceph: quota: fix quota subdir mounts

2019-03-03 Thread Yan, Zheng
On Sat, Mar 2, 2019 at 3:13 AM Luis Henriques wrote: > > The CephFS kernel client doesn't enforce quotas that are set in a > directory that isn't visible in the mount point. For example, given the > path '/dir1/dir2', if quotas are set in 'dir1' and the mount is done in with > > mount -t ceph

Re: [RFC PATCH v1 08/25] printk: add ring buffer and kthread

2019-03-03 Thread Sergey Senozhatsky
On (02/12/19 15:29), John Ogness wrote: [..] > + /* the printk kthread never exits */ > + for (;;) { > + ret = prb_iter_wait_next(, buf, > + PRINTK_RECORD_MAX, _seq); > + if (ret == -ERESTARTSYS) { > +

Re: [PATCH v4] Drivers: hv: vmbus: Expose monitor data only when monitor pages are used

2019-03-03 Thread Greg KH
On Sun, Mar 03, 2019 at 04:11:28PM -0500, Kimberly Brown wrote: > On Sun, Mar 03, 2019 at 09:05:43AM +0100, Greg KH wrote: > > On Fri, Mar 01, 2019 at 02:18:24PM -0500, Kimberly Brown wrote: > > > +/* > > > + * Channel-level attribute_group callback function. Returns the > > > permission for > >

Re: [PATCH v4 4/9] staging:iio:ad7780: add chip ID values and mask

2019-03-03 Thread Ardelean, Alexandru
On Sun, 2019-03-03 at 14:53 +, Jonathan Cameron wrote: > [External] > > > On Sun, 3 Mar 2019 11:01:09 -0300 > Renato Lui Geh wrote: > > > On 03/01, Ardelean, Alexandru wrote: > > > On Thu, 2019-02-28 at 11:24 -0300, Renato Lui Geh wrote: > > > > > > > > > > > > The ad7780 supports both

Re: [PATCH v3 10/12] hikey960: Support usb functionality of Hikey960

2019-03-03 Thread Chen Yu
Hi, On 2019/3/4 14:55, Andy Shevchenko wrote: > On Mon, Mar 4, 2019 at 4:35 AM Chen Yu wrote: >> On 2019/3/3 0:01, Andy Shevchenko wrote: >>> On Sat, Mar 2, 2019 at 11:05 AM Yu Chen wrote: > +config HISI_HIKEY_USB + tristate "USB functionality of HiSilicon Hikey Platform"

[PATCH v2] io: accel: kxcjk1013: restore the range after resume.

2019-03-03 Thread Chen, Hu
From: "he, bo" On some laptops, kxcjk1013 is powered off when system enters S3. We need restore the range regiter during resume. Otherwise, the sensor doesn't work properly after S3. Signed-off-by: he, bo Signed-off-by: Chen, Hu --- Changes in v2: - Handle return value independently in resume

Re: [PATCH v4 5/9] staging: iio: ad7780: move regulator to after GPIO init

2019-03-03 Thread Ardelean, Alexandru
On Sat, 2019-03-02 at 19:11 +, Jonathan Cameron wrote: > [External] > > > On Fri, 1 Mar 2019 07:38:45 + > "Ardelean, Alexandru" wrote: > > > On Thu, 2019-02-28 at 11:25 -0300, Renato Lui Geh wrote: > > > > > > > > > To maintain consistency between ad7780_probe and ad7780_remove > > >

Re: MT76x2U crashes XHCI driver on AMD Ryzen system

2019-03-03 Thread Rosen Penev
On Sun, Mar 3, 2019 at 11:10 PM Stanislaw Gruszka wrote: > > On Thu, Feb 28, 2019 at 02:40:29PM +0100, Joerg Roedel wrote: > > On Thu, Feb 28, 2019 at 01:19:48PM +0100, Stanislaw Gruszka wrote: > > > Nevermind, the patch is wrong, s->dma_address is initalized in > > > sg_num_pages(). > > > >

RE: [PATCH] usb: uas: fix usb subsystem hang after power off hub port

2019-03-03 Thread Jacky.Cao
Dear Greg-san: I confirmed our company email related counter person that below footer is added automatically after we send email to who doesn't work in our company. I am very sorry that I didn't notice this issue and make you confuse. Now I am confirming with our counter person whether there is

Re: [PATCH v4 3/9] staging: iio: ad7780: set pattern values and masks directly

2019-03-03 Thread Ardelean, Alexandru
On Sat, 2019-03-02 at 19:08 +, Jonathan Cameron wrote: > [External] > > > On Sat, 2 Mar 2019 19:07:16 + > Jonathan Cameron wrote: > > > On Fri, 1 Mar 2019 07:17:04 + > > "Ardelean, Alexandru" wrote: > > > > > On Thu, 2019-02-28 at 11:24 -0300, Renato Lui Geh wrote: > > > > > > >

Re: [PATCH v2] drm/bridge: sil_sii8620: make remote control optional.

2019-03-03 Thread Andrzej Hajda
On 04.03.2019 03:13, Life is hard, and then you die wrote: > On Thu, Jan 24, 2019 at 05:33:55PM -0800, Ronald Tschalär wrote: >> commit d6abe6df706c (drm/bridge: sil_sii8620: do not have a dependency >> of RC_CORE) changed the driver to select both RC_CORE and INPUT. >> However, this causes

linux-next: Tree for Mar 4

2019-03-03 Thread Stephen Rothwell
Hi all, Please do not add any code destined for v5.2 to your linux-next included branches until after v5.1-rc1 has been released. News: I will not be doing linux-next releases from next Thursday (Mar 7) to the following Friday (Mar 15). Sorry this happened to fall across most of the merge

Re: MT76x2U crashes XHCI driver on AMD Ryzen system

2019-03-03 Thread Stanislaw Gruszka
On Thu, Feb 28, 2019 at 02:40:29PM +0100, Joerg Roedel wrote: > On Thu, Feb 28, 2019 at 01:19:48PM +0100, Stanislaw Gruszka wrote: > > Nevermind, the patch is wrong, s->dma_address is initalized in > > sg_num_pages(). > > Yes, it is. In sg_num_pages() the offset into the IOMMU mapping is >

[PATCH] sky2: Disable MSI on Dell Inspiron 1545 and Gateway P-79

2019-03-03 Thread Kai-Heng Feng
Some sky2 chips fire IRQ after S3, before the driver is fully resumed: [ 686.804877] do_IRQ: 1.37 No irq handler for vector This is likely a platform bug that device isn't fully quiesced during S3. Use MSI-X, maskable MSI or INTx can prevent this issue from happening. Since MSI-X and maskable

Re: [PATCH v3 10/12] hikey960: Support usb functionality of Hikey960

2019-03-03 Thread Chunfeng Yun
hi, On Mon, 2019-03-04 at 08:50 +0200, Andy Shevchenko wrote: > On Mon, Mar 4, 2019 at 3:47 AM Chunfeng Yun wrote: > > On Sat, 2019-03-02 at 17:05 +0800, Yu Chen wrote: > > > > + hisi_hikey_usb->role_sw = usb_role_switch_get(dev); > > > + if (!hisi_hikey_usb->role_sw) > > > +

Re: [PATCH v6 1/3] PCI: altera: Add Stratix 10 PCIe support

2019-03-03 Thread Ley Foon Tan
On Fri, 2019-03-01 at 14:15 +, Lorenzo Pieralisi wrote: > On Fri, Mar 01, 2019 at 08:50:48AM +0800, Ley Foon Tan wrote: > > > > On Thu, 2019-02-28 at 10:56 +, Lorenzo Pieralisi wrote: > > > > > > On Thu, Feb 28, 2019 at 06:52:50PM +0800, Ley Foon Tan wrote: > > > > > > [...] > > > > >

Re: [PATCH v3 10/12] hikey960: Support usb functionality of Hikey960

2019-03-03 Thread Andy Shevchenko
On Mon, Mar 4, 2019 at 4:35 AM Chen Yu wrote: > On 2019/3/3 0:01, Andy Shevchenko wrote: > > On Sat, Mar 2, 2019 at 11:05 AM Yu Chen wrote: > >> +config HISI_HIKEY_USB > >> + tristate "USB functionality of HiSilicon Hikey Platform" > >> + depends on OF && GPIOLIB > >> + help >

Re: [PATCH v2] arm64: dts: ls1088a: add one more thermal zone node

2019-03-03 Thread Shawn Guo
On Mon, Mar 04, 2019 at 06:46:32AM +, Andy Tang wrote: > > > > -Original Message- > > From: Shawn Guo > > Sent: 2019年3月4日 14:21 > > To: Andy Tang > > Cc: Leo Li ; robh...@kernel.org; mark.rutl...@arm.com; > > linux-arm-ker...@lists.infradead.org; devicet...@vger.kernel.org; > >

Re: [PATCH v3 10/12] hikey960: Support usb functionality of Hikey960

2019-03-03 Thread Andy Shevchenko
On Mon, Mar 4, 2019 at 3:47 AM Chunfeng Yun wrote: > On Sat, 2019-03-02 at 17:05 +0800, Yu Chen wrote: > > + hisi_hikey_usb->role_sw = usb_role_switch_get(dev); > > + if (!hisi_hikey_usb->role_sw) > > + return -EPROBE_DEFER; > Here return EPROBE_DEFFER means the related

RE: [PATCH v2] arm64: dts: ls1088a: add one more thermal zone node

2019-03-03 Thread Andy Tang
> -Original Message- > From: Shawn Guo > Sent: 2019年3月4日 14:21 > To: Andy Tang > Cc: Leo Li ; robh...@kernel.org; mark.rutl...@arm.com; > linux-arm-ker...@lists.infradead.org; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; linux...@vger.kernel.org; >

Re: [PATCH] x86/uaccess: Remove unused __addr_ok() macro

2019-03-03 Thread Christian Kujau
On Mon, 25 Feb 2019, Joe Perches wrote: > Looks like it's not used in several arches > > $ git grep -w __addr_ok > arch/arm/include/asm/uaccess.h:#define __addr_ok(addr) > ((void)(addr), 1) > arch/csky/include/asm/uaccess.h:#define __addr_ok(addr) (access_ok(addr, 0)) >

Re: [PATCH v2] RDMA/umem: minor bug fix and cleanup in error handling paths

2019-03-03 Thread Leon Romanovsky
On Sun, Mar 03, 2019 at 02:37:33PM -0800, John Hubbard wrote: > On 3/3/19 1:52 AM, Artemy Kovalyov wrote: > > > > > > On 02/03/2019 21:44, Ira Weiny wrote: > > > > > > On Sat, Mar 02, 2019 at 12:24:35PM -0800, john.hubb...@gmail.com wrote: > > > > From: John Hubbard > > > > > > > > ... > > > > 3.

Re: [f2fs-dev] [PATCH] f2fs: fix to do sanity check with inode.i_inline_xattr_size

2019-03-03 Thread Chao Yu
Hi Sahitya, On 2019/3/4 11:59, Sahitya Tummala wrote: > On Fri, Mar 01, 2019 at 03:38:05PM +0800, Chao Yu wrote: >> As Paul Bandha reported in bugzilla: >> >> https://bugzilla.kernel.org/show_bug.cgi?id=202709 >> >> When I run the poc on the mounted f2fs img I get a buffer overflow in >>

Re: [RFC PATCH v1 00/25] printk: new implementation

2019-03-03 Thread Sergey Senozhatsky
Hi John, On (02/13/19 14:43), John Ogness wrote: > Hi Sergey, > > I am glad to see that you are getting involved here. Your previous > talks, work, and discussions were a large part of my research when > preparing for this work. YAYY! Thanks! That's a pretty massive research and a patch set!

Re: [PATCH v2] f2fs: fix to check inline_xattr_size boundary correctly

2019-03-03 Thread Chao Yu
Hi Jaegeuk, On 2019/2/15 0:08, Chao Yu wrote: > --- > v2: > - fix lower bound check, inline xattr size should be larger than > xattr_header's size at least. ... > + if (F2FS_OPTION(sbi).inline_xattr_size < > + sizeof(struct f2fs_xattr_header) / sizeof(__le32) No

RE: [PATCH 11/12] percpu: convert chunk hints to be based on pcpu_block_md

2019-03-03 Thread Peng Fan
> -Original Message- > From: Dennis Zhou [mailto:den...@kernel.org] > Sent: 2019年3月4日 4:22 > To: Peng Fan > Cc: Dennis Zhou ; Tejun Heo ; Christoph > Lameter ; Vlad Buslov ; > kernel-t...@fb.com; linux...@kvack.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 11/12] percpu:

Re: [PATCH][next] RDMA/nes: remove redundant check on udata

2019-03-03 Thread Leon Romanovsky
On Sat, Mar 02, 2019 at 11:06:36PM +, Colin King wrote: > From: Colin Ian King > > The non-null check on udata is redundant as this check was performed > just a few statements earlier and the check is always true as udata > must be non-null at this point. Remove redundant the check on udata >

Re: [PATCH] drm/amdgpu/powerplay: Fix missing break in switch statement

2019-03-03 Thread Huang Rui
On Fri, Mar 01, 2019 at 03:29:43PM -0600, Gustavo A. R. Silva wrote: > Add missing break statement in order to prevent the code from falling > through to case SMU_Discrete_DpmTable. > > This bug was found thanks to the ongoing efforts to enable > -Wimplicit-fallthrough. > > Fixes: 34a564eaf528

Re: [PATCH v4] f2fs: add bio cache for IPU

2019-03-03 Thread Chao Yu
On 2019/3/2 1:55, Jaegeuk Kim wrote: > On 02/28, Chao Yu wrote: >> Ping, > > Ditto. Copied. Thanks, > >> >> On 2019/2/19 16:15, Chao Yu wrote: >>> SQLite in Wal mode may trigger sequential IPU write in db-wal file, after >>> commit d1b3e72d5490 ("f2fs: submit bio of in-place-update pages"),

Re: [PATCH v3] f2fs: rebuild nat_bits during umount

2019-03-03 Thread Chao Yu
On 2019/3/2 1:55, Jaegeuk Kim wrote: > On 02/28, Chao Yu wrote: >> Ping, >> >> Could you please try this new version? > > It's in the queue, and I'll test this after the next pull request. Okay. :) Thanks, > >> >> On 2019/2/17 6:26, Chao Yu wrote: >>> From: Chao Yu >>> >>> If all

RE: [PATCH] RDMA/cma: Make CM response timeout and # CM retries configurable

2019-03-03 Thread Parav Pandit
> -Original Message- > From: Leon Romanovsky > Sent: Saturday, February 23, 2019 2:50 AM > To: Doug Ledford > Cc: Steve Wise ; Jason Gunthorpe > ; Håkon Bugge ; Parav Pandit > ; linux-r...@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH] RDMA/cma: Make CM

Re: [PATCH][next] net/mlx5e: Remove redundant assignment

2019-03-03 Thread Leon Romanovsky
On Sun, Mar 03, 2019 at 03:20:57PM +, Roi Dayan wrote: > > > On 02/03/2019 21:39, Gustavo A. R. Silva wrote: > > Remove redundant assignment to tun_entropy->enabled. > > > > Addesses-Coverity-ID: 1477328 ("Unused value") > > Fixes: 97417f6182f8 ("net/mlx5e: Fix GRE key by controlling port

Re: [PATCH] usb: uas: fix usb subsystem hang after power off hub port

2019-03-03 Thread Greg KH
On Mon, Mar 04, 2019 at 02:08:54AM +, jacky@sony.com wrote: > > > This email is confidential and intended only for the use of the individual or > entity named above and may contain information that is privileged. If you are > not the intended recipient,

Re: [PATCH v2] arm64: dts: ls1088a: add one more thermal zone node

2019-03-03 Thread Shawn Guo
On Mon, Mar 04, 2019 at 11:21:11AM +0800, Yuantian Tang wrote: > Ls1088a has 2 thermal sensors, core cluster and SoC platform. Core cluster > sensor is used to monitor the temperature of core and SoC platform is for > platform. The current dts only support the first sensor. > This patch adds the

Re: [PATCH 01/20] docs/zh_CN: add disclaimer file

2019-03-03 Thread Alex Shi
BTW, Corbet, Some of email address are unused and zh-kernel.org web site are unused and on sale. That are: TripleX Chung 李阳 Li Yang Zhang Wei Do we need to remove them in kernel doc and MAINTAINERS? Or remove but get a word for credit? Thanks Alex On 2019/3/4 11:57 上午, Alex Shi wrote: >

Re: [PATCH] ARM: imx_v6_v7_defconfig: Add GPIO_PCF857X

2019-03-03 Thread Shawn Guo
On Sun, Mar 03, 2019 at 08:32:30PM -0600, Adam Ford wrote: > The imx6q-logicpd board has a PCF8575 connected to it, so this > patch turns it on my default now. > > Signed-off-by: Adam Ford Applied, thanks.

Re: [PATCH v4] mm/hugetlb: Fix unsigned overflow in __nr_hugepages_store_common()

2019-03-03 Thread Naoya Horiguchi
On Tue, Feb 26, 2019 at 11:32:24AM -0800, Mike Kravetz wrote: > On 2/25/19 10:21 PM, David Rientjes wrote: > > On Tue, 26 Feb 2019, Jing Xiangfeng wrote: > >> On 2019/2/26 3:17, David Rientjes wrote: > >>> On Mon, 25 Feb 2019, Mike Kravetz wrote: > >>> > Ok, what about just moving the

Re: [PATCH v3] x86/boot: Fix incorrect ifdeffery scope

2019-03-03 Thread Chao Fan
On Mon, Mar 04, 2019 at 01:55:46PM +0800, Baoquan He wrote: >The declarations related to immovable memory handling are put out of >the BOOT_COMPRESSED_MISC_H #ifdef scope, wrap them inside. Looks good, thank you for the fix. Thanks, Chao Fan > >Signed-off-by: Baoquan He >--- >v2->v3: > Add

[PATCH v3] x86/boot: Fix incorrect ifdeffery scope

2019-03-03 Thread Baoquan He
The declarations related to immovable memory handling are put out of the BOOT_COMPRESSED_MISC_H #ifdef scope, wrap them inside. Signed-off-by: Baoquan He --- v2->v3: Add code comment to clearly note the end of the ifdeffery for better code reading. v1->v2: Add the lost line which could be

Re: [PATCH v2] x86/boot: Fix incorrect ifdeffery scope

2019-03-03 Thread Baoquan He
On 03/04/19 at 01:47pm, Chao Fan wrote: > +#endif /* BOOT_COMPRESSED_MISC_H */ > > I am sorry that I should say that in your V1 version, but I really > forgot it after noticing that PATCH log. Yes, that's better. Can note us better where the ifdeffery ends. Will send v3. thx.

Re: [PATCH v2] x86/boot: Fix incorrect ifdeffery scope

2019-03-03 Thread Chao Fan
On Mon, Mar 04, 2019 at 01:37:56PM +0800, Baoquan He wrote: >The declarations related to immovable memory handling are put out of >the BOOT_COMPRESSED_MISC_H #ifdef scope, wrap them inside. > >Signed-off-by: Baoquan He >--- >v1->v2: > Add the lost line which could be made by git. > >

[PATCH] net: xfrm: Add '_rcu' tag for rcu protected pointer in netns_xfrm

2019-03-03 Thread Su Yanjun
For rcu protected pointers, we'd bettter add '__rcu' for them. No functional change. Signed-off-by: Su Yanjun --- include/net/netns/xfrm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/netns/xfrm.h b/include/net/netns/xfrm.h index 59f45b1..d2a36fb 100644 ---

Re: [PATCH v3 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-03-03 Thread Masahiro Yamada
> > > > Let me ask one more question. > > > > > > > > I guess this patch is motivated by > > > > how difficult to convey kernel headers > > > > from vendors to users. > > > > > > > > In that situation, how will the user find > > > > the right compiler to use for building external modules? > > > >

Re: [PATCH 05/15] ARM: imx51: fix a leaked reference by addingmissing of_node_put

2019-03-03 Thread Shawn Guo
On Fri, Mar 01, 2019 at 04:56:46PM +0800, Wen Yang wrote: > The call to of_get_next_child returns a node pointer with refcount > incremented thus it must be explicitly decremented after the last > usage. > > Detected by coccinelle with the following warnings: >

[PATCH v2] x86/boot: Fix incorrect ifdeffery scope

2019-03-03 Thread Baoquan He
The declarations related to immovable memory handling are put out of the BOOT_COMPRESSED_MISC_H #ifdef scope, wrap them inside. Signed-off-by: Baoquan He --- v1->v2: Add the lost line which could be made by git. arch/x86/boot/compressed/misc.h | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH v3] arm64: dts: ls1028a: Add Audio DT nodes

2019-03-03 Thread Shawn Guo
On Fri, Mar 01, 2019 at 03:46:32PM +0800, Alison Wang wrote: > This patch adds Audio DT nodes for LS1028ARDB and LS1028AQDS boards. > > Signed-off-by: Alison Wang Applied, thanks.

Re: [PATCH] x86/boot: Fix incorrect ifdeffery scope

2019-03-03 Thread Baoquan He
On 03/04/19 at 01:32pm, Chao Fan wrote: > On Mon, Mar 04, 2019 at 12:18:20PM +0800, Baoquan He wrote: > >The declarations related to immovable memory handling are put out of > > > >Signed-off-by: Baoquan He > > Are there some problems in your mail tool? > I can only see one line in the PATCH log

Re: [PATCH v2] ARM: dts: imx6dl-yapp4: Use rgmii-id phy mode on the cpu port

2019-03-03 Thread Shawn Guo
On Fri, Mar 01, 2019 at 08:26:42AM +0100, Michal Vokáč wrote: > Use rgmii-id phy mode for the CPU port (MAC0) of the QCA8334 switch > to add delays to both Tx and Rx clock. > > It worked with the rgmii mode before because the qca8k driver > (incorrectly) enabled delays in that mode and rgmii-id

Re: [PATCH] x86/boot: Fix incorrect ifdeffery scope

2019-03-03 Thread Chao Fan
On Mon, Mar 04, 2019 at 12:18:20PM +0800, Baoquan He wrote: >The declarations related to immovable memory handling are put out of > >Signed-off-by: Baoquan He Are there some problems in your mail tool? I can only see one line in the PATCH log and seems a half sentence. Thanks, Chao Fan >--- >

Re: [PATCH v3 6/8] KVM:VMX: Load Guest CET via VMCS when CET is enabled in Guest

2019-03-03 Thread Yang Weijiang
On Fri, Mar 01, 2019 at 06:58:19AM -0800, Sean Christopherson wrote: > On Thu, Feb 28, 2019 at 04:38:44PM +0800, Yang Weijiang wrote: > > On Thu, Feb 28, 2019 at 08:17:15AM -0800, Sean Christopherson wrote: > > > On Mon, Feb 25, 2019 at 09:27:14PM +0800, Yang Weijiang wrote: > > > > "Load Guest

Re: [RFC PATCH v1 00/25] printk: new implementation

2019-03-03 Thread Sergey Senozhatsky
On (02/13/19 15:15), John Ogness wrote: > I don't like bust_spinlocks() because drivers end up implementing > oops_in_progress with exactly that... ignoring their own locks. I prefer > consoles are provided with a locking mechanism that they can use to > support a separate NMI-safe write function.

Re: [PATCH v9 02/11] powerpc: prepare string/mem functions for KASAN

2019-03-03 Thread Daniel Axtens
Hi Christophe, > diff --git a/arch/powerpc/include/asm/kasan.h > b/arch/powerpc/include/asm/kasan.h > new file mode 100644 > index ..c3161b8fc017 > --- /dev/null > +++ b/arch/powerpc/include/asm/kasan.h > @@ -0,0 +1,15 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +#ifndef

Re: [PATCH v3 0/3] arm: dts: imx8mq: Add cpufreq support

2019-03-03 Thread Shawn Guo
On Thu, Feb 28, 2019 at 09:42:43PM +, Abel Vesa wrote: > Changes since v2: > * renamed the regulator > * removed the useless enable-active-high from the regulator > * renamed a53_0_opp_table to a53_opp_table > > Abel Vesa (3): > arm64: dts: imx8mq: Add the clocks and the latencies for

Re: [RFC PATCH v1 00/25] printk: new implementation

2019-03-03 Thread Sergey Senozhatsky
On (02/13/19 15:43), John Ogness wrote: > On 2019-02-13, Sergey Senozhatsky wrote: > >> - A dedicated kernel thread is created for printing to all consoles in > >> a fully preemptible context. > > > > How do you handle sysrq- printouts on systems which can't > > schedule printk-kthread? > > If

Re: [PATCH v4 00/10] Add basic support for Socionext Milbeaut M10V SoC

2019-03-03 Thread Sugaya, Taichi
Hi, On 2019/03/01 23:34, Arnd Bergmann wrote: On Wed, Feb 27, 2019 at 5:51 AM Sugaya Taichi wrote: Hi, Here is the series of patches the initial support for SC2000(M10V) of Milbeaut SoCs. "M10V" is the internal name of SC2000, so commonly used in source code. SC2000 is a SoC of the

Re: [PATCH net] net: hns3: add rmb() for rx description

2019-03-03 Thread David Miller
From: Huazhong Tan Date: Sat, 2 Mar 2019 16:49:30 +0800 > From: Jian Shen > > HW can not guarantee complete write desc->rx.size, even though > HNS3_RXD_VLD_B has been set. Driver needs to add rmb() instruction > to make sure desc->rx.size is always valid. > > Fixes: e55970950556 ("net: hns3:

Re: [PATCH] net-sysfs: Fix mem leak in netdev_register_kobject

2019-03-03 Thread David Miller
From: Yue Haibing Date: Sat, 2 Mar 2019 10:34:55 +0800 > From: YueHaibing > > syzkaller report this: > BUG: memory leak > unreferenced object 0x88837a71a500 (size 256): > comm "syz-executor.2", pid 9770, jiffies 4297825125 (age 17.843s) > hex dump (first 32 bytes): > 00 00 00 00 ad

Re: [PATCH] fsl/fman: Use vsprintf extension %pM

2019-03-03 Thread David Miller
From: Joe Perches Date: Fri, 01 Mar 2019 16:37:25 -0800 > Make logging of an ethernet address more consistent with > the rest of the kernel. > > Miscellanea: > > The %02hx use also did not quite match the u8 definition > of addr though that did not actually matter given normal > integer

Re: [PATCH] net: ipv6: add socket option IPV6_ROUTER_ALERT_ISOLATE

2019-03-03 Thread David Miller
From: frugg...@arista.com (Francesco Ruggeri) Date: Fri, 01 Mar 2019 15:31:03 -0800 > By default IPv6 socket with IPV6_ROUTER_ALERT socket option set will > receive all IPv6 RA packets from all namespaces. > IPV6_ROUTER_ALERT_ISOLATE socket option restricts packets received by > the socket to be

[PATCH v3 1/3] perf diff: Support --time filter option

2019-03-03 Thread Jin Yao
For better support for perf diff, it would be useful to add --time filter option to diff the samples within given time window. It supports time percent with multipe time ranges. Time string is 'a%/n,b%/m,...' or 'a%-b%,c%-%d,...'. For example: Select the second 10% time slice to diff: perf diff

[PATCH v3 2/3] perf diff: Support --cpu filter option

2019-03-03 Thread Jin Yao
For better support for perf diff, it would be useful to add --cpu filter option. Multiple CPUs can be provided as a comma-separated list with no space: 0,1. Ranges of CPUs are specified with -: 0-2. Default is to report samples on all CPUs. For example, perf diff --cpu 0,1 It only diff the

[PATCH v3 3/3] perf diff: Support --pid/--tid filter options

2019-03-03 Thread Jin Yao
For better filtering support for perf diff, it would be useful to add --pid and --tid filter options. For example, perf diff --tid 13965 It only diff the samples for thread 13965. v3: --- No logical changes. Signed-off-by: Jin Yao --- tools/perf/Documentation/perf-diff.txt | 6 ++

[PATCH v3 0/3] perf diff: Add new filter options

2019-03-03 Thread Jin Yao
This patch series creates following new filter options for perf diff. --time: It supports time percent with multipe time ranges. Time string is 'a%/n,b%/m,...' or 'a%-b%,c%-%d,...'. For example: Select the second 10% time slice to diff: perf diff --time 10%/2 Select

Re: [PATCH] net: fixup address-space warnings in compat_mc_{get,set}sockopt()

2019-03-03 Thread David Miller
From: Ben Dooks Date: Fri, 1 Mar 2019 18:39:44 + > Add __user attributes in some of the casts in this function to avoid > the following sparse warnings: > > net/compat.c:592:57: warning: cast removes address space of expression > net/compat.c:592:57: warning: incorrect type in initializer

Re: [RFC PATCH nand-next 0/2] meson-nand: support for older SoCs

2019-03-03 Thread Liang Yang
Hello Martin, On 2019/3/2 2:29, Martin Blumenstingl wrote: Hi Liang, I am trying to add support for older SoCs to the meson-nand driver. Back when the driver was in development I used an early revision (of your driver) and did some modifications to make it work on older SoCs. Now that the

Re: [PATCH net-next v2] net: dsa: Use prepare/commit phase in dsa_slave_vlan_rx_add_vid()

2019-03-03 Thread David Miller
From: Florian Fainelli Date: Fri, 1 Mar 2019 10:37:25 -0800 > We were skipping the prepare phase which causes some problems with at > least a couple of drivers: > > - mv88e6xxx chooses to skip programming VID = 0 with -EOPNOTSUPP in > the prepare phase, but we would still try to force this

[PATCH] regulator: tps65217: Simplify linear range for selector 25-52

2019-03-03 Thread Axel Lin
The original code separates the selector 25-52 into 2 ranges on purpose because DCDC1/DCDC3 only support up to 1.8V/1.5V in the old code. Both DCDC1 and DCDC3 support up to 3.3V since commit b4c2e158a1e1 ("regulator: tps65217: Allow DCDC1 and DCDC3 up to 3.3V"), so merge 25-30 and 31-52 ranges to

RE: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-03 Thread Parav Pandit
> -Original Message- > From: Jakub Kicinski > Sent: Friday, March 1, 2019 2:04 PM > To: Parav Pandit ; Or Gerlitz > Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; > michal.l...@markovi.net; da...@davemloft.net; > gre...@linuxfoundation.org; Jiri Pirko > Subject: Re: [RFC

[PATCH V6 1/2] watchdog: imx_sc: Add i.MX system controller watchdog support

2019-03-03 Thread Anson Huang
i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and watchdog etc.. This patch adds i.MX system controller watchdog driver support, watchdog operation needs to be done in secure EL3 mode via

[PATCH V6 2/2] arm64: defconfig: add support for i.MX system controller watchdog

2019-03-03 Thread Anson Huang
Enable CONFIG_IMX_SC_WDT as module to support i.MX system controller watchdog. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 2d9c390..690f4ba

[PATCH] x86/boot: Fix incorrect ifdeffery scope

2019-03-03 Thread Baoquan He
The declarations related to immovable memory handling are put out of Signed-off-by: Baoquan He --- arch/x86/boot/compressed/misc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/boot/compressed/misc.h b/arch/x86/boot/compressed/misc.h index

Re: A quesiton about commit 3a63f70bf4c3

2019-03-03 Thread Baoquan He
On 03/04/19 at 09:27am, Chao Fan wrote: > On Fri, Mar 01, 2019 at 02:06:31PM +0800, Baoquan He wrote: > > > >Hi Chao, > Hi Baoquan, > > Sorry for late reply, I was away from keyboard last Friday. > Your change looks good, I think you can format it as a real PATCH. Thx, sent.

Re: [RFT][PATCH 0/2] cpufreq: intel_pstate: Handle _PPC updates on global turbo disable/enable

2019-03-03 Thread Srinivas Pandruvada
On Sun, 2019-03-03 at 22:51 +0100, Rafael J. Wysocki wrote: > On Sun, Mar 3, 2019 at 10:20 PM Srinivas Pandruvada > wrote: > > > > On Sun, 2019-03-03 at 18:03 +0100, Rafael J. Wysocki wrote: > > > On Fri, Mar 1, 2019 at 6:39 PM Srinivas Pandruvada > > > wrote: > > > > > > > > On Fri,

Re: [f2fs-dev] [PATCH] f2fs: fix to do sanity check with inode.i_inline_xattr_size

2019-03-03 Thread Sahitya Tummala
On Fri, Mar 01, 2019 at 03:38:05PM +0800, Chao Yu wrote: > As Paul Bandha reported in bugzilla: > > https://bugzilla.kernel.org/show_bug.cgi?id=202709 > > When I run the poc on the mounted f2fs img I get a buffer overflow in > read_inline_xattr due to there being no sanity check on the value of

[PATCH 02/20] docs/zh_CN: move process related docs into process dir

2019-03-03 Thread Alex Shi
Much process documents spread here isn't neat. It's good to put them together in their directory: process So create 'process' directory and move docs: email-clients stable_kernel_rules stable_api_nosense submittingpatches submittingdrivers HOWTO volatile-considered-harmful

[PATCH 11/20] docs/zh_CN: rename email-clients.txt as email-clients.rst

2019-03-03 Thread Alex Shi
Make it available for html etc docs. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/{email-clients.txt => email-clients.rst}| 0 1 file changed, 0 insertions(+), 0 deletions(-) rename

[PATCH 08/20] docs/zh_CN: format the submitting-patches doc to rst

2019-03-03 Thread Alex Shi
And remove Enghlish explainations in the docs, which it isn't necessary in Chinese doc. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: TripleX Chung Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/submitting-patches.rst | 36

[PATCH 07/20] docs/zh_CN: rename SubmittingPatches for html links

2019-03-03 Thread Alex Shi
renamed:Documentation/translations/zh_CN/process/SubmittingPatches -> Documentation/translations/zh_CN/process/submitting-patches.rst For htmldoc links. And will change the doc format to rst. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: TripleX Chung Cc: Li Zefan Cc:

[PATCH 12/20] docs/zh_CN: do rst format for email-clients.rst

2019-03-03 Thread Alex Shi
Make it readble as rst format. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/email-clients.rst | 53 --- 1 file changed, 22 insertions(+), 31 deletions(-) diff --git

[PATCH 03/20] docs/zh_CN: change Chinese index to know process dir

2019-03-03 Thread Alex Shi
And add some description translation in index file. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- Documentation/translations/zh_CN/index.rst | 17 + 1 file changed, 13 insertions(+), 4 deletions(-)

[PATCH 17/20] docs/zh_CN: rename magic-numbers as rst doc

2019-03-03 Thread Alex Shi
to Make it available in html etc doc making Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Jia Wei Wei Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/{magic-number.txt => magic-number.rst} | 0 1 file changed, 0 insertions(+), 0

[PATCH 10/20] docs/zh_CN: rst format change for stable-kernel-rules

2019-03-03 Thread Alex Shi
to Make it readble with rst format. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: TripleX Chung Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/stable-kernel-rules.rst | 32 +-- 1 file changed, 15 insertions(+), 17

[PATCH 15/20] docs/zh_CN: rename SubmittingDrivers

2019-03-03 Thread Alex Shi
Rename the file to make it available in html etc docs making. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Yang Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/{SubmittingDrivers => submitting-drivers.rst} | 0 1 file changed, 0

[PATCH 16/20] docs/zh_CN: format submitting drivers as rst

2019-03-03 Thread Alex Shi
to Make it readble for html etc docs making. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Yang Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/submitting-drivers.rst | 30 +++ 1 file changed, 11 insertions(+), 19

[PATCH 14/20] docs/zh_CN: volatile doc format changes

2019-03-03 Thread Alex Shi
make it readble as rst format for html etc doc making. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Bryan Wu Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../process/volatile-considered-harmful.rst | 35 --- 1 file changed, 14

[PATCH 04/20] docs/zh_CN: add index file into process dir

2019-03-03 Thread Alex Shi
Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../translations/zh_CN/process/index.rst | 55 +++ 1 file changed, 55 insertions(+) create mode 100644

[PATCH 06/20] docs/zh_CN: howto format changes

2019-03-03 Thread Alex Shi
also with few contents changes Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Yang Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../translations/zh_CN/process/howto.rst | 37 --- 1 file changed, 15 insertions(+), 22 deletions(-) diff

[PATCH 09/20] docs/zh_CN: rename stable_kernel_rules doc

2019-03-03 Thread Alex Shi
This patch renamed stable_kernel_rules.txt to stable-kernel-rules.rst Make it available in htmldocs making. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: TripleX Chung Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../process/{stable_kernel_rules.txt =>

[PATCH 19/20] docs/zh_CN: rename stable_api_nonsense.txt as stable-api-nonsense.rst

2019-03-03 Thread Alex Shi
make it available in html etc doc making Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: TripleX Chung Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../process/{stable_api_nonsense.txt => stable-api-nonsense.rst} | 0 1 file changed, 0 insertions(+), 0

[PATCH 05/20] docs/zh_CN: rename HOWTO into process directory

2019-03-03 Thread Alex Shi
Make it available in htmldocs Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Yang Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- Documentation/translations/zh_CN/process/{HOWTO => howto.rst} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename

[PATCH 13/20] docs/zh_CN: rename volatile-consider-harmful doc

2019-03-03 Thread Alex Shi
Make it available for html etc docs making. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Bryan Wu Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- ...ile-considered-harmful.txt => volatile-considered-harmful.rst} | 0 1 file changed, 0 insertions(+), 0

[PATCH 18/20] docs/zh_CN: format the magic-number doc as rst

2019-03-03 Thread Alex Shi
to Make it readble in html etc doc making. And fix the wrong translation for 'number' in form. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Jia Wei Wei Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/magic-number.rst| 210

[PATCH 00/20] origanize Chinese kernel docs

2019-03-03 Thread Alex Shi
The following patch aims to upstream kernel doc. you can view them with the link http://176.122.172.82/translations/zh_CN/index.html Or make and review docs on your self box: make htmldocs SPHINXDIRS=translations/zh_CN lynx Documentation/output/translations/zh_CN/index.html

[PATCH 01/20] docs/zh_CN: add disclaimer file

2019-03-03 Thread Alex Shi
This a disclaimer file which will be included in Chinese files as header. To reduce the same common contents copy. Most of contents quoted from Federico Vaga's file: Documentation/translations/it_IT/disclaimer-ita.rst. Thanks a lot! Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet

  1   2   3   4   >