Re: [PATCH] mm/zsmalloc: Change stat type parameter to int

2017-07-31 Thread Minchan Kim
On Mon, Jul 31, 2017 at 10:50:00AM -0700, Matthias Kaehlcke wrote: > zs_stat_inc/dec/get() uses enum zs_stat_type for the stat type, however > some callers pass an enum fullness_group value. Change the type to int > to reflect the actual use of the functions and get rid of > 'enum-conversion' warni

Re: blk_mq_sched_insert_request: inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage

2017-07-31 Thread Michael Ellerman
Jens Axboe writes: ... > > Can you try the below fix? Should be more palatable than the previous > one. Brian, maybe you can take a look at the IRQ issue mentioned above? Given the patch from Brian fixed the lockdep warning, do you still want me to try and test this one? cheers > diff --git a/d

Re: blk_mq_sched_insert_request: inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage

2017-07-31 Thread Michael Ellerman
Michael Ellerman writes: > Brian King writes: > >> On 07/28/2017 10:17 AM, Brian J King wrote: >>> Jens Axboe wrote on 07/28/2017 09:25:48 AM: >>> Can you try the below fix? Should be more palatable than the previous one. Brian, maybe you can take a look at the IRQ issue mentioned ab

Re: [RFC] KVM: optimize the kvm_vcpu_on_spin

2017-07-31 Thread Cornelia Huck
On Mon, 31 Jul 2017 19:32:26 +0200 David Hildenbrand wrote: > This one should work for s390x, no caching (or special access patterns > like on x86) needed: > > +++ b/arch/s390/kvm/kvm-s390.c > @@ -2447,6 +2447,11 @@ int kvm_arch_vcpu_runnable(struct kvm_vcpu *vcpu) > return kvm_s390_vcpu

RE: Issue with commit de3ef1eb1cd - PM / core: Drop run_wake flag from struct dev_pm_info [Was: MEI-related WARN_ON() triggered during resume-from-sleep on v4.13-rc2+]

2017-07-31 Thread Winkler, Tomas
> -Original Message- > From: Dominik Brodowski [mailto:li...@dominikbrodowski.net] > Sent: Tuesday, August 01, 2017 09:37 > To: Usyskin, Alexander ; Rafael J. Wysocki > > Cc: Winkler, Tomas ; Wysocki, Rafael J > ; Mika Westerberg > ; Bjorn Helgaas ; > linux-kernel@vger.kernel.org; Linux

Re: [PATCH 2/3] gpio: Add FT232H CBUS GPIO driver

2017-07-31 Thread Linus Walleij
On Thu, Jul 6, 2017 at 10:49 PM, Anatolij Gustschin wrote: > Add driver for CBUS pins on FT232H. The driver supports setting > GPIO direction and getting/setting CBUS 0-3 pin value. The CBUS > pins have to be enabled by configuring I/O mode in the FTDI EEPROM. > > Signed-off-by: Anatolij Gustschi

Re: [RFC v6 21/62] powerpc: introduce execute-only pkey

2017-07-31 Thread Michael Ellerman
Thiago Jung Bauermann writes: > Ram Pai writes: ... >> + >> +/* We got one, store it and use it from here on out */ >> +if (need_to_set_mm_pkey) >> +mm->context.execute_only_pkey = execute_only_pkey; >> +return execute_only_pkey; >> +} > > If you follow the code flow in __

[PATCH 2/2] gpio: omap : Add missing clk_unprepare().

2017-07-31 Thread Arvind Yadav
omap_gpio_probe() can fail here and we must disable clock. Signed-off-by: Arvind Yadav --- drivers/gpio/gpio-omap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c index f8c550de..dbf869f 100644 --- a/drivers/gpio/gpio-omap.c +++ b/driver

[PATCH 1/2] gpio: mb86s7x: Handle return value of clk_prepare_enable.

2017-07-31 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- drivers/gpio/gpio-mb86s7x.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-mb86s7x.c b/drivers/gpio/gpio-mb86s7x.c index ffb73f6..94d7726 100644 --- a/

Re: [PATCH] genirq: Provide IRQCHIP_ONESHOT_EDGE_SAFE

2017-07-31 Thread Thomas Gleixner
On Tue, 1 Aug 2017, Benjamin Herrenschmidt wrote: > On Mon, 2017-07-31 at 21:33 +0200, Thomas Gleixner wrote: > > If an interrupt chip is marked IRQCHIP_ONESHOT_SAFE it signals that the > > interrupt chip does not require the ONESHOT mode for threaded > > interrupts. Unfortunately this is applied i

linux-next: build failure after merge of the akpm-current tree

2017-07-31 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (sparc defconfig) failed like this: In file included from mm/vmscan.c:55:0: include/linux/swapops.h: In function 'swp_entry_to_pmd': include/linux/swapops.h:226:9: error: implicit declaration of function '__pmd' [-Werror=implicit-f

Re: Issue with commit de3ef1eb1cd - PM / core: Drop run_wake flag from struct dev_pm_info [Was: MEI-related WARN_ON() triggered during resume-from-sleep on v4.13-rc2+]

2017-07-31 Thread Dominik Brodowski
Alexander, Rafael, On Tue, Aug 01, 2017 at 02:05:22AM +0200, Rafael J. Wysocki wrote: > Actually, I don't think it will make any difference. Please check the > one attached this time. On Tue, Aug 01, 2017 at 05:25:03AM +, Usyskin, Alexander wrote: > Dominik, can you try comment out "if (!pci

Re: [PATCH v4 3/9] perf anntoate browser: Fix the toggle total period view showing number of samples

2017-07-31 Thread Taeung Song
On 07/28/2017 01:57 AM, Arnaldo Carvalho de Melo wrote: Em Fri, Jul 28, 2017 at 01:16:02AM +0900, Taeung Song escreveu: Currently the toggle total period view on the annotate TUI shows the number of samples, not period like below. So fix the toggle total period view on the annotate TUI like be

Re: [PATCH v4 5/9] perf annotate stdio: Support --show-nr-samples option

2017-07-31 Thread Taeung Song
On 07/29/2017 01:26 AM, Arnaldo Carvalho de Melo wrote: Em Fri, Jul 28, 2017 at 01:16:16AM +0900, Taeung Song escreveu: Add --show-nr-samples option to perf-annotate so that it corresponds with perf-report. So this is not that intuitive, i.e. if one ask for: perf annotate --show-total-pe

linux-next: build failure after merge of the akpm tree

2017-07-31 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from arch/powerpc/include/asm/paca.h:19:0, from arch/powerpc/include/asm/hw_irq.h:42, from arch/powerpc/include/asm/irqflags.h:11,

Re: [PATCH v4 5/9] perf annotate stdio: Support --show-nr-samples option

2017-07-31 Thread Taeung Song
On 07/29/2017 01:26 AM, Arnaldo Carvalho de Melo wrote: Em Fri, Jul 28, 2017 at 01:16:16AM +0900, Taeung Song escreveu: Add --show-nr-samples option to perf-annotate so that it corresponds with perf-report. So this is not that intuitive, i.e. if one ask for: perf annotate --show-total-pe

Re: [PATCH 0/3] remove rw_page() from brd, pmem and btt

2017-07-31 Thread Minchan Kim
On Mon, Jul 31, 2017 at 09:44:04AM +0200, Christoph Hellwig wrote: > On Mon, Jul 31, 2017 at 09:42:06AM +0200, Christoph Hellwig wrote: > > On Mon, Jul 31, 2017 at 04:36:47PM +0900, Minchan Kim wrote: > > > Do you suggest define something special flag(e.g., SWP_INMEMORY) > > > for in-memory swap to

[PATCH v2 1/1] usb: xhci: Add debugfs interface for xHCI driver

2017-07-31 Thread Lu Baolu
This adds debugfs consumer for xHCI driver. The debugfs entries read all host registers, device/endpoint contexts, command ring, event ring and various endpoint rings. With these entries, users can check the registers and memory spaces used by a host during run time, or save all the information wit

Re: linux-next: build warning after merge of the akpm tree

2017-07-31 Thread Huang, Ying
Hi, Stephen, Thanks for reporting. Stephen Rothwell writes: > Hi Andrew, > > After merging the akpm tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > mm/swapfile.c: In function 'reuse_swap_page': > mm/swapfile.c:1429:16: warning: 'offset' may be used uninitialize

Re: [PATCH] f2fs: provide f2fs_balance_fs to __write_data_page for dentry pages

2017-07-31 Thread Yunlong Song
Hi Jay, The SBI_BLOCK_OPS can not cover all the case, once SBI_BLOCK_OPS is set, all the normal writeback (before the SBI_BLOCK_OPS is clear) of dentry pages which do not come from write_checkpoint flow will totally miss all the f2fs_balance_fs check. On 2017/8/1 8:44, Jaegeuk Kim wrote:

linux-next: build warning after merge of the akpm tree

2017-07-31 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (x86_64 allmodconfig) produced this warning: mm/swapfile.c: In function 'reuse_swap_page': mm/swapfile.c:1429:16: warning: 'offset' may be used uninitialized in this function [-Wmaybe-uninitialized] unsigned long offset;

Re: [RESEND PATCH v3 2/2] userfaultfd: selftest: Add tests for UFFD_FEATURE_SIGBUS feature

2017-07-31 Thread Mike Rapoport
On Mon, Jul 31, 2017 at 09:54:06PM -0400, Prakash Sangappa wrote: > This patch adds tests for UFFD_FEATURE_SIGBUS feature. The > tests will verify signal delivery instead of userfault events. > Also, test use of UFFDIO_COPY to allocate memory and retry > accessing monitored area after signal delive

[PATCH v2 3/4] mm: fix MADV_[FREE|DONTNEED] TLB flush miss problem

2017-07-31 Thread Minchan Kim
Nadav reported parallel MADV_DONTNEED on same range has a stale TLB problem and Mel fixed it[1] and found same problem on MADV_FREE[2]. Quote from Mel Gorman "The race in question is CPU 0 running madv_free and updating some PTEs while CPU 1 is also running madv_free and looking at the same PTEs.

[PATCH v2 1/4] mm: refactoring TLB gathering API

2017-07-31 Thread Minchan Kim
This patch is ready for solving race problems caused by TLB batch. For that, we will increase/decrease TLB flush pending count of mm_struct whenever tlb_[gather|finish]_mmu is called. Before making it simple, this patch separates architecture specific part and rename it to arch_tlb_[gather|finish]

[PATCH v2 2/4] mm: make tlb_flush_pending global

2017-07-31 Thread Minchan Kim
Currently, tlb_flush_pending is used only for CONFIG_[NUMA_BALANCING| COMPACTION] but upcoming patches to solve subtle TLB flush bacting problem will use it regardless of compaction/numa so this patch doesn't remove the dependency. Cc: Nadav Amit Cc: Mel Gorman Signed-off-by: Minchan Kim --- i

[PATCH v2 0/4] fix several TLB batch races

2017-07-31 Thread Minchan Kim
Nadav and Mel founded several subtle races caused by TLB batching. This patchset aims for solving thoses problems using embedding [inc|dec]_tlb_flush_pending to TLB batching API. With that, places to know TLB flush pending catch it up by using mm_tlb_flush_pending. Each patch includes detailed des

[PATCH v2 4/4] mm: fix KSM data corruption

2017-07-31 Thread Minchan Kim
Nadav reported KSM can corrupt the user data by the TLB batching race[1]. That means data user written can be lost. Quote from Nadav Amit " For this race we need 4 CPUs: CPU0: Caches a writable and dirty PTE entry, and uses the stale value for write later. CPU1: Runs madvise_free on the range th

Re: [RFC]Add new mdev interface for QoS

2017-07-31 Thread Gao, Ping A
On 2017/7/28 0:00, Gao, Ping A wrote: > On 2017/7/27 0:43, Alex Williamson wrote: >> [cc +libvir-list] >> >> On Wed, 26 Jul 2017 21:16:59 +0800 >> "Gao, Ping A" wrote: >> >>> The vfio-mdev provide the capability to let different guest share the >>> same physical device through mediate sharing, as

linux-next: manual merge of the akpm tree with the wberr tree

2017-07-31 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in: include/linux/fs.h between commit: 9dcc0577f2a4 ("mm: remove optimizations based on i_size in mapping writeback waits") from the wberr tree and patch: "mm: remove optimizations based on i_size in mapping wr

Re: [PATCH V3] pci: quirk: Apply APM ACS quirk to XGene devices

2017-07-31 Thread Feng Kan
On Mon, Jul 31, 2017 at 2:55 PM, Alex Williamson wrote: > On Mon, 31 Jul 2017 10:56:53 -0700 > Feng Kan wrote: > >> On Fri, Jul 28, 2017 at 4:00 PM, Alex Williamson >> wrote: >> > On Fri, 28 Jul 2017 11:50:43 -0700 >> > Feng Kan wrote: >> > >> >> The APM X-Gene PCIe root port does not support A

Re: [GIT PULL] Please pull NFS client changes for Linux 4.13

2017-07-31 Thread Linus Torvalds
On Mon, Jul 31, 2017 at 8:43 AM, da...@codemonkey.org.uk wrote: > Another NFSv4 KASAN splat, this time from rc3. > > BUG: KASAN: use-after-free in nfs4_exchange_id_done+0x3d7/0x8e0 [nfsv4] Ugh. It's really hard to tell what access that it - KASAN doesn't actually give enough information. There's

Re: [PATCH v7 08/15] RISC-V: Atomic and Locking Code

2017-07-31 Thread Boqun Feng
On Mon, Jul 31, 2017 at 06:00:02PM -0700, Palmer Dabbelt wrote: > This contains all the code that directly interfaces with the RISC-V > memory model. While this code corforms to the current RISC-V ISA > specifications (user 2.2 and priv 1.10), the memory model is somewhat > underspecified in those

Re: [PATCH v2] Bluetooth: btusb: add ID for LiteOn 04ca:3016

2017-07-31 Thread Johan Hedberg
Hi Brian, On Mon, Jul 31, 2017, Brian Norris wrote: > Contains a QCA6174A-5 chipset, with USB BT. Let's support loading > firmware on it. > > From usb-devices: > T: Bus=02 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 > D: Ver= 2.01 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P:

linux-next: build failure after merge of the akpm-current tree

2017-07-31 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: arch/powerpc/kernel/rtas.c: In function 'rtas_online_cpus_mask': arch/powerpc/kernel/rtas.c:917:37: error: 'GFP_KENREL' undeclared (first use in this function) if (!alloc_cpuma

RE: Issue with commit de3ef1eb1cd - PM / core: Drop run_wake flag from struct dev_pm_info [Was: MEI-related WARN_ON() triggered during resume-from-sleep on v4.13-rc2+]

2017-07-31 Thread Usyskin, Alexander
Hi We using pci_dev_run_wake that changed in mentioned patch to decide if to replace usual PM callbacks with domain ones. IIRC, the mei device is not remote wakeable on that platform, so we should set domain callbacks. There was a patch in PM framework that squashes runtime suspend with usual susp

linux-next: build warning after merge of the akpm-current tree

2017-07-31 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: fs/proc/task_mmu.c: In function 'show_map_vma': fs/proc/task_mmu.c:285:28: warning: unused variable 'priv' [-Wunused-variable] struct proc_maps_private *priv = m->private;

Re: "BUG: unable to handle kernel NULL pointer dereference" in swapping shmem

2017-07-31 Thread Naoya Horiguchi
Hello Huang, On Tue, Aug 01, 2017 at 11:30:41AM +0800, Huang, Ying wrote: > Hi, Horiguchi san, > > Naoya Horiguchi writes: > > > Hi, > > > > I found the following bug when testing mmotm-2017-07-31-16-56. > > The triggering testcase just swaps in/out shmem pages. > > It seems to me related to th

[GIT] Networking

2017-07-31 Thread David Miller
1) Handle notifier registry failures properly in tun/tap driver, from Tonghao Zhang. 2) Fix bpf verifier handling of subtraction bounds and add a testcase for this, from Edward Cree. 3) Increase reset timeout in ftgmac100 driver, from Ben Herrenschmidt. 4) Fix use after free in prd_retire

Re: [PATCH v4 00/15] exec: Use sane stack rlimit under secureexec

2017-07-31 Thread Linus Torvalds
On Mon, Jul 31, 2017 at 10:11 PM, Linus Torvalds wrote: > > And I just checked this on a separate branch, just because I wanted to > see what the overall diff was. There's a conflict [..] Side note: the overall patch looks fine to me. I like how it removes complexity and code. I didn't test it (o

Re: [PATCH v4 00/15] exec: Use sane stack rlimit under secureexec

2017-07-31 Thread Linus Torvalds
On Mon, Jul 31, 2017 at 8:03 PM, Kees Cook wrote: > > Yeah, I'm open to whatever. It's not clear where it should go, but if > you want to take it and Linus doesn't want it "early", that works for > me. Linus, Andrew, thoughts? I'd actually like this to go in separately from all the other security

[PATCH] staging/pi433: Solved some coding style issues in pi433_if.c

2017-07-31 Thread Rishabh Hardas
From: Rishabh Hardas Solved a few coding style issues, used BIT macro to set MINORBITS. Signed-off-by: Rishabh Hardas --- drivers/staging/pi433/pi433_if.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/s

Re: [PATCH v2] Coccinelle: Script to remove unnecessary static on local variables

2017-07-31 Thread Julia Lawall
Acked-by: Julia Lawall On Mon, 31 Jul 2017, Gustavo A. R. Silva wrote: > Coccinelle script to remove unnecessary static on local variables when > the variables are not used before update. > > Signed-off-by: Gustavo A. R. Silva > --- > Changes in v2: > Update header and Copyright note. > > scr

[PATCH 0/3] drm: Add CRTC-id based ioctls for vblank query/event

2017-07-31 Thread Keith Packard
Here's an updated series for the proposed new IOCTLs. Major changes since last time: * Leave driver API with 32-bit vblank counts * Use ktime_t instead of struct timespec. * Check for MODESETTING before using modesetting APIs * Ensure vblank is running in new get_sequence ioctl There are othe

[PATCH 3/3] drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE ioctls [v2]

2017-07-31 Thread Keith Packard
These provide crtc-id based functions instead of pipe-number, while also offering higher resolution time (ns) and wider frame count (64) as required by the Vulkan API. v2: * Check for DRIVER_MODESET in new crtc-based vblank ioctls Failing to check this will oops the driver. * Ensure v

[PATCH 1/3] drm: Widen vblank UAPI to 64 bits. Change vblank time to ktime_t [v2]

2017-07-31 Thread Keith Packard
This modifies the datatypes used by the vblank code to provide both 64 bits of vblank count and switch to using ktime_t for timestamps to increase resolution from microseconds to nanoseconds. The driver interfaces have been left using 32 bits of vblank count; all of the code necessary to widen tha

[PATCH 2/3] drm: Reorganize drm_pending_event to support future event types [v2]

2017-07-31 Thread Keith Packard
Place drm_event_vblank in a new union that includes that and a bare drm_event structure. This will allow new members of that union to be added in the future without changing code related to the existing vbl event type. Assignments to the crtc_id field are now done when the event is allocated, rath

Re: [alsa-devel] [PATCH v2] ASoC: Intel: Reset hw_ptr on resume trigger

2017-07-31 Thread Keyon Jie
On 2017年08月01日 11:30, Vinod Koul wrote: On Mon, Jul 31, 2017 at 06:47:34PM +0800, Cheng-Yi Chiang wrote: From: "U. Artie Eoff" Reset the hw_ptr before queuing the restore_stream_context work to eradicate a nasty white audio noise on resume. Liam, Jie? This on legacy BYT driver.. Tested-b

[PATCH 3/7] mtd: spi-nor: cadence-quadspi: Add runtime PM support

2017-07-31 Thread Vignesh R
Add pm_runtime* calls to cadence-quadspi driver. This is required to switch on QSPI power domain on TI 66AK2G SoC during probe. Signed-off-by: Vignesh R --- drivers/mtd/spi-nor/cadence-quadspi.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/mtd/spi-nor/cadence-quadspi.

[PATCH 4/7] ARM: dts: keystone-k2g: Add QSPI DT entry

2017-07-31 Thread Vignesh R
Add DT node for Cadence QSPI IP present in 66AK2G SoC. Signed-off-by: Vignesh R --- arch/arm/boot/dts/keystone-k2g.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi index bf4d1fa30840..95327aabfaa4

[PATCH 1/7] mtd: spi-nor: cadence-quadspi: add a delay in write sequence

2017-07-31 Thread Vignesh R
As per 66AK2G02 TRM[1] SPRUHY8F section 11.15.5.3 Indirect Access Controller programming sequence, a delay equal to couple QSPI master clock(~5ns) is required after setting CQSPI_REG_INDIRECTWR_START bit and writing data to the flash. Add a new compatible to handle the couple of cycles of delay req

[PATCH 5/7] ARM: dts: keystone-k2g-evm: Add QSPI node

2017-07-31 Thread Vignesh R
66AK2G EVM has a s25fl512s flash connected to QSPI CS0. Add pinmux for QSPI and DT entries for the same. Signed-off-by: Vignesh R --- arch/arm/boot/dts/keystone-k2g-evm.dts | 69 ++ 1 file changed, 69 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2g-evm.

Re: [PATCH V2 00/12]: spmi: pmic-arb: Support for HW v5 and other fixes

2017-07-31 Thread kgunda
On 2017-07-28 12:40, Kiran Gunda wrote: v2: * [PATCH V2 04/12] spmi: pmic-arb: optimize qpnpint_irq_set_type function Added Stephen's Reviewed-by tag. * [PATCH V2 05/12] spmi: pmic-arb: fix memory allocation for mapping_table Added Fixes tag and Stephen's Reviewed-by tag. * [PATCH V2 0

[PATCH 2/7] mtd: spi-nor: cadence-quadspi: Add support to enable loopback clock circuit

2017-07-31 Thread Vignesh R
Cadence QSPI IP has a adapted loopback circuit which can be enabled by setting BYPASS field to 0 in READCAPTURE register. It enables use of QSPI return clock to latch the data rather than the internal QSPI reference clock. For high speed operations, adapted loopback circuit using QSPI return clock

[PATCH 0/7] K2G: Add QSPI support

2017-07-31 Thread Vignesh R
This series adds support for Cadence QSPI for 66AK2G SoC. The first three patches enhance the cadence-quadspi driver to support loopback clock and pm_runtime and tweaks for 66AK2G SoC. Remaining patches add DT nodes and enable the driver in defconfig. Tested on 66AK2G GP and ICE boards. Vignesh R

[PATCH 6/7] ARM: dts: keystone-k2g-ice: Add QSPI node

2017-07-31 Thread Vignesh R
66AK2G ICE board has a s25fl256s1 flash connected to QSPI CS0. Add pinmux and DT entries for the same. Signed-off-by: Vignesh R --- arch/arm/boot/dts/keystone-k2g-ice.dts | 69 ++ 1 file changed, 69 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2g-ice.dt

[PATCH 7/7] ARM: configs: keystone: Enable Cadence QSPI driver

2017-07-31 Thread Vignesh R
66AK2G SoC has a Cadence QSPI IP. Therefore, enable cadence-quadspi driver as part of keystone_defconfig. Since, QSPI flash can be used to for root filesystem, built it into the kernel instead of module. Signed-off-by: Vignesh R --- arch/arm/configs/keystone_defconfig | 1 + 1 file changed, 1 in

[PATCH 2/6] dt-bindings: ti,omap-hsmmc: Add 66AK2G mmc controller

2017-07-31 Thread Lokesh Vutla
Update the ti,omap-hsmmc.txt to include information about 66AK2G specific mmc controller. Also cleanup the entries under optional properties to look a bit nicer. Signed-off-by: Lokesh Vutla --- .../devicetree/bindings/mmc/ti-omap-hsmmc.txt | 52 +++--- 1 file changed, 37 ins

[PATCH 6/6] ARM: configs: keystone: Enable MMC and regulators

2017-07-31 Thread Lokesh Vutla
Enable the TI OMAP HSMMC and fixed regulator support for keystone platforms. Signed-off-by: Lokesh Vutla --- arch/arm/configs/keystone_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/keystone_defconfig b/arch/arm/configs/keystone_defconfig index d47ea43d097e..

[PATCH 0/6] ARM: dts: keystone-k2g: Add support for eDMA and MMC

2017-07-31 Thread Lokesh Vutla
This series adds DT nodes and documentation for eDMA and MMC IPs on Keystone 66AK2G SoC. Also enable the required configs in keystone_defconfig. This series depends on Keerthy's gpio node patches on 66AK2G: https://patchwork.kernel.org/patch/9864311/ Tested: k2g-evm with rootfs on mmc: http://pas

[PATCH 5/6] ARM: dts: keystone-k2g-evm: Enable MMC0 and MMC1

2017-07-31 Thread Lokesh Vutla
Enable MMC0 which is used for micro SD and MMC1 which is used for the on board EMMC. Signed-off-by: Lokesh Vutla [fcoo...@ti.com: add mmc1, bufferclass and pullup/pulldown settings] Signed-off-by: Franklin S Cooper Jr [nsek...@ti.com: add card detect GPIO support] Signed-off-by: Sekhar Nori ---

[PATCH 4/6] ARM: dts: keystone-k2g: add MMC0 and MMC1 nodes

2017-07-31 Thread Lokesh Vutla
Add device tree nodes for MMC0 and MMC1 pesent on 66AK2G device. Signed-off-by: Lokesh Vutla [nsek...@ti.com: fix clock-names for mmc1 node] Signed-off-by: Sekhar Nori --- arch/arm/boot/dts/keystone-k2g.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/a

[PATCH 3/6] ARM: dts: keystone-k2g: Add eDMA nodes

2017-07-31 Thread Lokesh Vutla
From: Peter Ujfalusi Add nodes for eDMA0 and eDMA1. Signed-off-by: Peter Ujfalusi Signed-off-by: Dave Gerlach Signed-off-by: Lokesh Vutla --- arch/arm/boot/dts/keystone-k2g.dtsi | 66 + 1 file changed, 66 insertions(+) diff --git a/arch/arm/boot/dts/keyst

[PATCH 1/6] dt-bindings: ti,edma: Add 66AK2G specific information

2017-07-31 Thread Lokesh Vutla
Update ti,edma binding documentation to reflect 66AK2G specific properties. Signed-off-by: Lokesh Vutla --- Documentation/devicetree/bindings/dma/ti-edma.txt | 95 +-- 1 file changed, 90 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/ti-edma

[PATCH v2] Coccinelle: Script to remove unnecessary static on local variables

2017-07-31 Thread Gustavo A. R. Silva
Coccinelle script to remove unnecessary static on local variables when the variables are not used before update. Signed-off-by: Gustavo A. R. Silva --- Changes in v2: Update header and Copyright note. scripts/coccinelle/misc/static_unnecessary.cocci | 96 1 file change

Re: [PATCH] staging: ks7010: fix styling WARNINGs

2017-07-31 Thread kbuild test robot
Hi Ashish, [auto build test ERROR on staging/staging-testing] [also build test ERROR on v4.13-rc3 next-20170731] [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/Ashish-Kalra/staging-ks7010-fix

RE: [PATCH v2] ASoC: Intel: Reset hw_ptr on resume trigger

2017-07-31 Thread Eoff, Ullysses A
This patch was originally submitted in the context of the ChromiumOS kernel 3.10 for BYT (https://groups.google.com/a/chromium.org/forum/#!topic/chromium-os-reviews/AsoBhfHzQg8). > -Original Message- > From: Koul, Vinod > Sent: Monday, July 31, 2017 8:30 PM > To: Cheng-Yi Chiang ; Jie,

Re: [PATCH] staging: ks7010: fix styling WARNINGs

2017-07-31 Thread kbuild test robot
Hi Ashish, [auto build test ERROR on staging/staging-testing] [also build test ERROR on v4.13-rc3 next-20170731] [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/Ashish-Kalra/staging-ks7010-fix

[PATCH] futex: allow for compiling out PI support

2017-07-31 Thread Nicolas Pitre
This makes it possible to preserve basic futex support and compile out the PI support when RT mutexes are not available. Signed-off-by: Nicolas Pitre --- include/linux/futex.h | 7 ++- init/Kconfig| 7 ++- kernel/futex.c | 22 +

[PATCH v3] serio: PS/2 gpio bit banging driver for the serio bus

2017-07-31 Thread Danilo Krummrich
This driver provides PS/2 serio bus support by implementing bit banging with the GPIO API. The GPIO pins, data and clock, can be configured with a node in the device tree or by static platform data. Writing to a device is supported as well, though it is not recommended as the timings to be halt gi

Re: linux-next: manual merge of the rcu tree with the tip tree

2017-07-31 Thread Mathieu Desnoyers
- On Aug 1, 2017, at 12:03 AM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: > On Tue, Aug 01, 2017 at 12:04:05AM +, Mathieu Desnoyers wrote: >> - On Jul 31, 2017, at 12:13 PM, Paul E. McKenney >> paul...@linux.vnet.ibm.com >> wrote: >> >> > On Mon, Jul 31, 2017 at 01:50:29PM +

Re: [PATCH] futex: split PI support to a file of its own

2017-07-31 Thread Nicolas Pitre
On Mon, 31 Jul 2017, Thomas Gleixner wrote: > But I really do not agree with your reasoning about easier to understand > and maintain. I have the dubious pleasure to stare into that code on a > regular base. PI and non PI share a lot of code and it's really not helping > to have two separate files

[stable 4.4: PATCH] sched/cputime: Fix prev steal time accouting during CPU hotplug

2017-07-31 Thread Andres Oportus
commit 3d89e5478bf550a50c99e93adf659369798263b0 upstream. Commit: e9532e69b8d1 ("sched/cputime: Fix steal time accounting vs. CPU hotplug") ... set rq->prev_* to 0 after a CPU hotplug comes back, in order to fix the case where (after CPU hotplug) steal time is smaller than rq->prev_steal_time.

Re: [PATCH v3 0/5] ARM64: disable irq between breakpoint and step exception

2017-07-31 Thread Pratyush Anand
Hi James, On Monday 31 July 2017 10:45 PM, James Morse wrote: Hi Pratyush, On 31/07/17 11:40, Pratyush Anand wrote: samples/hw_breakpoint/data_breakpoint.c passes with x86_64 but fails with ARM64. Even though it has been NAKed previously on upstream [1, 2], I have tried to come up with patches

Re: [PATCH v2] serio: PS2 gpio bit banging driver for the serio bus

2017-07-31 Thread danilokrummrich
On 2017-08-01 01:34, Randy Dunlap wrote: On 07/31/2017 03:35 PM, Danilo Krummrich wrote: diff --git a/Documentation/gpio/drivers-on-gpio.txt b/Documentation/gpio/drivers-on-gpio.txt index 3065132..b106e72 100644 --- a/Documentation/gpio/drivers-on-gpio.txt +++ b/Documentation/gpio/drivers-on-g

Re: linux-next: manual merge of the rcu tree with the tip tree

2017-07-31 Thread Paul E. McKenney
On Tue, Aug 01, 2017 at 12:04:05AM +, Mathieu Desnoyers wrote: > - On Jul 31, 2017, at 12:13 PM, Paul E. McKenney > paul...@linux.vnet.ibm.com wrote: > > > On Mon, Jul 31, 2017 at 01:50:29PM +1000, Stephen Rothwell wrote: > >> Hi Paul, > >> > >> Today's linux-next merge of the rcu tree g

Re: [PATCH RFC] arm64: introduce mm_context_t flags

2017-07-31 Thread Pratyush Anand
On Monday 31 July 2017 08:18 PM, Yury Norov wrote: - If we start using TIF flags here, we cannot easily add new mm_context specific bits because they may mess with TIF ones. This one seems convincing argument. ATM do you have any mm_context flag which would you like to incorporate?

RE: [PATCH V4 2/2] timer: imx-tpm: add imx tpm timer support

2017-07-31 Thread A.s. Dong
Hi Daniel, > -Original Message- > From: Daniel Lezcano [mailto:daniel.lezc...@linaro.org] > Sent: Monday, July 31, 2017 10:29 PM > To: A.s. Dong; linux-kernel@vger.kernel.org > Cc: linux-arm-ker...@lists.infradead.org; t...@linutronix.de; > shawn...@kernel.org; Jacky Bai; Anson Huang; dong

Re: "BUG: unable to handle kernel NULL pointer dereference" in swapping shmem

2017-07-31 Thread Huang, Ying
Hi, Horiguchi san, Naoya Horiguchi writes: > Hi, > > I found the following bug when testing mmotm-2017-07-31-16-56. > The triggering testcase just swaps in/out shmem pages. > It seems to me related to thp swapping improvement patchset, > so let me report this to the relevant people. > > Thanks,

Re: [RFC] KVM: optimize the kvm_vcpu_on_spin

2017-07-31 Thread Longpeng (Mike)
On 2017/7/31 21:20, Paolo Bonzini wrote: > On 31/07/2017 14:27, David Hildenbrand wrote: >>> I'm not sure whether the operation of get the vcpu's priority-level is >>> expensive on all architectures, so I record it in kvm_sched_out() for >>> minimal the extra cycles cost in kvm_vcpu_on_spin(). >

Re: [PATCH v2] ASoC: Intel: Reset hw_ptr on resume trigger

2017-07-31 Thread Vinod Koul
On Mon, Jul 31, 2017 at 06:47:34PM +0800, Cheng-Yi Chiang wrote: > From: "U. Artie Eoff" > > Reset the hw_ptr before queuing the restore_stream_context > work to eradicate a nasty white audio noise on resume. Liam, Jie? This on legacy BYT driver.. > > Tested-by: Cheng-Yi Chiang > Signed-off-b

Re: [PATCH] iio: accel: Bugfix to enbale and allow different events to work parallely.

2017-07-31 Thread Harinath Nampally
Thanks for doing that work. I have had it on my list for a long time and you seem to fix it. Although I'd happily review and possibly test it, unfortunately I can't do so before the week of August 21st. If this might go in quick, nothing will stop me from reviewing either, so, whatever. Thanks

Re: [PATCH v4 00/15] exec: Use sane stack rlimit under secureexec

2017-07-31 Thread Kees Cook
On Mon, Jul 31, 2017 at 5:54 PM, James Morris wrote: > On Mon, 31 Jul 2017, Kees Cook wrote: > >> Ugh, please ignore this v4. There's a typo that snuck in. I'll send a v5 >> soon... > > Aside from that, it's looking good. This touches a lot of stuff in > security/ so it may make sense for it to g

Re: [linux-sunxi] [PATCH v3 02/12] ASoC: sun4i-i2s: Add clkdiv offsets to quirks

2017-07-31 Thread Chen-Yu Tsai
On Sat, Jul 29, 2017 at 10:17 PM, wrote: > From: Marcus Cooper > > The BCLKDIV and MCLKDIV found on newer SoCs start from an offset of 1. > Add the functionality to adjust the division values according to the > needs to the device being used. > > Signed-off-by: Marcus Cooper > --- > sound/soc/

Re: [linux-sunxi] [PATCH v3 01/12] ASoC: sun4i-i2s: Extend quirks scope

2017-07-31 Thread Chen-Yu Tsai
On Sat, Jul 29, 2017 at 10:17 PM, wrote: > From: Marcus Cooper > > In preparation for the changes required to support newer SoCs then typo? > quirks has been moved and also added to the device structure. > > Signed-off-by: Marcus C

"BUG: unable to handle kernel NULL pointer dereference" in swapping shmem

2017-07-31 Thread Naoya Horiguchi
Hi, I found the following bug when testing mmotm-2017-07-31-16-56. The triggering testcase just swaps in/out shmem pages. It seems to me related to thp swapping improvement patchset, so let me report this to the relevant people. Thanks, Naoya Horiguchi --- [ 112.690842] ===> testcase 'mm/shmem_s

Re: [RFC V2] printk: add warning while drop partial text in msg

2017-07-31 Thread Sergey Senozhatsky
On (07/30/17 21:37), pierre Kuo wrote: > If the buffer pass to msg_print_text is not big enough to put both all > prefixes and log_text(msg), kernel will quietly break. > That means the user may not have the chance to know whether the > log_text(msg) is fully printed into buffer or not. > > In thi

Re: [PATCH 1/3] fs, xfs: introduce S_IOMAP_IMMUTABLE

2017-07-31 Thread Dave Chinner
On Mon, Jul 31, 2017 at 10:15:12PM -0400, Colin Walters wrote: > On Mon, Jul 31, 2017, at 02:23 PM, Darrick J. Wong wrote: > > > I don't think F_SEAL_{SHRINK,GROW} prevents reflinking or CoW of file data, > > which are two things that cannot happen under S_IOMAP_IMMUTABLE that > > aren't size chan

[PATCHv4 3/3] DRM:ivip Intel FPGA Video and Image Processing Suite

2017-07-31 Thread Hean Loong, Ong
From: Ong Hean Loong Driver for Intel FPGA Video and Image Processing Suite Frame Buffer II. The driver only supports the Intel Arria10 devkit and its variants. This driver can be either loaded staticlly or in modules. The OF device tree binding is located at: Documentation/devicetree/bindings/di

[PATCHv4 2/3] ARM:socfpga-defconfig Intel FPGA Video and Image Processing Suite

2017-07-31 Thread Hean Loong, Ong
From: Ong Hean Loong Intel FPGA Video and Image Processing Suite Frame Buffer II driver config for Arria 10 devkit and its variants Signed-off-by: Ong, Hean Loong --- arch/arm/configs/socfpga_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/configs/socfpga_defconfig

[PATCHv4 1/3] ARM:dt-bindings Intel FPGA Video and Image Processing Suite

2017-07-31 Thread Hean Loong, Ong
From: Ong Hean Loong Device tree binding for Intel FPGA Video and Image Processing Suite. The binding involved would be generated from the Altera (Intel) Qsys system. The bindings would set the max width, max height, buts per pixel and memory port width. The device tree binding only supports the

[PATCHv4 0/3] Intel FPGA VIP Frame Buffer II drm driver

2017-07-31 Thread Hean Loong, Ong
From: Ong Hean Loong The FPGA FrameBuffer Soft IP could be seen as the GPU and the DRM driver patch here is allocating memory for information to be streamed from the ARM/Linux to the display port. Basically the driver just wraps the information such as the pixels to be drawn by the FPGA Fra

Re: [RFC] KVM: optimize the kvm_vcpu_on_spin

2017-07-31 Thread Longpeng (Mike)
On 2017/7/31 21:22, Christoffer Dall wrote: > On Sat, Jul 29, 2017 at 02:22:57PM +0800, Longpeng(Mike) wrote: >> We had disscuss the idea here: >> https://www.spinics.net/lists/kvm/msg140593.html > > This is not a very nice way to start a commit description. > > Please provide the necessary ba

[PATCH v2] KVM: nVMX: Fix attempting to emulate "Acknowledge interrupt on exit" when there is no interrupt which L1 requires to inject to L2

2017-07-31 Thread Wanpeng Li
From: Wanpeng Li [ cut here ] WARNING: CPU: 5 PID: 2288 at arch/x86/kvm/vmx.c:11124 nested_vmx_vmexit+0xd64/0xd70 [kvm_intel] CPU: 5 PID: 2288 Comm: qemu-system-x86 Not tainted 4.13.0-rc2+ #7 RIP: 0010:nested_vmx_vmexit+0xd64/0xd70 [kvm_intel] Call Trace: vmx_check_n

Re: [PATCH 3/3] mm/sched: memdelay: memory health interface for systems and workloads

2017-07-31 Thread Mike Galbraith
On Mon, 2017-07-31 at 16:38 -0400, Johannes Weiner wrote: > On Mon, Jul 31, 2017 at 09:49:39PM +0200, Mike Galbraith wrote: > > On Mon, 2017-07-31 at 14:41 -0400, Johannes Weiner wrote: > > > > > > Adding an rq counter for tasks inside memdelay sections should be > > > straight-forward as well (ex

Re: [linux-sunxi] Re: [PATCH 0/4] clk: sunxi-ng: Fix issues with fractional mode

2017-07-31 Thread Chen-Yu Tsai
On Tue, Aug 1, 2017 at 12:50 AM, Jernej Škrabec wrote: > Hi Chen-Yu, > > Dne ponedeljek, 31. julij 2017 ob 07:13:34 CEST je Chen-Yu Tsai napisal(a): >> Hi Jernej, >> >> On Mon, Jul 31, 2017 at 12:41 AM, Jernej Skrabec >> >> wrote: >> > During development of H3 HDMI driver, I found some issues wit

Re: [PATCH 1/3] fs, xfs: introduce S_IOMAP_IMMUTABLE

2017-07-31 Thread Colin Walters
On Mon, Jul 31, 2017, at 02:23 PM, Darrick J. Wong wrote: > I don't think F_SEAL_{SHRINK,GROW} prevents reflinking or CoW of file data, > which are two things that cannot happen under S_IOMAP_IMMUTABLE that > aren't size changes. From the implementation it looks like shrink and > grow are only su

[PATCH] sched: fix NULL pointer issue in pick_next_entity()

2017-07-31 Thread Yafang Shao
When we select CFQ as the scheduler, in function pick_next_task_fair it will pass NULL as the 2nd argument to pick_next_entity: pick_next_entity(cfs_rq, NULL); And once __pick_first_entity() is called, it could return NULL as well. So in function pick_next_entity(), the local variable 'left'

Re: [RFC][PATCH v3]: documentation,atomic: Add new documents

2017-07-31 Thread Boqun Feng
On Mon, Jul 31, 2017 at 10:43:45AM -0700, Paul E. McKenney wrote: > On Mon, Jul 31, 2017 at 07:04:03PM +0800, Boqun Feng wrote: > > On Mon, Jul 31, 2017 at 11:05:35AM +0200, Peter Zijlstra wrote: > > > On Wed, Jul 26, 2017 at 08:47:50PM +0800, Boqun Feng wrote: > > > > > > > > + > > > > > +Further

Re: [PATCH V2] ACPI, APEI: Fixup incorrect 16-bit access width firmware bug

2017-07-31 Thread Liwei Song
On 07/31/2017 10:09 AM, Zheng, Lv wrote: > Hi, > >> From: linux-acpi-ow...@vger.kernel.org >> [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Song >> liwei >> Subject: [PATCH V2] ACPI, APEI: Fixup incorrect 16-bit access width firmware >> bug >> >> From: Liwei Song >> >> This is a foll

RE: [PATCH v1 1/6] dma: fsl-dma: add devicetree documentation for qdma driver.

2017-07-31 Thread Jiaheng Fan
Redraw this patch, thanks. Jiaheng -Original Message- From: jiaheng.fan [mailto:jiaheng@nxp.com] Sent: Tuesday, August 01, 2017 9:47 AM To: vinod.k...@intel.com; robh...@kernel.org; dan.j.willi...@intel.com; mark.rutl...@arm.com; li...@armlinux.org.uk; shawn...@kernel.org Cc: Leo Li

  1   2   3   4   5   6   7   8   9   10   >