Re: [PATCH 08/13] ARM: dts: rv1108: Fix the PMU interrupt number

2018-11-25 Thread Heiko Stuebner
Hi Otavio, Am Sonntag, 25. November 2018, 22:19:02 CET schrieb Otavio Salvador: > According to the Rockchip vendor tree the PMU interrupt number is > 76, so fix it accordingly. > > Signed-off-by: Otavio Salvador > Signed-off-by: Fabio Berton looks ok, especially as the TRM I have doesn't list

linux-next: build warning after merge of the slave-dma tree

2018-11-25 Thread Stephen Rothwell
Hi Vinod, After merging the slave-dma tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/dma/coh901318.c: In function 'coh901318_config': drivers/dma/coh901318.c:1805:16: warning: unused variable 'flags' [-Wunused-variable] unsigned long flags;

Re: [PATCH 08/13] ARM: dts: rv1108: Fix the PMU interrupt number

2018-11-25 Thread Heiko Stuebner
Hi Otavio, Am Sonntag, 25. November 2018, 22:19:02 CET schrieb Otavio Salvador: > According to the Rockchip vendor tree the PMU interrupt number is > 76, so fix it accordingly. > > Signed-off-by: Otavio Salvador > Signed-off-by: Fabio Berton looks ok, especially as the TRM I have doesn't list

linux-next: build warning after merge of the slave-dma tree

2018-11-25 Thread Stephen Rothwell
Hi Vinod, After merging the slave-dma tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/dma/coh901318.c: In function 'coh901318_config': drivers/dma/coh901318.c:1805:16: warning: unused variable 'flags' [-Wunused-variable] unsigned long flags;

Re: linux-next: build warnings after merge of the cifs tree

2018-11-25 Thread Kees Cook
On Sun, Nov 25, 2018 at 4:52 PM Stephen Rothwell wrote: > > Hi Steve, > > On Sun, 25 Nov 2018 18:31:40 -0600 Steve French wrote: > > > > Both of those cases are intentional fallthroughs and there are > > existing comments in the code noting the reasons for them to > > fallthrough > > > > (also

Re: linux-next: build warnings after merge of the cifs tree

2018-11-25 Thread Kees Cook
On Sun, Nov 25, 2018 at 4:52 PM Stephen Rothwell wrote: > > Hi Steve, > > On Sun, 25 Nov 2018 18:31:40 -0600 Steve French wrote: > > > > Both of those cases are intentional fallthroughs and there are > > existing comments in the code noting the reasons for them to > > fallthrough > > > > (also

Re: [PATCH 2/9] arch/arm/mm/dma-mapping.c: Convert to use vm_insert_range

2018-11-25 Thread Souptick Joarder
Hi Russell, On Thu, Nov 15, 2018 at 9:13 PM Souptick Joarder wrote: > > Convert to use vm_insert_range() to map range of kernel > memory to user vma. > > Signed-off-by: Souptick Joarder Any comment on this patch ? > --- > arch/arm/mm/dma-mapping.c | 21 +++-- > 1 file

Re: [PATCH 2/9] arch/arm/mm/dma-mapping.c: Convert to use vm_insert_range

2018-11-25 Thread Souptick Joarder
Hi Russell, On Thu, Nov 15, 2018 at 9:13 PM Souptick Joarder wrote: > > Convert to use vm_insert_range() to map range of kernel > memory to user vma. > > Signed-off-by: Souptick Joarder Any comment on this patch ? > --- > arch/arm/mm/dma-mapping.c | 21 +++-- > 1 file

[PATCH] ALSA: pcm: Fix starvation on down_write_nonblock()

2018-11-25 Thread Chanho Min
Commit 67ec1072b053 ("ALSA: pcm: Fix rwsem deadlock for non-atomic PCM stream") fixes deadlock for non-atomic PCM stream. But, This patch causes antother stuck. If writer is RT thread and reader is a normal thread, the reader thread will be difficult to get scheduled. It may not give chance to

[PATCH] ALSA: pcm: Fix starvation on down_write_nonblock()

2018-11-25 Thread Chanho Min
Commit 67ec1072b053 ("ALSA: pcm: Fix rwsem deadlock for non-atomic PCM stream") fixes deadlock for non-atomic PCM stream. But, This patch causes antother stuck. If writer is RT thread and reader is a normal thread, the reader thread will be difficult to get scheduled. It may not give chance to

Re: RFC: script to convert vsprintf uses of %pf to %ps and %pF to %pS

2018-11-25 Thread Sergey Senozhatsky
Hi, Cc-ing Petr and Steven On (11/25/18 01:13), Joe Perches wrote: > commit 04b8eb7a4ccd ("symbol lookup: introduce > dereference_symbol_descriptor()}" > > deprecated vsprintf extension %pf and %pF. > > There are approximately these total uses of the symbolic > lookup vsprintf extensions

Re: RFC: script to convert vsprintf uses of %pf to %ps and %pF to %pS

2018-11-25 Thread Sergey Senozhatsky
Hi, Cc-ing Petr and Steven On (11/25/18 01:13), Joe Perches wrote: > commit 04b8eb7a4ccd ("symbol lookup: introduce > dereference_symbol_descriptor()}" > > deprecated vsprintf extension %pf and %pF. > > There are approximately these total uses of the symbolic > lookup vsprintf extensions

Fwd: UBSAN: Undefined behaviour in drivers/input/mousedev.c

2018-11-25 Thread Kyungtae Kim
-- Forwarded message - From: Kyungtae Kim Date: Mon, Nov 26, 2018 at 12:26 AM Subject: UBSAN: Undefined behaviour in drivers/input/mousedev.c To: Cc: Byoungyoung Lee , DaeRyong Jeong , , , We report a crash found in v4.20-rc2: kernel config:

Fwd: UBSAN: Undefined behaviour in drivers/input/mousedev.c

2018-11-25 Thread Kyungtae Kim
-- Forwarded message - From: Kyungtae Kim Date: Mon, Nov 26, 2018 at 12:26 AM Subject: UBSAN: Undefined behaviour in drivers/input/mousedev.c To: Cc: Byoungyoung Lee , DaeRyong Jeong , , , We report a crash found in v4.20-rc2: kernel config:

Re: [PATCH 07/13] ARM: dts: rv1108: Fix the timer mask

2018-11-25 Thread Heiko Stuebner
Am Sonntag, 25. November 2018, 22:19:01 CET schrieb Otavio Salvador: > As done in the Rockchip vendor tree and also on other > "arm,armv7-timer" instances, the correct GIC_CPU_MASK_SIMPLE mask > is 4 instead of 1. Nope. That value represents the number of cores in the system. As the rv1108 only

Re: [PATCH 07/13] ARM: dts: rv1108: Fix the timer mask

2018-11-25 Thread Heiko Stuebner
Am Sonntag, 25. November 2018, 22:19:01 CET schrieb Otavio Salvador: > As done in the Rockchip vendor tree and also on other > "arm,armv7-timer" instances, the correct GIC_CPU_MASK_SIMPLE mask > is 4 instead of 1. Nope. That value represents the number of cores in the system. As the rv1108 only

Re: [PATCH 2/2] Drivers: hv: vmbus: offload the handling of channels to two workqueues

2018-11-25 Thread Sasha Levin
On Mon, Nov 26, 2018 at 02:29:57AM +, k...@linuxonhyperv.com wrote: From: Dexuan Cui vmbus_process_offer() mustn't call channel->sc_creation_callback() directly for sub-channels, because sc_creation_callback() -> vmbus_open() may never get the host's response to the OPEN_CHANNEL message

Re: [PATCH 2/2] Drivers: hv: vmbus: offload the handling of channels to two workqueues

2018-11-25 Thread Sasha Levin
On Mon, Nov 26, 2018 at 02:29:57AM +, k...@linuxonhyperv.com wrote: From: Dexuan Cui vmbus_process_offer() mustn't call channel->sc_creation_callback() directly for sub-channels, because sc_creation_callback() -> vmbus_open() may never get the host's response to the OPEN_CHANNEL message

Re: [for-next][PATCH 00/18] function_graph: Add separate depth counter to prevent trace corruption

2018-11-25 Thread Masami Hiramatsu
Hi Steve, This series looks good to me. Reviewed-by: Masami Hiramatsu for this series. Thank you! # Now I know why sometimes func-graph depth looks broken... On Wed, 21 Nov 2018 19:28:01 -0500 Steven Rostedt wrote: > While working on rewriting function graph tracer, I found a design >

Re: [for-next][PATCH 00/18] function_graph: Add separate depth counter to prevent trace corruption

2018-11-25 Thread Masami Hiramatsu
Hi Steve, This series looks good to me. Reviewed-by: Masami Hiramatsu for this series. Thank you! # Now I know why sometimes func-graph depth looks broken... On Wed, 21 Nov 2018 19:28:01 -0500 Steven Rostedt wrote: > While working on rewriting function graph tracer, I found a design >

Re: [PATCH] fat: Replaced 11 magic to MSDOS_NAME for volume label

2018-11-25 Thread Sergey Senozhatsky
On (11/24/18 17:01), Carmeli Tamir wrote: > The FAT file system volume label file stored in the root directory should > match the volume label field in the FAT boot sector. As consequence, the > max length of these fields ought to be the same. This patch replaces the > magic '11' usef in the

Re: [PATCH] fat: Replaced 11 magic to MSDOS_NAME for volume label

2018-11-25 Thread Sergey Senozhatsky
On (11/24/18 17:01), Carmeli Tamir wrote: > The FAT file system volume label file stored in the root directory should > match the volume label field in the FAT boot sector. As consequence, the > max length of these fields ought to be the same. This patch replaces the > magic '11' usef in the

Re: [PATCH v4] debugobjects: scale the static pool size

2018-11-25 Thread Qian Cai
On 11/25/18 8:31 PM, Waiman Long wrote: On 11/25/2018 03:42 PM, Qian Cai wrote: On 11/23/18 10:01 PM, Qian Cai wrote: On Nov 22, 2018, at 4:56 PM, Thomas Gleixner wrote: On Tue, 20 Nov 2018, Qian Cai wrote: Looking deeper at that. diff --git a/lib/debugobjects.c

Re: [PATCH v4] debugobjects: scale the static pool size

2018-11-25 Thread Qian Cai
On 11/25/18 8:31 PM, Waiman Long wrote: On 11/25/2018 03:42 PM, Qian Cai wrote: On 11/23/18 10:01 PM, Qian Cai wrote: On Nov 22, 2018, at 4:56 PM, Thomas Gleixner wrote: On Tue, 20 Nov 2018, Qian Cai wrote: Looking deeper at that. diff --git a/lib/debugobjects.c

Re: [RFC][PATCH 02/14] fgraph: Have set_graph_notrace only affect function_graph tracer

2018-11-25 Thread Namhyung Kim
On Sat, Nov 24, 2018 at 01:41:31PM -0500, Steven Rostedt wrote: > On Sat, 24 Nov 2018 14:49:34 +0900 > Namhyung Kim wrote: > > > On Sat, Nov 24, 2018 at 2:37 AM Steven Rostedt wrote: > > > > > > On Fri, 23 Nov 2018 09:01:18 +0900 > > > Namhyung Kim wrote: > > > > > > > Acked-by: Namhyung Kim

Re: [RFC][PATCH 02/14] fgraph: Have set_graph_notrace only affect function_graph tracer

2018-11-25 Thread Namhyung Kim
On Sat, Nov 24, 2018 at 01:41:31PM -0500, Steven Rostedt wrote: > On Sat, 24 Nov 2018 14:49:34 +0900 > Namhyung Kim wrote: > > > On Sat, Nov 24, 2018 at 2:37 AM Steven Rostedt wrote: > > > > > > On Fri, 23 Nov 2018 09:01:18 +0900 > > > Namhyung Kim wrote: > > > > > > > Acked-by: Namhyung Kim

linux-next: manual merge of the tip tree with the vfs tree

2018-11-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: arch/x86/kernel/cpu/resctrl/rdtgroup.c between commit: 16ec1a5d58ea ("kernfs, sysfs, cgroup, intel_rdt: Support fs_context") (where the file is arch/x86/kernel/cpu/intel_rdt_rdtgroup.c) from the vfs tree and commit:

linux-next: manual merge of the tip tree with the vfs tree

2018-11-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: arch/x86/kernel/cpu/resctrl/rdtgroup.c between commit: 16ec1a5d58ea ("kernfs, sysfs, cgroup, intel_rdt: Support fs_context") (where the file is arch/x86/kernel/cpu/intel_rdt_rdtgroup.c) from the vfs tree and commit:

Re: [PATCH] printk: Make printk_emit() local function.

2018-11-25 Thread Sergey Senozhatsky
On (11/24/18 13:10), Tetsuo Handa wrote: > Subject: [PATCH v2] printk: Make printk_emit() local function. > > printk_emit() is called from only devkmsg_write() in the same file. > Save object size by making it a local function. > > Signed-off-by: Tetsuo Handa Looks good to me, Reviewed-by:

Re: [PATCH] printk: Make printk_emit() local function.

2018-11-25 Thread Sergey Senozhatsky
On (11/24/18 13:10), Tetsuo Handa wrote: > Subject: [PATCH v2] printk: Make printk_emit() local function. > > printk_emit() is called from only devkmsg_write() in the same file. > Save object size by making it a local function. > > Signed-off-by: Tetsuo Handa Looks good to me, Reviewed-by:

Re: [PATCH 3/3] lockdep: Use line-buffered printk() for lockdep messages.

2018-11-25 Thread Sergey Senozhatsky
On (11/24/18 09:24), Tetsuo Handa wrote: > >> Steven told me on Plumbers conference that even few initial > >> characters saved him a day few times. > > > > Yes, and that has happened more than once. I would reboot and retest > > code that is crashing, and due to a triple fault, the machine would

Re: [PATCH 3/3] lockdep: Use line-buffered printk() for lockdep messages.

2018-11-25 Thread Sergey Senozhatsky
On (11/24/18 09:24), Tetsuo Handa wrote: > >> Steven told me on Plumbers conference that even few initial > >> characters saved him a day few times. > > > > Yes, and that has happened more than once. I would reboot and retest > > code that is crashing, and due to a triple fault, the machine would

Re: [PATCH 3/3] iio: chemical: sps30: add device tree support

2018-11-25 Thread kbuild test robot
/linux/commits/Tomasz-Duszynski/add-support-for-Sensirion-SPS30-PM-sensor/20181125-172634 base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg config: x86_64-allmodconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached

Re: [PATCH 3/3] iio: chemical: sps30: add device tree support

2018-11-25 Thread kbuild test robot
/linux/commits/Tomasz-Duszynski/add-support-for-Sensirion-SPS30-PM-sensor/20181125-172634 base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg config: x86_64-allmodconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached

Re: [PATCH v1 3/3] arm64: dts: mt7622: Drop the general purpose timer node

2018-11-25 Thread Ryder Lee
On Fri, 2018-11-23 at 18:07 +0100, Matthias Brugger wrote: > > On 12/11/2018 02:28, Ryder Lee wrote: > > The crash http://termbin.com/zitb is caused by the timer register > > into system in early pahse during kernel boot, but the clock > > sources didn't get ready at that time. > > > > A better

Re: [PATCH v1 3/3] arm64: dts: mt7622: Drop the general purpose timer node

2018-11-25 Thread Ryder Lee
On Fri, 2018-11-23 at 18:07 +0100, Matthias Brugger wrote: > > On 12/11/2018 02:28, Ryder Lee wrote: > > The crash http://termbin.com/zitb is caused by the timer register > > into system in early pahse during kernel boot, but the clock > > sources didn't get ready at that time. > > > > A better

[PATCH] Fonts: New Terminus large console font

2018-11-25 Thread nimrud
This patch adds an option to compile-in a high resolution and large Terminus (ter16x32) bitmap console font for use with HiDPI and Retina screens. The font was convereted from standard Terminus ter-i32b.psf (size 16x32) with the help of psftools and minor hand editing deleting useless characters.

[PATCH] Fonts: New Terminus large console font

2018-11-25 Thread nimrud
This patch adds an option to compile-in a high resolution and large Terminus (ter16x32) bitmap console font for use with HiDPI and Retina screens. The font was convereted from standard Terminus ter-i32b.psf (size 16x32) with the help of psftools and minor hand editing deleting useless characters.

Re: [PATCH v3 1/2] x86/fpu: track AVX-512 usage of tasks

2018-11-25 Thread Li, Aubrey
On 2018/11/18 22:03, Samuel Neves wrote: > On 11/17/18 12:36 AM, Li, Aubrey wrote: >> On 2018/11/17 7:10, Dave Hansen wrote: >>> Just to be clear: there are 3 AVX-512 XSAVE states: >>> >>> XFEATURE_OPMASK, >>> XFEATURE_ZMM_Hi256, >>> XFEATURE_Hi16_ZMM, >>> >>> I honestly

Re: [PATCH v3 1/2] x86/fpu: track AVX-512 usage of tasks

2018-11-25 Thread Li, Aubrey
On 2018/11/18 22:03, Samuel Neves wrote: > On 11/17/18 12:36 AM, Li, Aubrey wrote: >> On 2018/11/17 7:10, Dave Hansen wrote: >>> Just to be clear: there are 3 AVX-512 XSAVE states: >>> >>> XFEATURE_OPMASK, >>> XFEATURE_ZMM_Hi256, >>> XFEATURE_Hi16_ZMM, >>> >>> I honestly

Re: [PATCH] mm: put_and_wait_on_page_locked() while page is migrated

2018-11-25 Thread Hugh Dickins
On Sun, 25 Nov 2018, Linus Torvalds wrote: > On Sat, Nov 24, 2018 at 7:21 PM Hugh Dickins wrote: > > > > Linus, I'm addressing this patch to you because I see from Tim Chen's > > thread that it would interest you, and you were disappointed not to > > root cause the issue back then. I'm not

Re: [PATCH] mm: put_and_wait_on_page_locked() while page is migrated

2018-11-25 Thread Hugh Dickins
On Sun, 25 Nov 2018, Linus Torvalds wrote: > On Sat, Nov 24, 2018 at 7:21 PM Hugh Dickins wrote: > > > > Linus, I'm addressing this patch to you because I see from Tim Chen's > > thread that it would interest you, and you were disappointed not to > > root cause the issue back then. I'm not

[PATCH] ext4: fix possible use after free in ext4_quota_enable

2018-11-25 Thread Pan Bian
The function frees qf_inode via iput but then pass qf_inode to lockdep_set_quota_inode on the failure path. This may result in a use-after-free bug. The patch frees df_inode only when it is never used. Signed-off-by: Pan Bian Fixes: daf647d2dd5("ext4: add lockdep annotations for i_data_sem") ---

[PATCH] ext4: fix possible use after free in ext4_quota_enable

2018-11-25 Thread Pan Bian
The function frees qf_inode via iput but then pass qf_inode to lockdep_set_quota_inode on the failure path. This may result in a use-after-free bug. The patch frees df_inode only when it is never used. Signed-off-by: Pan Bian Fixes: daf647d2dd5("ext4: add lockdep annotations for i_data_sem") ---

Re: [PATCH rdma-next 3/3] RDMA/hns: Modify hns RoCE device's name

2018-11-25 Thread Jason Gunthorpe
On Sat, Nov 24, 2018 at 09:01:19PM +0800, Wei Hu (Xavier) wrote: > > > On 2018/11/24 4:39, Jason Gunthorpe wrote: > > On Fri, Nov 23, 2018 at 11:14:25PM +0800, Wei Hu (Xavier) wrote: > >> This patch modifies the name of hns RoCE device's name in order > >> to ensure that the name is consistent

Re: [PATCH rdma-next 3/3] RDMA/hns: Modify hns RoCE device's name

2018-11-25 Thread Jason Gunthorpe
On Sat, Nov 24, 2018 at 09:01:19PM +0800, Wei Hu (Xavier) wrote: > > > On 2018/11/24 4:39, Jason Gunthorpe wrote: > > On Fri, Nov 23, 2018 at 11:14:25PM +0800, Wei Hu (Xavier) wrote: > >> This patch modifies the name of hns RoCE device's name in order > >> to ensure that the name is consistent

[PATCH] nilfs2: fix potential use after free

2018-11-25 Thread Pan Bian
brelse(bh) is called to drop the reference count of bh when the call to nilfs_dat_translate fails. If the reference count hits 0, bh may be freed. However, bh->b_page is unlocked and put after that, which may result in a use-after-free bug. This patch moves the release operation after unlocking

[PATCH] nilfs2: fix potential use after free

2018-11-25 Thread Pan Bian
brelse(bh) is called to drop the reference count of bh when the call to nilfs_dat_translate fails. If the reference count hits 0, bh may be freed. However, bh->b_page is unlocked and put after that, which may result in a use-after-free bug. This patch moves the release operation after unlocking

Re: [patch V2 21/28] x86/speculation: Prepare for conditional IBPB in switch_mm()

2018-11-25 Thread Andi Kleen
On Sun, Nov 25, 2018 at 11:20:50PM +0100, Thomas Gleixner wrote: > On Sun, 25 Nov 2018, Andi Kleen wrote: > > > > The current check whether two tasks belong to the same context is using > > > the > > > tasks context id. While correct, it's simpler to use the mm pointer > > > because > > > it

Re: [patch V2 21/28] x86/speculation: Prepare for conditional IBPB in switch_mm()

2018-11-25 Thread Andi Kleen
On Sun, Nov 25, 2018 at 11:20:50PM +0100, Thomas Gleixner wrote: > On Sun, 25 Nov 2018, Andi Kleen wrote: > > > > The current check whether two tasks belong to the same context is using > > > the > > > tasks context id. While correct, it's simpler to use the mm pointer > > > because > > > it

[PATCH 2/2] cpufreq: imx6q: save one condition block for normal case of nvmem read

2018-11-25 Thread Anson Huang
Put return value checks of calling imx6ul_opp_check_speed_grading() into one block to save one condition block for normal case. Signed-off-by: Anson Huang --- drivers/cpufreq/imx6q-cpufreq.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/imx6q-cpufreq.c

[PATCH 1/2] cpufreq: imx6q: remove unused code

2018-11-25 Thread Anson Huang
In voltage scale down path, the return value is NOT used at all, remove them to simplify the code. Signed-off-by: Anson Huang --- drivers/cpufreq/imx6q-cpufreq.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/cpufreq/imx6q-cpufreq.c

[PATCH 2/2] cpufreq: imx6q: save one condition block for normal case of nvmem read

2018-11-25 Thread Anson Huang
Put return value checks of calling imx6ul_opp_check_speed_grading() into one block to save one condition block for normal case. Signed-off-by: Anson Huang --- drivers/cpufreq/imx6q-cpufreq.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/imx6q-cpufreq.c

[PATCH 1/2] cpufreq: imx6q: remove unused code

2018-11-25 Thread Anson Huang
In voltage scale down path, the return value is NOT used at all, remove them to simplify the code. Signed-off-by: Anson Huang --- drivers/cpufreq/imx6q-cpufreq.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/cpufreq/imx6q-cpufreq.c

[PATCH 2/2] Drivers: hv: vmbus: offload the handling of channels to two workqueues

2018-11-25 Thread kys
From: Dexuan Cui vmbus_process_offer() mustn't call channel->sc_creation_callback() directly for sub-channels, because sc_creation_callback() -> vmbus_open() may never get the host's response to the OPEN_CHANNEL message (the host may rescind a channel at any time, e.g. in the case of hot

[PATCH 2/2] Drivers: hv: vmbus: offload the handling of channels to two workqueues

2018-11-25 Thread kys
From: Dexuan Cui vmbus_process_offer() mustn't call channel->sc_creation_callback() directly for sub-channels, because sc_creation_callback() -> vmbus_open() may never get the host's response to the OPEN_CHANNEL message (the host may rescind a channel at any time, e.g. in the case of hot

[PATCH 1/2] Drivers: hv: vmbus: check the creation_status in vmbus_establish_gpadl()

2018-11-25 Thread kys
From: Dexuan Cui This is a longstanding issue: if the vmbus upper-layer drivers try to consume too many GPADLs, the host may return with an error 0xC044 (STATUS_QUOTA_EXCEEDED), but currently we forget to check the creation_status, and hence we can pass an invalid GPADL handle into the

[PATCH 1/2] Drivers: hv: vmbus: check the creation_status in vmbus_establish_gpadl()

2018-11-25 Thread kys
From: Dexuan Cui This is a longstanding issue: if the vmbus upper-layer drivers try to consume too many GPADLs, the host may return with an error 0xC044 (STATUS_QUOTA_EXCEEDED), but currently we forget to check the creation_status, and hence we can pass an invalid GPADL handle into the

Re: [PATCH v4 2/2] phy: qualcomm: Add Synopsys High-Speed USB PHY driver

2018-11-25 Thread Shawn Guo
On Fri, Nov 23, 2018 at 03:25:33PM +0530, Kishon Vijay Abraham I wrote: > > +static int qcom_snps_hsphy_por_reset(struct hsphy_priv *priv) > > +{ > > + int ret; > > + > > + ret = reset_control_assert(priv->por_reset); > > + if (ret) > > + return ret; > > + > > + /* > > +* The

Re: [PATCH v4 2/2] phy: qualcomm: Add Synopsys High-Speed USB PHY driver

2018-11-25 Thread Shawn Guo
On Fri, Nov 23, 2018 at 03:25:33PM +0530, Kishon Vijay Abraham I wrote: > > +static int qcom_snps_hsphy_por_reset(struct hsphy_priv *priv) > > +{ > > + int ret; > > + > > + ret = reset_control_assert(priv->por_reset); > > + if (ret) > > + return ret; > > + > > + /* > > +* The

[PATCH 0/2] Drivers: hv: vmbus: Miscellaneous fixes

2018-11-25 Thread kys
From: "K. Y. Srinivasan" Miscellaneous fixes. Dexuan Cui (2): Drivers: hv: vmbus: check the creation_status in vmbus_establish_gpadl() Drivers: hv: vmbus: offload the handling of channels to two workqueues drivers/hv/channel.c | 8 ++ drivers/hv/channel_mgmt.c | 188

[PATCH 0/2] Drivers: hv: vmbus: Miscellaneous fixes

2018-11-25 Thread kys
From: "K. Y. Srinivasan" Miscellaneous fixes. Dexuan Cui (2): Drivers: hv: vmbus: check the creation_status in vmbus_establish_gpadl() Drivers: hv: vmbus: offload the handling of channels to two workqueues drivers/hv/channel.c | 8 ++ drivers/hv/channel_mgmt.c | 188

[PATCH] fs/qnx6: set and bh1 and bh2 to NULL after dropping references

2018-11-25 Thread Pan Bian
The function qnx6_fill_super drops the reference to bh2 when superblock 1 is activated via brelse, otherwise it drops the reference to bh1 when superblock 2 is activated. If error occurs after that, it will try to drop the references to bh1 and bh2 again. This may result in use-after-free bugs.

[PATCH] fs/qnx6: set and bh1 and bh2 to NULL after dropping references

2018-11-25 Thread Pan Bian
The function qnx6_fill_super drops the reference to bh2 when superblock 1 is activated via brelse, otherwise it drops the reference to bh1 when superblock 2 is activated. If error occurs after that, it will try to drop the references to bh1 and bh2 again. This may result in use-after-free bugs.

[PATCH] Drivers: hv: vmbus: Remove the useless API vmbus_get_outgoing_channel()

2018-11-25 Thread kys
From: Dexuan Cui Commit d86adf482b84 ("scsi: storvsc: Enable multi-queue support") removed the usage of the API in Jan 2017, and the API is not used since then. netvsc and storvsc have their own algorithms to determine the outgoing channel, so this API is useless. And the API is potentially

[PATCH] Drivers: hv: vmbus: Remove the useless API vmbus_get_outgoing_channel()

2018-11-25 Thread kys
From: Dexuan Cui Commit d86adf482b84 ("scsi: storvsc: Enable multi-queue support") removed the usage of the API in Jan 2017, and the API is not used since then. netvsc and storvsc have their own algorithms to determine the outgoing channel, so this API is useless. And the API is potentially

[PATCH V12 05/20] block: remove bvec_iter_rewind()

2018-11-25 Thread Ming Lei
Commit 7759eb23fd980 ("block: remove bio_rewind_iter()") removes bio_rewind_iter(), then no one uses bvec_iter_rewind() any more, so remove it. Signed-off-by: Ming Lei --- include/linux/bvec.h | 24 1 file changed, 24 deletions(-) diff --git a/include/linux/bvec.h

[PATCH V12 05/20] block: remove bvec_iter_rewind()

2018-11-25 Thread Ming Lei
Commit 7759eb23fd980 ("block: remove bio_rewind_iter()") removes bio_rewind_iter(), then no one uses bvec_iter_rewind() any more, so remove it. Signed-off-by: Ming Lei --- include/linux/bvec.h | 24 1 file changed, 24 deletions(-) diff --git a/include/linux/bvec.h

Dear Urgent Respond,

2018-11-25 Thread David Cooper
Sorry to have contacted you through this medium without a previous notice; I had to use the email because it is the easiest and more confidential way of making contact with people around the world. This communication is to inform you that we have programmed your payment of the $10,000.000.00

Dear Urgent Respond,

2018-11-25 Thread David Cooper
Sorry to have contacted you through this medium without a previous notice; I had to use the email because it is the easiest and more confidential way of making contact with people around the world. This communication is to inform you that we have programmed your payment of the $10,000.000.00

Re: [PATCH] mm: do not consider SWAP to calculate available when not necessary

2018-11-25 Thread Matthew Wilcox
On Mon, Nov 26, 2018 at 07:58:23AM +0800, Yang Yang wrote: > When si_mem_available() calculates 'available', it takes SWAP > into account. But if CONFIG_SWAP is N or SWAP is off(some embedded system > would like to do that), there is no need to consider it. I don't understand this patch. The

Re: [PATCH] mm: do not consider SWAP to calculate available when not necessary

2018-11-25 Thread Matthew Wilcox
On Mon, Nov 26, 2018 at 07:58:23AM +0800, Yang Yang wrote: > When si_mem_available() calculates 'available', it takes SWAP > into account. But if CONFIG_SWAP is N or SWAP is off(some embedded system > would like to do that), there is no need to consider it. I don't understand this patch. The

Re: [PATCH] mm: use this_cpu_cmpxchg_double in put_cpu_partial

2018-11-25 Thread Wei Yang
On Tue, Nov 20, 2018 at 10:58 AM zhong jiang wrote: > > On 2018/11/17 9:33, Wengang Wang wrote: > > The this_cpu_cmpxchg makes the do-while loop pass as long as the > > s->cpu_slab->partial as the same value. It doesn't care what happened to > > that slab. Interrupt is not disabled, and new

Re: [PATCH] mm: use this_cpu_cmpxchg_double in put_cpu_partial

2018-11-25 Thread Wei Yang
On Tue, Nov 20, 2018 at 10:58 AM zhong jiang wrote: > > On 2018/11/17 9:33, Wengang Wang wrote: > > The this_cpu_cmpxchg makes the do-while loop pass as long as the > > s->cpu_slab->partial as the same value. It doesn't care what happened to > > that slab. Interrupt is not disabled, and new

[PATCH] autofs: drop dentry reference only when it is never used

2018-11-25 Thread Pan Bian
The function autofs_expire_run calls dput(dentry) to drop the reference count of dentry. However, dentry is read via autofs_dentry_ino(dentry) after that. This may result in a use-free-bug. The patch drops the reference count of dentry only when it is never used. Signed-off-by: Pan Bian ---

[PATCH] autofs: drop dentry reference only when it is never used

2018-11-25 Thread Pan Bian
The function autofs_expire_run calls dput(dentry) to drop the reference count of dentry. However, dentry is read via autofs_dentry_ino(dentry) after that. This may result in a use-free-bug. The patch drops the reference count of dentry only when it is never used. Signed-off-by: Pan Bian ---

[PATCH 2/2] perf report: Display average IPC and IPC coverage per symbol

2018-11-25 Thread Jin Yao
Support displaying the average IPC and IPC coverage for symbol in perf report TUI browser. We create a new sort-key 'ipc' for that. For example, $ perf record -g -b ... $ perf report -s symbol,ipc or perf report -s ipc Overhead Symbol IPC [IPC Coverage] 39.60%

[PATCH 0/2] perf report/annotate: Support average IPC and IPC coverage for function

2018-11-25 Thread Jin Yao
Add supporting of displaying the average IPC and IPC coverage percentage per function. For example, $ perf record -g -b ... $ perf report -s symbol,ipc Overhead Symbol IPC [IPC Coverage] 39.60% [.] __random 2.30 [ 54.8%] 18.02% [.] main

[PATCH 1/2] perf annotate: Compute average IPC and IPC coverage per symbol

2018-11-25 Thread Jin Yao
Add support to perf report annotate view or perf annotate --stdio2 to aggregate the IPC derived from timed LBRs per symbol. We compute the average IPC and the IPC coverage percentage. For example, $ perf annotate --stdio2 Percent IPC Cycle (Average IPC: 2.30, IPC Coverage: 54.8%)

[PATCH 2/2] perf report: Display average IPC and IPC coverage per symbol

2018-11-25 Thread Jin Yao
Support displaying the average IPC and IPC coverage for symbol in perf report TUI browser. We create a new sort-key 'ipc' for that. For example, $ perf record -g -b ... $ perf report -s symbol,ipc or perf report -s ipc Overhead Symbol IPC [IPC Coverage] 39.60%

[PATCH 0/2] perf report/annotate: Support average IPC and IPC coverage for function

2018-11-25 Thread Jin Yao
Add supporting of displaying the average IPC and IPC coverage percentage per function. For example, $ perf record -g -b ... $ perf report -s symbol,ipc Overhead Symbol IPC [IPC Coverage] 39.60% [.] __random 2.30 [ 54.8%] 18.02% [.] main

[PATCH 1/2] perf annotate: Compute average IPC and IPC coverage per symbol

2018-11-25 Thread Jin Yao
Add support to perf report annotate view or perf annotate --stdio2 to aggregate the IPC derived from timed LBRs per symbol. We compute the average IPC and the IPC coverage percentage. For example, $ perf annotate --stdio2 Percent IPC Cycle (Average IPC: 2.30, IPC Coverage: 54.8%)

DEAREST ONE

2018-11-25 Thread Alizata Aron
Greetings My name is Miss Alizata Aron. It give me a great pleasure to write you, it attracts me to write to you so that we can be friends if you will have the desire as me. i will be very happy to be in communication with you so that we can get to know each other better and see what

DEAREST ONE

2018-11-25 Thread Alizata Aron
Greetings My name is Miss Alizata Aron. It give me a great pleasure to write you, it attracts me to write to you so that we can be friends if you will have the desire as me. i will be very happy to be in communication with you so that we can get to know each other better and see what

Re: [RFC PATCH] of: make MAX_RESERVED_REGIONS configurable

2018-11-25 Thread Miles Chen
On Sat, 2018-11-24 at 14:56 -0600, Rob Herring wrote: > On Wed, Nov 21, 2018 at 8:51 PM Miles Chen wrote: > > > > On Wed, 2018-11-21 at 10:39 -0600, Rob Herring wrote: > > > On Wed, Nov 21, 2018 at 2:11 AM wrote: > > > > > > > > From: Miles Chen > > > > > > > > When we use more than 32 entries

Re: [RFC PATCH] of: make MAX_RESERVED_REGIONS configurable

2018-11-25 Thread Miles Chen
On Sat, 2018-11-24 at 14:56 -0600, Rob Herring wrote: > On Wed, Nov 21, 2018 at 8:51 PM Miles Chen wrote: > > > > On Wed, 2018-11-21 at 10:39 -0600, Rob Herring wrote: > > > On Wed, Nov 21, 2018 at 2:11 AM wrote: > > > > > > > > From: Miles Chen > > > > > > > > When we use more than 32 entries

Re: [PATCH v4] debugobjects: scale the static pool size

2018-11-25 Thread Waiman Long
On 11/25/2018 03:42 PM, Qian Cai wrote: > > > On 11/23/18 10:01 PM, Qian Cai wrote: >> >> >>> On Nov 22, 2018, at 4:56 PM, Thomas Gleixner >>> wrote: >>> >>> On Tue, 20 Nov 2018, Qian Cai wrote: >>> >>> Looking deeper at that. >>> diff --git a/lib/debugobjects.c b/lib/debugobjects.c

Re: [PATCH v4] debugobjects: scale the static pool size

2018-11-25 Thread Waiman Long
On 11/25/2018 03:42 PM, Qian Cai wrote: > > > On 11/23/18 10:01 PM, Qian Cai wrote: >> >> >>> On Nov 22, 2018, at 4:56 PM, Thomas Gleixner >>> wrote: >>> >>> On Tue, 20 Nov 2018, Qian Cai wrote: >>> >>> Looking deeper at that. >>> diff --git a/lib/debugobjects.c b/lib/debugobjects.c

Re: [PATCH v4 2/5] nds32: Support FP emulation

2018-11-25 Thread Vincent Chen
On Fri, Nov 23, 2018 at 06:53:37PM +0800, David Laight wrote: > From: Vincent Chen > > Sent: 22 November 2018 03:15 > > > > The Andes FPU coprocessor does not support denormalized number handling. > > According to the specification, FPU generates a denorm input exception > > that requires the

Re: [PATCH 1/2 v3] powerpc/fsl: Use new clockgen binding

2018-11-25 Thread Scott Wood
On Wed, 2018-10-31 at 14:57 +0800, Yuantian Tang wrote: > From: Scott Wood > > The driver retains compatibility with old device trees, but we don't > want the old nodes lying around to be copied, or used as a reference > (some of the mux options are incorrect), or even just being clutter. > >

Re: [PATCH v4 2/5] nds32: Support FP emulation

2018-11-25 Thread Vincent Chen
On Fri, Nov 23, 2018 at 06:53:37PM +0800, David Laight wrote: > From: Vincent Chen > > Sent: 22 November 2018 03:15 > > > > The Andes FPU coprocessor does not support denormalized number handling. > > According to the specification, FPU generates a denorm input exception > > that requires the

Re: [PATCH 1/2 v3] powerpc/fsl: Use new clockgen binding

2018-11-25 Thread Scott Wood
On Wed, 2018-10-31 at 14:57 +0800, Yuantian Tang wrote: > From: Scott Wood > > The driver retains compatibility with old device trees, but we don't > want the old nodes lying around to be copied, or used as a reference > (some of the mux options are incorrect), or even just being clutter. > >

RE: [PATCH V6 2/2] can: flexcan: add self wakeup support

2018-11-25 Thread Joakim Zhang
Hi Marc, Firstly, thanks for reviewing the patch. Then, I am confused to do upstream on "linux-can" or "linux-can-next" due to I find "linux-can" is more updated than "linux-can-next". Best Regards, Joakim Zhang > -Original Message- > From: Marc Kleine-Budde > Sent: 2018年11月23日

RE: [PATCH V6 2/2] can: flexcan: add self wakeup support

2018-11-25 Thread Joakim Zhang
Hi Marc, Firstly, thanks for reviewing the patch. Then, I am confused to do upstream on "linux-can" or "linux-can-next" due to I find "linux-can" is more updated than "linux-can-next". Best Regards, Joakim Zhang > -Original Message- > From: Marc Kleine-Budde > Sent: 2018年11月23日

Re: linux-next: build warnings after merge of the cifs tree

2018-11-25 Thread Stephen Rothwell
Hi Steve, On Sun, 25 Nov 2018 18:31:40 -0600 Steve French wrote: > > Both of those cases are intentional fallthroughs and there are > existing comments in the code noting the reasons for them to > fallthrough > > (also can see the reasoning for these in the commits which introduced > them from

Re: linux-next: build warnings after merge of the cifs tree

2018-11-25 Thread Stephen Rothwell
Hi Steve, On Sun, 25 Nov 2018 18:31:40 -0600 Steve French wrote: > > Both of those cases are intentional fallthroughs and there are > existing comments in the code noting the reasons for them to > fallthrough > > (also can see the reasoning for these in the commits which introduced > them from

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-11-25 Thread Andy Lutomirski
Bah, I hit send on a partially written draft. I’ll try again soon. --Andy > On Nov 25, 2018, at 1:59 PM, Andy Lutomirski wrote: > > > >> On Nov 25, 2018, at 10:55 AM, Dr. Greg wrote: >> > >> >> >> The notion of a launch enclave is critical to establishing these >> guarantees. As soon

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-11-25 Thread Andy Lutomirski
Bah, I hit send on a partially written draft. I’ll try again soon. --Andy > On Nov 25, 2018, at 1:59 PM, Andy Lutomirski wrote: > > > >> On Nov 25, 2018, at 10:55 AM, Dr. Greg wrote: >> > >> >> >> The notion of a launch enclave is critical to establishing these >> guarantees. As soon

Re: linux-next: build warnings after merge of the cifs tree

2018-11-25 Thread Steve French
Both of those cases are intentional fallthroughs and there are existing comments in the code noting the reasons for them to fallthrough (also can see the reasoning for these in the commits which introduced them from Sachin c369c9a4a7c82) and dde2356c84662) On Sun, Nov 25, 2018 at 6:14 PM Stephen

Re: linux-next: build warnings after merge of the cifs tree

2018-11-25 Thread Steve French
Both of those cases are intentional fallthroughs and there are existing comments in the code noting the reasons for them to fallthrough (also can see the reasoning for these in the commits which introduced them from Sachin c369c9a4a7c82) and dde2356c84662) On Sun, Nov 25, 2018 at 6:14 PM Stephen

<    1   2   3   4   5   6   >