Re: [PATCH v7 04/15] irqchip: RISC-V Local Interrupt Controller Driver

2017-08-01 Thread Rob Herring
On Mon, Jul 31, 2017 at 7:59 PM, Palmer Dabbelt wrote: > This patch adds a driver that manages the local interrupts on each > RISC-V hart, as specifiec by the RISC-V supervisor level ISA manual. > The local interrupt controller manages software interrupts, timer > interrupts, and hardware interrup

Re: [PATCHv2 08/10] x86/mm: Replace compile-time checks for 5-level with runtime-time

2017-08-01 Thread Juergen Gross
On 01/08/17 16:44, Kirill A. Shutemov wrote: > On Tue, Aug 01, 2017 at 09:46:56AM +0200, Juergen Gross wrote: >> On 26/07/17 18:43, Kirill A. Shutemov wrote: >>> On Wed, Jul 26, 2017 at 09:28:16AM +0200, Juergen Gross wrote: On 25/07/17 11:05, Kirill A. Shutemov wrote: > On Tue, Jul 18, 20

Re: [RFC PATCH 3/5] ima: mamespace audit status flags

2017-08-01 Thread Tycho Andersen
Hi Mehmet, On Thu, Jul 20, 2017 at 06:50:31PM -0400, Mehmet Kayaalp wrote: > --- a/security/integrity/ima/ima_ns.c > +++ b/security/integrity/ima/ima_ns.c > @@ -301,3 +301,24 @@ struct ns_status *ima_get_ns_status(struct ima_namespace > *ns, > > return status; > } > + > +#define IMA_NS_S

Re: [PATCH 11/17] lib/interval_tree: fast overlap detection

2017-08-01 Thread Michael S. Tsirkin
On Tue, Jul 18, 2017 at 06:45:57PM -0700, Davidlohr Bueso wrote: > Allow interval trees to quickly check for overlaps to avoid > unnecesary tree lookups in interval_tree_iter_first(). > > As of this patch, all interval tree flavors will require > using a 'rb_root_cached' such that we can have the

Admin

2017-08-01 Thread Administrator
PERHATIAN Kotak surat Anda telah melebihi batas penyimpanan, yaitu 5 GB seperti yang didefinisikan oleh administrator, yang saat ini berjalan pada 10.9GB, Anda mungkin tidak dapat mengirim atau menerima surat baru sampai Anda kembali memvalidasi email mailbox Anda. Untuk memvalidasi ulang kotak

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

2017-08-01 Thread Linus Torvalds
On Tue, Aug 1, 2017 at 8:51 AM, da...@codemonkey.org.uk wrote: > On Mon, Jul 31, 2017 at 10:35:45PM -0700, Linus Torvalds wrote: > > Any chance of getting the output from > > > >./scripts/faddr2line vmlinux nfs4_exchange_id_done+0x3d7/0x8e0 > > > Hm, that points to this.. > > 7463

Re: [RFC PATCH 3/5] ima: mamespace audit status flags

2017-08-01 Thread Mehmet Kayaalp
> On Aug 1, 2017, at 1:17 PM, Tycho Andersen wrote: > > Hi Mehmet, > > On Thu, Jul 20, 2017 at 06:50:31PM -0400, Mehmet Kayaalp wrote: >> --- a/security/integrity/ima/ima_ns.c >> +++ b/security/integrity/ima/ima_ns.c >> @@ -301,3 +301,24 @@ struct ns_status *ima_get_ns_status(struct >> ima_nam

Re: [PATCH] video: fbdev: Convert to using %pOF instead of full_name

2017-08-01 Thread Rob Herring
On Tue, Aug 1, 2017 at 8:47 AM, Bartlomiej Zolnierkiewicz wrote: > On Tuesday, July 18, 2017 04:43:36 PM Rob Herring wrote: >> Now that we have a custom printf format specifier, convert users of >> full_name to use %pOF instead. This is preparation to remove storing >> of the full path string for

[PATCH v2]staging: ks7010: fix styling WARNINGs

2017-08-01 Thread Ashish Kalra
Signed-off-by: Ashish Kalra Trivial style changes. There are still "line over 80 characters" checkpatch.pl warnings, but I think they are best left alone as breaking these could hurt readability v2: Updated Patch as per review comments recievd --- drivers/staging/ks7010/ks7010_sdio.c | 42 ++

Re: [RFC 2/5] i3c: Add core I3C infrastructure

2017-08-01 Thread Wolfram Sang
> I'm surprised they didn't allow for slave clock stretching when > communicating with a legacy i2c device, it will prohibit use of a rather > large class of devices. :( Yes, but I3C is push/pull IIRC. > As for interrupts you are always free to wire up an out-of-band > interrupt like before. :)

Re: [PATCH net-next 10/11] net: dsa: mv88e6xxx: remove EEE support

2017-08-01 Thread Andrew Lunn
> If the MAC does not support EEE but the PHY does I think you can still > allow EEE to be advertised and enabled, you just won't have the MAC be > able to leverage the power savings that EEE brings. AFAICT this is still > a valid mode whereby the PHY is put in a lower power mode, just not the > wh

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

2017-08-01 Thread Trond Myklebust
On Tue, 2017-08-01 at 10:20 -0700, Linus Torvalds wrote: > On Tue, Aug 1, 2017 at 8:51 AM, da...@codemonkey.org.uk > wrote: > > On Mon, Jul 31, 2017 at 10:35:45PM -0700, Linus Torvalds wrote: > > > Any chance of getting the output from > > > > > >./scripts/faddr2line vmlinux > > nfs4_exchan

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

2017-08-01 Thread Dmitry Torokhov
Hi Danilo, On Tue, Aug 01, 2017 at 06:26:14AM +0200, Danilo Krummrich wrote: > 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

Re: [PATCH v2] printk: Add boottime and real timestamps

2017-08-01 Thread Prarit Bhargava
On 08/01/2017 01:00 PM, John Stultz wrote: > On Tue, Aug 1, 2017 at 5:55 AM, Prarit Bhargava wrote: >> printk.time=1/CONFIG_PRINTK_TIME=1 adds a unmodified local hardware clock >> timestamp to printk messages. The local hardware clock loses time each >> day making it difficult to determine exac

Re: [PATCH] KVM: nVMX: INVPCID support

2017-08-01 Thread Radim Krčmář
2017-08-01 13:35+0200, Paolo Bonzini: > On 01/08/2017 13:18, David Hildenbrand wrote: > > > >>> Can't we rewrite that a little bit, avoiding that "best" handling > >>> (introducing guest_cpuid_disable_invpcid() and guest_cpuid_has_invpcid()) > >>> > >>> bool invpcid_enabled = guest_cpuid_has_pcid(

Re: [PATCH 2/2] iommu/omap: Use DMA-API for performing cache flushes

2017-08-01 Thread Suman Anna
On 07/28/2017 03:49 PM, Josue Albarran wrote: > The OMAP IOMMU driver was using ARM assembly code directly for > flushing the MMU page table entries from the caches. This caused > MMU faults on OMAP4 (Cortex-A9 based SoCs) as L2 caches were not > handled due to the presence of a PL310 L2 Cache Cont

[PATCH] mm: allow page_cache_get_speculative in interrupt context

2017-08-01 Thread kan . liang
From: Kan Liang Kernel panic when calling the IRQ-safe __get_user_pages_fast in NMI handler. The bug was introduced by commit: 2947ba054a4d ("x86/mm/gup: Switch GUP to the generic get_user_page_fast() implementation") The original x86 __get_user_page_fast used plain get_page() or page_ref_ad

Re: [PATCH v2] printk: Add boottime and real timestamps

2017-08-01 Thread John Stultz
On Tue, Aug 1, 2017 at 10:35 AM, Prarit Bhargava wrote: > > > On 08/01/2017 01:00 PM, John Stultz wrote: >> Is there a reason your not also adding PRINTK_TIME_BOOT here (which to >> me would be more generally useful then REAL or MONO)? > > REAL has been useful to me in debug cases where events on

Re: [PATCH] x86/cpufeature, kvm/svm: Shorten virtualized VMLOAD/VMSAVE flag

2017-08-01 Thread Radim Krčmář
2017-08-01 17:56+0200, Borislav Petkov: > Folks, > > in the future, please CC people from the output of > scripts/get_maintainer.pl when touching cpufeatures.h. AFAICT, not even > lkml was CCed, not to mention the mandatory x...@kernel.org for x86 > patches. I think Janakarajan trimmed the output

[PATCH 1/1] clk: imx6: refine hdmi_isfr's parent to make HDMI work on i.MX6 SoCs w/o VPU

2017-08-01 Thread Sébastien Szymanski
On i.MX6 SoCs without VPU (in my case MCIMX6D4AVT10AC), the hdmi driver fails to probe: [2.540030] dwhdmi-imx 12.hdmi: Unsupported HDMI controller (:00:00) [2.548199] imx-drm display-subsystem: failed to bind 12.hdmi (ops dw_hdmi_imx_ops): -19 [2.557403] imx-drm display-sub

Re: [PATCH v5 5/6] ntb: ntb_hw_intel: use io-64-nonatomic instead of in-driver hacks

2017-08-01 Thread Jon Mason
On Wed, Jul 26, 2017 at 05:19:16PM -0600, Logan Gunthorpe wrote: > Now that ioread64 and iowrite64 are available in io-64-nonatomic, > we can remove the hack at the top of ntb_hw_intel.c and replace it > with an include. > > Signed-off-by: Logan Gunthorpe > Cc: Jon Mason This is okay by me, but

Re: [PATCH V3 3/9] cpufreq: Cap the default transition delay value to 10 ms

2017-08-01 Thread Leonard Crestez
On Fri, 2017-07-28 at 10:58 +0530, Viresh Kumar wrote: > On 27-07-17, 19:54, Leonard Crestez wrote: > > On Wed, 2017-07-26 at 11:36 +0530, Viresh Kumar wrote: > > > Without this patch the sampling rate of ondemand governor will be 109 > > > ms. And after this patch it would be capped at 10 ms. Why

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

2017-08-01 Thread da...@codemonkey.org.uk
On Tue, Aug 01, 2017 at 10:20:31AM -0700, Linus Torvalds wrote: > So I think the 'pathname' part may actually be entirely a red herring, > and it's the underlying access itself that just picks up a random > pointer from a stack that now contains something different. And KASAN > didn't notice t

Re: [RFC 2/5] i3c: Add core I3C infrastructure

2017-08-01 Thread Greg Kroah-Hartman
On Tue, Aug 01, 2017 at 12:48:01PM +0200, Boris Brezillon wrote: > > > +static DEFINE_MUTEX(i3c_core_lock); > > > + > > > +void i3c_bus_lock(struct i3c_bus *bus, bool exclusive) > > > +{ > > > + if (exclusive) > > > + down_write(&bus->lock); > > > + else > > > + down_read(&bus->lock

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

2017-08-01 Thread Linus Torvalds
On Tue, Aug 1, 2017 at 10:20 AM, Linus Torvalds wrote: > > So I think the 'pathname' part may actually be entirely a red herring, > and it's the underlying access itself that just picks up a random > pointer from a stack that now contains something different. And KASAN > didn't notice the stale st

[PATCH 00/18] constify media pci_device_id

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Arvind Yadav (18): [PATCH 01/18] [media] marvell-ccic: constify pci_device_id. [PATCH 02/18] [media] netup_unidvb: c

[PATCH 01/18] [media] marvell-ccic: constify pci_device_id.

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/platform/marvell-ccic/cafe-driver.c | 2 +- 1 file changed, 1 insertion(

[PATCH 04/18] [media] meye: constify pci_device_id.

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/pci/meye/meye.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[PATCH 08/18] [media] bt8xx: constify pci_device_id.

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/pci/bt8xx/bt878.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 10/18] [media] ivtv: constify pci_device_id.

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/pci/ivtv/ivtv-driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH 13/18] [media] saa7164: constify pci_device_id.

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/pci/saa7164/saa7164-core.c | 2 +- 1 file changed, 1 insertion(+), 1 del

[PATCH 17/18] [media] cx18: constify pci_device_id.

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/pci/cx18/cx18-driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH 06/18] [media] dm1105: constify pci_device_id.

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/pci/dm1105/dm1105.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

[PATCH 18/18] [media] radio: constify pci_device_id.

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/radio/radio-maxiradio.c | 2 +- 1 file changed, 1 insertion(+), 1 deleti

[PATCH 15/18] [media] mantis: constify pci_device_id.

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/pci/mantis/mantis_cards.c | 2 +- 1 file changed, 1 insertion(+), 1 dele

[PATCH 16/18] [media] mantis: hopper_cards: constify pci_device_id.

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/pci/mantis/hopper_cards.c | 2 +- 1 file changed, 1 insertion(+), 1 dele

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

2017-08-01 Thread Trond Myklebust
On Tue, 2017-08-01 at 13:50 -0400, da...@codemonkey.org.uk wrote: > On Tue, Aug 01, 2017 at 10:20:31AM -0700, Linus Torvalds wrote: > > > So I think the 'pathname' part may actually be entirely a red > herring, > > and it's the underlying access itself that just picks up a random > > pointer fr

[PATCH v2] PCI/MSI: Improve MSI alias detection

2017-08-01 Thread Robin Murphy
Currently, we handle all DMA aliases equally when calculating MSI requester IDs for the generic infrastructure. This turns out to be the wrong thing to do in the face of pure DMA quirks like those of Marvell SATA cards, where in the usual case the last thing seen in the alias walk is the DMA phanto

[PATCH 14/18] [media] pt1: constify pci_device_id.

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/pci/pt1/pt1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

[PATCH 12/18] [media] b2c2: constify pci_device_id.

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/pci/b2c2/flexcop-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

Re: [PATCH] nvdimm: avoid bogus -Wmaybe-uninitialized warning

2017-08-01 Thread Ross Zwisler
On Tue, Aug 01, 2017 at 01:48:48PM +0200, Arnd Bergmann wrote: > Removing the btt_rw_page/pmem_rw_page functions had a surprising > side-effect of introducing a false-positive warning in another > function, due to changed inlining decisions in gcc: > > In file included from drivers/nvdimm/pmem.c:3

[PATCH 09/18] [media] bt8xx: bttv: constify pci_device_id.

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/pci/bt8xx/bttv-driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deleti

[PATCH 11/18] [media] cobalt: constify pci_device_id.

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/pci/cobalt/cobalt-driver.c | 2 +- 1 file changed, 1 insertion(+), 1 del

[PATCH 07/18] [media] zoran: constify pci_device_id.

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/pci/zoran/zoran_card.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

Re: [PATCH 0/7] K2G: Add QSPI support

2017-08-01 Thread Santosh Shilimkar
On 7/31/2017 9:54 PM, Vignesh R wrote: 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. Teste

[PATCH 03/18] [media] cx23885: constify pci_device_id.

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/pci/cx23885/cx23885-core.c | 2 +- 1 file changed, 1 insertion(+), 1 del

[PATCH 05/18] [media] pluto2: constify pci_device_id.

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/pci/pluto2/pluto2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

[PATCH 02/18] [media] netup_unidvb: constify pci_device_id.

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/pci/netup_unidvb/netup_unidvb_core.c | 2 +- 1 file changed, 1 insertion

[PATCH] staging: vboxvideo: select DRM_TTM

2017-08-01 Thread Cihangir Akturk
vboxvideo code uses various ttm_* functions, so it needs "drivers/gpu/drm/ttm/*" to be built. In order to build these objects select DRM_TTM. This commit fixes "ttm_*" undefined build errors. Signed-off-by: Cihangir Akturk --- drivers/staging/vboxvideo/Kconfig | 1 + 1 file changed, 1 insertion

Re: [PATCH] sysfs: replace WARN() with pr_debug in sysfs_remove_group()

2017-08-01 Thread Greg KH
On Tue, Aug 01, 2017 at 05:02:25PM +0900, Ethan Zhao wrote: > There is no enough error handling in block device adding/registration > path, for example, > > device_add_disk() > blk_register_queue() > > When kernel returns from device_add_disk(), no return value to tell > us it was successful or

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

2017-08-01 Thread Greg KH
On Tue, Aug 01, 2017 at 10:25:55AM +0530, kgu...@codeaurora.org wrote: > 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 memo

Re: [PATCH] nvdimm: avoid bogus -Wmaybe-uninitialized warning

2017-08-01 Thread Dan Williams
On Tue, Aug 1, 2017 at 11:00 AM, Ross Zwisler wrote: > On Tue, Aug 01, 2017 at 01:48:48PM +0200, Arnd Bergmann wrote: >> Removing the btt_rw_page/pmem_rw_page functions had a surprising >> side-effect of introducing a false-positive warning in another >> function, due to changed inlining decisions

Re: [PATCH v3 05/16] ntb: ntb_test: ensure the link is up before trying to configure the mws

2017-08-01 Thread Jon Mason
On Tue, Jul 25, 2017 at 02:57:42PM -0600, Logan Gunthorpe wrote: > After the link tests, there is a race on one side of the test for > the link coming up. It's possible, in some cases, for the test script > to write to the 'peer_trans' files before the link has come up. > > To fix this, we simply

Re: [PATCH v3 2/2] memory: ti-emif-sram: introduce relocatable suspend/resume handlers

2017-08-01 Thread Santosh Shilimkar
On 7/26/2017 9:54 AM, Santosh Shilimkar wrote: On 7/24/2017 2:24 PM, Dave Gerlach wrote: Certain SoCs like Texas Instruments AM335x and AM437x require parts of the EMIF PM code to run late in the suspend sequence from SRAM, such as saving and restoring the EMIF context and placing the memory in

Re: [PATCH 0/6] Support for LEGO MINDSTORMS EV3 LCD display

2017-08-01 Thread Noralf Trønnes
(cc: Daniel Vetter) Den 01.08.2017 18.51, skrev David Lechner: On 07/30/2017 12:14 PM, Noralf Trønnes wrote: Den 29.07.2017 21.40, skrev David Lechner: On 07/29/2017 02:17 PM, David Lechner wrote: The goal of this series is to get the built-in LCD of the LEGO MINDSTORMS EV3 working. But, mo

Re: [PATCH v3 05/16] ntb: ntb_test: ensure the link is up before trying to configure the mws

2017-08-01 Thread Logan Gunthorpe
On 01/08/17 12:07 PM, Jon Mason wrote: > On Tue, Jul 25, 2017 at 02:57:42PM -0600, Logan Gunthorpe wrote: >> After the link tests, there is a race on one side of the test for >> the link coming up. It's possible, in some cases, for the test script >> to write to the 'peer_trans' files before the l

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

2017-08-01 Thread Santosh Shilimkar
On 7/31/2017 9:41 PM, Lokesh Vutla wrote: 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: Am waiting for Keerthy to send refresh series

Re: [PATCH v3 07/16] ntb: add check and comment for link up to mw_count() and mw_get_align()

2017-08-01 Thread Jon Mason
On Tue, Jul 25, 2017 at 02:57:44PM -0600, Logan Gunthorpe wrote: > Adds a comment and a check to ntb_mw_get_align() so that it always fails > if the function is called before the link is up. > > Also adds a comment to ntb_mw_count() to note that it may return 0 if > it is called before the link is

[RFC v1 0/6] PMC/PUNIT IPC driver cleanup

2017-08-01 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan Hi All, Currently intel_pmc_ipc.c, intel_punit_ipc.c, intel_scu_ipc.c drivers implements the same IPC features. This code duplication could be avoided if we implement the IPC driver as a single library and let custom device drivers use API provided by generic d

Re: [v4 2/4] mm, oom: cgroup-aware OOM killer

2017-08-01 Thread Roman Gushchin
On Tue, Aug 01, 2017 at 07:03:03PM +0200, Michal Hocko wrote: > On Tue 01-08-17 16:25:48, Roman Gushchin wrote: > > On Tue, Aug 01, 2017 at 04:54:35PM +0200, Michal Hocko wrote: > [...] > > > I would reap out the oom_kill_process into a separate patch. > > > > It was a separate patch, I've merged

[RFC v1 1/6] platform/x86: intel_pmc_ipc: Fix error handling in ipc_pci_probe()

2017-08-01 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan This patch adds proper error handling for failure cases in ipc_pci_probe() function. Signed-off-by: Kuppuswamy Sathyanarayanan --- drivers/platform/x86/intel_pmc_ipc.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a

Re: [PATCH v3 06/16] ntb: ensure ntb_mw_get_align() is only called when the link is up

2017-08-01 Thread Jon Mason
On Tue, Jul 25, 2017 at 02:57:43PM -0600, Logan Gunthorpe wrote: > With Switchtec hardware it's impossible to get the alignment parameters > for a peer's memory window until the peer's driver has configured it's > windows. Strictly speaking, the link doesn't have to be up for this, > but the link b

[RFC v1 6/6] platform/x86: intel_pmc_ipc: Use generic Intel IPC device calls

2017-08-01 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan Removed redundant IPC helper functions and refactored the intel_pmc_ipc_simple_command() and intel_pmc_ipc_command() functions to use generic IPC device driver APIs. Signed-off-by: Kuppuswamy Sathyanarayanan --- drivers/platform/x86/intel_pmc_ipc.c | 302 +

[RFC v1 4/6] platform: x86: Add generic Intel IPC driver

2017-08-01 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan Currently intel_scu_ipc.c, intel_pmc_ipc.c and intel_punit_ipc.c redundantly implements the same IPC features and has lot of code duplication between them. This driver addresses this issue by grouping the common IPC functionalities under the same driver. Signed-o

[RFC v1 5/6] platform/x86: intel_punit_ipc: Use generic intel ipc device calls

2017-08-01 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan Removed redundant IPC helper functions and refactored the intel_punit_ipc_simple_command() and intel_punit_ipc_command() functions to use eneric IPC device driver APIs. Signed-off-by: Kuppuswamy Sathyanarayanan --- drivers/platform/x86/intel_punit_ipc.c | 234

Re: [PATCH 4.4 07/83] NFC: fix broken device allocation

2017-08-01 Thread Ben Hutchings
On Tue, 2017-07-25 at 12:18 -0700, Greg Kroah-Hartman wrote: > 4.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Johan Hovold > > commit 20777bc57c346b6994f465e0d8261a7fbf213a09 upstream. [...] > --- a/net/nfc/core.c > +++ b/net/nfc/cor

Re: [PATCH v2 22/22] fpga: intel: afu: add FPGA_PORT_DMA_MAP/UNMAP ioctls support

2017-08-01 Thread Moritz Fischer
Hi Wu, couple of minor things inline below. On Sun, Jun 25, 2017 at 6:52 PM, Wu Hao wrote: > DMA memory regions are required for Accelerated Function Unit (AFU) usage. > These two ioctls allow user space applications to map user memory regions > for dma, and unmap them after use. Iova is returne

[RFC v1 2/6] platform/x86: intel_pmc_ipc: Use devm_* calls in driver probe

2017-08-01 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan This patch cleans up unnecessary free/alloc calls in this driver by using devm_* calls. Signed-off-by: Kuppuswamy Sathyanarayanan --- drivers/platform/x86/intel_pmc_ipc.c | 68 +++- 1 file changed, 21 insertions(+), 47 deletions

Re: [PATCH v3 05/16] ntb: ntb_test: ensure the link is up before trying to configure the mws

2017-08-01 Thread Jon Mason
On Tue, Aug 01, 2017 at 12:09:18PM -0600, Logan Gunthorpe wrote: > > On 01/08/17 12:07 PM, Jon Mason wrote: > > On Tue, Jul 25, 2017 at 02:57:42PM -0600, Logan Gunthorpe wrote: > >> After the link tests, there is a race on one side of the test for > >> the link coming up. It's possible, in some ca

[RFC v1 3/6] platform/x86: intel_pmc_ipc: Use MFD framework to create dependent devices

2017-08-01 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan Currently, we have lot of repetitive code in dependent device resource allocation and device creation handling code. This logic can be improved if we use MFD framework for dependent device creation. This patch adds this support. Signed-off-by: Kuppuswamy Sathyana

Re: [PATCH v3 06/16] ntb: ensure ntb_mw_get_align() is only called when the link is up

2017-08-01 Thread Logan Gunthorpe
Hey, On 01/08/17 12:14 PM, Jon Mason wrote: > This also looks like a bug fix. However, given that it is a little more > invasive and no one reporting any problems with it, I'm less apt to > pull it into the bug-fixes branch without anyone compilaining of a > bug (lest I break something in -stable

[PATCH] dm: enable opt-out of device-mapper dax support

2017-08-01 Thread Dan Williams
Now that dax is no longer a default property of a block-device, i.e. ->direct_access() is not a block-device operation, we optionally enable device-mapper dax support with a new CONFIG_DM_DAX option. All the dax operations helpers are moved to a new file, drivers/md/dm-dax.c, that is optionally co

Re: [PATCH v3 05/16] ntb: ntb_test: ensure the link is up before trying to configure the mws

2017-08-01 Thread Logan Gunthorpe
On 01/08/17 12:16 PM, Jon Mason wrote: > On Tue, Aug 01, 2017 at 12:09:18PM -0600, Logan Gunthorpe wrote: >> >> On 01/08/17 12:07 PM, Jon Mason wrote: >>> On Tue, Jul 25, 2017 at 02:57:42PM -0600, Logan Gunthorpe wrote: After the link tests, there is a race on one side of the test for t

Re: [PATCH 2/2] adfs: use 'unsigned' types for memcpy length

2017-08-01 Thread Kees Cook
On Tue, Aug 1, 2017 at 5:04 AM, Arnd Bergmann wrote: > After commit 62d1034f53e3 ("fortify: use WARN instead of BUG for now"), we > get a warning in adfs about a possible buffer overflow: > > In function 'memcpy', > inlined from '__adfs_dir_put' at fs/adfs/dir_f.c:318:2, > inlined from 'ad

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

2017-08-01 Thread Jaegeuk Kim
On 08/01, Yunlong Song wrote: > 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.

Re: [PATCH 1/2] ext4: fix warning about stack corruption

2017-08-01 Thread Kees Cook
On Tue, Aug 1, 2017 at 5:04 AM, Arnd Bergmann wrote: > After commit 62d1034f53e3 ("fortify: use WARN instead of BUG for now"), > we get a warning about possible stack overflow from a memcpy that > was not strictly bounded to the size of the local variable: > > inlined from 'ext4_mb_seq_groups_

Re: [RFT PATCH v2] gpiolib: allow gpio irqchip to map irqs dynamically

2017-08-01 Thread Grygorii Strashko
On 08/01/2017 03:03 AM, Jerome Brunet wrote: > On Tue, 2017-08-01 at 09:52 +0200, Linus Walleij wrote: >> On Fri, Jul 21, 2017 at 6:49 PM, Grygorii Strashko >> wrote: >> >>> Now IRQ mappings are always created for all (allowed) GPIOs in gpiochip in >>> gpiochip_irqchip_add_key() which goes again

Re: [PATCH v3 06/16] ntb: ensure ntb_mw_get_align() is only called when the link is up

2017-08-01 Thread Jon Mason
On Tue, Aug 01, 2017 at 12:17:47PM -0600, Logan Gunthorpe wrote: > Hey, > > On 01/08/17 12:14 PM, Jon Mason wrote: > > This also looks like a bug fix. However, given that it is a little more > > invasive and no one reporting any problems with it, I'm less apt to > > pull it into the bug-fixes bra

Re: [PATCH v5 3/3] KVM: nVMX: Emulate EPTP switching for the L1 hypervisor

2017-08-01 Thread Bandan Das
Radim Krčmář writes: > 2017-07-28 15:52-0400, Bandan Das: >> When L2 uses vmfunc, L0 utilizes the associated vmexit to >> emulate a switching of the ept pointer by reloading the >> guest MMU. >> >> Signed-off-by: Paolo Bonzini >> Signed-off-by: Bandan Das >> --- >> diff --git a/arch/x86/kvm/vm

Re: BUG: NULL pointer dereference at ib_uverbs_comp_handler+0x20

2017-08-01 Thread Logan Gunthorpe
Hey, The patch Bharat provided fixes the kernel panic but RDMA in userspace still does not work at all. Reverting the commits I mentioned still fixes everything. To answer your questions: * I see the iwpm_register_pid message even when things are working so I don't think it's related. * All cli

Re: [PATCH v2] printk: Add boottime and real timestamps

2017-08-01 Thread Prarit Bhargava
On 08/01/2017 12:29 PM, Luis R. Rodriguez wrote: Thanks for the previous comments re: enum & kdoc'ifying. I will apply them to v3. > > And since you are kdoc'ifying consider later adding proper rst format docs > for printk and then pegging this kdoc entry into it. Unfortunately I only > se

Re: BUG: NULL pointer dereference at ib_uverbs_comp_handler+0x20

2017-08-01 Thread Logan Gunthorpe
Hey, On 01/08/17 06:30 AM, Potnuri Bharat Teja wrote: > Hi Logan, > Today I sent out a patch to address the issue. Please try it. > "[PATCH 1/1] RDMA/uverbs: Initialize cq_context appropriately" Thanks, as I mentioned in my other email this fixes the kernel panic on the T6 but doesn't solve all m

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

2017-08-01 Thread Paul E. McKenney
On Tue, Aug 01, 2017 at 09:14:12AM -0700, Paul E. McKenney wrote: > On Tue, Aug 01, 2017 at 01:17:13PM +0100, Will Deacon wrote: > > On Tue, Aug 01, 2017 at 01:47:44PM +0200, Peter Zijlstra wrote: > > > On Tue, Aug 01, 2017 at 11:19:00AM +0100, Will Deacon wrote: > > > > On Tue, Aug 01, 2017 at 11:

Re: [DNG] Yes I am an attorney. - Re: Identity of OP (Software written by contractors and the 'work for hire') concept - To Bruce Perens

2017-08-01 Thread nisus
Explain exactly how I was "wasting" your time. You responded with derision and mockery when I brought up laches; as if it was no issue. Then you made a claim that a court would accept a _plaintiff's_ claim that they just had to sit on their rights because they "had no money to hire a lawyer" wh

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

2017-08-01 Thread Kees Cook
On Mon, Jul 31, 2017 at 11:25 PM, Stephen Rothwell wrote: > 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,

Re: [RFC/RFT PATCH 2/3] gpio: pxa: remove gpio_to_irq() from hw irq handlers

2017-08-01 Thread Robert Jarzmik
Linus Walleij writes: > On Sun, Jul 9, 2017 at 12:44 AM, Grygorii Strashko > wrote: > >> gpio_to_irq() API expected to be used by GPIO consumers and >> not drivers and there are no guarantee that its gpiolib implementation >> is irq safe. >> >> Signed-off-by: Grygorii Strashko > > Patch applied

[PATCH] power: smb347-charger: Summit SMB358 charger IC

2017-08-01 Thread Vinay Simha BN
Summit microelectronics' SMB358 charger chip has almost the same register map and functionality. voltage and current table are only differed. SMB345 charger IC tested in nexus7 Cc: John Stultz Cc: Sumit Semwal Cc: Jonghwa Lee Cc: Chanwoo Choi Cc: Myungjoo Ham Signed-off-by: Vinay Simha BN

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

2017-08-01 Thread danilokrummrich
Hi Dmitry, thank you for reviewing and giving your comments. On 2017-08-01 19:32, Dmitry Torokhov wrote: Hi Danilo, On Tue, Aug 01, 2017 at 06:26:14AM +0200, Danilo Krummrich wrote: This driver provides PS/2 serio bus support by implementing bit banging with the GPIO API. The GPIO pins, data

Re: [PATCH net-next 10/11] net: dsa: mv88e6xxx: remove EEE support

2017-08-01 Thread Florian Fainelli
On 08/01/2017 10:27 AM, Andrew Lunn wrote: >> If the MAC does not support EEE but the PHY does I think you can still >> allow EEE to be advertised and enabled, you just won't have the MAC be >> able to leverage the power savings that EEE brings. AFAICT this is still >> a valid mode whereby the PHY

Re: [PATCH] gpio: drop unnecessary includes from include/linux/gpio/driver.h

2017-08-01 Thread Thor Thayer
On 07/03/2017 10:53 PM, Masahiro Yamada wrote: Some of include directives in include/linux/gpio/driver.h are unneeded because the header does not need to know the content of struct device, irq_chip, etc. Just declare they are structures. On the other hand, and turned out to be necessary for i

Re: [PATCH v3 09/16] switchtec_ntb: initialize hardware for memory windows

2017-08-01 Thread Jon Mason
On Tue, Jul 25, 2017 at 02:57:46PM -0600, Logan Gunthorpe wrote: > Add the code to initialize the memory windows in the hardware. > This includes setting up the requester ID table, and figuring out > which bar corresponds to which memory window. (Seeing the switch > can be configured with any numbe

Re: [PATCH 10/14] ARM: dts: rockchip: add watchdog dt node for rv1108

2017-08-01 Thread Heiko Stuebner
Hi Andy, Am Dienstag, 1. August 2017, 17:16:40 CEST schrieb Heiko Stuebner: > Am Montag, 31. Juli 2017, 18:18:30 CEST schrieb Andy Yan: > > Add watchdog device tree node for rv1108 > > > > Signed-off-by: Andy Yan > > I've adapted this patch to apply against the current rv1108.dtsi > and applied

[PATCH] x86/cpufeature, kvm/svm: Shorten virtualized VMSAVE/VMLOAD flag

2017-08-01 Thread Borislav Petkov
On Tue, Aug 01, 2017 at 07:41:11PM +0200, Radim Krčmář wrote: > I think Janakarajan trimmed the output just to kvm. I'll start bitching > about that. Thanks! > (PPR for family 17h has it called "v_vmsave_vmload".) Grr, right, it says "V_VMSAVE_VMLOAD:" but then it says "virtualized VMLOAD and V

Re: [PATCH v3 13/16] switchtec_ntb: implement doorbell registers

2017-08-01 Thread Jon Mason
On Tue, Jul 25, 2017 at 02:57:50PM -0600, Logan Gunthorpe wrote: > Pretty straightforward implementation of doorbell registers. > The shift and mask were setup in an earlier patch and this just hooks > up the appropriate portion of the IDB register as the local doorbells > and the opposite portion

Re: dm: enable opt-out of device-mapper dax support

2017-08-01 Thread Mike Snitzer
On Tue, Aug 01 2017 at 2:12pm -0400, Dan Williams wrote: > Now that dax is no longer a default property of a block-device, i.e. > ->direct_access() is not a block-device operation, we optionally enable > device-mapper dax support with a new CONFIG_DM_DAX option. > > All the dax operations helpe

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

2017-08-01 Thread Dmitry Torokhov
On Tue, Aug 01, 2017 at 08:51:40PM +0200, danilokrummr...@dk-develop.de wrote: > On 2017-08-01 19:32, Dmitry Torokhov wrote: > >On Tue, Aug 01, 2017 at 06:26:14AM +0200, Danilo Krummrich wrote: > >>+ irq = gpio_to_irq(drvdata->gpio_clk); > >>+ if (!irq) { > >>+ dev_err(dev, "cannot ge

RE: [PATCH v2] staging: unisys: Switch to use new generic UUID API

2017-08-01 Thread Kershner, David A
> -Original Message- > From: Andy Shevchenko [mailto:andriy.shevche...@linux.intel.com] > Sent: Monday, July 31, 2017 1:19 PM > Subject: [PATCH v2] staging: unisys: Switch to use new generic UUID API > > There are new types and helpers that are supposed to be used in new code. > > As a

Re: [PATCH v3 14/16] switchtec_ntb: implement scratchpad registers

2017-08-01 Thread Jon Mason
On Tue, Jul 25, 2017 at 02:57:51PM -0600, Logan Gunthorpe wrote: > Seeing there is no dedicated hardware for this, we simply add > these as entries in the shared memory window. Thus, we could support > any number of them but 128 seems like enough, for now. It would probaly be better if I remarked

[PATCH net 2/7] i40e: Initialize 64-bit statistics TX ring seqcount

2017-08-01 Thread Florian Fainelli
On 32-bit hosts and with CONFIG_DEBUG_LOCK_ALLOC we should be seeing a lockdep splat indicating this seqcount is not correctly initialized, fix that. Fixes: 980e9b118642 ("i40e: Add support for 64 bit netstats") Signed-off-by: Florian Fainelli --- drivers/net/ethernet/intel/i40e/i40e_txrx.c | 2

[PATCH net 4/7] nfp: Initialize RX and TX ring 64-bit stats seqcounts

2017-08-01 Thread Florian Fainelli
On 32-bit hosts and with CONFIG_DEBUG_LOCK_ALLOC we should be seeing a lockdep splat indicating this seqcount is not correctly initialized, fix that. Fixes: 4c3523623dc0 ("net: add driver for Netronome NFP4000/NFP6000 NIC VFs") Signed-off-by: Florian Fainelli --- drivers/net/ethernet/netronome/n

<    2   3   4   5   6   7   8   9   10   11   >