Re: [PATCH 2/7] xfs: validate bdev support for DAX inode flag

2017-09-25 Thread Christoph Hellwig
On Mon, Sep 25, 2017 at 05:13:59PM -0600, Ross Zwisler wrote: > Currently only the blocksize is checked, but we should really be calling > bdev_dax_supported() which also tests to make sure we can get a > struct dax_device and that the dax_direct_access() path is working. > > This is the same chec

Re: [PATCH v5 REPOST 1/6] hw_random: place mutex around read functions and buffers.

2017-09-25 Thread Pankaj Gupta
> > A bit late to a party, but: > > On Mon, Dec 8, 2014 at 12:50 AM, Amos Kong wrote: > > From: Rusty Russell > > > > There's currently a big lock around everything, and it means that we > > can't query sysfs (eg /sys/devices/virtual/misc/hw_random/rng_current) > > while the rng is reading. T

[PATCH 1/6] ath9k: add MSI support and use_msi parameter

2017-09-25 Thread AceLan Kao
Adding MSI support for ath9k devices. This patch is originally from Qualcomm, but they have no intention of submitting and maintaining ath9k driver now. The credit should go to Qualcomm. Signed-off-by: AceLan Kao --- drivers/net/wireless/ath/ath9k/hw.c | 33 ++-- drivers/ne

[PATCH 2/6] ath9k: add a quirk to set use_msi automatically

2017-09-25 Thread AceLan Kao
Some platform(BIOS) blocks legacy interrupts (INTx), and only allows MSI for WLAN device. So adding a quirk to list those machines and set use_msi automatically. Adding Dell Inspiron 24-3460 to the quirk. Signed-off-by: AceLan Kao --- drivers/net/wireless/ath/ath9k/init.c | 21 ++

Re: [PATCH] mtd: nand: wait for tWHR after NAND_CMD_STATUS / NAND_CMD_READID

2017-09-25 Thread Boris Brezillon
On Tue, 26 Sep 2017 12:39:24 +0900 Masahiro Yamada wrote: > Read Status and Read ID require tWHR before reading the first data. > Insert a very short wait to make sure to meet the spec. > > I have not seen any problem report for now, but nand_command() and > nand_command_lP() are generic hooks,

[PATCH 3/6] ath9k: set use_msi=1 on Dell Vostro 3262

2017-09-25 Thread AceLan Kao
BIOS on Dell Vostro 3262 blocks legacy interrupts (INTx), and only allows MSI for WLAN device. Signed-off-by: AceLan Kao --- drivers/net/wireless/ath/ath9k/init.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/i

Re: [git pull] vfs.git regression fix Re: Regression related to ipc shmctl compat

2017-09-25 Thread Christoph Hellwig
On Mon, Sep 25, 2017 at 06:37:28PM -0700, Linus Torvalds wrote: > Pulled and pushed out, but I'd like to note that sparse would have > caught this. Except we are so far away from being sparse-clean that > nobody runs it. I tend to run sparse over the nvme code before sending pull request every tim

Re: [PATCH] printk: simplify no_printk()

2017-09-25 Thread Sergey Senozhatsky
On (09/18/17 00:01), Masahiro Yamada wrote: > Commit 069f0cd00df0 ("printk: Make the printk*once() variants return > a value") surrounded the macro implementation with ({ ... }). > > Now, the inner do { ... } while (0); is redundant. > > Signed-off-by: Masahiro Yamada looks ok to me. can't say

[PATCH 4/6] ath9k: set use_msi=1 on Dell Inspiron 3472

2017-09-25 Thread AceLan Kao
BIOS on Dell Inspiron 3472 blocks legacy interrupts (INTx), and only allows MSI for WLAN device. Signed-off-by: AceLan Kao --- drivers/net/wireless/ath/ath9k/init.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k

[PATCH 5/6] ath9k: set use_msi=1 on Dell Vostro 15-3572

2017-09-25 Thread AceLan Kao
BIOS on Dell Vostro 15-3572 blocks legacy interrupts (INTx), and only allows MSI for WLAN device. Signed-off-by: AceLan Kao --- drivers/net/wireless/ath/ath9k/init.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9

[PATCH 6/6] ath9k: set use_msi=1 on Dell Inspiron 14-3473

2017-09-25 Thread AceLan Kao
BIOS on Dell Inspiron 14-3473 blocks legacy interrupts (INTx), and only allows MSI for WLAN device. Signed-off-by: AceLan Kao --- drivers/net/wireless/ath/ath9k/init.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/at

RE: [PATCH v2 net-next 10/10] net: hns3: Add mqprio support when interacting with network stack

2017-09-25 Thread Yuval Mintz
> When using tc qdisc to configure DCB parameter, dcb_ops->setup_tc > is used to tell hclge_dcb module to do the setup. While this might be a step in the right direction, this causes an inconsistency in user experience - Some [well, most] vendors didn't allow the mqprio priority mapping to affect

Re: [PATCH 2/6] ath9k: add a quirk to set use_msi automatically

2017-09-25 Thread Christoph Hellwig
On Tue, Sep 26, 2017 at 02:41:35PM +0800, AceLan Kao wrote: > Some platform(BIOS) blocks legacy interrupts (INTx), and only allows MSI > for WLAN device. So adding a quirk to list those machines and set > use_msi automatically. > Adding Dell Inspiron 24-3460 to the quirk. Huh? Using MSI should be

Re: [PATCH] Drivers: pinctrl: intel fixed typo

2017-09-25 Thread Mika Westerberg
On Mon, Sep 25, 2017 at 02:41:56PM -0400, Chris Gorman wrote: > fixed typo in comment for north_community > > Signed-off-by: Chris Gorman Please fix title to be something like "pinctrl: cherryview: Fix typo in comment". And also in the commit message, start it with capital letter and end with ".

Re: [PATCH v4 4/9] em28xx: fix em28xx_dvb_init for KASAN

2017-09-25 Thread Arnd Bergmann
On Mon, Sep 25, 2017 at 11:32 PM, Arnd Bergmann wrote: > On Mon, Sep 25, 2017 at 7:41 AM, David Laight wrote: >> From: Arnd Bergmann >>> Sent: 22 September 2017 22:29 >> ... >>> It seems that this is triggered in part by using strlcpy(), which the >>> compiler doesn't recognize as copying at most

Re: [PATCH] percpu: make this_cpu_generic_read() atomic w.r.t. interrupts

2017-09-25 Thread Christopher Lameter
On Mon, 25 Sep 2017, Tejun Heo wrote: > Hello, > > On Mon, Sep 25, 2017 at 04:33:02PM +0100, Mark Rutland wrote: > > Unfortunately, the generic this_cpu_read(), which is intended to be > > irq-safe, is not: > > > > #define this_cpu_generic_read(pcp) \ > > ({

[PATCH v2 1/4] Add a new element for the struct perf_tool, and add the --per-event-dump option for perf script

2017-09-25 Thread yuzhoujian
This patch will add a new bool variable per_event_dump to mark the per-event-dump option, and add the OPT_BOOLEAN for per-event-dump in the perf_data_file struct. Changes since v1: - remove the set for script.tool.per_event_dump variable,since the OPT_BOOLEAN will do the same thing. Signed-off-

[PATCH v2 0/4] perf script: Add script per-event-dump support

2017-09-25 Thread yuzhoujian
Introduce a new option to print trace output to files named by the monitored events and update perf-script documentation accordingly. Shown below is output of perf script command with the newly introduced option. $perf record -e cycles -e cs -ag -- sleep 10 $perf script --per-e

[PATCH v2 2/4] Add fp argument to print functions

2017-09-25 Thread yuzhoujian
This patch will add the fp argument to all the print functions so that they can use different file pointer to print on the screen or dump in the file. Changes since v1: - add the __maybe_unused attribute for the fp argument in all the print functions, because the fp is not used in this patch bu

[PATCH v2 3/4] Replace printf with fprintf for all print functions

2017-09-25 Thread yuzhoujian
This patch will replace printf with fprintf for all print functions in the builtin-script in order to support the per-event-dump option. Changes since v1: - remove the fp_selection_helper function for setting the fp argument, and use a local variable to do the same thing. Signed-off-by: yuzhouji

[PATCH] IB/mlx5:: pr_err() and mlx5_ib_dbg() strings should end with newlines

2017-09-25 Thread Arvind Yadav
pr_err() and mlx5_ib_dbg( messages should terminated with a new-line to avoid other messages being concatenated. Signed-off-by: Arvind Yadav --- drivers/infiniband/hw/mlx5/mr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/hw/mlx5/mr.c b/drivers/infin

Re: [PATCH 3/3] driver core: platform: Don't read past the end of "driver_override" buffer

2017-09-25 Thread Greg Kroah-Hartman
On Mon, Sep 25, 2017 at 06:50:00PM -0500, Bjorn Helgaas wrote: > Greg, I assume you'll deal with this one? Just let me know if I > should do something with it. I've already applied it to my driver-core-next tree, thanks. greg k-h

[PATCH] IB/ocrdma: pr_err() strings should end with newlines

2017-09-25 Thread Arvind Yadav
pr_err() messages should end with a new-line to avoid other messages being concatenated. Signed-off-by: Arvind Yadav --- drivers/infiniband/hw/ocrdma/ocrdma_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_stats.c b/drivers/infiniba

Re: [PATCH v1 0/2] NVIDIA Tegra20 video decoder driver

2017-09-25 Thread Greg Kroah-Hartman
On Tue, Sep 26, 2017 at 01:15:41AM +0300, Dmitry Osipenko wrote: > This driver provides accelerated video decoding to NVIDIA Tegra20 SoC's, > it is a result of reverse-engineering efforts. Driver has been tested on > Toshiba AC100 and Acer A500, it should work on any Tegra20 device. > > In userspa

[PATCH] llist: Put parentheses around parameters of llist_for_each_entry_safe()

2017-09-25 Thread Byungchul Park
It would be somewhat safer to put parentheses around parameters of a macro with parameters. Put it. Signed-off-by: Byungchul Park --- include/linux/llist.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/llist.h b/include/linux/llist.h index 1957635..e280b

Re: [PATCH] scsi: fc: check for rport presence in fc_block_scsi_eh

2017-09-25 Thread Johannes Thumshirn
On Mon, Sep 25, 2017 at 11:29:07PM +, Bart Van Assche wrote: > Did you perhaps intend to use WARN_ON_ONCE() instead of WARN_ON()? Now that you're saying it. I'll send a v2. Thanks, Johannes -- Johannes Thumshirn Storage jthumsh...@suse.de

[PATCH v2 4/4] Make all print functions receive the fp argument, and opens a dump file in process_event.

2017-09-25 Thread yuzhoujian
This patch will make all print functions receive the fp argument, and opens a dump file in process_event function Changes since v1: - modify the dump file name to -script-dump-.txt ect. perf.data-script-dump-cycles.txt, perf.data-script-dump-cs.txt - split the original patch(Make all those related

Re: [PATCH 2/3] sched/fair: Introduce scaled capacity awareness in select_idle_sibling code path

2017-09-25 Thread Joel Fernandes
Hi Rohit, Just some comments: On Mon, Sep 25, 2017 at 5:02 PM, Rohit Jain wrote: > While looking for CPUs to place running tasks on, the scheduler > completely ignores the capacity stolen away by RT/IRQ tasks. > > This patch fixes that. > > Signed-off-by: Rohit Jain > --- > kernel/sched/fair.c

Re: [PATCH v3 2/2] staging: ion: create one device entry per heap

2017-09-25 Thread Greg KH
On Tue, Sep 26, 2017 at 07:09:14AM +0200, Daniel Vetter wrote: > On Mon, Sep 25, 2017 at 11:26:27AM -0700, Laura Abbott wrote: > > On 09/20/2017 01:45 AM, Benjamin Gaignard wrote: > > > Instead a getting one common device "/dev/ion" for > > > all the heaps this patch allow to create one device > >

[PATCH v2 1/1] scsi: fc: check for rport presence in fc_block_scsi_eh

2017-09-25 Thread Johannes Thumshirn
Coverity-scan recently found a possible NULL pointer dereference in fc_block_scsi_eh() as starget_to_rport() either returns the rport for the startget or NULL. While it is rather unlikely to have fc_block_scsi_eh() called without an rport associated it's a good idea to catch potential misuses of t

[PATCH] Input: pr_err() strings should end with newlines

2017-09-25 Thread Arvind Yadav
pr_err() messages should end with a new-line to avoid other messages being concatenated. Signed-off-by: Arvind Yadav --- drivers/input/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/input.c b/drivers/input/input.c index d268fdc..ffb8642 100644 --- a/dri

<    4   5   6   7   8   9