RE: [Intel-wired-lan] [PATCH v2 1/1] e1000e: Undo e1000e_pm_freeze if __e1000_shutdown fails

2017-06-06 Thread Brown, Aaron F
> From: Intel-wired-lan [mailto:intel-wired-lan-boun...@osuosl.org] On Behalf > Of Jeff Kirsher > Sent: Tuesday, June 6, 2017 1:46 PM > To: David Miller ; Nikula, Jani > > Cc: Ursulin, Tvrtko ; daniel.vet...@ffwll.ch; intel- >

Re: [PATCH v1 1/3] mfd: Add new mfd device TPS68470

2017-06-06 Thread kbuild test robot
Hi Rajmohan, [auto build test WARNING on ljones-mfd/for-mfd-next] [also build test WARNING on v4.12-rc4 next-20170606] [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/Rajmohan-Mani/mfd-Add-new

[PATCH] f2fs: fix to avoid panic when encountering corrupt node

2017-06-06 Thread Chao Yu
With fault_injection option, generic/361 of fstests will complain us with below message: Call Trace: get_node_page+0x12/0x20 [f2fs] f2fs_iget+0x92/0x7d0 [f2fs] f2fs_fill_super+0x10fb/0x15e0 [f2fs] mount_bdev+0x184/0x1c0 f2fs_mount+0x15/0x20 [f2fs] mount_fs+0x39/0x150

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

2017-06-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: arch/unicore32/include/asm/Kbuild between commit: bc27113620ca ("unicore32-oldabi: add oldabi syscall interface") from the unicore32 tree and commit: 6bc51cbaa9d7 ("signal: Remove non-uapi ") from the tip tree. I

[PATCH] Add driver for GOODiX GTx5 series touchsereen

2017-06-06 Thread Wang Yafei
This driver is for GOODiX GTx5 series touchscreen controllers such as GT8589, GT7589. This driver designed with hierarchial structure, for that can be modified to support subsequent controllers easily. Some zones of the touchscreen can be set to buttons(according to the hardware). That is why it

Re: [PATCH 10/16] powerpc: vio: use dev_groups and not dev_attrs for bus_type

2017-06-06 Thread Benjamin Herrenschmidt
On Wed, 2017-06-07 at 07:45 +0200, Greg Kroah-Hartman wrote: > On Wed, Jun 07, 2017 at 09:04:41AM +1000, Benjamin Herrenschmidt wrote: > > On Tue, 2017-06-06 at 21:30 +0200, Greg Kroah-Hartman wrote: > > > >   > > > >   static struct device_attribute vio_dev_attrs[] = { > > > >    

[patch] compiler, clang: move inline definition to compiler-gcc.h

2017-06-06 Thread David Rientjes
The motivation of commit abb2ea7dfd82 ("compiler, clang: suppress warning for unused static inline functions") is to suppress clang's warnings about unused static inline functions. Clang defines __GNUC__ so it inherits all of compiler-gcc.h as well, so the redefinition of `inline' ends up

[PATCH 2/2] tcp: md5: add fields to the tcp_md5sig struct to set a key address prefix

2017-06-06 Thread Ivan Delalande
Replace padding in the socket option structure tcp_md5sig with a new flag field and address prefix length so it can be specified when configuring a new key with the TCP_MD5SIG socket option. Signed-off-by: Bob Gilligan Signed-off-by: Eric Mowat

[PATCH 1/2] tcp: md5: add an address prefix for key lookup

2017-06-06 Thread Ivan Delalande
This allows the keys used for TCP MD5 signature to be used for whole range of addresses, specified with a prefix length, instead of only one address as it currently is. Signed-off-by: Bob Gilligan Signed-off-by: Eric Mowat Signed-off-by: Ivan Delalande

Re: [PATCH 2/3] target: Add TARGET_SCF_LOOKUP_LUN_FROM_TAG support for ABORT_TASK

2017-06-06 Thread Tran, Quinn
Looks Good. Regards, Quinn Tran -Original Message- From: Nicholas Bellinger Date: Saturday, June 3, 2017 at 3:10 PM To: target-devel Cc: linux-scsi , lkml , Nicholas Bellinger

Re: [PATCH 1/3] target: Add support for TMR percpu reference counting

2017-06-06 Thread Tran, Quinn
Looks good. Regards, Quinn Tran -Original Message- From: Nicholas Bellinger Date: Saturday, June 3, 2017 at 3:10 PM To: target-devel Cc: linux-scsi , lkml , Nicholas Bellinger

Re: [PATCH] driver core: remove CLASS_ATTR usage

2017-06-06 Thread Michael Ellerman
Greg KH writes: > From: Greg Kroah-Hartman > > There was only 2 remaining users of CLASS_ATTR() so let's finally get > rid of them and force everyone to use the correct RW/RO/WO versions > instead. > > Cc: Benjamin Herrenschmidt

Re: [RFC PATCH 2/4] mm, tree wide: replace __GFP_REPEAT by __GFP_RETRY_MAYFAIL with more useful semantic

2017-06-06 Thread Wei Yang
On Tue, Jun 06, 2017 at 02:03:15PM +0200, Michal Hocko wrote: >On Tue 06-06-17 11:04:01, Wei Yang wrote: >> On Mon, Jun 05, 2017 at 08:43:43AM +0200, Michal Hocko wrote: >> >On Sat 03-06-17 10:24:40, Wei Yang wrote: >> >> Hi, Michal >> >> >> >> Just go through your patch. >> >> >> >> I have one

[PATCH] autofs: sanity check status reported with AUTOFS_DEV_IOCTL_FAIL

2017-06-06 Thread NeilBrown
If a positive status is passed with the AUTOFS_DEV_IOCTL_FAIL ioctl, autofs4_d_automount() will return ERR_PTR(status) with that status to follow_automount(), which will then dereference an invalid pointer. So treat a positive status the same as zero, and map to ENOENT. See comment in

[PATCH] sched/idle: Add deferrable vmstat_updater back

2017-06-06 Thread Aubrey Li
Deferrable vmstat_updater was missing in commit c1de45ca831a ("sched/idle: Add support for tasks that inject idle"), add it back Signed-off-by: Aubrey Li --- kernel/sched/idle.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/idle.c

Re: [LTP] [BUG] Unable to handle kernel paging request for unaligned access at address 0xc0000001c52c53df

2017-06-06 Thread Eryu Guan
On Tue, Jun 06, 2017 at 06:00:34PM +0800, Li Wang wrote: > Hi, > > ltp/access04 always panic the latest mainstream kernel-4.12-rc4 on > ppc64le. From the calltrace > I guess the reason is probably that the tests mount ext2 file system > using ext4 driver. > > A simple way to reproduce: > > # dd

Re: [PATCH v2 0/2] x86/mm/KASLR: Do not adapt size of the direct mapping section for SGI UV system

2017-06-06 Thread Baoquan He
Hi all, PING! Is there any further comment or suggetion about this patchset? Thanks Baoquan On 05/20/17 at 08:02pm, Baoquan He wrote: > This is v2 post. > > This patchset is trying to fix a bug that SGI UV system casually hang > during boot with KASLR enabled. The root cause is that mm KASLR

"selinux: support distinctions among all network address families" causing existing bluetooth sepolicies to not work properly with Android?

2017-06-06 Thread John Stultz
Hey folks, Recently I was working to validate/enable a new bluetooth HAL on HiKey with Android, and after getting it working properly with a 4.9 based kernel, I found that I was seeing failures trying to run with an upstream (4.12-rc3 based) kernel. It seemed a call to: socket(AF_BLUETOOTH,

Re: [PATCH v3] hwmon: Add support for MAX31785 intelligent fan controller

2017-06-06 Thread kbuild test robot
Hi Andrew, [auto build test ERROR on hwmon/hwmon-next] [also build test ERROR on v4.12-rc4 next-20170606] [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/Andrew-Jeffery/hwmon-Add-support

Re: tty: possible deadlock in tty_buffer_flush

2017-06-06 Thread Bart Van Assche
On Mon, 2017-05-29 at 17:19 +0200, Andrey Konovalov wrote: > I've got the following error report while fuzzing the kernel with syzkaller. > > On commit 5ed02dbb497422bf225783f46e6eadd237d23d6b (4.12-rc3). > > == > WARNING: possible circular

Re: [PATCH] external references for device tree overlays

2017-06-06 Thread Frank Rowand
On 06/06/17 12:22, Stefani Seibold wrote: > Hi Frank, > > On 06.06.2017, 00:20 -0700 Frank Rowand wrote:: >> On 06/05/17 05:59, Stefani Seibold wrote: >>> From: Stefani Seibold >>> >>> This patch enables external references for symbols which are not >>> exported by the

Re: [PATCH 2/6] efi: Avoid fortify checks in EFI stub

2017-06-06 Thread Kees Cook
On Tue, Jun 6, 2017 at 10:17 AM, Mark Rutland wrote: > On Tue, Jun 06, 2017 at 05:13:07PM +, Ard Biesheuvel wrote: >> (+ Mark, Matt) >> >> On 6 June 2017 at 04:52, Kees Cook wrote: >> > This avoids CONFIG_FORTIFY_SOURCE from being enabled during

Re: [PATCH] modpost: abort if a module name is too long

2017-06-06 Thread Jessica Yu
+++ Wanlong Gao [06/06/17 09:07 +0800]: On 2017/6/5 10:09, Jessica Yu wrote: +++ Wanlong Gao [02/06/17 11:04 +0800]: On 2017/6/2 7:23, Jessica Yu wrote: +++ Wanlong Gao [31/05/17 11:48 +0800]: On 2017/5/31 11:30, Jessica Yu wrote: +++ Wanlong Gao [31/05/17 10:23 +0800]: Hi Jessica,

Re: [PATCH] Revert "mm: vmpressure: fix sending wrong events on underflow"

2017-06-06 Thread Minchan Kim
On Wed, Jun 07, 2017 at 11:08:37AM +0800, zhongjiang wrote: > This reverts commit e1587a4945408faa58d0485002c110eb2454740c. > > THP lru page is reclaimed , THP is split to normal page and loop again. > reclaimed pages should not be bigger than nr_scan. because of each > loop will increase

Re: [PATCH v9 05/10] powerpc/perf: IMC pmu cpumask and cpuhotplug support

2017-06-06 Thread Anju T Sudhakar
Hi Thomas, Thank you for reviewing the patch. On Tuesday 06 June 2017 02:09 PM, Thomas Gleixner wrote: On Mon, 5 Jun 2017, Anju T Sudhakar wrote: +/* + * nest_imc_stop : Does OPAL call to stop nest engine. + */ +static void nest_imc_stop(int *cpu_opal_rc) +{ + int rc; + + rc =

Re: [RFC] usb-phy-generic: Add support to SMSC USB3315

2017-06-06 Thread Peter Chen
On Tue, Jun 06, 2017 at 07:36:10PM +0200, Fabien Lahoudere wrote: > Hi Peter, > > On Tue, 2017-06-06 at 09:55 +0800, Peter Chen wrote: > > On Mon, Jun 05, 2017 at 11:52:26AM +0200, Fabien Lahoudere wrote: > > > On Mon, 2017-06-05 at 17:43 +0800, Peter Chen wrote: > > > > On Mon, Jun 05, 2017 at

[PATCH] arm:lpae: build TTB control register value from scratch in v7_ttb_setup

2017-06-06 Thread Hoeun Ryu
Reading TTBCR in early boot stage might return the value of the previous kernel's configuration, especially in case of kexec. For example, if normal kernel (first kernel) had run on a configuration of PHYS_OFFSET <= PAGE_OFFSET and crash kernel (second kernel) is running on a configuration

Re: [PATCH v4 04/23] mtd: nand: denali: avoid hard-coding ECC step, strength, bytes

2017-06-06 Thread Masahiro Yamada
Hi Boris, 2017-06-07 7:01 GMT+09:00 Boris Brezillon : > On Tue, 6 Jun 2017 08:21:43 +0900 > Masahiro Yamada wrote: > >> This driver was originally written for the Intel MRST platform with >> several platform-specific parameters

Re: [PATCH v2] security/keys: rewrite all of big_key crypto

2017-06-06 Thread Eric Biggers
[ 43.700843] CPU: 0 PID: 219 Comm: keyctl Not tainted 4.12.0-rc4-next-20170606-xfstests-3-gc6e36366c198 #120 [ 43.707361] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-20170228_101828-anatol 04/01/2014 [ 43.712167] task: 9ff6f97d8340 task.stack: b

linux-next: manual merge of the kselftest tree with the jc_docs tree

2017-06-06 Thread Stephen Rothwell
Hi Shuah, Today's linux-next merge of the kselftest tree got a conflict in: Documentation/dev-tools/index.rst between commit: 7fb2e8a49037 ("docs-rst: convert kgdb DocBook to ReST") from the jc_docs tree and commit: 5714b6531b49 ("Documentation/dev-tools: Use reStructuredText markups

Re: Regression on ARMs in next-20170531

2017-06-06 Thread Tony Lindgren
> > > [] (cache_alloc_refill) from [] > > > (kmem_cache_alloc+0x2d4/0x364) > > > [] (kmem_cache_alloc) from [] > > > (create_kmalloc_cache+0x20/0x8c) > > > [] (create_kmalloc_cache) from [] > > > (kmem_cache_init+0xac/0x11c) > > > [] (

Re: [kernel-hardening] Re: [PATCH v3 04/13] crypto/rng: ensure that the RNG is ready before using

2017-06-06 Thread Stephan Müller
Am Mittwoch, 7. Juni 2017, 00:19:10 CEST schrieb Henrique de Moraes Holschuh: Hi Henrique, > On that same idea, one could add an early_initramfs handler for entropy > data. Any data that comes from outside during the boot process, be it some NVRAM location, the /var/lib...seed file for

Re: [PATCH] mm: vmscan: do not pass reclaimed slab to vmpressure

2017-06-06 Thread Minchan Kim
Hi, On Tue, Jun 06, 2017 at 09:00:55PM +0800, zhong jiang wrote: > On 2017/1/31 7:40, Minchan Kim wrote: > > Hi Vinayak, > > Sorry for late response. It was Lunar New Year holidays. > > > > On Fri, Jan 27, 2017 at 01:43:23PM +0530, vinayak menon wrote: > >>> Thanks for the explain. However, such

Re: [RFC 10/55] KVM: arm64: Synchronize EL1 system registers on virtual EL2 entry and exit

2017-06-06 Thread Jintack Lim
Hi Bandan, On Tue, Jun 6, 2017 at 4:16 PM, Bandan Das wrote: > Jintack Lim writes: > >> From: Christoffer Dall >> >> When running in virtual EL2 we use the shadow EL1 systerm register array >> for the save/restore process,

Re: [PATCH 3/5] mfd: tps65217: Add a dependency on OF

2017-06-06 Thread Keerthy
On Tuesday 06 June 2017 08:34 PM, Enric Balletbo Serra wrote: > Hi Keerthy, > > By change I was looking at this. Some comments below that I think can > be applied to all patches in this series > > 2017-06-06 16:45 GMT+02:00 Keerthy : >> Currently the driver boots only via

Re: [PATCH] clk: sunxi-ng: Move all clock types to a library

2017-06-06 Thread Chen-Yu Tsai
On Tue, Jun 6, 2017 at 6:04 PM, Arnd Bergmann wrote: > On Mon, Jun 5, 2017 at 4:45 PM, Maxime Ripard > wrote: >> Hi, >> >> On Sat, Jun 03, 2017 at 12:22:32PM +0800, kbuild test robot wrote: >>> Hi Stephen, >>> >>> [auto build test ERROR on

Re: [PATCH 10/16] powerpc: vio: use dev_groups and not dev_attrs for bus_type

2017-06-06 Thread Greg Kroah-Hartman
On Wed, Jun 07, 2017 at 09:04:41AM +1000, Benjamin Herrenschmidt wrote: > On Tue, 2017-06-06 at 21:30 +0200, Greg Kroah-Hartman wrote: > > >   > > >   static struct device_attribute vio_dev_attrs[] = { > > >    __ATTR_RO(name), > > > @@ -1573,6 +1576,13 @@ static struct device_attribute

Re: [PATCH v9 07/10] powerpc/perf: PMU functions for Core IMC and hotplugging

2017-06-06 Thread Anju T Sudhakar
Hi Thomas, On Tuesday 06 June 2017 03:39 PM, Thomas Gleixner wrote: On Mon, 5 Jun 2017, Anju T Sudhakar wrote: +static void cleanup_all_core_imc_memory(struct imc_pmu *pmu_ptr) +{ + struct imc_mem_info *ptr = pmu_ptr->mem_info; + + if (!ptr) + return; That's

[rcu:spf 6/20] mm/memory.c:3967:19: error: passing argument 1 of 'pud_offset' from incompatible pointer type

2017-06-06 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git spf head: 763f66834bf1d9c6ec6f7e7f8a9c07f5ff44c631 commit: 708f84e40c5ee0d0c2ef6c3abe11004bc6042784 [6/20] mm: Provide speculative fault infrastructure config: x86_64-randconfig-x019-201723 (attached as .config)

[PATCH] remoteproc: qcom: mdt_loader: Fix rproc_da_to_va

2017-06-06 Thread Sarangdhar Joshi
Refactoring MDT loader broke rproc_da_to_va() for Qualcomm images. This causes an incorrect computation of offset and returns an incorrect virtual address for the relocatable segment(s). Fix this by adding an "out" parameter to qcom_mdt_loader() and setting the correct segment base address in

Re: [PATCH] mm: vmscan: do not pass reclaimed slab to vmpressure

2017-06-06 Thread zhong jiang
On 2017/6/7 10:53, Minchan Kim wrote: > Hi, > > On Tue, Jun 06, 2017 at 09:00:55PM +0800, zhong jiang wrote: >> On 2017/1/31 7:40, Minchan Kim wrote: >>> Hi Vinayak, >>> Sorry for late response. It was Lunar New Year holidays. >>> >>> On Fri, Jan 27, 2017 at 01:43:23PM +0530, vinayak menon wrote:

RE: [PATCH] ARM: imx6ull: Make suspend/resume work like on 6ul

2017-06-06 Thread Anson Huang
Best Regards! Anson Huang > -Original Message- > From: Shawn Guo [mailto:shawn...@kernel.org] > Sent: 2017-06-07 11:21 AM > To: Anson Huang > Cc: Leonard Crestez ; Peter Chen > ; linux-kernel@vger.kernel.org; Fabio

Re: [PATCH 2/2] acpi, gicv3-its, numa: Adding numa node mapping for gic-its units

2017-06-06 Thread Ganapatrao Kulkarni
Adding Lorenzo and Hanzun. On Tue, Jun 6, 2017 at 6:26 PM, Ganapatrao Kulkarni wrote: > Add code to parse SRAT ITS Affinity sub table as defined in ACPI 6.2 > Later in driver probe, its devices are mapped to numa node > using its id to proximity domain mapping.

Re: [PATCH v2 0/2] ARM: imx6ull: Make suspend/resume work like on 6ul

2017-06-06 Thread Shawn Guo
On Tue, Jun 06, 2017 at 08:50:41PM +0300, Leonard Crestez wrote: > Leonard Crestez (2): > ARM: imx: Add MXC_CPU_IMX6ULL and cpu_is_imx6ull > ARM: imx6ull: Make suspend/resume work like on 6ul Applied both, thanks.

Re: [PATCH 0/3] target: Add TARGET_SCF_LOOKUP_LUN_FROM_TAG support

2017-06-06 Thread Madhani, Himanshu
> On Jun 3, 2017, at 3:10 PM, Nicholas A. Bellinger > wrote: > > From: Nicholas Bellinger > > Hi Himanshu + Quinn, > > Here is a small series to introduce proper percpu se_lun->lun_ref > counting for TMR, and add common code in target_submit_tmr()

page table questions

2017-06-06 Thread meng chen
hello ,how to know wheather a pmd maps a 2M physical page or not?? if(pmd_trans_huge(*pmd)){ if(pte_present(*pmd)){ /*page is in ram?*/ } } can I judge it according the above codes?? thanks a lot!!

Re: [PATCH v2 2/3] PCI: Enable PCIe Relaxed Ordering if supported

2017-06-06 Thread Ding Tianhong
On 2017/6/6 8:28, Alexander Duyck wrote: > On Mon, Jun 5, 2017 at 6:33 AM, Ding Tianhong wrote: >> >> >> On 2017/6/4 2:19, Alexander Duyck wrote: >>> On Fri, Jun 2, 2017 at 9:04 PM, Ding Tianhong >>> wrote: The PCIe Device Control

Re: [v2 1/1] usb:host:xhci support option to disable xHCI 1.0 USB2 HW LPM

2017-06-06 Thread Thang Q. Nguyen
On Mon, Jun 5, 2017 at 9:33 PM, Mathias Nyman wrote: > On 05.06.2017 15:57, Thang Q. Nguyen wrote: >> >> On Mon, Jun 5, 2017 at 6:14 PM, Mathias Nyman >> wrote: >>> >>> On 20.05.2017 10:24, Thang Q. Nguyen wrote: XHCI

Re: found "kernel panic: Couldn't open N_TTY ldisc for ptm0 --- error -12. " with syzkaller

2017-06-06 Thread Dmitry Vyukov
On Tue, Jun 6, 2017 at 8:56 AM, 文羊 wrote: > > Hello all! > > I've got the following error report while fuzzing the kernel with syzkaller. > > On commit ba7b2387ad239a519041f2a2d35a1902bdd03dfb (v4.12-rc4). Hi, This is a known bug. See:

[PATCH v3 01/15] perf header: encapsulate read and swap

2017-06-06 Thread David Carrillo-Cisneros
Most callers of readn in perf header read either a 32 or a 64 bits number, error check it and swap it, if necessary. Create do_read_u32 and do_read_u64 to simplify these use cases. Signed-off-by: David Carrillo-Cisneros --- tools/perf/util/header.c | 210

[PATCH v3 00/15] perf tool: add meta-data header support for pipe-mode

2017-06-06 Thread David Carrillo-Cisneros
v3: - Fix header output for event aux record. - Uniformize variable naming and other cleanup. - Other fixes suggested by Jiri and Nahmyung. v2: - Finer patch splitting. - Add only one record type with a feature id instead of one record per new feature (as suggested by Jiri).

[PATCH v3 06/15] perf header: add struct feat_fd for write

2017-06-06 Thread David Carrillo-Cisneros
Introduce struct feat_fd. This patch uses it as a wrapper around fd in write_* functions for feature headers. Next patches will extend its functionality to other feature header functions. This patch does not change behavior. Signed-off-by: David Carrillo-Cisneros ---

[PATCH v3 08/15] perf header: use struct feat_fd to process header records

2017-06-06 Thread David Carrillo-Cisneros
As preparation for using header records in pipe-mode, replace int fd with struct feat_fd ff in process functions for all header record types. To replace the argument struct perf-file_section *section in the process_* functions for feature headers, add offset and size variables to struct feat_fd.

[PATCH v3 13/15] perf tool: add show_feature_header to perf_tool

2017-06-06 Thread David Carrillo-Cisneros
Add show_feat_hdr to control level of printed information of feature headers. Signed-off-by: David Carrillo-Cisneros --- tools/perf/builtin-report.c | 11 --- tools/perf/builtin-script.c | 3 +++ tools/perf/util/tool.h | 7 +++ 3 files changed, 18

[PATCH v3 12/15] perf header: change FEAT_OP* macros

2017-06-06 Thread David Carrillo-Cisneros
There are three FEAT_OP* macros: - FEAT_OPA: for features without process record. - FEAT_OPP: for features with process record. - FEAT_OPF: like FEAT_OPP but to show only if show_full_info flags is set. To add pipe-mode headers we need yet another variation of the macros (one to specify

[PATCH v3 03/15] perf header: fail on write_padded error

2017-06-06 Thread David Carrillo-Cisneros
Do not proceed if write_padded error failed. Also, add comments to remind that the return value of write_* functions in util/header.c is an erro code and not the number of bytes written. Signed-off-by: David Carrillo-Cisneros --- tools/perf/util/header.c | 6 +- 1 file

[PATCH v3 04/15] perf util: add const modifier to buf in "writen" function

2017-06-06 Thread David Carrillo-Cisneros
Make buf in helper function "writen" constant to simplify the life of its callers. This requires to hack a cast of buf prior to passing it to "ion" which is simpler than the alternative of reworking the "ion" function to provide a read and a write paths, the latter with constant buf argument.

Re: [PATCH v5 2/3] ARM: dts: twl4030: Add missing madc reference for bci subnode

2017-06-06 Thread Tony Lindgren
* H. Nikolaus Schaller [170521 03:44]: > From: Marek Belisko > > The twl4030_charger driver expects an iio channel to detect the > presence of an AC charger by looking at VAC (madc channel 11). > This definition is missing in the device tree. I'm

Re: [PATCH v2 2/2] pinctrl: sprd: Add Spreadtrum pin control driver

2017-06-06 Thread Baolin Wang
Hi, O 二, 6月 06, 2017 at 03:07:22上午 +0800, kbuild test robot wrote: > Hi Baolin, > > [auto build test WARNING on robh/for-next] > [also build test WARNING on v4.12-rc4] > [cannot apply to pinctrl/devel next-20170605] > [if your patch is applied to the wrong git tree, please drop us a note to >

[PATCH net] net: stmmac: fix completely hung TX when using TSO

2017-06-06 Thread Niklas Cassel
stmmac_tso_allocator can fail to set the Last Descriptor bit on a descriptor that actually was the last descriptor. This happens when the buffer of the last descriptor ends up having a size of exactly TSO_MAX_BUFF_SIZE. When the IP eventually reaches the next last descriptor, which actually has

Re: [PATCH 4.4 07/53] s390/qeth: add missing hash table initializations

2017-06-06 Thread Julian Wiedmann
On 06/05/2017 06:17 PM, Greg Kroah-Hartman wrote: > 4.4-stable review patch. If anyone has any objections, please let me know. > Hi Greg, please drop this patch from the 4.4-stable queue, the commit that it fixes didn't exist in 4.4. git describe --contains 5f78e29ceebf v4.8-rc1~140^2~312^2~5

Re: [PATCH v3 00/27] Thunderbolt security levels and NVM firmware upgrade

2017-06-06 Thread Greg Kroah-Hartman
On Mon, Jun 05, 2017 at 07:01:10PM +0200, Andreas Noever wrote: > On Mon, Jun 5, 2017 at 9:18 AM, Mika Westerberg > wrote: > > On Sat, Jun 03, 2017 at 06:17:04PM +0900, Greg Kroah-Hartman wrote: > >> On Fri, Jun 02, 2017 at 05:04:57PM +0300, Mika Westerberg wrote:

[PATCH 06/10] irqchip: sunxi-nmi: Support sun6i-a31-r-intc compatible

2017-06-06 Thread Chen-Yu Tsai
The R_INTC on the A31 is undocumented. It was previously supported by the sun6i-a31-sc-nmi compatible. This compatible however required the register region to start at the first used register, rather than the boundaries laid out in the SoC's memory map. The new compatible fixes the alignment,

Re: [PATCH v7 08/26] x86/insn-eval: Add a utility function to get register offsets

2017-06-06 Thread Ricardo Neri
On Mon, 2017-05-29 at 19:16 +0200, Borislav Petkov wrote: > On Fri, May 05, 2017 at 11:17:06AM -0700, Ricardo Neri wrote: > > The function get_reg_offset() returns the offset to the register the > > argument specifies as indicated in an enumeration of type offset. Callers > > of this function

[PATCH 05/10] dt-bindings: interrupt-controller: sunxi-nmi: Add compatible for A31 R_INTC

2017-06-06 Thread Chen-Yu Tsai
The A31 and later have an R_INTC block which handles the NMI interrupt pin on the SoC. This interrupt pin is used by the external PMIC to signal interrupts to the SoC. While this hardware block is undocumented, the interrupt offsets combined with the register regions for the existing

[PATCH net-next] tun: use symmetric hash

2017-06-06 Thread Jason Wang
Tun actually expects a symmetric hash for queue selecting to work correctly, otherwise packets belongs to a single flow may be redirected to the wrong queue. So this patch switch to use __skb_get_hash_symmetric(). Signed-off-by: Jason Wang --- drivers/net/tun.c | 6 +++---

Re: [v2,2/2] reset: Add basic single-register reset driver

2017-06-06 Thread Russell Currey
On Tue, 2017-05-30 at 15:38 +0930, Joel wrote: > This driver is a basic single-register reset controller driver that > supports clearing a single bit in a register. > > Signed-off-by: Joel Stanley Acked-by: Russell Currey

Re: Support for RGB/YUV 10, 12 BPC(bits per color/component) image data formats in kernel

2017-06-06 Thread Ajay kumar
Hi Sakari, On Sat, Jun 3, 2017 at 1:48 PM, Sakari Ailus wrote: > Hi Ajay, > > On Fri, Jun 02, 2017 at 06:38:53PM +0530, Ajay kumar wrote: >> Hi all, >> >> I have tried searching for RGB/YUV 10, 12 BPC formats in videodev2.h, >> media-bus-format.h and drm_fourcc.h >> I could

Re: [PATCHv3 1/4] ARM: dts: socfpga: Add Altera I2C Controller to CycloneV

2017-06-06 Thread Steffen Trumtrar
Hi! thor.tha...@linux.intel.com writes: > From: Thor Thayer > > Add the Altera I2C Controller to the CycloneV SoCFPGA device tree. > > Signed-off-by: Thor Thayer > --- > v2 Remove altr, from fifo-size. > Rename compatible string

Re: [PATCH v3 00/27] Thunderbolt security levels and NVM firmware upgrade

2017-06-06 Thread Mika Westerberg
On Tue, Jun 06, 2017 at 08:03:29AM +0200, Greg Kroah-Hartman wrote: > Sure, but wasn't there going to be a new version of this series, or > should I just take this one as-is and follow-up patches will happen? > It's up to both of you, either is fine with me. I will send an updated version (v4) of

Re: [PATCH V1] mfd: da9061: fix to remove BBAT_CONT register from chip model

2017-06-06 Thread Lee Jones
On Mon, 05 Jun 2017, Steve Twiss wrote: > From: Steve Twiss > > Remove the register DA9062AA_BBAT_CONT (0x0C5) from the DA9061 chip model > regmap access ranges. This applies to both da9061_aa_readable_ranges[] > and da9061_aa_writeable_ranges[]. > > This change

Re: [PATCH 0/9] mfd: Remove redundant i2c_device_id

2017-06-06 Thread Lee Jones
On Mon, 05 Jun 2017, Keerthy wrote: > > > On Monday 05 June 2017 04:07 PM, Lee Jones wrote: > > On Sun, 04 Jun 2017, Keerthy wrote: > > > >> With the introduction of probe_new function the i2c_device_id > >> is no longer needed. Hence the remove the same and use probe_new > >> instead of

Re: [PATCH v3 3/8] nvmet: implement namespace identify descriptor list

2017-06-06 Thread Johannes Thumshirn
On 06/05/2017 07:31 AM, Christoph Hellwig wrote: > What about a little helper like this: ? > > static u16 nvmet_copy_ns_identifier(struct nvmet_req *req, u8 type, u8 len, > void *id, off_t *off) > { > struct nvme_ns_identifier_hdr hdr = { > .nidt = type, >

Re: [PATCH V2] nvme: fix multiple ctrl removal scheduling

2017-06-06 Thread Christoph Hellwig
Thanks, applied to nvme-4.12 after fixing up the changelog, and adding back the (now slightly modified) WARN_ON for a wrong state in nvme_reset_work.

Re: [PATCH v4 5/8] nvme: get list of namespace descriptors

2017-06-06 Thread Sagi Grimberg
On 05/06/17 08:38, Christoph Hellwig wrote: + } + len = NVME_NIDT_UUID_LEN; + memcpy(ns->uuid, data + pos + sizeof(*cur), len); + break; + default: +

[PATCH] kbuild: remove duplicated arch/*/include/generated/uapi include path

2017-06-06 Thread Masahiro Yamada
Commit 90ac086bca10 ("Makefile: include arch/*/include/generated/uapi before .../generated") introduced this for bisect'ability. The commit chose to promote arch/*/include/generated/uapi in the search path rather than cleaning stale headers. After all, we found that approach was not enough, and

Re: [PATCH 6/7] perf report: mark inlined frames in output by " (inlined)" suffix

2017-06-06 Thread Milian Wolff
On Tuesday, June 6, 2017 3:33:49 AM CEST Namhyung Kim wrote: > On Sat, Jun 3, 2017 at 10:51 PM, Milian Wolff wrote: > > On Montag, 22. Mai 2017 14:48:18 CEST Namhyung Kim wrote: > >> On Thu, May 18, 2017 at 09:34:10PM +0200, Milian Wolff wrote: > >> > The original patch

Re: [PATCH v6 6/6] drm/i915/gvt: Adding interface so user space can get the dma-buf

2017-06-06 Thread Gerd Hoffmann
Hi, > > Why the ref count is one?   > > The gem object is created by us while creating the dma-buf(the ref > count of the gem object is initialized to 1). > Later when user import the dma-buf the ref count of the gem object > associate with the dma-buf will increased. Creating the dma-buf

Re: [PATCH v4 0/3] USB Audio Gadget refactoring

2017-06-06 Thread Greg KH
On Mon, Jun 05, 2017 at 12:22:13PM +0300, Felipe Balbi wrote: > > Hi, > > Ruslan Bilovol writes: > >> Ruslan Bilovol writes: > >>> I came to this patch series when wanted to do two things: > >>> - use UAC1 as virtual ALSA sound card on

Re: [PATCH net] net: stmmac: fix completely hung TX when using TSO

2017-06-06 Thread Giuseppe CAVALLARO
Hi Niklas I get the point and I acked the patch but Alex, please, can you confirm that this issue has never seen on your boxes where the TSO has been fully tested? The initial development (commit f748be531) introduces the following: (last_segment) && (buff_size < TSO_MAX_BUFF_SIZE), ... On

Re: [PATCH v6 4/6] vfio: Define vfio based vgpu's dma-buf operations

2017-06-06 Thread Gerd Hoffmann
On Mon, 2017-06-05 at 13:56 +0530, Kirti Wankhede wrote: > > On 6/2/2017 2:08 PM, Gerd Hoffmann wrote: > > > > > struct vfio_vgpu_surface_info { > > > __u64 start; > > > __u32 width; > > > __u32 height; > > > __u32 stride; > > > __u32 size; > > >

Re: [PATCH 2/3] Documentation: Move visorbus documentation from staging to Documentation/

2017-06-06 Thread Jani Nikula
On Mon, 05 Jun 2017, David Kershner wrote: > This patch simply does a git mv of the > drivers/staging/unisys/Documentation directory to Documentation. Up to Jon, of course, but I wouldn't add any new files directly under Documentation, and especially not something as

[PATCH 03/10] irqchip: sunxi-nmi: Reorder sunxi_sc_nmi_reg_offs' in ascending order

2017-06-06 Thread Chen-Yu Tsai
This is a pure code move to reorder the various sunxi_sc_nmi_reg_offs' by family and alphabetical order. No functionality changes. Signed-off-by: Chen-Yu Tsai --- drivers/irqchip/irq-sunxi-nmi.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH 02/10] irqchip: sunxi-nmi: Document interrupt disabling and clearing at probe time

2017-06-06 Thread Chen-Yu Tsai
The sunxi-nmi disables all its interrupts and clears any pending interrupts at probe time. Add comments documenting it, just to make it clear. Signed-off-by: Chen-Yu Tsai --- drivers/irqchip/irq-sunxi-nmi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 01/10] irqchip: sunxi-nmi: Convert magic numbers to defines

2017-06-06 Thread Chen-Yu Tsai
The sunxi-nmi driver has a bunch of raw register offsets and bit values. Convert them into define macros for better readability. Signed-off-by: Chen-Yu Tsai --- drivers/irqchip/irq-sunxi-nmi.c | 34 -- 1 file changed, 24 insertions(+), 10

[PATCH 07/10] ARM: sun6i: a31: Use new sun6i-a31-r-intc compatible for NMI/R_INTC

2017-06-06 Thread Chen-Yu Tsai
We introduced a new compatible for the NMI or R_INTC interrupt controller. This new compatible has the register region aligned to the boundary listed in the SoC's memory map. This patch converts the NMI/R_INTC node to using the new compatible, and fixes up the register region and device node

Re: [PATCH v7 09/26] x86/insn-eval: Add utility function to identify string instructions

2017-06-06 Thread Ricardo Neri
On Mon, 2017-05-29 at 23:48 +0200, Borislav Petkov wrote: > On Fri, May 05, 2017 at 11:17:07AM -0700, Ricardo Neri wrote: > > String instructions are special because in protected mode, the linear > > address is always obtained via the ES segment register in operands that > > use the (E)DI

[RFC PATCH v4 04/12] x86/time: Initialize interrupt mode behind timer init

2017-06-06 Thread Dou Liyang
In start_kernel(), firstly, it works on the default interrupy mode, then switch to the final mode. Normally, Booting with BIOS reset is OK. But, At dump-capture kernel, it boot up without BIOS reset, default mode may not be compatible with the actual registers, that causes the delivery interrupt

[PATCH 00/10] irqchip: sunxi-nmi: Cleanups and fix A31 R_INTC register offset

2017-06-06 Thread Chen-Yu Tsai
Hi everyone, This is an alternative to Icenowy's recent A64 R_INTC patches. This is a two part series. The first four patches clean up the existing sunxi-nmi driver. Patches five and six add a new "sun6i-a31-r-intc" compatible, which mainly adjusts or removes the awkward register region offset

[PATCH 10/10] arm64: allwinner: a64: add NMI (R_INTC) controller on A64

2017-06-06 Thread Chen-Yu Tsai
From: Icenowy Zheng Allwinner A64 SoC features a R_INTC controller, which controls the NMI line, and this interrupt line is usually connected to the AXP PMIC. Add support for it. Signed-off-by: Icenowy Zheng [w...@csie.org: Add fallback sun6i-a31-r-intc

[PATCH 04/10] irqchip: sunxi-nmi: const-ify sunxi_sc_nmi_reg_offs structures

2017-06-06 Thread Chen-Yu Tsai
The sunxi_sc_nmi_reg_offs, which hold the register offsets for the various variants, is never modified, and only used at init time within the init functions referenced by IRQCHIP_DECLARE, which themselves are tagged __init. Const-ify the sunxi_sc_nmi_reg_offs structures, and tag them as

[PATCH 08/10] ARM: sun8i: a23/a33: Use new sun6i-a31-r-intc compatible for NMI/R_INTC

2017-06-06 Thread Chen-Yu Tsai
We introduced a new compatible for the NMI or R_INTC interrupt controller. This new compatible has the register region aligned to the boundary listed in the SoC's memory map. This patch converts the NMI/R_INTC node to using the new compatible, and fixes up the register region and device node

[PATCH 09/10] ARM: sun8i: a83t: Add device node for R_INTC interrupt controller

2017-06-06 Thread Chen-Yu Tsai
The R_INTC interrupt controller handles the NMI interrupt pin for the SoC. While there is no documentation or code from the vendor for this device on the A83T, existing mainline kernel drivers and bindings show this to be similar to the old Allwinner interrupt controller found on the A10 SoC, but

Re: [PATCH v3] tags: honor COMPILED_SOURCE with apart output directory

2017-06-06 Thread Robert Jarzmik
Masahiro Yamada writes: > Hi Robert, > > I wanted you to update the log. > > 2017-06-05 20:59 GMT+09:00 Robert Jarzmik : >> When the kernel is compiled with an "O=" argument, the object files are >> not necessarily in the source tree, and

Re: [PATCH v4 8/8] nvmet: use NVME_IDENTIFY_DATA_SIZE

2017-06-06 Thread Hannes Reinecke
On 06/04/2017 12:36 PM, Johannes Thumshirn wrote: > Use NVME_IDENTIFY_DATA_SIZE define instead of hard coding the magic > 4096 value. > > Signed-off-by: Johannes Thumshirn > --- > drivers/nvme/target/admin-cmd.c | 4 ++-- > drivers/nvme/target/discovery.c | 2 +- > 2 files

Re: [PATCH 2/5] Protectable Memory Allocator

2017-06-06 Thread Christoph Hellwig
On Tue, Jun 06, 2017 at 01:44:32PM +0900, Tetsuo Handa wrote: > Igor Stoppa wrote: > > +int pmalloc_protect_pool(struct pmalloc_pool *pool) > > +{ > > + struct pmalloc_node *node; > > + > > + if (!pool) > > + return -EINVAL; > > + mutex_lock(>nodes_list_mutex); > > +

Re: [PATCH v4 7/8] nvmet: allow overriding the NVMe VS via configfs

2017-06-06 Thread Hannes Reinecke
On 06/04/2017 12:36 PM, Johannes Thumshirn wrote: > Allow overriding the announced NVMe Version of a via configfs. > > This is particularly helpful when debugging new features for the host > or target side without bumping the hard coded version (as the target > might not be fully compliant to the

Re: [PATCH V2 1/2] scsi: ufs: Tidy clocks list head usage

2017-06-06 Thread Adrian Hunter
Oops, sorry, didn't mean to send this one again, since it has been applied.

[PATCH v3 02/15] perf header: add PROCESS_STR_FUN macro

2017-06-06 Thread David Carrillo-Cisneros
Simplify code by adding a macro to handle the common case of processing header features that are a simple string. Signed-off-by: David Carrillo-Cisneros --- tools/perf/util/header.c | 65 +--- 1 file changed, 17 insertions(+), 48

[PATCH v3 14/15] perf tools: add feature header record to pipe-mode

2017-06-06 Thread David Carrillo-Cisneros
Add header record types to pipe-mode, reusing the functions used in file-mode and leveraging the new struct feat_fd. Add the perf_event__synthesize_feature event call back to process the new header records. Before this patch: $ perf record -o - -e cycles sleep 1 | perf report --stdio --header

  1   2   3   4   5   6   7   8   9   10   >