Re: userspace regression with hwmon

2017-06-26 Thread Guenter Roeck
On Mon, Jun 26, 2017 at 03:33:20PM +0100, Sudip Mukherjee wrote: > Hi Guenter, Jean, > > The patch d72d19c26c41 ("hwmon: (coretemp) Convert to use > devm_hwmon_device_register_with_groups") has changed the location of the > sysfs nodes from /sys/devices/platform/coretemp.0/ to > /sys/devices/platf

Re: [PATCH resend] scsi: fc: drop residual tsk_mgmt_response and it_nexus_response

2017-06-26 Thread Martin K. Petersen
Kefeng, > After commit 556e26a70b64 ("scsi: remove tsk_mgmt_response and > it_nexus_response transport methods"), the target driver support was > removed totally. Drop the residua. Applied to 4.13/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: Spurious touchpad events with closed LID

2017-06-26 Thread Dmitry Torokhov
On Mon, Jun 26, 2017 at 06:54:53PM +0200, Pali Rohár wrote: > Hi! > > When I'm using dock with external input devices (keyboard + mouse) and > LID is closed, I'm getting spurious touchpad events and random mouse > clicks and movements. > > It is because top part of LID is above touchpad and pro

Re: [PATCH net-next] netfilter: conntrack: add a new NF_CT_EXT_EXPAND extension

2017-06-26 Thread Pablo Neira Ayuso
On Mon, Jun 26, 2017 at 06:53:09PM +0200, Florian Westphal wrote: > Lin Zhang wrote: > > In the current conntrack extend code, if we want to add a new > > extension, we must be add a new extension id and recompile kernel. > > I think that is not be convenient for users, so i add a new extension

[GIT PULL] seccomp updates for next

2017-06-26 Thread Kees Cook
Hi James, Please pull these seccomp changes for next. These are all tiny changes, but I got delayed sending them to you. I'd like have these land for v4.13; I should have sent them for v4.12. :P Thanks! -Kees The following changes since commit 08332893e37af6ae779367e78e444f8f9571511d: Linux

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

2017-06-26 Thread Steve French
I just merged an updated version of this patch to remove the warning to cifs-2.6.git for-next On Sun, Jun 25, 2017 at 7:07 PM, Stephen Rothwell wrote: > Hi all, > > After merging the cifs tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > In file included from inclu

[PATCH] selftests: intel_pstate: add .gitignore

2017-06-26 Thread Shuah Khan
Add .gitignore for generated files. Signed-off-by: Shuah Khan --- tools/testing/selftests/intel_pstate/.gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tools/testing/selftests/intel_pstate/.gitignore diff --git a/tools/testing/selftests/intel_pstate/.gitignore b/tools/tes

Re: [PATCH 2/7] drivers/hwmon/occ: Add command transport method for P8 and P9

2017-06-26 Thread Guenter Roeck
On Mon, Jun 26, 2017 at 10:30:28AM -0500, Eddie James wrote: > > > On 06/24/2017 09:49 AM, Guenter Roeck wrote: > >On 06/22/2017 03:48 PM, Eddie James wrote: > >>From: "Edward A. James" > >> > >>For the P8 OCC, add the procedure to send a command to the OCC over I2C > >>bus. This involves writin

Re: [PATCH 3/4] btrfs: Add zstd support

2017-06-26 Thread Nick Terrell
Thanks for the clarification! I will fix the divisions. On 6/26/17, 5:12 AM, "David Sterba" wrote: On Sun, Jun 25, 2017 at 11:30:22PM +0200, Adam Borowski wrote: > On Mon, Jun 26, 2017 at 03:03:17AM +0800, kbuild test robot wrote: > > Hi Nick, > > > > url: https://github

Spurious touchpad events with closed LID

2017-06-26 Thread Pali Rohár
Hi! When I'm using dock with external input devices (keyboard + mouse) and LID is closed, I'm getting spurious touchpad events and random mouse clicks and movements. It is because top part of LID is above touchpad and probably generates touch pushes. Year (or two?) when I had conversation wit

Re: [PATCH net-next] netfilter: conntrack: add a new NF_CT_EXT_EXPAND extension

2017-06-26 Thread Florian Westphal
Lin Zhang wrote: > In the current conntrack extend code, if we want to add a new > extension, we must be add a new extension id and recompile kernel. > I think that is not be convenient for users, so i add a new extension named > NF_CT_EXT_EXPAND for supporting dynamic register/unregister expans

Re: [PATCH v4 1/3] tracing: Add support for recording tgid of tasks

2017-06-26 Thread Steven Rostedt
On Sun, 25 Jun 2017 22:38:42 -0700 Joel Fernandes wrote: > +int *tgid_map; > + > +void tracing_alloc_tgid_map(void) > +{ > + if (tgid_map) > + return; > + > + tgid_map = kzalloc((PID_MAX_DEFAULT + 1) * sizeof(*tgid_map), > +GFP_KERNEL); > + WARN_ONC

Re: [PATCH net-next] netfilter: conntrack: add a new NF_CT_EXT_EXPAND extension

2017-06-26 Thread Pablo Neira Ayuso
On Mon, Jun 26, 2017 at 02:10:46PM +0800, Lin Zhang wrote: > In the current conntrack extend code, if we want to add a new > extension, we must be add a new extension id and recompile kernel. Yes, this is designed in this way on purpose. Because we do not want to endorse proliferation of out-of

Re: Build regressions/improvements in v4.12-rc7

2017-06-26 Thread Geert Uytterhoeven
On Mon, Jun 26, 2017 at 6:46 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.12-rc7[1] to v4.12-rc6[3], the summaries are: > - build errors: +1/-4 + /home/kisskb/slave/src/drivers/gpu/drm/i915/i915_vma.c: error: 'ret' may be used uninitialized in this function [-Werror=uninitialized]:

Build regressions/improvements in v4.12-rc7

2017-06-26 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.12-rc7[1] compared to v4.11[2]. Summarized: - build errors: +1/-3 - build warnings: +27691/-681 JFYI, when comparing v4.12-rc7[1] to v4.12-rc6[3], the summaries are: - build errors: +1/-4 - build warnings: +6021/-520

Re: [PATCH v4 1/4] [media] platform: Add Synopsys Designware HDMI RX PHY e405 Driver

2017-06-26 Thread Jose Abreu
Hi Sylwester, On 25-06-2017 22:13, Sylwester Nawrocki wrote: > Hi Jose, > > Thank you for addressing my review comments. Couple more suggestions below. > > On 06/20/2017 07:26 PM, Jose Abreu wrote: >> This adds support for the Synopsys Designware HDMI RX PHY e405. This >> phy receives and decodes

Re: [PATCH v2 00/51] block: support multipage bvec

2017-06-26 Thread Jens Axboe
On 06/26/2017 06:09 AM, Ming Lei wrote: > Hi, > > This patchset brings multipage bvec into block layer: > > 1) what is multipage bvec? > > Multipage bvecs means that one 'struct bio_bvec' can hold > multiple pages which are physically contiguous instead > of one single page used in linux kernel

Re: [PATCH NET V5 1/2] net: phy: Add phy loopback support in net phy framework

2017-06-26 Thread Florian Fainelli
On 06/25/2017 07:10 PM, Lin Yun Sheng wrote: > This patch add set_loopback in phy_driver, which is used by Mac > driver to enable or disable a phy. it also add a generic > genphy_loopback function, which use BMCR loopback bit to enable > or disable a phy. > > Signed-off-by: Lin Yun Sheng Reviewe

Re: [PATCH net-next] netfilter: conntrack: add a new NF_CT_EXT_EXPAND extension

2017-06-26 Thread kbuild test robot
Hi Lin, [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Lin-Zhang/netfilter-conntrack-add-a-new-NF_CT_EXT_EXPAND-extension/20170627-000844 config: blackfin-allyesconfig (attached as .config) compiler: bfin-uclinux-gcc (GCC) 6.2.0 reproduce: wge

Re: [PATCH v2 00/51] block: support multipage bvec

2017-06-26 Thread David Sterba
On Mon, Jun 26, 2017 at 08:09:43PM +0800, Ming Lei wrote: > btrfs: avoid access to .bi_vcnt directly > btrfs: avoid to access bvec table directly for a cloned bio > btrfs: comment on direct access bvec table > btrfs: use bvec_get_last_page to get bio's last page > fs/btrfs: convert to bio

Re: [PATCH v4 4/4] dt-bindings: media: Document Synopsys Designware HDMI RX

2017-06-26 Thread Jose Abreu
Hi Rob, On 23-06-2017 22:58, Rob Herring wrote: > On Tue, Jun 20, 2017 at 06:26:12PM +0100, Jose Abreu wrote: >> Document the bindings for the Synopsys Designware HDMI RX. >> >> Signed-off-by: Jose Abreu >> Cc: Carlos Palminha >> Cc: Rob Herring >> Cc: Mark Rutland >> Cc: Mauro Carvalho Cheha

Re: [PATCH v2 6/8] iio: trigger: Add STM32 LPTimer trigger driver

2017-06-26 Thread Fabrice Gasnier
On 06/24/2017 10:13 PM, Jonathan Cameron wrote: > On Wed, 21 Jun 2017 16:30:13 +0200 > Fabrice Gasnier wrote: > >> Add support for LPTIMx_OUT triggers that can be found on some STM32 >> devices. These triggers can be used then by ADC or DAC. >> Typical usage is to configure LPTimer as PWM output

Re: [RFC PATCH v3 2/6] dt-bindings: spi/core: add wakeup-source optional property

2017-06-26 Thread Dmitry Torokhov
On Mon, Jun 26, 2017 at 11:00:11AM -0500, Rob Herring wrote: > On Wed, Jun 21, 2017 at 06:01:49PM +0800, Jeffy Chen wrote: > > Update document devicetree bindings to support "wakeup-source" property. > > > > Signed-off-by: Jeffy Chen > > --- > > > > Changes in v3: None > > > > Documentation/de

[PATCH] xen/x86: Don't BUG on CPU0 offlining

2017-06-26 Thread Vitaly Kuznetsov
CONFIG_BOOTPARAM_HOTPLUG_CPU0 allows to offline CPU0 but Xen HVM guests BUG() in xen_teardown_timer(). Remove the BUG_ON(), this is probably a leftover from ancient times when CPU0 hotplug was impossible, it works just fine for HVM. Signed-off-by: Vitaly Kuznetsov --- - CPU0 hotplug is currently

Re: [PATCH 1/7] drivers/hwmon: Add On-Chip Controller (OCC) hwmon driver

2017-06-26 Thread Guenter Roeck
On Mon, Jun 26, 2017 at 10:06:50AM -0500, Eddie James wrote: > > > On 06/24/2017 09:15 AM, Guenter Roeck wrote: > >On 06/22/2017 03:48 PM, Eddie James wrote: > >>From: "Edward A. James" > >> > >>The OCC is a device embedded on a POWER processor that collects and > >>aggregates sensor data from t

[PATCH RFC] x86/smpboot: Unbreak CPU0 hotplug

2017-06-26 Thread Vitaly Kuznetsov
A hang on CPU0 onlining after a preceding offlining is observed. Trace shows that CPU0 is stuck in check_tsc_sync_target() waiting for source CPU to run check_tsc_sync_source() but this never happens. Source CPU, in its turn, is stuck on synchronize_sched() which is called from native_cpu_up() -> d

Re: [PATCH v7 34/36] x86/mm: Add support to encrypt the kernel in-place

2017-06-26 Thread Tom Lendacky
On 6/26/2017 10:45 AM, Borislav Petkov wrote: On Fri, Jun 23, 2017 at 12:44:46PM -0500, Tom Lendacky wrote: Normally the __p4d() macro would be used and that would be ok whether CONFIG_X86_5LEVEL is defined or not. But since __p4d() is part of the paravirt ops path I have to use native_make_p4d(

Re: [PATCH v1 4/6] [media] ov9650: use write_array() for resolution sequences

2017-06-26 Thread Sakari Ailus
Hi Hugues, On Thu, Jun 22, 2017 at 05:05:40PM +0200, Hugues Fruchet wrote: > Align resolution sequences on initialization sequence using > i2c_rv structure NULL terminated .This add flexibility > on resolution sequence size. > Document resolution related registers by using corresponding > define i

Re: [PATCH v1 2/6] [media] ov9650: add device tree support

2017-06-26 Thread Sakari Ailus
Hi Hugues, On Thu, Jun 22, 2017 at 05:05:38PM +0200, Hugues Fruchet wrote: > @@ -1545,15 +1577,22 @@ static int ov965x_remove(struct i2c_client *client) > } > > static const struct i2c_device_id ov965x_id[] = { > - { "OV9650", 0 }, > - { "OV9652", 0 }, > + { "OV9650", 0x9650 }, > +

Re: [PATCH] drm: adv7511_audio: Add .get_dai_id callback to map port number to dai id

2017-06-26 Thread John Stultz
On Tue, Jun 13, 2017 at 5:05 PM, Mark Brown wrote: > On Tue, Jun 13, 2017 at 02:59:49PM -0700, John Stultz wrote: >> ALSA SoC needs to know connected DAI ID for probing. Using >> the new audio-card-graph approach, ports/endpoints are used >> to describe how the links are connected. Unfortunately,

Re: [PATCH v2 12/29] kselftest.rst: do some adjustments after ReST conversion

2017-06-26 Thread Shuah Khan
On 06/25/2017 01:35 PM, Jonathan Corbet wrote: > On Fri, 23 Jun 2017 18:47:51 -0600 > Shuah Khan wrote: > >> Please let me know if you want me to take this through linux-kselftest >> In which case, Ack the patch. If not, you already have my Ack. > > Go ahead and take it if you want: > > A

Re: [PATCH 6/7] drm/tilcdc: clean up ifdef hacks around iowrite64

2017-06-26 Thread Logan Gunthorpe
Hi Jyri, Thanks for the ack. However, I'm reworking this patch set to use the include/linux/io-64-nonatomic* headers which will explicitly devolve into two 32-bit transfers. It's not clear whether this is appropriate for the tilcdc driver as it was never setup to use 32-bit transfers (unlike the o

Re: [PATCH 3/3 v6] ARC: hsdk: initial port for HSDK board

2017-06-26 Thread Alexey Brodkin
Hi Rob, On Mon, 2017-06-26 at 10:51 -0500, Rob Herring wrote: > On Mon, Jun 26, 2017 at 10:11 AM, Eugeniy Paltsev > wrote: > > > > From: Alexey Brodkin > > [snip] > > + > > +   chosen { > > +   bootargs = "earlycon=uart8250,mmio32,0xf0005000,115200n8 > > console=ttyS0,115200

Re: [PATCH 1/2] fsl/fman: propagate dma_ops

2017-06-26 Thread Geert Uytterhoeven
Hi Madalin, On Mon, Jun 26, 2017 at 4:55 PM, Madalin-cristian Bucur wrote: >> -Original Message- >> From: geert.uytterhoe...@gmail.com [mailto:geert.uytterhoe...@gmail.com] >> On Behalf Of Geert Uytterhoeven >> Sent: Monday, June 26, 2017 10:49 AM >> To: Madalin-cristian Bucur >> Cc: net

Re: [PATCH] fsl/fman: add dependency on HAS_DMA

2017-06-26 Thread Geert Uytterhoeven
On Mon, Jun 26, 2017 at 5:20 PM, Fabio Estevam wrote: > On Mon, Jun 26, 2017 at 12:12 PM, Madalin Bucur wrote: >> A previous commit inserted a dependency on DMA API that requires >> HAS_DMA to be added in Kconfig. > > It would be nice to specify the commit that caused this. That would be commit

Re: [PATCH] BUG-REPORT: snd-hda: hacked-together EPROBE_DEFER support

2017-06-26 Thread Daniel Vetter
On Wed, Jun 21, 2017 at 05:30:10PM +0200, Takashi Iwai wrote: > On Wed, 21 Jun 2017 17:23:57 +0200, > Chris Wilson wrote: > > > > Quoting Daniel Vetter (2017-06-21 16:08:54) > > > So back when the i915 power well support landed in > > > > > > commit 99a2008d0b32d72dfc2a54e7be1eb698dd2e3bd6 > > >

[PATCH 2/3] mtd: spi-nor: core code for the Altera Quadspi Flash Controller v2

2017-06-26 Thread matthew . gerlach
From: Matthew Gerlach Signed-off-by: Matthew Gerlach --- MAINTAINERS | 7 + drivers/mtd/spi-nor/Kconfig | 5 + drivers/mtd/spi-nor/Makefile | 4 +- drivers/mtd/spi-nor/altera-quadspi.c | 676 +++ include/linux/mtd/a

[PATCH 3/3] mtd: spi-nor: Altera Quadspi Flash Controller v2 Platform driver

2017-06-26 Thread matthew . gerlach
From: Matthew Gerlach Signed-off-by: Matthew Gerlach --- MAINTAINERS | 1 + drivers/mtd/spi-nor/Kconfig | 5 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/altera-quadspi-platform.c | 137 +

Re: [PATCH v4 1/3] pinctrl: Add sleep related configuration

2017-06-26 Thread Rob Herring
On Wed, Jun 21, 2017 at 07:55:37PM +0800, Baolin Wang wrote: > In some scenarios, we should set some pins as input/output/pullup/pulldown > when the specified system goes into deep sleep mode, then when the system > goes into deep sleep mode, these pins will be set automatically by hardware. > > U

[PATCH 0/3] Altera Quadspi Controller Version 2

2017-06-26 Thread matthew . gerlach
From: Matthew Gerlach Hi Everyone, This patch set adds support for Version 2 of the Altera Quadspi Controller. Version 1 of the Altera Quadspi Controller only supported 1 byte of flash id instead of the 3 bytes required for a JEDEC ID. As such the driver for Version 1 was rejected. Please see

[PATCH 1/3] ARM: dts: Bindings for Altera Quadspi Controller Version 2

2017-06-26 Thread matthew . gerlach
From: Matthew Gerlach Device Tree bindings for Version 2 of the Altera Quadspi Controller that can be optionally paired with a windowed bridge. Signed-off-by: Matthew Gerlach --- .../devicetree/bindings/mtd/altera-quadspi-v2.txt | 37 ++ 1 file changed, 37 insertions(+) c

Re: [PATCH 4/4] sched,fair: remove effective_load

2017-06-26 Thread Peter Zijlstra
On Mon, Jun 26, 2017 at 11:20:54AM -0400, Rik van Riel wrote: > Oh, indeed. I guess in wake_affine() we should test > whether the CPUs are in the same NUMA node, rather than > doing cpus_share_cache() ? Well, since select_idle_sibling() is on LLC; the early test on cpus_share_cache(prev,this) se

Re: [PATCH 4/4] remoteproc/davinci: streamline the interrupt management

2017-06-26 Thread Suman Anna
Hi Bjorn, On 06/25/2017 04:19 PM, Bjorn Andersson wrote: > On Thu 18 May 15:09 PDT 2017, Suman Anna wrote: > >> The davinci remoteproc driver is currently requesting its interrupt >> that deals with the virtio kicks in probe, and that too before all >> the associated variables used by the handler

Re: [linux-rt-devel:linux-4.11.y-rt-rebase 160/353] init/init_task.c:19:8: error: unknown field 'posix_timer_list' specified in initializer

2017-06-26 Thread Sebastian Andrzej Siewior
On 2017-06-16 21:55:59 [+0800], kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git > linux-4.11.y-rt-rebase > head: 9a5f5870d7dedcb287c4a1af27de7cf35302c56c > commit: 470637c623fc39a4804c3611e480b5ccdf3dca1c [160/353] posix-timers: > Thread

[PATCH net-next] Bonding: Convert multiple netdev_info messages to netdev_dbg

2017-06-26 Thread Michael J Dilmore
The bond_options.c file contains multiple netdev_info statements that clutter kernel output. This patch replaces all netdev_info with netdev_dbg and adds a netdev_dbg statement for the packets per slave parameter. Also fixes misalignment at line 467. Suggested-by: Joe Perches Signed-off-by: Mic

Re: [RFC PATCH v3 2/6] dt-bindings: spi/core: add wakeup-source optional property

2017-06-26 Thread Rob Herring
On Wed, Jun 21, 2017 at 06:01:49PM +0800, Jeffy Chen wrote: > Update document devicetree bindings to support "wakeup-source" property. > > Signed-off-by: Jeffy Chen > --- > > Changes in v3: None > > Documentation/devicetree/bindings/spi/spi-bus.txt | 1 + > 1 file changed, 1 insertion(+) > >

Re: [PATCH v4 1/2] media: i2c: adv748x: add adv748x driver

2017-06-26 Thread Laurent Pinchart
[snip] On Monday 26 Jun 2017 16:14:47 Kieran Bingham wrote: > >> +int adv748x_txa_power(struct adv748x_state *state, bool on) > >> +{ > >> +int val; > >> + > >> +val = txa_read(state, ADV748X_CSI_FS_AS_LS); > >> +if (val < 0) > >> +return val; > >> + > >> +/* > >> + * T

Re: [PATCH 0/2] Switchtec Changes for v4.13

2017-06-26 Thread Logan Gunthorpe
Poke. I'd *really* like to see these two patches in for 4.13 because otherwise we'll have an annoying conflict with the NTB work I'm trying to do for 4.14. (See the RFC set I've already posted.) Thanks, Logan On 15/06/17 02:12 PM, Logan Gunthorpe wrote: > Hi Bjorn, > > Can you please queue up

Re: [PATCH v3 11/11] x86/mm: Try to preserve old TLB entries using PCID

2017-06-26 Thread Borislav Petkov
On Tue, Jun 20, 2017 at 10:22:17PM -0700, Andy Lutomirski wrote: > PCID is a "process context ID" -- it's what other architectures call > an address space ID. Every non-global TLB entry is tagged with a > PCID, only TLB entries that match the currently selected PCID are > used, and we can switch P

[PATCH 9/9] firmware: arm_scmi: probe and initialise all the supported protocols

2017-06-26 Thread Sudeep Holla
Now that we have basic support for all the protocols in the specification, let's probe them individually and initialise them. Signed-off-by: Sudeep Holla --- drivers/firmware/arm_scmi/common.h | 5 +++ drivers/firmware/arm_scmi/driver.c | 71 +- 2 files chang

[PATCH 8/9] firmware: arm_scmi: add initial support for sensor protocol

2017-06-26 Thread Sudeep Holla
The sensor protocol provides functions to manage platform sensors, and provides the commands to describe the protocol version and the various attribute flags. It also provides commands to discover various sensors implemented and managed by the platform, read any sensor synchronously or asynchronous

[PATCH 3/9] firmware: arm_scmi: add basic driver infrastructure for SCMI

2017-06-26 Thread Sudeep Holla
The SCMI is intended to allow OSPM to manage various functions that are provided by the hardware platform it is running on, including power and performance functions. SCMI provides two levels of abstraction, protocols and transports. Protocols define individual groups of system control and manageme

Re: [PATCH 2/5] dt-bindings: phy-hisi-inno-usb2: add support for hisi-inno-usb2 phy

2017-06-26 Thread Rob Herring
On Wed, Jun 21, 2017 at 05:00:42PM +0800, Jiancheng Xue wrote: > Add support for hisi-inno-usb2 phy. > > Signed-off-by: Jiancheng Xue > --- > .../devicetree/bindings/phy/phy-hisi-inno-usb2.txt | 36 > ++ > 1 file changed, 36 insertions(+) > create mode 100644 > Documentati

Re: [PATCH v3 2/3] remoteproc/keystone: Add a remoteproc driver for Keystone 2 DSPs

2017-06-26 Thread Suman Anna
Hi Bjorn, On 06/25/2017 03:15 PM, Bjorn Andersson wrote: > On Tue 13 Jun 16:45 PDT 2017, Suman Anna wrote: > >> +static int keystone_rproc_start(struct rproc *rproc) >> +{ >> +struct keystone_rproc *ksproc = rproc->priv; >> +int ret; >> + >> +INIT_WORK(&ksproc->workqueue, handle_event

[PATCH 6/9] firmware: arm_scmi: add initial support for clock protocol

2017-06-26 Thread Sudeep Holla
The clock protocol is intended for management of clocks. It is used to enable or disable clocks, and to set and get the clock rates. This protocol provides commands to describe the protocol version, discover various implementation specific attributes, describe a clock, enable and disable a clock an

Re: BUG: unable to handle kernel NULL pointer dereference at 0000000000000038 !//RE: kernel BUG at kernel/locking/rtmutex.c:1027

2017-06-26 Thread Julia Cartwright
On Mon, Jun 26, 2017 at 04:54:36PM +0200, Sebastian Andrzej Siewior wrote: > On 2017-06-26 10:24:18 [-0400], Steven Rostedt wrote: > > > CPU: 17 PID: 1738811 Comm: ip Not tainted 4.4.70-thinkcloud-nfv #1 > > > Hardware name: LENOVO System x3650 M5: -[8871AC1]-/01GR174, BIOS > > > -[TCE124M-2.10]

[PATCH 7/9] firmware: arm_scmi: add initial support for power protocol

2017-06-26 Thread Sudeep Holla
The power protocol is intended for management of power states of various power domains. The power domain management protocol provides commands to describe the protocol version, discover the implementation specific attributes, set and get the power state of a domain. This patch adds support for the

[PATCH 4/9] firmware: arm_scmi: add common infrastructure and support for base protocol

2017-06-26 Thread Sudeep Holla
The base protocol describes the properties of the implementation and provide generic error management. The base protocol provides commands to describe protocol version, discover implementation specific attributes and vendor/sub-vendor identification, list of protocols implemented and the various ag

[PATCH 0/9] firmware: ARM System Control and Management Interface(SCMI) support

2017-06-26 Thread Sudeep Holla
Hi all, Let me begin admitting that we are introducing yet another protocol to achieve same things as many existing protocols like ARM SCPI, TI SCI, QCOM RPM, Nvidia Tegra BPMP, and so on. All I can say is that this new ARM System Control and Management Interface(SCMI) is more flexible and easily

[PATCH 5/9] firmware: arm_scmi: add initial support for performance protocol

2017-06-26 Thread Sudeep Holla
The performance protocol is intended for the performance management of group(s) of device(s) that run in the same performance domain. It includes even the CPUs. A performance domain is defined by a set of devices that always have to run at the same performance level. For example, a set of CPUs that

[PATCH 2/9] Documentation: add DT binding for ARM System Control and Management Interface(SCMI) protocol

2017-06-26 Thread Sudeep Holla
This patch adds devicetree binding for System Control and Management Interface (SCMI) Message Protocol used between the Application Cores(AP) and the System Control Processor(SCP). The MHU peripheral provides a mechanism for inter-processor communication between SCP's M3 processor and AP. SCP offe

[PATCH 1/9] Documentation: dt-bindings: add support for mailbox client shared memory

2017-06-26 Thread Sudeep Holla
Many users of the mailbox controllers depend on the shared memory between the two end points to exchange the main data while using simple doorbell mechanism to alert the end points of the presence of a message. This patch defines device tree bindings to represent such shared memory in a generic wa

Re: [PATCH] xfs: fix semicolon.cocci warnings

2017-06-26 Thread Darrick J. Wong
On Mon, Jun 26, 2017 at 11:57:44PM +0800, kbuild test robot wrote: > fs/xfs/xfs_log.c:2092:38-39: Unneeded semicolon > > > Remove unneeded semicolon. > > Generated by: scripts/coccinelle/misc/semicolon.cocci > > Fixes: d4ca1d550d05 ("xfs: dump transaction usage details on log reservation > ov

RE: [PATCH] soc/qman: Sleep instead of stuck hacking jiffies.

2017-06-26 Thread David Laight
From: Karim Eshapa > Sent: 25 June 2017 16:14 > Use msleep() instead of stucking with > long delay will be more efficient. ... > --- a/drivers/soc/fsl/qbman/qman.c > +++ b/drivers/soc/fsl/qbman/qman.c > @@ -1084,11 +1084,7 @@ static int drain_mr_fqrni(struct qm_portal *p) >* entries

Re: [PATCH] xfs: fix semicolon.cocci warnings

2017-06-26 Thread Brian Foster
On Mon, Jun 26, 2017 at 11:57:44PM +0800, kbuild test robot wrote: > fs/xfs/xfs_log.c:2092:38-39: Unneeded semicolon > > > Remove unneeded semicolon. > > Generated by: scripts/coccinelle/misc/semicolon.cocci > > Fixes: d4ca1d550d05 ("xfs: dump transaction usage details on log reservation > ov

RE: [PATCH 00/20] Update STM32 usart driver

2017-06-26 Thread Bich HEMON
Dear all, Please, do not take into account this patchset. A newer version is currently being prepared with typo/format corrections and will be sent later. The previous version has to be abandoned. Sorry for the inconvenience, Bich HEMON -Original Message- From: Bich HEMON Sent: lun

Re: [PATCH 3/3 v6] ARC: hsdk: initial port for HSDK board

2017-06-26 Thread Rob Herring
On Mon, Jun 26, 2017 at 10:11 AM, Eugeniy Paltsev wrote: > From: Alexey Brodkin > > This initial port adds support of ARC HS Development Kit board with some > basic features such serial port, USB, SD/MMC and Ethernet. > > Essentially we run Linux kernel on all 4 cores (i.e. utilize SMP) and > hea

Re: [PATCH v9 1/5] firmware: add extensible driver data params

2017-06-26 Thread Luis R. Rodriguez
On Sat, Jun 24, 2017 at 02:40:57PM +0200, Greg KH wrote: > On Sat, Jun 24, 2017 at 12:43:38AM +0200, Luis R. Rodriguez wrote: > > > It's also blocking real bug fixes and features that people want > > > addressed, which isn't acceptable. > > > > What? What bugs ? I have addressed *every single* sta

Re: [PATCH 1/5] [media] rockchip/rga: v4l2 m2m support

2017-06-26 Thread Nicolas Dufresne
Le lundi 26 juin 2017 à 22:51 +0800, Jacob Chen a écrit : > Rockchip RGA is a separate 2D raster graphic acceleration unit. It > accelerates 2D graphics operations, such as point/line drawing, image > scaling, rotation, BitBLT, alpha blending and image blur/sharpness. > > The drvier is mostly base

[PATCH] xfs: fix semicolon.cocci warnings

2017-06-26 Thread kbuild test robot
fs/xfs/xfs_log.c:2092:38-39: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: d4ca1d550d05 ("xfs: dump transaction usage details on log reservation overrun") CC: Brian Foster Signed-off-by: Fengguang Wu --- xfs_log.c |2 +- 1 f

RE: [PATCH 00/20] Update STM32 usart driver -> ABANDONED

2017-06-26 Thread Bich HEMON
Dear all, Please, do not take into account this patchset. A newer version is currently being prepared with typo/format corrections and will be sent later. The previous version has to be abandoned. Sorry for the inconvenience, Bich HEMON -Original Message- From: Bich HEMON Sent: lun

RE: [PATCH] fsl/fman: add dependency on HAS_DMA

2017-06-26 Thread Madalin-cristian Bucur
> -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: Monday, June 26, 2017 6:21 PM > To: Madalin-cristian Bucur > Cc: net...@vger.kernel.org; David S. Miller ; Geert > Uytterhoeven ; linuxppc-...@lists.ozlabs.org; linux- > kernel > Subject: Re: [PATCH] fsl/fman:

[PATCH v2] fsl/fman: add dependency on HAS_DMA

2017-06-26 Thread Madalin Bucur
A previous commit (5567e989198b5a8d) inserted a dependency on DMA API that requires HAS_DMA to be added in Kconfig. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/freescale/fman/Kconfig b/driv

Re: [PATCH v7 34/36] x86/mm: Add support to encrypt the kernel in-place

2017-06-26 Thread Borislav Petkov
On Fri, Jun 23, 2017 at 12:44:46PM -0500, Tom Lendacky wrote: > Normally the __p4d() macro would be used and that would be ok whether > CONFIG_X86_5LEVEL is defined or not. But since __p4d() is part of the > paravirt ops path I have to use native_make_p4d(). So __p4d is in !CONFIG_PARAVIRT path.

Re: [f2fs-dev] [PATCH 1/2] f2fs: avoid deadlock caused by lock order of page and lock_op

2017-06-26 Thread Chao Yu
Hi Jaegeuk, On 2017/6/26 22:54, Jaegeuk Kim wrote: > Hi Chao, > > On 06/26, Chao Yu wrote: >> Hi Jaegeuk, >> >> On 2017/6/25 0:25, Jaegeuk Kim wrote: >>> - punch_hole >>> - fill_zero >>> - f2fs_lock_op >>> - get_new_data_page >>>- lock_page >>> >>> - f2fs_write_data_pages >>> - lock_pag

Re: [PATCH] Input: synaptics - switch t460s 20FN to use RMI4 over SMBus

2017-06-26 Thread Benjamin Tissoires
On Jun 26 2017 or thereabouts, Christopher Bachner wrote: > Hello, > > I am assuming that if the inertouch message is not showing up in dmesg, > then it is working. Is that a correct assumption? > > Either way I also attached my dmesg. > > I am not sure, though, why the scroll mode still freezes

Re: [PATCH v4 1/2] media: i2c: adv748x: add adv748x driver

2017-06-26 Thread Hans Verkuil
On 26/06/17 17:14, Kieran Bingham wrote: > Hi Hans, > > Thankyou for your review, and apologies for the delay - I was OoO last week. > > > On 19/06/17 10:13, Hans Verkuil wrote: >> On 06/13/2017 02:35 AM, Kieran Bingham wrote: >>> From: Kieran Bingham >>> >>> Provide support for the ADV7481 and

Re: [RFC 5/9] iommu: Introduce fault notifier API

2017-06-26 Thread Alex Williamson
On Mon, 26 Jun 2017 08:27:52 -0700 Jacob Pan wrote: > On Fri, 23 Jun 2017 13:15:51 -0600 > Alex Williamson wrote: > > > On Fri, 23 Jun 2017 11:59:28 -0700 > > Jacob Pan wrote: > > > > > On Thu, 22 Jun 2017 16:53:17 -0600 > > > Alex Williamson wrote: > > > > > > > On Wed, 14 Jun 2017 1

Re: [PATCH V2 1/3] x86/numa_emulation: fix potential memory leak

2017-06-26 Thread Borislav Petkov
On Tue, May 02, 2017 at 09:04:51PM +0800, Wei Yang wrote: > numa_emulation() needs to allocate a space for phys_dist[] temporarily, s/a // > while current code may miss to release this when dfl_phys_nid == > NUMA_NO_NODE. And when is "dfl_phys_nid == NUMA_NO_NODE"? What does it mean actually? >

Re: [PATCH 2/7] drivers/hwmon/occ: Add command transport method for P8 and P9

2017-06-26 Thread Eddie James
On 06/24/2017 09:49 AM, Guenter Roeck wrote: On 06/22/2017 03:48 PM, Eddie James wrote: From: "Edward A. James" For the P8 OCC, add the procedure to send a command to the OCC over I2C bus. This involves writing the OCC command registers with serial communication operations (SCOMs) interprete

Re: [PATCHv3 1/3] firmware_class: move NO_CACHE from private to driver_data_req_params

2017-06-26 Thread Li, Yi
hi Greg On 6/23/2017 10:41 AM, Greg KH wrote: On Fri, Jun 16, 2017 at 05:58:29PM -0500, yi1...@linux.intel.com wrote: From: Yi Li This adds DRIVER_DATA_REQ_NO_CACHE flag with .req flag under struct driver_data_req_params. When this flag is set, the driver_data driver will not cache the firmwa

[PATCH v2 01/12] coresight replicator: Cleanup programmable replicator naming

2017-06-26 Thread Suzuki K Poulose
The Linux coresight drivers define the programmable ATB replicator as Qualcom replicator, while this is designed by ARM. This can cause confusion to a user selecting the driver. Cleanup all references to make it explicitly clear. This patch : 1) Replace the compatible string for the replicator :

Re: [PATCH] mm: document highmem_is_dirtyable sysctl

2017-06-26 Thread Johannes Weiner
On Mon, Jun 26, 2017 at 11:32:00AM +0200, Michal Hocko wrote: > From: Michal Hocko > > It seems that there are still people using 32b kernels which a lot of > memory and the IO tend to suck a lot for them by default. Mostly because > writers are throttled too when the lowmem is used. We have > hi

[PATCH v2 05/12] coresight tmc: Add helpers for accessing 64bit registers

2017-06-26 Thread Suzuki K Poulose
Coresight TMC splits 64bit registers into a pair of 32bit registers (e.g DBA, RRP, RWP). Provide helpers to read/write to these registers. Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- drivers/hwtracing/coresight/coresight-priv.h| 8 drivers/hwtracing/coresight/coresight

[PATCH v2 02/12] arm64: dts: juno: Use the new coresight replicator string

2017-06-26 Thread Suzuki K Poulose
Use the new compatible for ATB programmable replicator in Juno. Cc: Sudeep Holla Cc: Mike Leach Cc: Mathieu Poirier Cc: Liviu Dudau Signed-off-by: Suzuki K Poulose --- arch/arm64/boot/dts/arm/juno-base.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/d

Re: [RFC 5/9] iommu: Introduce fault notifier API

2017-06-26 Thread Jacob Pan
On Fri, 23 Jun 2017 13:15:51 -0600 Alex Williamson wrote: > On Fri, 23 Jun 2017 11:59:28 -0700 > Jacob Pan wrote: > > > On Thu, 22 Jun 2017 16:53:17 -0600 > > Alex Williamson wrote: > > > > > On Wed, 14 Jun 2017 15:22:59 -0700 > > > Jacob Pan wrote: > > > > > > > Traditionally, device

[PATCH v2 07/12] coresight replicator: Expose replicator management registers

2017-06-26 Thread Suzuki K Poulose
Expose the idfilter* registers of the programmable replicator. Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- .../coresight/coresight-dynamic-replicator.c| 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/hwtracing/coresight/coresight-dynamic-rep

[PATCH v2 06/12] coresight tmc: Expose DBA and AXICTL

2017-06-26 Thread Suzuki K Poulose
Expose DBALO,DBAHI and AXICTL registers Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- drivers/hwtracing/coresight/coresight-tmc.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/hwtracing/coresight/coresight-tmc.c b/drivers/hwtracing/coresight/coresight-tmc.c index cc

[PATCH v2 09/12] coresight tmc: Add capability information

2017-06-26 Thread Suzuki K Poulose
This patch adds description of the capabilities of a given TMC. This will help us to handle different versions of the TMC in the same driver by checking the capabilities. Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- drivers/hwtracing/coresight/coresight-tmc.c | 10 +- drivers

[PATCH v2 08/12] coresight tmc: Handle configuration types properly

2017-06-26 Thread Suzuki K Poulose
Coresight SoC 600 defines a new configuration for TMC, Embedded Trace Streamer (ETS), indicated by 0x3 in MODE:CONFIG_TYPE. This would break the existing driver which will treat anything other than ETR/ETB as an ETF. Fix the driver to check the configuration type properly and also add a warning if

[PATCH v2 04/12] coresight: Add support for reading 64bit registers

2017-06-26 Thread Suzuki K Poulose
Add support for reading a lower and upper 32bits of a register as a single 64bit register. Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- drivers/hwtracing/coresight/coresight-priv.h | 27 ++- drivers/hwtracing/coresight/coresight-tmc.c | 4 ++-- 2 files chang

[PATCH v2 11/12] coresight tmc: Add support for Coresight SoC 600 TMC

2017-06-26 Thread Suzuki K Poulose
The coresight SoC 600 supports ETR save-restore which allows us to restore a trace session by retaining the RRP/RWP/STS.Full values when the TMC leaves the Disabled state. However, the TMC doesn't have a scatter-gather unit in built. Also, TMCs have different PIDs in different configurations (ETF,

[PATCH v2 03/12] coresight: Extend the PIDR mask to cover relevant bits in PIDR2

2017-06-26 Thread Suzuki K Poulose
As per coresight standards, PIDR2 register has the following format : [2-0] - JEP106_bits6to4 [3]- JEDEC, designer ID is specified by JEDEC. However some of the drivers only use mask of 0x3 for the PIDR2 leaving bits [3-2] unchecked, which could potentially match the component for a differ

[PATCH v2 10/12] coresight tmc: Support for save-restore in ETR

2017-06-26 Thread Suzuki K Poulose
The Coresight SoC 600 TMC ETR supports save-restore feature, where the values of the RRP/RWP and STS.Full are retained when it leaves the Disabled state. Hence, we must program the RRP/RWP and STS.Full to a proper value. For now, set the RRP/RWP to the base address of the buffer and clear the STS.F

[PATCH v2 12/12] coresight: Add support for Coresight SoC 600 components

2017-06-26 Thread Suzuki K Poulose
Add the peripheral ids for the Coresight SoC 600 TPIU, replicator and funnel. Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- drivers/hwtracing/coresight/coresight-dynamic-replicator.c | 5 + drivers/hwtracing/coresight/coresight-funnel.c | 5 + drivers/hwtracing/cor

[PATCHv2 00/12] coresight: Support for ARM Coresight SoC-600

2017-06-26 Thread Suzuki K Poulose
This series adds support for ARM Coresight SoC-600 IP, which implements Coresight V3 architecture. It also does some clean up of the replicator driver namings used in the driver to prevent confusions to the user. The SoC-600 comes with an improved TMC which supports new features, including Save-Re

Re: [PATCH 4/4] sched,fair: remove effective_load

2017-06-26 Thread Rik van Riel
On Mon, 2017-06-26 at 17:04 +0200, Peter Zijlstra wrote: > On Mon, Jun 26, 2017 at 10:55:41AM -0400, Rik van Riel wrote: > > On Mon, 2017-06-26 at 16:46 +0200, Peter Zijlstra wrote: > > > On Mon, Jun 26, 2017 at 04:44:37PM +0200, Peter Zijlstra wrote: > > > > On Fri, Jun 23, 2017 at 12:55:30PM -040

Re: [RFC 21/55] KVM: arm64: Forward HVC instruction to the guest hypervisor

2017-06-26 Thread Jintack Lim
On Wed, Feb 22, 2017 at 6:47 AM, Christoffer Dall wrote: > On Mon, Jan 09, 2017 at 01:24:17AM -0500, Jintack Lim wrote: >> Forward exceptions due to hvc instruction to the guest hypervisor. >> >> Signed-off-by: Jintack Lim >> --- >> arch/arm64/include/asm/kvm_nested.h | 5 + >> arch/arm64/k

Re: [PATCH] fsl/fman: add dependency on HAS_DMA

2017-06-26 Thread Fabio Estevam
On Mon, Jun 26, 2017 at 12:12 PM, Madalin Bucur wrote: > A previous commit inserted a dependency on DMA API that requires > HAS_DMA to be added in Kconfig. It would be nice to specify the commit that caused this.

Re: [PATCH v4 1/2] media: i2c: adv748x: add adv748x driver

2017-06-26 Thread Kieran Bingham
Hi Hans, Thankyou for your review, and apologies for the delay - I was OoO last week. On 19/06/17 10:13, Hans Verkuil wrote: > On 06/13/2017 02:35 AM, Kieran Bingham wrote: >> From: Kieran Bingham >> >> Provide support for the ADV7481 and ADV7482. >> >> The driver is modelled with 4 subdevices

<    1   2   3   4   5   6   7   8   9   >