Re: [PATCH 2/5] pinctrl: core: Add generic pinctrl functions for managing groups

2016-12-30 Thread Tony Lindgren
* Linus Walleij [161230 06:12]: > On Tue, Dec 27, 2016 at 6:20 PM, Tony Lindgren wrote: > > > We can add generic helpers for pin group handling for cases where the pin > > controller driver does not need to use static arrays. > > > > Signed-off-by: Tony Lindgren > > Patch applied. > > > +conf

Re: [PATCHv2 0/5] Add generic pinctrl helpers for managing groups and function

2016-12-30 Thread Tony Lindgren
* Gary Bisson [161230 07:43]: > Hi Linus, > > On Fri, Dec 30, 2016 at 3:39 PM, Linus Walleij > wrote: > > On Tue, Dec 27, 2016 at 6:19 PM, Tony Lindgren wrote: > > > >> Here are some changes to add generic helpers for managing pinctrl groups > >> and > >> functions. > > > > I applied it, scre

Re: [PATCH 2/7] mm, vmscan: add active list aging tracepoint

2016-12-30 Thread Minchan Kim
On Fri, Dec 30, 2016 at 10:26:37AM +0100, Michal Hocko wrote: > On Fri 30-12-16 10:48:53, Minchan Kim wrote: > > On Thu, Dec 29, 2016 at 08:52:46AM +0100, Michal Hocko wrote: > > > On Thu 29-12-16 14:33:59, Minchan Kim wrote: > > > > On Wed, Dec 28, 2016 at 04:30:27PM +0100, Michal Hocko wrote: > [

Re: [PATCH v4 0/5] thermal: fixes the rockchip thermal

2016-12-30 Thread ayaka
BTW, Caesar have you ever met this at RK3288 at booting time? [8.430582] thermal thermal_zone1: critical temperature reached(125 C),shutting down [8.439038] thermal thermal_zone2: critical temperature reached(125 C),shutting down [8.456344] thermal thermal_zone1: critical temperatur

Re: [RFC] input: Add disable sysfs entry for every input device

2016-12-30 Thread Nikita Yushchenko
Hi > &dev_attr_properties.attr, > + &dev_arrr_disable.attr, Typo here. After fixing that, Tested-by: Nikita Yushchenko

[RFC 0/4] x86: keep TASK_SIZE in sync with mm->task_size

2016-12-30 Thread Dmitry Safonov
At this moment, we have following task_size-related things: - TASK_SIZE_OF() macro, which is unused; - current->mm->task_size which is used in half and TASK_SIZE() macro which is used in the other half of code - TIF_ADDR32, which is used to detect 32-bit address space and is x86-specific, where

[RFC 4/4] x86/arch_prctl: add ARCH_{GET,SET}_TASK_SIZE

2016-12-30 Thread Dmitry Safonov
Add arch_prctl getters/setters for size of virtual address space of task. This adds ability to change task's virtual address space limit. I need this for correctly restore virtual address space limits in CRIU. Currently, on x86 there are three task sizes: 3GB for some old 32 bit java apps, 4Gb for

Re: [PATCH] leds: pca9532: fix device_node_continue.cocci warnings

2016-12-30 Thread Julia Lawall
On Fri, 30 Dec 2016, Jacek Anaszewski wrote: > On 12/29/2016 10:39 PM, Julia Lawall wrote: > > > > > > On Thu, 29 Dec 2016, Jacek Anaszewski wrote: > > > >> Hi Julia, > >> > >> This patch doesn't apply to current for-next branch > >> of linux-leds.git. > > > > The information about where it come

Re: [PATCH 2/7] mm, vmscan: add active list aging tracepoint

2016-12-30 Thread Michal Hocko
On Sat 31-12-16 01:04:56, Minchan Kim wrote: [...] > > From 5f1bc22ad1e54050b4da3228d68945e70342ebb6 Mon Sep 17 00:00:00 2001 > > From: Michal Hocko > > Date: Tue, 27 Dec 2016 13:18:20 +0100 > > Subject: [PATCH] mm, vmscan: add active list aging tracepoint > > > > Our reclaim process has several

Re: [PATCH] iio: adc: TI_AM335X_ADC should depend on HAS_DMA

2016-12-30 Thread Jonathan Cameron
On 14/12/16 12:30, Geert Uytterhoeven wrote: > If NO_DMA=y: > > ERROR: "bad_dma_ops" [drivers/iio/adc/ti_am335x_adc.ko] undefined! > > Add a dependency on HAS_DMA to fix this. > > Signed-off-by: Geert Uytterhoeven Applied to the fixes-togreg-post-rc1 branch of iio.git (will unwind this fun

Re: [KERNEL] Re: Bug 4.9 and memorymanagement

2016-12-30 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Sorry, did reply only you.. Am Fr den 30. Dez 2016 um 12:11 schrieb Michal Hocko: > > If this turns out to be memory cgroup related then the patch from > > http://lkml.kernel.org/r/20161226124839.gb20...@dhcp22.suse.cz might > > help. > > Did you ge

[RFC] drm: Parse HDMI 2.0 YCbCr 4:2:0 VDB and VCB

2016-12-30 Thread Jose Abreu
HDMI 2.0 introduces a new sampling mode called YCbCr 4:2:0. According to the spec the EDID may contain two blocks that signal this sampling mode: - YCbCr 4:2:0 Video Data Block - YCbCr 4:2:0 Video Capability Map Data Block The video data block contains the list of vic's were only Y

Re: [PATCH v1 07/54] bcache: comment on direct access to bvec table

2016-12-30 Thread Coly Li
On 2016/12/27 下午11:55, Ming Lei wrote: > Looks all are safe after multipage bvec is supported. > > Signed-off-by: Ming Lei > --- > drivers/md/bcache/btree.c | 1 + > drivers/md/bcache/super.c | 6 ++ > drivers/md/bcache/util.c | 7 +++ > 3 files changed, 14 insertions(+) > > diff --git

Re: [PATCH v4 2/2] iio: adc: hx711: Add IIO driver for AVIA HX711

2016-12-30 Thread Jonathan Cameron
On 21/12/16 15:25, Andreas Klinger wrote: > This is the IIO driver for AVIA HX711 ADC which ist mostly used in weighting > cells. > > The protocol is quite simple and using GPIOs: > One GPIO is used as clock (SCK) while another GPIO is read (DOUT) > > The raw value read from the chip is delivered

Re: [PATCH 1/3] ata: allow subsystem to be used on m68k arch

2016-12-30 Thread Bartlomiej Zolnierkiewicz
Hi, On Friday, December 30, 2016 06:12:49 AM Christoph Hellwig wrote: > On Fri, Dec 30, 2016 at 03:01:16PM +0100, Bartlomiej Zolnierkiewicz wrote: > > When libata was merged m68k lacked IOMAP support. This has not been > > true for a long time now so allow subsystem to be used on m68k. > > Is t

Re: [KERNEL] Re: Bug 4.9 and memorymanagement

2016-12-30 Thread Michal Hocko
On Fri 30-12-16 17:52:30, Klaus Ethgen wrote: > Sorry, did reply only you.. > > Am Fr den 30. Dez 2016 um 12:11 schrieb Michal Hocko: > > > If this turns out to be memory cgroup related then the patch from > > > http://lkml.kernel.org/r/20161226124839.gb20...@dhcp22.suse.cz might > > > help. > > >

Re: [PATCH 2/7] mm, vmscan: add active list aging tracepoint

2016-12-30 Thread Michal Hocko
On Fri 30-12-16 17:37:42, Michal Hocko wrote: > On Sat 31-12-16 01:04:56, Minchan Kim wrote: [...] > > > - nr_rotated pages which tells us that we are hitting referenced > > > pages which are deactivated. If this is a large part of the > > > reported nr_deactivated pages then the active l

Re: [PATCH 0/3] cpufreq: intel_pstate: Locking and limits fix-ups

2016-12-30 Thread Srinivas Pandruvada
On Fri, 2016-12-30 at 15:54 +0100, Rafael J. Wysocki wrote: > Hi, > > This series fixes a couple of possible locking issues and limits > synchronization > in intel pstate. > > [1/3] Add locking to intel_pstate_resume(). > [2/3] Add locking to intel_cpufreq_verify_policy(). > [3/3] Always keep all

[PATCH linux 1/6] hwmon: Add core On-Chip Controller support for POWER CPUs

2016-12-30 Thread eajames . ibm
From: "Edward A. James" Add core support for polling the OCC for it's sensor data and parsing that data into sensor-specific information. Signed-off-by: Edward A. James Signed-off-by: Andrew Jeffery --- Documentation/hwmon/occ| 40 drivers/hwmon/Kconfig | 2 + drivers/hwmon/M

[PATCH linux 0/6] drivers: hwmon: Add On-Chip Controller driver

2016-12-30 Thread eajames . ibm
From: "Edward A. James" This patchset adds a hwmon driver to support the OCC (On-Chip Controller) on the IBM POWER8 and POWER9 processors, from a BMC (Baseboard Management Controller). The OCC is an embedded processor that provides real time power and thermal monitoring. The driver provides an i

[PATCH linux 2/6] hwmon: occ: Add sysfs interface

2016-12-30 Thread eajames . ibm
From: "Edward A. James" Add a generic mechanism to expose the sensors provided by the OCC in sysfs. Signed-off-by: Edward A. James Signed-off-by: Andrew Jeffery Reviewed-by: Andrew Jeffery --- Documentation/hwmon/occ | 48 + drivers/hwmon/occ/Makefile| 2 +- drivers/hwmon/oc

[PATCH linux 4/6] hwmon: occ: Add callbacks for parsing P8 OCC datastructures

2016-12-30 Thread eajames . ibm
From: "Edward A. James" Add functions to parse the data structures that are specific to the OCC on the POWER8 processor. These are the sensor data structures, including temperature, frequency, power, and "caps." Signed-off-by: Edward A. James Signed-off-by: Andrew Jeffery Reviewed-by: Andrew J

[PATCH linux 5/6] hwmon: occ: Add hwmon implementation for the P8 OCC

2016-12-30 Thread eajames . ibm
From: "Edward A. James" Add code to tie the hwmon sysfs code and the POWER8 OCC code together, as well as probe the entire driver from the I2C bus. I2C is the communication method between the BMC and the P8 OCC. Signed-off-by: Edward A. James Signed-off-by: Andrew Jeffery Reviewed-by: Andrew J

[PATCH linux 3/6] hwmon: occ: Add I2C transport implementation for SCOM operations

2016-12-30 Thread eajames . ibm
From: "Edward A. James" Add functions to send SCOM operations over I2C bus. The BMC can communicate with the Power8 host processor over I2C, but needs to use SCOM operations in order to access the OCC register space. Signed-off-by: Edward A. James Signed-off-by: Andrew Jeffery --- drivers/hwm

[PATCH linux 6/6] hwmon: occ: Add callbacks for parsing P9 OCC datastructures

2016-12-30 Thread eajames . ibm
From: "Edward A. James" Add functions to parse the data structures that are specific to the OCC on the POWER9 processor. These are the sensor data structures, including temperature, frequency, power, and "caps." Signed-off-by: Edward A. James Signed-off-by: Andrew Jeffery Reviewed-by: Andrew J

Re: [Linux v4.10.0-rc1+] Still call-traces after suspend-resume (pm? i915? cpu/hotplug?)

2016-12-30 Thread Sedat Dilek
On Fri, Dec 30, 2016 at 3:02 PM, Rafael J. Wysocki wrote: > On Fri, Dec 30, 2016 at 12:40 PM, Sedat Dilek wrote: >> Hi, >> >> I have already reported this issue in [1]. >> One of the issue was solved. >> Unfortunately, it looks like there is still a different problem here >> (Ubuntu/precise AMD64

Re: [PATCH 10/20] gpio: pca953x: Add optional reset gpio control

2016-12-30 Thread Steve Longerbeam
Hi Linus, Lothar, On 12/30/2016 05:17 AM, Linus Walleij wrote: On Thu, Dec 29, 2016 at 11:27 PM, Steve Longerbeam wrote: Add optional reset-gpios pin control. If present, de-assert the specified reset gpio pin to bring the chip out of reset. Signed-off-by: Steve Longerbeam Cc: Linus Wallei

[RFC PATCH] sched: Remove set_task_state()

2016-12-30 Thread Davidlohr Bueso
This is a nasty interface and setting the state of a foreign task must not be done. While as of be628be0956 (bcache: Make gc wakeup sane, remove set_task_state()) everyone in the kernel calls set_task_state() with current, allowing the helper to be removed. However, as the comment indicates, it is

Re: [PATCH] drivers: staging: iio: cdc: fix return value

2016-12-30 Thread Jonathan Cameron
On 23/12/16 18:51, Thomas Preisner wrote: > At the end of function ad7150_write_event_config(), "return 0" seems > improper. It may be better to return the value of ret. > > Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188871 > > Reported-by: Pan Bian > Signed-off-by: Thomas Preisner >

Re: [PATCHv4 1/8] fixed long description text exceeding 80 characters

2016-12-30 Thread Jonathan Cameron
On 25/12/16 19:56, Scott Matheina wrote: > The description was split into 2 lines due to the line greatly > exceeding the 80 character soft limit. This is often deliberately done with strings. It makes them much easier to grep for in the source. Adding the artificial newline may destroy attempts

Re: [PATCHv4 3/8] Fix camel case issues

2016-12-30 Thread Jonathan Cameron
On 25/12/16 19:56, Scott Matheina wrote: > Cases of camel case were fixed by making variables lower case throughout > the file. > > Signed-off-by: Scott Matheina So of these cases might arguably be worth doing, but extreme care is needed to ensure that the code is not broken. Also, you are modi

Re: [PATCHv4 4/8] Fix braces not present on all arms of if else statement

2016-12-30 Thread Jonathan Cameron
On 25/12/16 19:56, Scott Matheina wrote: > Adds braces to second arm of if else statement. > > Signed-off-by: Scott Matheina This patch is actually correct so applied to the togreg branch of iio.git. Thanks, Jonathan > --- > drivers/staging/iio/addac/adt7316.c | 3 ++- > 1 file changed, 2 inse

Re: [PATCHv4 4/8] Fix braces not present on all arms of if else statement

2016-12-30 Thread Jonathan Cameron
On 30/12/16 18:46, Jonathan Cameron wrote: > On 25/12/16 19:56, Scott Matheina wrote: >> Adds braces to second arm of if else statement. >> >> Signed-off-by: Scott Matheina > This patch is actually correct so applied to the togreg branch of iio.git. Ah, patch title could be better. Should mention

[PATCH 08/10] f2fs: relax async discard commands more

2016-12-30 Thread Jaegeuk Kim
This patch relaxes async discard commands to avoid waiting its end_io during checkpoint. Instead of waiting them during checkpoint, it will be done when actually reusing them. Test on initial partition of nvme drive. # time fstrim /mnt/test Before : 6.158s After : 4.822s Signed-off-by: Jaegeuk

[PATCH 10/10] f2fs: return fs_trim if there is no candidate

2016-12-30 Thread Jaegeuk Kim
If there is no candidate to submit discard command during f2sf_trim_fs, let's return without checkpoint. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 5 + fs/f2fs/f2fs.h | 1 + fs/f2fs/segment.c| 28 +++- 3 files changed, 29 insertions(+), 5 delet

[PATCH 02/10] f2fs: fix wrong tracepoints for op and op_flags

2016-12-30 Thread Jaegeuk Kim
This patch fixes wrong tracepoints in terms of op and op_flags. Signed-off-by: Jaegeuk Kim --- include/trace/events/f2fs.h | 41 + 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/include/trace/events/f2fs.h b/include/trace/events/f2fs.h ind

[PATCH 06/10] f2fs: show the max number of atomic operations

2016-12-30 Thread Jaegeuk Kim
This patch adds to show the max number of atomic operations which are conducting concurrently. Signed-off-by: Jaegeuk Kim --- fs/f2fs/debug.c | 7 +++ fs/f2fs/f2fs.h | 17 + fs/f2fs/file.c | 12 +--- 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/f

[PATCH 09/10] f2fs: avoid needless checkpoint in f2fs_trim_fs

2016-12-30 Thread Jaegeuk Kim
The f2fs_trim_fs() doesn't need to do checkpoint if there are newly allocated data blocks only which didn't change the critical checkpoint data such as nat and sit entries. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-)

[PATCH 03/10] f2fs: add submit_bio tracepoint

2016-12-30 Thread Jaegeuk Kim
This patch adds final submit_bio() tracepoint. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 1 + include/trace/events/f2fs.h | 31 +++ 2 files changed, 32 insertions(+) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 2c5df1dc1479..54da4e2f1318 100

[PATCH 01/10] f2fs: reassign new segment for mode=lfs

2016-12-30 Thread Jaegeuk Kim
Otherwise we can remain wrong curseg->next_blkoff, resulting in fsck failure. Signed-off-by: Jaegeuk Kim --- fs/f2fs/segment.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index be9e4d244d75..4e5ffe1d97e4 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs

[PATCH 05/10] f2fs: get io size bit from mount option

2016-12-30 Thread Jaegeuk Kim
This patch adds to set io_size_bits from mount option. Signed-off-by: Jaegeuk Kim --- Documentation/filesystems/f2fs.txt | 2 ++ fs/f2fs/super.c| 22 ++ 2 files changed, 24 insertions(+) diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/fi

Re: [PATCHv4 6/8] Fixed code wrap alignment with preceding (.

2016-12-30 Thread Jonathan Cameron
On 25/12/16 19:56, Scott Matheina wrote: > The code wasn't aligned with preceding ( on following lines, fixes > this coding style issue. > > Signed-off-by: Scott Matheina This looks fine, but is invasive enough I suspect it won't apply without some of the earlier patches. If you care to respin t

[PATCH 07/10] f2fs: don't allow encrypted operations without keys

2016-12-30 Thread Jaegeuk Kim
This patch fixes the renaming bug on encrypted filenames, which was pointed by (ext4: don't allow encrypted operations without keys) Cc: Theodore Ts'o Signed-off-by: Jaegeuk Kim --- fs/f2fs/namei.c | 12 1 file changed, 12 insertions(+) diff --git a/fs/f2fs/namei.c b/fs/f2fs/nam

[PATCH 04/10] f2fs: support IO alignment for DATA and NODE writes

2016-12-30 Thread Jaegeuk Kim
This patch implements IO alignment by filling dummy blocks in DATA and NODE write bios. If we can guarantee, for example, 32KB or 64KB for such the IOs, we can eliminate underlying dummy page problem which FTL conducts in order to close MLC or TLC partial written pages. Note that, - it requires "

Re: [PATCHv4 7/8] Changed code to align with coding style of using octat

2016-12-30 Thread Jonathan Cameron
On 25/12/16 19:56, Scott Matheina wrote: > The permmission code was changed to reflect octat (0644/0444) for required > permissions. > > Signed-off-by: Scott Matheina The particularly comment from Linus that lead to this 'rule' coming in recently was fair enough, but the rule creates a lot of c

Re: [PATCHv4 8/8] Fixes style issues due to mis-aligned carry over lines

2016-12-30 Thread Jonathan Cameron
On 25/12/16 19:56, Scott Matheina wrote: > Lines were not aligned with (, this patch simply changes the indention, no > substantive > changes function of driver. > > Signed-Off-By: Scott Matheina Again, this patch is fine. If you respin the good bits of the series, please give it a suitable name

Re: [PATCH] ARM: dts: am572x-idk: Add gpios property to control PCIE_RESETn

2016-12-30 Thread Tony Lindgren
* Kishon Vijay Abraham I [161230 00:08]: > Add 'gpios' property to pcie1 dt node and populate it with > GPIO3_23 in order to drive PCIE_RESETn high. > > This gets PCIe cards to be detected in AM572X IDK board. > > Signed-off-by: Kishon Vijay Abraham I > --- > arch/arm/boot/dts/am572x-idk.dts |

[PATCH v2 0/2] tpm: enhance TPM 2.0 extend function to support multiple PCR banks

2016-12-30 Thread Nayna Jain
IMA extends its hash measurements in the TPM PCRs, based on policy. The existing in-kernel TPM extend function extends only the SHA1 PCR bank. TPM 2.0 defines multiple PCR banks, to support different hash algorithms. The TCG TPM 2.0 Specification[1] recommends extending all active PCR banks to prev

[PATCH v2 1/2] tpm: implement TPM 2.0 capability to get active PCR banks

2016-12-30 Thread Nayna Jain
This patch implements the TPM 2.0 capability TPM_CAP_PCRS to retrieve the active PCR banks from the TPM. This is needed to enable extending all active banks as recommended by TPM 2.0 TCG Specification. Signed-off-by: Nayna Jain --- drivers/char/tpm/tpm.h | 5 +++ drivers/char/tpm/tpm2-cmd.

[PATCH v2 2/2] tpm: enhance TPM 2.0 PCR extend to support multiple banks

2016-12-30 Thread Nayna Jain
The current TPM 2.0 device driver extends only the SHA1 PCR bank but the TCG Specification[1] recommends extending all active PCR banks, to prevent malicious users from setting unused PCR banks with fake measurements and quoting them. The existing in-kernel interface(tpm_pcr_extend()) expects only

[PATCH] thermal: core: move tz->device.groups cleanup to thermal_release

2016-12-30 Thread Jacob von Chorus
The device_unregister call in thermal_zone_device_unregister causes the thermal_zone_device structure to be freed before the call to free the dynamically allocated attribute groups. This leads to a kernel panic. Furthermore, the 4 calls to free the trip point attribute structures occur before the

Re: [PATCH] iio: mxs-lradc: fix error handling in mxs_lradc_probe()

2016-12-30 Thread Jonathan Cameron
On 26/12/16 22:04, Stefan Wahren wrote: > >> Alexey Khoroshilov hat am 23. Dezember 2016 um 23:15 >> geschrieben: >> >> >> During transition to using devm_input_allocate_device() >> goto to resource deallocation block was replaced by return >> in case of error in iio_device_register(). >> That i

Re: [PATCH] trace: extend trace_clock to support arch_arm clock counter

2016-12-30 Thread Stephen Boyd
On 12/20, Will Deacon wrote: > On Thu, Dec 15, 2016 at 06:46:09PM +0530, Srinivas Ramana wrote: > > On 12/12/2016 04:12 PM, Will Deacon wrote: > > >On Mon, Dec 12, 2016 at 10:31:52AM +0530, Srinivas Ramana wrote: > > >>On 12/06/2016 05:43 PM, Will Deacon wrote: > > >>>Does this mean we need a way t

Re: [PATCH linux 1/6] hwmon: Add core On-Chip Controller support for POWER CPUs

2016-12-30 Thread kbuild test robot
Hi Edward, [auto build test WARNING on hwmon/hwmon-next] [also build test WARNING on v4.10-rc1 next-20161224] [cannot apply to linux/master] [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/eajame

Re: [PATCH linux 2/6] hwmon: occ: Add sysfs interface

2016-12-30 Thread Guenter Roeck
On Fri, Dec 30, 2016 at 11:56:04AM -0600, eajames@gmail.com wrote: > From: "Edward A. James" > > Add a generic mechanism to expose the sensors provided by the OCC in > sysfs. > > Signed-off-by: Edward A. James > Signed-off-by: Andrew Jeffery > Reviewed-by: Andrew Jeffery > --- > Document

[RFC 2/4] x86/thread_info: kill TIF_ADDR32 in favour of ADDR_LIMIT_32BIT

2016-12-30 Thread Dmitry Safonov
This thread flag is completely x86-specific, consolidate it with ADDR_LIMIT_32BIT personality which is defined but not used on x86. It will free one of thread flags and consolidate personality with other arches. After this commit ADDR_LIMIT_32BIT is set by the kernel automatically in COMPAT_SET_PER

[PATCH 00/18] Drivers: hv: vmbus: Restructure architecture specific code

2016-12-30 Thread K. Y. Srinivasan
The current Hyper-V code under drivers/hv has bunch of X86 specific code. Restructure the code and move al architecture specific code to the appropriate files. As I was working on this restructuring, Roman Kagan has submitted patches to restructure the Hyper-V header files to address a different

[PATCH 00/18] Drivers: hv: vmbus: Restructure architecture specific code

2016-12-30 Thread kys
From: K. Y. Srinivasan The current Hyper-V code under drivers/hv has bunch of X86 specific code. Restructure the code and move al architecture specific code to the appropriate files. As I was working on this restructuring, Roman Kagan has submitted patches to restructure the Hyper-V header file

[PATCH 03/18] Drivers: hv vmbus: Move Hypercall page setup out of common code

2016-12-30 Thread kys
From: K. Y. Srinivasan As part of the effort to separate out architecture specific code, move the hypercall page setup to an architecture specific file. Signed-off-by: K. Y. Srinivasan --- arch/x86/Kbuild |3 ++ arch/x86/hyperv/Makefile|1 + arch/x86/hyperv/hv_i

[PATCH 15/18] Drivers: hv: vmbus: Define APIs to manipulate the synthetic interrupt controller

2016-12-30 Thread kys
From: K. Y. Srinivasan As part of cleaning up architecture specific code, define APIs to manipulate the interrupt controller state. Signed-off-by: K. Y. Srinivasan --- arch/x86/include/asm/mshyperv.h |3 +++ drivers/hv/hv.c |8 2 files changed, 7 insertions(+),

[PATCH 02/18] Drivers: hv: vmbus: Move the definition of generate_guest_id()

2016-12-30 Thread kys
From: K. Y. Srinivasan As part of the effort to separate out architecture specific code, move the definition of generate_guest_id() to x86 specific header file. Signed-off-by: K. Y. Srinivasan --- arch/x86/include/asm/mshyperv.h | 43 +++ drivers/hv/hyperv

[PATCH 16/18] Drivers: hv: vmbus: Define an API to retrieve virtual processor index

2016-12-30 Thread kys
From: K. Y. Srinivasan As part of cleaning up architecture specific code, define an API to retrieve the virtual procesor index. Signed-off-by: K. Y. Srinivasan --- arch/x86/include/asm/mshyperv.h |2 ++ drivers/hv/hv.c |2 +- 2 files changed, 3 insertions(+), 1 deletion

[PATCH 06/18] Drivers: hv: vmbus: Move the extracting of Hypervisor version information

2016-12-30 Thread kys
From: K. Y. Srinivasan As part of the effort to separate out architecture specific code, extract hypervisor version information in an architecture specific file. Signed-off-by: K. Y. Srinivasan --- arch/x86/include/asm/mshyperv.h | 19 +++ arch/x86/kernel/cpu/mshyperv.c | 20 +

[PATCH 11/18] Drivers: hv: util: Use hv_get_current_tick() to get current tick

2016-12-30 Thread kys
From: K. Y. Srinivasan As part of the effort to interact with Hyper-V in an instruction set architecture independent way, use the new API to get the current tick. Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_util.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a

[PATCH 17/18] Drivers: hv: vmbus: Define an APIs to manage interrupt state

2016-12-30 Thread kys
From: K. Y. Srinivasan As part of cleaning up architecture specific code, define APIs to manage interrupt state. Signed-off-by: K. Y. Srinivasan --- arch/x86/include/asm/mshyperv.h |3 +++ drivers/hv/hv.c | 12 2 files changed, 11 insertions(+), 4 deletions(-

[PATCH 18/18] Drivers: hv: vmbus: Cleanup hyperv_vmbus.h

2016-12-30 Thread kys
From: K. Y. Srinivasan Get rid of all unused definitions. Signed-off-by: K. Y. Srinivasan --- drivers/hv/hyperv_vmbus.h | 152 + 1 files changed, 2 insertions(+), 150 deletions(-) diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h i

[PATCH 10/18] Drivers: hv: vmbus: Restructure the clockevents code

2016-12-30 Thread kys
From: K. Y. Srinivasan Move the relevant code that programs the hypervisor to an architecture specific file. Signed-off-by: K. Y. Srinivasan --- arch/x86/include/asm/mshyperv.h |4 drivers/hv/hv.c | 10 +- 2 files changed, 9 insertions(+), 5 deletions(-) dif

[PATCH 01/18] Drivers: hv: vmbus: Move the definition of hv_x64_msr_hypercall_contents

2016-12-30 Thread kys
From: K. Y. Srinivasan As part of the effort to separate out architecture specific code, move the definition of hv_x64_msr_hypercall_contents to x86 specific header file. Signed-off-by: K. Y. Srinivasan --- arch/x86/include/asm/mshyperv.h | 12 drivers/hv/hyperv_vmbus.h |

[PATCH 05/18] Drivers: hv: vmbus: Consolidate all Hyper-V specific clocksource code

2016-12-30 Thread kys
From: K. Y. Srinivasan As part of the effort to separate out architecture specific code, consolidate all Hyper-V specific clocksource code to an architecture specific code. Signed-off-by: K. Y. Srinivasan --- arch/x86/hyperv/hv_init.c | 104 +++ arch/

[PATCH 04/18] Drivers: hv: vmbus: Move Hypercall invocation code out of common code

2016-12-30 Thread kys
From: K. Y. Srinivasan As part of the effort to separate out architecture specific code, move the hypercall invocation code to an architecture specific file. Signed-off-by: K. Y. Srinivasan --- arch/x86/hyperv/hv_init.c | 54 +++--- arch/x86/include/asm/

[PATCH 08/18] Drivers: hv: vmbus: Move the check for hypercall page setup

2016-12-30 Thread kys
From: K. Y. Srinivasan As part of the effort to separate out architecture specific code, move the check for detecting if the hypercall page is setup. Signed-off-by: K. Y. Srinivasan --- arch/x86/hyperv/hv_init.c | 15 +++ arch/x86/include/asm/mshyperv.h |1 + drivers/hv

[PATCH 14/18] Drivers: hv: vmbus: Define APIs to manipulate the event page

2016-12-30 Thread kys
From: K. Y. Srinivasan As part of cleaning up architecture specific code, define APIs to manipulate the event page. Signed-off-by: K. Y. Srinivasan --- arch/x86/include/asm/mshyperv.h |3 +++ drivers/hv/hv.c |8 2 files changed, 7 insertions(+), 4 deletions(-)

[PATCH 09/18] Drivers: hv: vmbus: Move the code to signal end of message

2016-12-30 Thread kys
From: K. Y. Srinivasan As part of the effort to separate out architecture specific code, move the code for signaling end of message. Signed-off-by: K. Y. Srinivasan --- arch/x86/include/asm/mshyperv.h | 37 + drivers/hv/channel_mgmt.c |1 + drive

Re: [linux-sunxi] [PATCH 1/2] drivers: pinctrl: add driver for Allwinner H5 SoC

2016-12-30 Thread Tony Lindgren
* Linus Walleij [161230 04:56]: > On Mon, Dec 26, 2016 at 3:33 PM, André Przywara > wrote: > > > So while this patch technically looks correct, I was wondering if we > > should really explore the possibility of making the whole of sunxi > > pinctrl DT controlled. > > I brought this up a while a

RE: [PATCH 00/15] hyperv: more stuff to uapi + cleanup

2016-12-30 Thread KY Srinivasan
> -Original Message- > From: Roman Kagan [mailto:rka...@virtuozzo.com] > Sent: Wednesday, December 28, 2016 8:57 AM > To: KY Srinivasan > Cc: Paolo Bonzini ; Radim Krčmář > ; Vitaly Kuznetsov ; Thomas > Gleixner ; Ingo Molnar ; H. Peter > Anvin ; x...@kernel.org; Haiyang Zhang > ; k...@v

Re: [PATCH v4 1/5] devicetree: mfd: Add binding for the TI LM3533

2016-12-30 Thread Jonathan Cameron
On 26/12/16 18:11, Bjorn Andersson wrote: > From: Bjorn Andersson > > Add the binding for the Texas Instruments LM3533 lighting power > solution. > > Signed-off-by: Bjorn Andersson > Signed-off-by: Bjorn Andersson > --- > > I had Acks from Jonathan and Rob on v3, but dropped these due to the

[PATCH 12/18] Drivers: hv: vmbus: Get rid of an unsused variable

2016-12-30 Thread kys
From: K. Y. Srinivasan The version variable while it is initialized is not used; get rid of it. Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/hv/hv.c b/drivers/hv/hv.c index 0afffd8..5a2a329 100644 --- a/

[PATCH 07/18] Drivers: hv: vmbus: Move the crash notification function

2016-12-30 Thread kys
From: K. Y. Srinivasan As part of the effort to separate out architecture specific code, move the crash notification function. Signed-off-by: K. Y. Srinivasan --- arch/x86/hyperv/hv_init.c | 26 ++ arch/x86/include/asm/mshyperv.h|1 + arch/x86/include

[PATCH 13/18] Drivers: hv: vmbus: Define APIs to manipulate the message page

2016-12-30 Thread kys
From: K. Y. Srinivasan As part of cleaning up architecture specific code, define APIs to manipulate the message page. Signed-off-by: K. Y. Srinivasan --- arch/x86/include/asm/mshyperv.h |3 +++ drivers/hv/hv.c |8 2 files changed, 7 insertions(+), 4 deletions(-

Re: [PATCH v3 1/2] staging: iio: ad7606: replace range/range_available with corresponding scale

2016-12-30 Thread Jonathan Cameron
On 11/12/16 02:47, Eva Rachel Retuya wrote: > Eliminate the non-standard attributes in_voltage_range and > in_voltage_range_available. Implement in_voltage_scale_available in place > of these attributes and update the SCALE accordingly. The array > scale_avail is introduced to hold the available sc

Re: [PATCH] remoteproc: add some kind of help

2016-12-30 Thread Bjorn Andersson
On Mon 19 Dec 01:22 PST 2016, Pavel Machek wrote: > > Top level config option without any kind of help... is kind of > strange. Remote processors could also mean some kind of distributed > computing... > > Signed-off-by: Pavel Machek Thanks, applied. Regards, Bjorn > > diff --git a/drivers/

Re: [PATCH] drivers: remoteproc: constify rproc_ops structures

2016-12-30 Thread Bjorn Andersson
On Sat 17 Dec 03:29 PST 2016, Bhumika Goyal wrote: > Declare rproc_ops structures as const as they are only passed as an > argument to the function rproc_alloc. This argument is of type const, so > rproc_ops structures having this property can be declared const too. > Done using Coccinelle: > > @

Re: [PATCH v3 2/2] staging: iio: ad7606: move out of staging

2016-12-30 Thread Jonathan Cameron
On 11/12/16 02:47, Eva Rachel Retuya wrote: > Move the ad7606 driver from staging/iio/adc to iio/adc. Also, update the > corresponding Makefile and Kconfig associated with the change. > > Signed-off-by: Eva Rachel Retuya Personally (and this is much debated ;) I prefer for the odd case of staging

Re: [PATCH] iio: mxs-lradc: fix error handling in mxs_lradc_probe()

2016-12-30 Thread Stefan Wahren
> Jonathan Cameron hat am 30. Dezember 2016 um 20:09 > geschrieben: > > > On 26/12/16 22:04, Stefan Wahren wrote: > > > >> Alexey Khoroshilov hat am 23. Dezember 2016 um > >> 23:15 geschrieben: > >> > >> > >> During transition to using devm_input_allocate_device() > >> goto to resource deall

Re: [PATCH v8 3/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature

2016-12-30 Thread Jonathan Cameron
On 28/12/16 14:52, H. Nikolaus Schaller wrote: > Hi Dmitry, > >> Am 27.12.2016 um 22:54 schrieb Dmitry Torokhov : >> >> On Mon, Dec 12, 2016 at 10:21:25PM +0100, H. Nikolaus Schaller wrote: >>> Hi, >>> >>> Am 27.11.2016 um 16:47 schrieb H. Nikolaus Schaller : Hi Jonathan, >

Re: [PATCH] iio: Documentation: fix spelling mistake: "deactived" -> "deactivated"

2016-12-30 Thread Jonathan Cameron
On 28/12/16 17:40, Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in iio documentation > > Signed-off-by: Colin Ian King Thanks, Applied to the togreg branch of iio.git - initially pushed out as testing for the autobuilders to ignore this ;) Jonathan > --- > Doc

Re: [PATCH] ipv4: make tcp_notsent_lowat sysctl knob behave as true unsigned int

2016-12-30 Thread David Miller
From: Pavel Tikhomirov Date: Thu, 29 Dec 2016 17:35:07 +0300 > @@ -958,7 +959,9 @@ static struct ctl_table ipv4_net_table[] = { > .data = &init_net.ipv4.sysctl_tcp_notsent_lowat, > .maxlen = sizeof(unsigned int), > .mode = 0644

Re: [PATCH v4 2/2] net: 3com: typhoon: typhoon_init_one: make return values more specific

2016-12-30 Thread David Miller
From: Thomas Preisner Date: Fri, 30 Dec 2016 03:37:54 +0100 > In some cases the return value of a failing function is not being used > and the function typhoon_init_one() returns another negative error code > instead. > > Signed-off-by: Thomas Preisner > Signed-off-by: Milan Stephan Applied t

Re: [PATCH v4 1/2] net: 3com: typhoon: typhoon_init_one: fix incorrect return values

2016-12-30 Thread David Miller
From: Thomas Preisner Date: Fri, 30 Dec 2016 03:37:53 +0100 > In a few cases the err-variable is not set to a negative error code if a > function call in typhoon_init_one() fails and thus 0 is returned > instead. > It may be better to set err to the appropriate negative error > code before return

Re: [PATCH v2 3/4] ARM64: dts: exynos5433: use macros for pinctrl configuration on Exynos5433

2016-12-30 Thread Andi Shyti
Hi Linus, > > Use the macros defined in include/dt-bindings/pinctrl/samsung.h > > instead of hardcoded values. > > > > Signed-off-by: Andi Shyti > > These look fine, but that this and the other DTS patch through ARM SoC. > > If you also need the headerfile patch (patch 2) to go through ARM SoC

Re: [PATCH v9 8/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature

2016-12-30 Thread Jonathan Cameron
On 28/12/16 14:53, H. Nikolaus Schaller wrote: > The tsc2007 chip not only has a resistive touch screen controller but > also an external AUX adc imput which can be used for an ambient > light sensor, battery voltage monitoring or any general purpose. > > Additionally it can measure the chip tempe

Re: [PATCH v6 2/8] MFD: add STM32 Timers driver

2016-12-30 Thread Jonathan Cameron
On 09/12/16 14:15, Benjamin Gaignard wrote: > This hardware block could at used at same time for PWM generation > and IIO timers. > PWM and IIO timer configuration are mixed in the same registers > so we need a multi fonction driver to be able to share those registers. fonction -> function > > ver

Re: [PATCH v2 2/2] tpm: enhance TPM 2.0 PCR extend to support multiple banks

2016-12-30 Thread kbuild test robot
Hi Nayna, [auto build test WARNING on next-20161224] [also build test WARNING on v4.10-rc1] [cannot apply to char-misc/char-misc-testing v4.9-rc8 v4.9-rc7 v4.9-rc6] [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

Re: PROBLEM: Kernel BUG with raid5 soft + Xen + DRBD - invalid opcode

2016-12-30 Thread Jes Sorensen
MasterPrenium writes: > Hello Guys, > > I've having some trouble on a new system I'm setting up. I'm getting a > kernel BUG message, seems to be related with the use of Xen (when I > boot the system _without_ Xen, I don't get any crash). > Here is configuration : > - 3x Hard Drives running on RAID

[PATCH] staging: r8192U_core: Use kmalloc_array() in rtl8192_usb_initendpoints()

2016-12-30 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 30 Dec 2016 21:43:22 +0100 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle s

Re: [PATCH] ALSA: snd-usb: fix IRQ triggered NULL pointer dereference

2016-12-30 Thread Ioan-Adrian Ratiu
On Fri, 30 Dec 2016, Takashi Iwai wrote: > On Wed, 21 Dec 2016 11:38:54 +0100, > Ioan-Adrian Ratiu wrote: >> >> >> > Please take the time to fully analyze my patch and let's have a >> >> > discussion based on it, not reject it outright and replace it with >> >> > a quick and dirty delay hack. >>

Re: [PATCH v6 6/8] IIO: add STM32 timer trigger driver

2016-12-30 Thread Jonathan Cameron
On 09/12/16 14:15, Benjamin Gaignard wrote: > Timers IPs can be used to generate triggers for other IPs like > DAC, ADC or other timers. > Each trigger may result of timer internals signals like counter enable, > reset or edge, this configuration could be done through "master_mode" > device attribu

Re: [PATCH v2 2/2] tpm: enhance TPM 2.0 PCR extend to support multiple banks

2016-12-30 Thread kbuild test robot
Hi Nayna, [auto build test ERROR on next-20161224] [also build test ERROR on v4.10-rc1] [cannot apply to char-misc/char-misc-testing v4.9-rc8 v4.9-rc7 v4.9-rc6] [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/

Re: [PATCH] mm: Drop "PFNs busy" printk in an expected path.

2016-12-30 Thread Eric Anholt
Michal Nazarewicz writes: > On Thu, Dec 29 2016, Eric Anholt wrote: >> Michal Nazarewicz writes: >> >>> On Thu, Dec 29 2016, Eric Anholt wrote: Michal Hocko writes: > This has been already brought up > http://lkml.kernel.org/r/20161130092239.gd18...@dhcp22.suse.cz and there >>

Re: [patch] mm, thp: always direct reclaim for MADV_HUGEPAGE even when deferred

2016-12-30 Thread David Rientjes
On Fri, 30 Dec 2016, Mel Gorman wrote: > Michal is correct in that my intent for defer was to have "never stall" > as the default behaviour. This was because of the number of severe stalls > users experienced that lead to recommendations in tuning guides to always > disable THP. I'd also seen mul

<    1   2   3   4   >