Re: strace-4.18 test suite oopses sparc64 4.12 and 4.13-rc kernels

2017-08-02 Thread Sam Ravnborg
On Tue, Aug 01, 2017 at 10:58:29PM +0200, Sam Ravnborg wrote: > Hi Mikael. > > I think this translates to the following code > from linux/uaccess.h > > first part is the inlined _copy_from_user() > > > > > (gdb) x/10i do_sys_poll+0x80-16 > >0x516ed0 : brz %o0, 0x5170fc

Re: [PATCH v2] PCI: dwc: designware: test PCIE_ATU_ENABLE bit to check enabled or not

2017-08-02 Thread Bjorn Helgaas
On Tue, Jul 18, 2017 at 02:48:21PM +0800, Jisheng Zhang wrote: > The ATU CTRL2 register is 32 bit, besides the enable bit, other bits > may also be set. To check whether the ATU is enabled or not, we should > test the enable bit. > > Signed-off-by: Jisheng Zhang > Acked-by:

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

2017-08-02 Thread sathyanarayanan kuppuswamy
On 08/01/2017 10:14 PM, Chakravarty, Souvik K wrote: -Original Message- From: platform-driver-x86-ow...@vger.kernel.org [mailto:platform-driver- x86-ow...@vger.kernel.org] On Behalf Of sathyanarayanan.kuppusw...@linux.intel.com Sent: Tuesday, August 1, 2017 11:44 PM To:

[PATCH] selftests: futex: fix run_tests target

2017-08-02 Thread Shuah Khan
make -C tools/testing/selftests/futex/ run_tests doesn't run the tests. Running run_tests target only when $(OUTPUT) is the $(PWD) is incorrect. When $(OUTPUT) is empty, run_tests will not run. Fix it. Fixes: a8ba798bc8ec ("selftests: enable O and KBUILD_OUTPUT") Signed-off-by: Shuah Khan

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

2017-08-02 Thread Bjorn Helgaas
On Tue, Jul 18, 2017 at 04:43:21PM -0500, 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 each node. > > Signed-off-by: Rob Herring > Cc:

Re: [PATCH v5 0/2] ZII RAVE platform driver

2017-08-02 Thread Greg Kroah-Hartman
On Wed, Aug 02, 2017 at 01:31:51PM -0700, Andrey Smirnov wrote: > On Fri, Jul 28, 2017 at 5:07 PM, Andrey Smirnov > wrote: > > On Fri, Jul 28, 2017 at 4:30 PM, Greg Kroah-Hartman > > wrote: > >> On Fri, Jul 28, 2017 at 07:27:02AM -0700,

Re: [PATCH 2/2] arm64: Define PAGE_OFFSET using GENMASK_ULL

2017-08-02 Thread Nick Desaulniers
don't forget to include linux/bitops.h now in memory.h /usr/local/google/home/ndesaulniers/android/kernel-wahoo/private/msm-google/arch/arm64/kernel/head.S:47:8: error: function-like macro 'GENMASK_ULL' is not defined #elif (PAGE_OFFSET & 0x1f) != 0 ^

[PATCH 2/7] iio: srf08: add sensor type srf10

2017-08-02 Thread Andreas Klinger
Ultrasonic sensor srf10 is quite similar to srf08 and now also supported by the driver as device tree compatible string. The most significiant difference is a different range and values of register gain (in the driver it's call sensitivity). Therefore the array of was extended. Signed-off-by:

Re: [RFC PATCH] exec: Avoid recursive modprobe for binary format handlers

2017-08-02 Thread Luis R. Rodriguez
On Tue, Aug 01, 2017 at 07:28:20PM -0700, Kees Cook wrote: > On Tue, Aug 1, 2017 at 5:12 PM, Luis R. Rodriguez wrote: > > On Fri, Jul 21, 2017 at 03:05:20PM +0100, Matt Redfearn wrote: > >> Commit 6d7964a722af ("kmod: throttle kmod thread limit") which was > >> merged in

Re: [PATCH v6 5/7] mm: make tlb_flush_pending global

2017-08-02 Thread Minchan Kim
On Wed, Aug 02, 2017 at 10:28:47PM +0800, kbuild test robot wrote: > Hi Minchan, > > [auto build test WARNING on linus/master] > [also build test WARNING on v4.13-rc3] > [cannot apply to next-20170802] > [if your patch is applied to the wrong git tree, please drop us a note

[PATCH 1/7] iio: srf08: add device tree binding for srf02 and srf10

2017-08-02 Thread Andreas Klinger
add trivial device tree binding "devantech,srf02" and "devantech,srf10" Signed-off-by: Andreas Klinger --- Documentation/devicetree/bindings/i2c/trivial-devices.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH 2/2] arm64: Define PAGE_OFFSET using GENMASK_ULL

2017-08-02 Thread Matthias Kaehlcke
El Wed, Aug 02, 2017 at 04:19:11PM -0700 Nick Desaulniers ha dit: > hmm, seems including the definition of GENMASK_ULL causes tons of issues > see definition of UL() macro > defines _AC > token pastes UL on literal when not assembly > so looks like GENMASK_ULL is not ready to be used from

Re: [PATCH] zram: Fix buffer size passed to strlcpy()

2017-08-02 Thread Minchan Kim
Hi Doug, On Wed, Aug 02, 2017 at 03:54:32PM -0700, Doug Anderson wrote: > Hi, > > On Fri, Jul 28, 2017 at 10:12 AM, Matthias Kaehlcke wrote: > > comp_algorithm_store() passes the size of the source buffer to strlcpy() > > instead of the destination buffer size, fix this. > >

Re: linux-next: Signed-off-by missing for commit in the drivers-x86 tree

2017-08-02 Thread Darren Hart
On Thu, Aug 03, 2017 at 06:37:43AM +1000, Stephen Rothwell wrote: > Hi Darren, > > Commits > > 890f658c101d ("platform/x86: peaq-wmi: silence a static checker warning") > 6d8d55626296 ("platform/x86: msi-wmi: remove unnecessary static in > msi_wmi_notify()") > cd0223c64c60 ("platform/x86:

Re: [PATCH 1/5] test_kmod: make selftest executable

2017-08-02 Thread Shuah Khan
Hi Luis, On 08/02/2017 04:55 PM, Luis R. Rodriguez wrote: > On Wed, Aug 2, 2017 at 3:43 PM, Andrew Morton > wrote: >> On Wed, 2 Aug 2017 14:14:46 -0700 "Luis R. Rodriguez" >> wrote: >> >>> We had just forgotten to do this. Could you please

[PATCH v3 4/4] can: m_can: Add call to of_can_transceiver_fixed

2017-08-02 Thread Franklin S Cooper Jr
Add call to new generic functions that provides support via a binding to limit the arbitration rate and/or data rate imposed by the physical transceiver connected to the MCAN peripheral. Signed-off-by: Franklin S Cooper Jr --- drivers/net/can/m_can/m_can.c | 2 ++ 1 file

Re: coda's use of file->f_mapping and inode->i_mapping

2017-08-02 Thread Jan Harkes
On Wed, Aug 02, 2017 at 11:05:31AM -0400, Jeff Layton wrote: > The weird bit is that in coda_file_mmap, we then do this: > > coda_file->f_mapping = host_file->f_mapping; > if (coda_inode->i_mapping == _inode->i_data) > coda_inode->i_mapping = host_inode->i_mapping;

Re: [PATCH] firmware: add const to bin_attribute structures

2017-08-02 Thread Michael S. Tsirkin
On Wed, Aug 02, 2017 at 02:11:35PM +0530, Bhumika Goyal wrote: > Add const to bin_attribute structures as they are only passed to the > functions sysfs_{remove/create}_bin_file. The arguments passed are of > type const, so declare the structures to be const. > > Done using Coccinelle. > > @m

Re: [PATCH v2 2/2] Implement sysfs based cpuinfo for x86 cpus.

2017-08-02 Thread Felix Schnizlein
>>> Greg KH 08/02/17 7:47 PM >>> On Wed, Aug 02, 2017 at 07:35:16PM +0200, Felix Schnizlein wrote: >> Enable sysfs cpuinfo for x86 based cpus. Export often used cpu >> information to sysfs. Stepping, cpu flags, cpu bugs, bogomips, >> cpu family, vendor_id, model, and

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

2017-08-02 Thread Ross Zwisler
On Fri, Jul 28, 2017 at 10:31:43AM -0700, Matthew Wilcox wrote: > On Fri, Jul 28, 2017 at 10:56:01AM -0600, Ross Zwisler wrote: > > Dan Williams and Christoph Hellwig have recently expressed doubt about > > whether the rw_page() interface made sense for synchronous memory drivers > > [1][2]. It's

Re: [PATCH 1/5] test_kmod: make selftest executable

2017-08-02 Thread Andrew Morton
On Wed, 2 Aug 2017 14:14:46 -0700 "Luis R. Rodriguez" wrote: > We had just forgotten to do this. > > Fixes: 39258f448d71 ("kmod: add test driver to stress test the module loader") > Signed-off-by: Luis R. Rodriguez > --- >

Re: [PATCH 2/2] i2c: mux: pinctrl: drop the idle_state member

2017-08-02 Thread Stephen Warren
On 08/02/2017 03:25 PM, Peter Rosin wrote: On 2017-08-02 21:06, Stephen Warren wrote: On 08/02/2017 01:27 AM, Peter Rosin wrote: The information is available elsewhere. diff --git a/drivers/i2c/muxes/i2c-mux-pinctrl.c b/drivers/i2c/muxes/i2c-mux-pinctrl.c static int

Re: [Intel-gfx] [PATCH 3/4] lib/scatterlist: Introduce and export __sg_alloc_table_from_pages

2017-08-02 Thread Andrew Morton
On Wed, 2 Aug 2017 14:06:39 +0100 Tvrtko Ursulin wrote: > > Hi Andrew, > > We have a couple of small lib/scatterlist.c tidies here, plus exporting > the new API which allows drivers to control the maximum coalesced entry > as created by

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

2017-08-02 Thread Wanpeng Li
2017-08-03 4:26 GMT+08:00 Radim Krčmář : > 2017-08-02 03:48-0700, 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:

[PATCH] This patch adds support for Sinovoip BPI-M3 A83T based board.

2017-08-02 Thread Philipp Rossak
From: Philipp Rossak It has 2G LPDDR3, UART, ethernet, USB, HDMI, USB Sata, MIPI DSI, mic, AP6212 Wifi, etc on it. It is paired with AXP813 PMIC which is almost same as AXP818. Signed-off-by: Vishnu Patekar This Patch got somehow lost. This is a

[PATCH 6/7] iio: srf08: add buffered to device mode

2017-08-02 Thread Andreas Klinger
Add INDIO_BUFFER_TRIGGERED and INDIO_BUFFER_SOFTWARE to device mode Signed-off-by: Andreas Klinger --- drivers/iio/proximity/srf08.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/iio/proximity/srf08.c b/drivers/iio/proximity/srf08.c index

Re: [PATCH v6 0/7] fixes of TLB batching races

2017-08-02 Thread Minchan Kim
On Tue, Aug 01, 2017 at 05:08:11PM -0700, Nadav Amit wrote: > It turns out that Linux TLB batching mechanism suffers from various races. > Races that are caused due to batching during reclamation were recently > handled by Mel and this patch-set deals with others. The more fundamental > issue is

[PATCH 7/7] iio: srf08: change text in Kconfig

2017-08-02 Thread Andreas Klinger
Changed text in menu entry and help text to reflect recent changes Signed-off-by: Andreas Klinger --- drivers/iio/proximity/Kconfig | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/iio/proximity/Kconfig b/drivers/iio/proximity/Kconfig

Re: [PATCH v4 09/10] pvclock: add clocksource change notification on changing of tsc stable bit

2017-08-02 Thread Marcelo Tosatti
On Wed, Aug 02, 2017 at 05:38:09PM +0300, Denis Plotnikov wrote: > It's needed to notify the KVM guest about critical changes in pvclock > and make it to update its masterclock. > > This is a part of the work aiming to make kvmclock be a clocksource > providing valid cycles value for KVM

Re: [PATCH 2/2] atm: solos-pci: constify attribute_group structures

2017-08-02 Thread David Miller
From: Amitoj Kaur Chawla Date: Tue, 1 Aug 2017 19:57:47 -0400 > Functions working with attribute_groups provided by > work with const attribute_group. These attribute_group structures do not > change at runtime so mark them as const. > > File size before: > text

Re: [PATCH 1/2] atm: adummy: constify attribute_group structure

2017-08-02 Thread David Miller
From: Amitoj Kaur Chawla Date: Tue, 1 Aug 2017 19:57:38 -0400 > Functions working with attribute_groups provided by > work with const attribute_group. These attribute_group structures do not > change at runtime so mark them as const. > > File size before: > text

[PATCH v2] drm/fb-helper: pass physical dimensions to fbdev

2017-08-02 Thread David Lechner
The fbdev subsystem has a place for physical dimensions (width and height in mm) that is readable by userspace. Since DRM also knows these dimensions, pass this information to the fbdev device. Signed-off-by: David Lechner --- v1 changes (from RFC): * Use loop to get info

Re: [GIT PULL] Please pull JSON files for Power9 PMU events

2017-08-02 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 02, 2017 at 10:46:17AM -0700, Sukadev Bhattiprolu escreveu: > Hi Arnaldo, > > Please pull some updates/cleanups to the POWER9 PMU events. > > The following changes since commit 81e3d8b2af2e7417f1d5164aab5c1a75955e8a5d: > > perf trace beautify ioctl: Beautify perf ioctl's 'cmd' arg

Re: [PATCH v2 1/4] drm/tinydrm: remove call to mipi_dbi_init() from mipi_dbi_spi_init()

2017-08-02 Thread Noralf Trønnes
Den 02.08.2017 00.11, skrev David Lechner: This removes the call to mipi_dbi_init() from mipi_dbi_spi_init() so that drivers can have a driver-specific implementation if needed. Also fixed order of @dc parameter in the doc comment. Suggested-by: Noralf Trønnes

[[PATCH v1] 15/37] [CIFS] SMBD: Post a SMBD data transfer message with data payload

2017-08-02 Thread Long Li
From: Long Li Similar to sending transfer message with page payload, this function creates a SMBD data packet and send it over to RDMA, from iov passed from upper layer. Signed-off-by: Long Li --- fs/cifs/cifsrdma.c | 119

[PATCH 2/3] ARM: dts: k2g: Add DCAN nodes

2017-08-02 Thread Franklin S Cooper Jr
From: Lokesh Vutla Add nodes for the two DCAN instances included in 66AK2G Signed-off-by: Lokesh Vutla [d-gerl...@ti.com: add power-domains and clock information] Signed-off-by: Dave Gerlach [fcoo...@ti.com: update subject and commit

[PATCH 2/3] dt-bindings: usb: keystone-usb: Update bindings pm and clocks properties

2017-08-02 Thread Franklin S Cooper Jr
Update varous properties to properly indicate their requirement depending on the SoC. Signed-off-by: Franklin S Cooper Jr --- Documentation/devicetree/bindings/usb/keystone-usb.txt | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git

[[PATCH v1] 05/37] [CIFS] SMBD: Implement API for upper layer to create SMBD transport and establish RDMA connection

2017-08-02 Thread Long Li
From: Long Li Implement the code for connecting to SMBD server. The client and server are connected using RC Queue Pair over RDMA API, which suppports Infiniband, RoCE and iWARP. Upper layer code can call cifs_create_rdma_session to establish a SMBD RDMA connection.

[[PATCH v1] 02/37] [CIFS] SMBD: Add structure for SMBD transport

2017-08-02 Thread Long Li
From: Long Li Define a new structure for SMBD transport. This stucture will have all the information on the transport, and it will be stored in the current SMB session. Signed-off-by: Long Li --- fs/cifs/cifsrdma.c | 56

[[PATCH v1] 08/37] [CIFS] SMBD: Define packet format for SMBD data transfer message

2017-08-02 Thread Long Li
From: Long Li Define the packet format for a SMBD data packet with payload Signed-off-by: Long Li --- fs/cifs/cifsrdma.h | 15 +++ 1 file changed, 15 insertions(+) diff --git a/fs/cifs/cifsrdma.h b/fs/cifs/cifsrdma.h index

[[PATCH v1] 04/37] [CIFS] SMBD: Define per-channel SMBD transport parameters and default values

2017-08-02 Thread Long Li
From: Long Li For each channel, SMBD defines per-channel parameters. Those can be negotiated with the server, and are restricted by RDMA hardware limitations. Signed-off-by: Long Li --- fs/cifs/cifsrdma.c | 14 ++ fs/cifs/cifsrdma.h |

Re: [PATCH V2] get_maintainer: Prepare for separate MAINTAINERS files

2017-08-02 Thread Joe Perches
On Wed, 2017-08-02 at 11:15 -0700, Linus Torvalds wrote: > On Wed, Aug 2, 2017 at 11:06 AM, Randy Dunlap wrote: > > > > IMO, the parse-maintainters.pl (sorting) script makes the need for separate > > MAINTAINERS files much less important since the file can be "fixed"

Re: [PATCH v4 0/3] firmware: pending fixes for v4.13-final

2017-08-02 Thread Luis R. Rodriguez
On Thu, Jul 20, 2017 at 01:13:08PM -0700, Luis R. Rodriguez wrote: > Greg, > > as requested I've split up the pending firmware fixes for the firmware API > into two series, one for v4.13-final and another for v4.14-rc1. This is the > series of fixes for v4.13-final. They also are stable fixes and

Re: [PATCH v4 0/5] firmware: pending fixes for v4.14-rc1

2017-08-02 Thread Luis R. Rodriguez
On Thu, Jul 20, 2017 at 01:13:37PM -0700, Luis R. Rodriguez wrote: > Greg, > > this is the series of pending fixes for v4.14-rc1. They depend on the > series of fixes just posted for v4.13-final. This contains a set of minor > fixes and also extends the test drivers to test for the issues

Re: [PATCH v5 1/2] PCI: iproc: Retry request when CRS returned from EP

2017-08-02 Thread Bjorn Helgaas
On Thu, Jul 06, 2017 at 08:39:41AM +0530, Oza Pawandeep wrote: > For Configuration Requests only, following reset it is possible for a > device to terminate the request but indicate that it is temporarily unable > to process the Request, but will be able to process the Request in the > future – in

[PATCH 4/4] Documentation: ABI: Add IBM power supply sysfs documentation

2017-08-02 Thread Eddie James
From: "Edward A. James" Signed-off-by: Edward A. James --- Documentation/ABI/testing/sysfs-driver-ibmps | 49 1 file changed, 49 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-ibmps diff --git

Re: [PATCH RFC] fpga: add FPGA Bus device framework

2017-08-02 Thread Alan Tull
On Wed, Aug 2, 2017 at 7:19 AM, Wu Hao wrote: > This patch is a RFC patch which replaces the patch[1] which > creates 'fpga-dev' class as container device. It introduces > a 'fpga' bus type, and provides interfaces to create/destroy > fpga bus devices. This fpga bus device only

[PATCH 0/4] drivers/hwmon/pmbus: Add IBM power supply hwmon driver

2017-08-02 Thread Eddie James
From: "Edward A. James" This series adds a hwmon pmbus driver for an IBM power supply. The core monitoring functionality is provided by pmbus. The driver also exports some sysfs entries for raw status register access and the ability to clear faults. Edward A. James (4):

Re: [PATCH 2/2] i2c: mux: pinctrl: drop the idle_state member

2017-08-02 Thread Peter Rosin
On 2017-08-02 21:06, Stephen Warren wrote: > On 08/02/2017 01:27 AM, Peter Rosin wrote: >> The information is available elsewhere. > >> diff --git a/drivers/i2c/muxes/i2c-mux-pinctrl.c >> b/drivers/i2c/muxes/i2c-mux-pinctrl.c > >> static int i2c_mux_pinctrl_deselect(struct i2c_mux_core *muxc,

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

2017-08-02 Thread Tycho Andersen
On Tue, Aug 01, 2017 at 01:25:31PM -0400, Mehmet Kayaalp wrote: > >> +unsigned long iint_flags(struct integrity_iint_cache *iint, > >> + struct ns_status *status) > >> +{ > >> + if (!status) > >> + return iint->flags; > >> + > >> + return iint->flags & (status->flags &

Re: [linux-sunxi] [PATCH 01/13] dt-bindings: update the binding for Allwinner H3 DE2 support

2017-08-02 Thread Icenowy Zheng
于 2017年8月3日 GMT+08:00 上午3:06:26, "Jernej Škrabec" 写到: >Hi, > >Dne sreda, 02. avgust 2017 ob 07:02:39 CEST je icen...@aosc.io >napisal(a): >> 在 2017-08-02 12:53,Jernej Škrabec 写道: >> >> > Hi Icenowy, >> > >> > Dne torek, 01. avgust 2017 ob 15:12:52 CEST je Icenowy

patch for the linux kernel 4.13-rc3 IEEE80211_TX_CTL_REQ_TX_STATUS IEEE80211_TX_INTFL_MLME_CONN_TX

2017-08-02 Thread tibaldiamos
tibaldi@debian910:~/Desktop/linux-4.13-rc3/net/mac80211$ file mlme.c mlme.c: C source, ASCII text tibaldi@debian910:~/Desktop/linux-4.13-rc3/net/mac80211$ my proposed patch for the 4.13-rc3 kernel is the following - Amos Tibaldi www.amostibaldi.it static int ieee80211_auth(struct

Re: [PATCH v4 07/10] KVM: x86: remove not used pvclock_gtod_copy

2017-08-02 Thread Marcelo Tosatti
Hi Denis, I'm all for this as well, the original submission suggested something similar, someone said "use a scheme similar to vsyscalls", therefore the internal copy of the fields. More comments below. On Wed, Aug 02, 2017 at 05:38:07PM +0300, Denis Plotnikov wrote: > Since, KVM has been

[PATCH 0/7] iio: srf08: add support for similar devices and triggered buffers

2017-08-02 Thread Andreas Klinger
This patch series adds support for the ultrasonic devices srf02 and srf10. Triggered buffer support is added Andreas Klinger (7): iio: srf08: add device tree binding for srf02 and srf10 iio: srf08: add sensor type srf10 iio: srf08: add triggered buffer support iio: srf08: add device tree

Re: [PATCH 1/5] test_kmod: make selftest executable

2017-08-02 Thread Andrew Morton
On Wed, 2 Aug 2017 15:55:50 -0700 "Luis R. Rodriguez" wrote: > On Wed, Aug 2, 2017 at 3:43 PM, Andrew Morton > wrote: > > On Wed, 2 Aug 2017 14:14:46 -0700 "Luis R. Rodriguez" > > wrote: > > > >> We had just forgotten to do

Re: [PATCH 1/5] test_kmod: make selftest executable

2017-08-02 Thread Shuah Khan
On 08/02/2017 05:42 PM, Andrew Morton wrote: > On Wed, 2 Aug 2017 15:55:50 -0700 "Luis R. Rodriguez" > wrote: > >> On Wed, Aug 2, 2017 at 3:43 PM, Andrew Morton >> wrote: >>> On Wed, 2 Aug 2017 14:14:46 -0700 "Luis R. Rodriguez"

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

2017-08-02 Thread Dan Williams
[ adding Tim and Ying who have also been looking at swap optimization and rw_page interactions ] On Wed, Aug 2, 2017 at 5:13 PM, Minchan Kim wrote: > Hi Ross, > > On Wed, Aug 02, 2017 at 04:13:59PM -0600, Ross Zwisler wrote: >> On Fri, Jul 28, 2017 at 10:31:43AM -0700,

[PATCH] ARM: dts: rockchip: rk322x: add spi node and spi pinctrl

2017-08-02 Thread Huibin Hong
Change-Id: I5bf28e2319ceb90bdc52d732cce2f646b29cae36 Signed-off-by: Huibin Hong --- arch/arm/boot/dts/rk322x.dtsi | 50 +++ 1 file changed, 50 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi

[PATCH] powerpc/macintosh: constify wf_sensor_ops structures

2017-08-02 Thread Julia Lawall
The wf_sensor_ops structures are only stored in the ops field of a wf_sensor structure, which is declared as const. Thus the wf_sensor_ops structures themselves can be const. Done with the help of Coccinelle. // @r disable optional_qualifier@ identifier i; position p; @@ static struct

Re: [PATCH 0/2] PCI: dwc: convert remaining dbi read/writes to dw_pcie_readX_dbi/dw_pcie_writeX_dbi

2017-08-02 Thread Bjorn Helgaas
[+cc Kishon, Pratyush] On Fri, Jul 14, 2017 at 02:07:33PM +0200, Niklas Cassel wrote: > Since the introduction of the dw_pcie_readX_dbi/dw_pcie_writeX_dbi macros, > most dw_pcie_read(pci->dbi_base, ..)/dw_pcie_write(pci->dbi_base, ..) calls > have been converted to

Re: [PATCH] selftests: ptp: include default header install path

2017-08-02 Thread Shuah Khan
On 07/28/2017 05:44 PM, Grygorii Strashko wrote: > Add the usr/include subdirectory of the top-level tree to the include > path to fix build when cross compiling for ARM. > testptp.c: In function 'main': > testptp.c:289:15: error: 'struct ptp_clock_caps' has no member named > 'cross_timestamping'

Re: [PATCH 2/3] PCI: qcom: Don't unroll init if init fails

2017-08-02 Thread Bjorn Helgaas
On Sat, Jul 15, 2017 at 11:41:53PM -0700, Bjorn Andersson wrote: > When the init op fails it will restore the state of the resources, so we > should not disable them one more time when this happens. > > Signed-off-by: Bjorn Andersson Stanimir, any opinion on this and

Re: suspicious __GFP_NOMEMALLOC in selinux

2017-08-02 Thread Paul Moore
On Wed, Aug 2, 2017 at 6:50 AM, Michal Hocko wrote: > Hi, > while doing something completely unrelated to selinux I've noticed a > really strange __GFP_NOMEMALLOC usage pattern in selinux, especially > GFP_ATOMIC | __GFP_NOMEMALLOC doesn't make much sense to me. GFP_ATOMIC > on

Re: sysctl, argument parsing, possible bug

2017-08-02 Thread Luis R. Rodriguez
On Tue, Aug 01, 2017 at 02:54:51PM -0700, Cong Wang wrote: > On Tue, Aug 1, 2017 at 2:34 PM, Massimo Sala > wrote: > > Do you confirm it is a sysctl parsing bug ? > > > > Bosybox handles these cases, so I think also standalone sysctl have to. > > > > Or at least

[PATCH 3/4] dt-bindings: i2c: i2c-davinci: Update binding for 66AK2Gx pwr dm property

2017-08-02 Thread Franklin S Cooper Jr
Add pm-domains property which is required for 66AK2Gx. Also document 66AK2G unique clocks property usage. Signed-off-by: Franklin S Cooper Jr --- Documentation/devicetree/bindings/i2c/i2c-davinci.txt | 12 1 file changed, 12 insertions(+) diff --git

[PATCH V3 1/2] use direname instead of custom code

2017-08-02 Thread Federico Vaga
Prefer well known functions like `dirname(3)` instead of custom implementation for the same functionality Signed-off-by: Federico Vaga --- trace-record.c | 45 ++--- 1 file changed, 30 insertions(+), 15 deletions(-) diff --git

[PATCH 4/4] ARM: dts: keystone-k2g: Add I2C nodes

2017-08-02 Thread Franklin S Cooper Jr
From: Vitaly Andrianov Add nodes for the various I2C instances. Signed-off-by: Vitaly Andrianov [d-gerl...@ti.com: Add power domain and clock properties] Signed-off-by: Dave Gerlach [fcoo...@ti.com: Update subject and commit message]

[PATCH 1/4] i2c: davinci: Preserve return value of devm_clk_get

2017-08-02 Thread Franklin S Cooper Jr
The i2c driver can run into driver dependency issues if its loaded before a clock driver it depends on. Therefore, EPROBE_DEFER may be returned by devm_clk_get and should be returned in probe to allow the kernel to reprobe the driver at a later time. This patch allows the error value returned by

[PATCH 0/4] ARM: dts: keystone-k2g: Add I2C support for 66AK2G

2017-08-02 Thread Franklin S Cooper Jr
Add I2C support to 66AK2G. Primary requirement is to add PM Runtime support to the driver. This has been tested on following platforms by performing simple i2c test such as i2c detect and reading on board i2c devices: K2G GP evm OMAPL138 K2L GP EVM and boot tested on: K2E GP EVM K2HK GP EVM

Re: [PATCH] xen-platform: constify pci_device_id.

2017-08-02 Thread Boris Ostrovsky
On 08/02/2017 01:46 PM, Arvind Yadav wrote: > 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

Re: [PATCH 3/3] EDAC, ghes: Make it a proper module

2017-08-02 Thread Kani, Toshimitsu
On Wed, 2017-08-02 at 05:18 +0200, Borislav Petkov wrote: > On Wed, Aug 02, 2017 at 12:19:29AM +, Kani, Toshimitsu wrote: > > 1. Device-probing-logic should belong to a driver, and should > > remain private to a driver.  When we add the white-list, it should > > be added to ghes_edac. > >

[PATCH 1/2] bitops: Avoid integer overflow warning in GENMASK_ULL

2017-08-02 Thread Matthias Kaehlcke
GENMASK_ULL performs a left-shift of (~0ULL), which technically results in an integer overflow. clang raises a warning about this if the overflow occurs in a preprocessor expression. To avoid the overflow first perform a right-shift to clear the bits that are shifted out. Signed-off-by: Matthias

Re: [PATCH v3 7/7] ima: Support module-style appended signatures for appraisal

2017-08-02 Thread Mimi Zohar
On Wed, 2017-08-02 at 14:42 -0300, Thiago Jung Bauermann wrote: > Mimi Zohar writes: > > > On Thu, 2017-07-06 at 19:17 -0300, Thiago Jung Bauermann wrote: > >> --- a/security/integrity/ima/ima_appraise.c > >> +++ b/security/integrity/ima/ima_appraise.c > >> @@ -200,18

[PATCH 2/2] arm64: Define PAGE_OFFSET using GENMASK_ULL

2017-08-02 Thread Matthias Kaehlcke
As is the definition causes an integer overflow, which is expected, however clang raises the following warning: arch/arm64/kernel/head.S:47:8: warning: integer overflow in preprocessor expression #elif (PAGE_OFFSET & 0x1f) != 0 ^~~

[PATCH 4/7] iio: srf08: add device tree table

2017-08-02 Thread Andreas Klinger
Added MODULE_DEVICE_TABLE for device tree bindings. It used to work without it by using the i2c_device_id table, but adding the table makes everything clear and documented. Signed-off-by: Andreas Klinger --- drivers/iio/proximity/srf08.c | 9 + 1 file changed, 9

[PATCH 3/7] iio: srf08: add triggered buffer support

2017-08-02 Thread Andreas Klinger
Add support for triggered buffers. Data format is quite simple: distance 16 Bit alignment48 Bit timestamp64 Bit Signed-off-by: Andreas Klinger --- drivers/iio/proximity/srf08.c | 45 +-- 1 file changed, 43

[PATCH 5/7] iio: srf08: add support for srf02 in i2c mode

2017-08-02 Thread Andreas Klinger
srf02 added with support for i2c interface Attributes for setting max range or sensitivity are omitted for the case of srf02 type sensor, because they are not supported by the hardware. Signed-off-by: Andreas Klinger --- drivers/iio/proximity/srf08.c | 56

Re: [PATCH V3 1/2] trace-cmd record: use direname instead of custom code

2017-08-02 Thread Steven Rostedt
On Thu, 3 Aug 2017 00:15:57 +0200 Federico Vaga wrote: > Prefer well known functions like `dirname(3)` instead of custom > implementation for the same functionality > > Signed-off-by: Federico Vaga Thanks. I'll be traveling for a bit and

Re: [PATCH net-next] net: dsa: Add support for 64-bit statistics

2017-08-02 Thread David Miller
From: Florian Fainelli Date: Tue, 1 Aug 2017 15:00:36 -0700 > DSA slave network devices maintain a pair of bytes and packets counters > for each directions, but these are not 64-bit capable. Re-use > pcpu_sw_netstats which contains exactly what we need for that purpose >

Re: [PATCH] zram: Fix buffer size passed to strlcpy()

2017-08-02 Thread Matthias Kaehlcke
El Thu, Aug 03, 2017 at 08:44:37AM +0900 Minchan Kim ha dit: > Hi Doug, > > On Wed, Aug 02, 2017 at 03:54:32PM -0700, Doug Anderson wrote: > > Hi, > > > > On Fri, Jul 28, 2017 at 10:12 AM, Matthias Kaehlcke > > wrote: > > > comp_algorithm_store() passes the size of the

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

2017-08-02 Thread Minchan Kim
Hi Ross, On Wed, Aug 02, 2017 at 04:13:59PM -0600, Ross Zwisler wrote: > On Fri, Jul 28, 2017 at 10:31:43AM -0700, Matthew Wilcox wrote: > > On Fri, Jul 28, 2017 at 10:56:01AM -0600, Ross Zwisler wrote: > > > Dan Williams and Christoph Hellwig have recently expressed doubt about > > > whether the

Re: linux-next: Signed-off-by missing for commit in the drivers-x86 tree

2017-08-02 Thread Stephen Rothwell
Hi Darren, On Wed, 2 Aug 2017 16:57:40 -0700 Darren Hart wrote: > > Is this a new check Stephen? Yes :-) > Is there any statement regarding maintainer teams that we must abide by > this? e.g. any time a rebase in a testing branch is made, the > maintainer must also

Re: [PATCH 058/102] phy: rockchip-pcie: explicitly request exclusive reset control

2017-08-02 Thread Shawn Lin
[+ Bjorn] On 2017/7/19 23:26, Philipp Zabel wrote: Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting reset lines") started to transition the reset control request API calls to explicitly state whether the driver needs exclusive or shared reset control behavior. Convert

Re: [PATCH V5 1/2] firmware: add more flexible request_firmware_async function

2017-08-02 Thread Luis R. Rodriguez
On Mon, Jul 31, 2017 at 05:09:44PM +0200, Rafał Miłecki wrote: > From: Rafał Miłecki > > So far we got only one function for loading firmware asynchronously: > request_firmware_nowait. It didn't allow much customization of firmware > loading process - there is only one bool

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

2017-08-02 Thread kbuild test robot
Hi Vinay, [auto build test ERROR on linus/master] [also build test ERROR on v4.13-rc3 next-20170802] [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/Vinay-Simha-BN/power-smb347-charger-Summit

[PATCH V3 2/2] It makes the code clearer and less error prone.

2017-08-02 Thread Federico Vaga
clearer: - less code - the code is now using the same format to create strings dynamically less error prone: - no magic number +2 +9 +5 to compute the size - no copy of the strings to compute the size and to concatenate The function `asprintf` is not POSIX standard but the program was already

[PATCH 2/4] i2c: davinci: Add PM Runtime Support

2017-08-02 Thread Franklin S Cooper Jr
This patch adds PM runtime support to the I2C Davinci driver. Reviewed-by: Grygorii Strashko Signed-off-by: Franklin S Cooper Jr Signed-off-by: Sekhar Nori --- drivers/i2c/busses/i2c-davinci.c | 61

Re: [PATCH 1/5] test_kmod: make selftest executable

2017-08-02 Thread Luis R. Rodriguez
On Wed, Aug 2, 2017 at 3:43 PM, Andrew Morton wrote: > On Wed, 2 Aug 2017 14:14:46 -0700 "Luis R. Rodriguez" > wrote: > >> We had just forgotten to do this. >> >> Fixes: 39258f448d71 ("kmod: add test driver to stress test the module >> loader") >>

Re: [PATCH 2/2] arm64: Define PAGE_OFFSET using GENMASK_ULL

2017-08-02 Thread Nick Desaulniers
hmm, seems including the definition of GENMASK_ULL causes tons of issues see definition of UL() macro defines _AC token pastes UL on literal when not assembly so looks like GENMASK_ULL is not ready to be used from assembly On Wed, Aug 2, 2017 at 4:13 PM, Nick Desaulniers

Re: [PATCH v2 4/6] ASoC: codecs: msm8916-wcd-analog: add MBHC support

2017-08-02 Thread Damien Riegel
Hi Srinivas, On Wed, Aug 02, 2017 at 07:09:28PM +0200, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > MBHC (MultiButton Headset Control) support is available in pm8921 in two > blocks, one to detect mechanical headset insertion and removal

Re: [PATCH v6 5/7] mm: make tlb_flush_pending global

2017-08-02 Thread Minchan Kim
On Wed, Aug 02, 2017 at 04:27:58PM -0700, Andrew Morton wrote: > On Wed, 2 Aug 2017 22:28:47 +0800 kbuild test robot <l...@intel.com> wrote: > > > Hi Minchan, > > > > [auto build test WARNING on linus/master] > > [also build test WARNING on v4.13-rc3

Re: [PATCH 1/5] test_kmod: make selftest executable

2017-08-02 Thread Luis R. Rodriguez
On Wed, Aug 02, 2017 at 04:42:50PM -0700, Andrew Morton wrote: > On Wed, 2 Aug 2017 15:55:50 -0700 "Luis R. Rodriguez" > wrote: > > > On Wed, Aug 2, 2017 at 3:43 PM, Andrew Morton > > wrote: > > > On Wed, 2 Aug 2017 14:14:46 -0700 "Luis R.

Re: [zram] ltp inspired explosion - master v4.13-rc1-3-g87b2c3fc6317

2017-08-02 Thread Minchan Kim
Hi Michael, On Wed, Aug 02, 2017 at 02:24:20PM +1000, Michael Ellerman wrote: > Minchan Kim writes: > > From 0ffbd3c8769fdf56e2f14908f890f9d1703ed32e Mon Sep 17 00:00:00 2001 > > From: Minchan Kim > > Date: Tue, 25 Jul 2017 15:15:18 +0900 > > Subject:

[ANNOUNCE] 4.9.40-rt30

2017-08-02 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 4.9.40-rt30 stable release. This release is just an update to the new stable 4.9.40 version and no RT specific changes have been made. You can get this release via the git tree at:

[ANNOUNCE] 4.4.79-rt92

2017-08-02 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 4.4.79-rt92 stable release. This release is just an update to the new stable 4.4.79 version and no RT specific changes have been made. You can get this release via the git tree at:

[PATCH v3 0/4] can: Support transceiver based bit rate limit

2017-08-02 Thread Franklin S Cooper Jr
Add a new generic binding that CAN drivers can be used to specify the max bit rate supported by a transceiver. This is useful since in some instances since the maximum speeds may be limited by the transceiver used. However, transceivers may not provide a means to determine this limitation at

Re: [PATCH] selftests: futex: fix run_tests target

2017-08-02 Thread Darren Hart
On Wed, Aug 02, 2017 at 04:31:42PM -0600, Shuah Khan wrote: > make -C tools/testing/selftests/futex/ run_tests doesn't run the tests. > Running run_tests target only when $(OUTPUT) is the $(PWD) is incorrect. > When $(OUTPUT) is empty, run_tests will not run. Fix it. > > Fixes: a8ba798bc8ec

[PATCH v3 2/4] dt-bindings: can: fixed-transceiver: Add new CAN fixed transceiver bindings

2017-08-02 Thread Franklin S Cooper Jr
Add documentation to describe usage of the new fixed transceiver binding. This new binding is applicable for any CAN device therefore it exists as its own document. Signed-off-by: Franklin S Cooper Jr --- .../bindings/net/can/fixed-transceiver.txt | 24

[PATCH v2] dt-bindings: add device tree binding for Allwinner XR819 SDIO Wi-Fi

2017-08-02 Thread Icenowy Zheng
Allwinner XR819 is a SDIO Wi-Fi chip, which has the functionality to use an out-of-band interrupt pin instead of SDIO in-band interrupt. Add the device tree binding of this chip, in order to make it possible to add this interrupt pin to device trees. Signed-off-by: Icenowy Zheng

Re: [PATCH] PCI: dwc: designware: make dw_pcie_prog_*_atu_unroll() static

2017-08-02 Thread Bjorn Helgaas
On Mon, Jul 17, 2017 at 02:13:34PM +0100, Carlos Palminha wrote: > Helper functions dw_pcie_prog_*_atu_unroll don't need to be in global scope, > so make it static. > > Cleans up sparse warnings: > - symbol 'dw_pcie_prog_outbound_atu_unroll' was not declared. Should it be > static? > - symbol

  1   2   3   4   5   6   7   8   9   10   >