Re: Bad signatures on recent stable releases

2017-05-14 Thread Greg K-H
On Sun, May 14, 2017 at 05:07:04PM +0200, Greg K-H wrote: > Hi all, > > The stable kernels I just released have bad signatures due to a mixup > using pixz in the new kernel.org backend. It will be fixed soon... > > Thanks to Konstantin for the quick response and to Brad and Michael > for reportin

[PATCH] m68k/defconfig: Update defconfigs for v4.12-rc1

2017-05-14 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- arch/m68k/configs/amiga_defconfig| 8 +++- arch/m68k/configs/apollo_defconfig | 8 +++- arch/m68k/configs/atari_defconfig| 8 +++- arch/m68k/configs/bvme6000_defconfig | 8 +++- arch/m68k/configs/hp300_defconfig| 8 +++- arch

[rcu:rcu/dev 68/82] kernel/rcu/srcu.c:517:15: error: redefinition of 'srcu_batches_completed'

2017-05-14 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/dev head: 6b20d16f6b9b5ecfdd92ad59fa761a9ac3dfe442 commit: f646ee379f3552bd02b7e0acacce9aa521b30b48 [68/82] srcu: Shrink srcu.h by moving docbook and private function config: blackfin-allyesconfig (attached as .co

Re: [PATCH v9 3/3] printk: fix double printing with earlycon

2017-05-14 Thread Aleksey Makarov
On 05/12/2017 03:57 PM, Petr Mladek wrote: On Thu 2017-05-11 17:41:58, Sergey Senozhatsky wrote: On (05/11/17 17:24), Sergey Senozhatsky wrote: On (05/09/17 10:29), Sabrina Dubroca wrote: [..] That's caused a change of behavior in my qemu setup, with this cmdline root=/dev/sda1 console

[PATCH] staging: fsl-mc: Fix code alignment style issues

2017-05-14 Thread Brett Hitchcock
Fixing recommendation from checkpatch.pl: "CHECK: Alignment should match open parenthesis" Signed-off-by: Brett Hitchcock --- drivers/staging/fsl-mc/bus/dprc-driver.c | 4 ++-- drivers/staging/fsl-mc/bus/fsl-mc-bus.c | 8 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/d

Re: [PATCH] iio: tsl2583: add runtime power management support

2017-05-14 Thread Brian Masney
On Wed, Apr 26, 2017 at 06:16:34AM +0100, Jonathan Cameron wrote: > On 25/04/17 09:06, Brian Masney wrote: > > This patch adds runtime power management support to the tsl2583 driver. > > The device is powered off after two seconds of inactivity. Verified that > > the driver still functions correctl

[PATCH v15 04/13] mux: gpio: add mux controller driver for gpio based multiplexers

2017-05-14 Thread Peter Rosin
From: Peter Rosin The driver builds a single multiplexer controller using a number of gpio pins. For N pins, there will be 2^N possible multiplexer states. The GPIO pins can be connected (by the hardware) to several multiplexers, which in that case will be operated in parallel. Reviewed-by: Jona

[PATCH v15 03/13] mux: minimal mux subsystem

2017-05-14 Thread Peter Rosin
From: Peter Rosin Add a new minimalistic subsystem that handles multiplexer controllers. When multiplexers are used in various places in the kernel, and the same multiplexer controller can be used for several independent things, there should be one place to implement support for said multiplexer

[PATCH v15 11/13] mux: adg792a: add mux controller driver for ADG792A/G

2017-05-14 Thread Peter Rosin
From: Peter Rosin Analog Devices ADG792A/G is a triple 4:1 mux. Reviewed-by: Jonathan Cameron Signed-off-by: Peter Rosin --- drivers/mux/Kconfig | 12 drivers/mux/Makefile | 1 + drivers/mux/mux-adg792a.c | 157 ++ 3 files changed

[PATCH v15 06/13] dt-bindings: iio: io-channel-mux: document io-channel-mux bindings

2017-05-14 Thread Peter Rosin
From: Peter Rosin Describe how a multiplexer can be used to select which signal is fed to an io-channel. Acked-by: Jonathan Cameron Acked-by: Rob Herring Signed-off-by: Peter Rosin --- .../bindings/iio/multiplexer/io-channel-mux.txt| 39 ++ MAINTAINERS

[PATCH v15 09/13] i2c: i2c-mux-gpmux: new driver

2017-05-14 Thread Peter Rosin
From: Peter Rosin This is a general purpose i2c mux that uses a multiplexer controlled by the multiplexer subsystem to do the muxing. The user can select if the mux is to be mux-locked and parent-locked as described in Documentation/i2c/i2c-topology. Acked-by: Jonathan Cameron Acked-by: Wolfra

[PATCH v15 05/13] iio: inkern: api for manipulating ext_info of iio channels

2017-05-14 Thread Peter Rosin
From: Peter Rosin Extend the inkern api with functions for reading and writing ext_info of iio channels. Acked-by: Jonathan Cameron Signed-off-by: Peter Rosin --- drivers/iio/inkern.c | 60 include/linux/iio/consumer.h | 37

[PATCH v15 02/13] dt-bindings: document devicetree bindings for mux-controllers and gpio-mux

2017-05-14 Thread Peter Rosin
From: Peter Rosin Allow specifying that a single multiplexer controller can be used to control several parallel multiplexers, thus enabling sharing of the multiplexer controller by different consumers. Add a binding for a first mux controller in the form of a GPIO based mux controller. Acked-by

[PATCH v15 07/13] iio: multiplexer: new iio category and iio-mux driver

2017-05-14 Thread Peter Rosin
From: Peter Rosin When a multiplexer changes how an iio device behaves (for example by feeding different signals to an ADC), this driver can be used to create one virtual iio channel for each multiplexer state. Depends on the generic multiplexer subsystem. Cache any ext_info values from the par

[PATCH v15 13/13] mux: mmio-based syscon mux controller

2017-05-14 Thread Peter Rosin
From: Philipp Zabel This adds a driver for mmio-based syscon multiplexers controlled by bitfields in a syscon register range. Signed-off-by: Philipp Zabel Signed-off-by: Peter Rosin --- drivers/mux/Kconfig| 13 + drivers/mux/Makefile | 1 + drivers/mux/mux-mmio.c | 141 ++

[PATCH v15 08/13] dt-bindings: i2c: i2c-mux: document general purpose i2c-mux bindings

2017-05-14 Thread Peter Rosin
From: Peter Rosin Describe how a general purpose multiplexer controller is used to mux an i2c bus. Acked-by: Jonathan Cameron Reviewed-by: Rob Herring Signed-off-by: Peter Rosin --- .../devicetree/bindings/i2c/i2c-mux-gpmux.txt | 99 ++ 1 file changed, 99 insertions(

[PATCH v15 12/13] dt-bindings: add mmio-based syscon mux controller DT bindings

2017-05-14 Thread Peter Rosin
From: Philipp Zabel This adds device tree binding documentation for mmio-based syscon multiplexers controlled by a bitfields in a syscon register range. Signed-off-by: Philipp Zabel Acked-by: Rob Herring Signed-off-by: Peter Rosin --- Documentation/devicetree/bindings/mux/mmio-mux.txt | 60 +

[PATCH v15 00/13] mux controller abstraction and iio/i2c muxes

2017-05-14 Thread Peter Rosin
From: Peter Rosin Hi Greg, Philipp found problems in v14 with using a mutex for locking that was the outcome of the review for v13, so I'm now using a semaphore instead of the rwsem that was in v13. That at least got rid of the scary call to downgrade_write. However, I'm still unsure about what

[PATCH v15 10/13] dt-bindings: mux-adg792a: document devicetree bindings for ADG792A/G mux

2017-05-14 Thread Peter Rosin
From: Peter Rosin Analog Devices ADG792A/G is a triple 4:1 mux. Acked-by: Jonathan Cameron Reviewed-by: Rob Herring Signed-off-by: Peter Rosin --- .../devicetree/bindings/mux/adi,adg792a.txt| 75 ++ 1 file changed, 75 insertions(+) create mode 100644 Documentatio

[PATCH v15 01/13] devres: trivial whitespace fix

2017-05-14 Thread Peter Rosin
From: Peter Rosin Everything else is indented with two spaces, so fix the odd one out. Acked-by: Jonathan Cameron Signed-off-by: Peter Rosin --- Documentation/driver-model/devres.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/driver-model/devres.txt b/D

[PATCH 2/2] kstrtox: use "unsigned int" more

2017-05-14 Thread Alexey Dobriyan
gcc does generates stupid code sign extending data back and forth. Help by using "unsigned int". add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-61 (-61) function old new delta _parse_integer 128 123

[PATCH 1/2] kstrtox: delete end-of-string test

2017-05-14 Thread Alexey Dobriyan
Standard "while (*s)" test is unnecessary because NUL won't pass valid-digit test anyway. Save one branch per parsed character. Signed-off-by: Alexey Dobriyan --- lib/kstrtox.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/lib/kstrtox.c +++ b/lib/kstrtox.c @@ -51,7 +51,7 @@ un

Re: [PATCH v5] fpga manager: Add Altera CvP driver

2017-05-14 Thread kbuild test robot
Hi Anatolij, [auto build test ERROR on linus/master] [also build test ERROR on v4.12-rc1 next-20170512] [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/Anatolij-Gustschin/fpga-manager-Add-Altera-

Re: [git pull] uaccess-related bits of vfs.git

2017-05-14 Thread Al Viro
On Sun, May 14, 2017 at 08:13:56PM +0200, Ingo Molnar wrote: > I'd say that the CLAC/STAC addition pretty much killed any argument in favor > of > "optimized" __get_user() code, so I'd be very happy to see these interfaces > gone > altogether. You and everybody else - these interfaces suck.

Re: [PATCH 2/3] Fix ERROR: Macros with complex values should be enclosed in parentheses

2017-05-14 Thread kbuild test robot
Hi Maciej, [auto build test ERROR on net-next/master] [also build test ERROR on v4.12-rc1 next-20170512] [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/Maciek-Fijalkowski/Fix-ERROR-trailing-stat

[patch 04/18] x86/smp: Adjust system_state check

2017-05-14 Thread Thomas Gleixner
To enable smp_processor_id() and might_sleep() debug checks earlier, it's required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. Adjust the system_state check in announce_cpu() to handle the extra states. Signed-off-by: Thomas Gleixner --- arch/x86/kernel/smpboot.c |2 +-

[patch 01/18] init: Pin init task to boot cpu initially

2017-05-14 Thread Thomas Gleixner
Some of the boot code in init_kernel_freeable() which runs before SMP bringup assumes (rightfully) that it runs on the boot cpu and therefor can use smp_processor_id() in preemptible context. That works so far because the smp_processor_id() check starts to be effective after smp bringup. That's ju

[patch 02/18] arm: Adjust system_state check

2017-05-14 Thread Thomas Gleixner
To enable smp_processor_id() and might_sleep() debug checks earlier, it's required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. Adjust the system_state check in ipi_cpu_stop() to handle the extra states. Signed-off-by: Thomas Gleixner Cc: Russell King Cc: linux-arm-ker...@lis

[patch 00/18] init: Enable might_sleep() and smp_processor_id() debugging early

2017-05-14 Thread Thomas Gleixner
We recentlty discovered a call path which takes a mutex from the low level secondary CPU bringup code and wondered why this was not caught by might_sleep(). The reason is that both debug facilities depend on system_state == SYSTEM_RUNNING, which is set after init memory is freed. That means that

[patch 10/18] iommu/vt-d: Adjust system_state checks

2017-05-14 Thread Thomas Gleixner
To enable smp_processor_id() and might_sleep() debug checks earlier, it's required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. Adjust the system_state checks in dmar_parse_one_atsr() and dmar_iommu_notify_scope_dev() to handle the extra states. Signed-off-by: Thomas Gleixner

Re: [patch 12/18] async: Adjust system_state checks

2017-05-14 Thread Arjan van de Ven
On 5/14/2017 11:27 AM, Thomas Gleixner wrote: looks good .. ack

[patch 08/18] mm: Adjust system_state check

2017-05-14 Thread Thomas Gleixner
To enable smp_processor_id() and might_sleep() debug checks earlier, it's required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. get_nid_for_pfn() checks for system_state == BOOTING to decide whether to use early_pfn_to_nid() when CONFIG_DEFERRED_STRUCT_PAGE_INIT=y. That check i

[patch 05/18] metag: Adjust system_state check

2017-05-14 Thread Thomas Gleixner
To enable smp_processor_id() and might_sleep() debug checks earlier, it's required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. Adjust the system_state check in stop_this_cpu() to handle the extra states. Signed-off-by: Thomas Gleixner Cc: James Hogan Cc: linux-me...@vger.ker

[patch 09/18] cpufreq/pasemi: Adjust system_state check

2017-05-14 Thread Thomas Gleixner
To enable smp_processor_id() and might_sleep() debug checks earlier, it's required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. Adjust the system_state check in pas_cpufreq_cpu_exit() to handle the extra states. Signed-off-by: Thomas Gleixner Cc: "Rafael J. Wysocki" Cc: Vires

[patch 12/18] async: Adjust system_state checks

2017-05-14 Thread Thomas Gleixner
To enable smp_processor_id() and might_sleep() debug checks earlier, it's required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. Adjust the system_state check in async_run_entry_fn() and async_synchronize_cookie_domain() to handle the extra states. Signed-off-by: Thomas Gleixner

[patch 13/18] extable: Adjust system_state checks

2017-05-14 Thread Thomas Gleixner
To enable smp_processor_id() and might_sleep() debug checks earlier, it's required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. Adjust the system_state check in core_kernel_text() to handle the extra states, i.e. to cover init text up to the point where the system switches to st

[patch 11/18] iommu/of: Adjust system_state check

2017-05-14 Thread Thomas Gleixner
To enable smp_processor_id() and might_sleep() debug checks earlier, it's required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. Adjust the system_state check in of_iommu_driver_present() to handle the extra states. Signed-off-by: Thomas Gleixner Cc: Joerg Roedel Cc: io...@lis

[patch 06/18] powerpc: Adjust system_state check

2017-05-14 Thread Thomas Gleixner
To enable smp_processor_id() and might_sleep() debug checks earlier, it's required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. Adjust the system_state check in smp_generic_cpu_bootable() to handle the extra states. Signed-off-by: Thomas Gleixner Cc: Benjamin Herrenschmidt Cc

[patch 18/18] sched: Enable smp_processor_id() checks early

2017-05-14 Thread Thomas Gleixner
smp_processor_id() checks are enabled after the boot process is done. That hides bugs in the smp bringup and driver initialization code. Enable it right before the first non-boot CPU is brought up. Signed-off-by: Thomas Gleixner --- init/main.c|3 +++ lib/smp_processor_id.c |

[patch 16/18] init: Introduce SYSTEM_BOOTING_UP/SMP states

2017-05-14 Thread Thomas Gleixner
might_sleep() debugging should be active right after the scheduler starts working and smp_processor_id() debugging right before the first non boot cpu is brought up. Add two new states which allow to enable those checks earlier and add them to the xen do_poweroff() function. No functional change.

[patch 14/18] printk: Adjust system_state checks

2017-05-14 Thread Thomas Gleixner
To enable smp_processor_id() and might_sleep() debug checks earlier, it's required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. Adjust the system_state check in boot_delay_msec() to handle the extra states. Signed-off-by: Thomas Gleixner --- kernel/printk/printk.c |2 +-

[patch 17/18] sched: Enable might_sleep() checks early

2017-05-14 Thread Thomas Gleixner
might_sleep() checks are enabled after the boot process is done. That hides bugs in the smp bringup and driver initialization code. Enable it right when the scheduler starts working, i.e. when init task and kthreadd have been created and right before the idle task enables preemption. Signed-off-b

[patch 15/18] mm/vmscan: Adjust system_state checks

2017-05-14 Thread Thomas Gleixner
To enable smp_processor_id() and might_sleep() debug checks earlier, it's required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. Adjust the system_state check in kswapd_run() to handle the extra states. Signed-off-by: Thomas Gleixner Cc: Andrew Morton Cc: Johannes Weiner Cc:

[patch 07/18] ACPI: Adjust system_state check

2017-05-14 Thread Thomas Gleixner
To enable smp_processor_id() and might_sleep() debug checks earlier, it's required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. Make the decision wether a pci root is hotplugged depend on SYSTEM_RUNNING instead of !SYSTEM_BOOTING. Signed-off-by: Thomas Gleixner Cc: Catalin Mar

[patch 03/18] arm64: Adjust system_state check

2017-05-14 Thread Thomas Gleixner
To enable smp_processor_id() and might_sleep() debug checks earlier, it's required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. Adjust the system_state check in smp_send_stop() to handle the extra states. Signed-off-by: Thomas Gleixner Cc: Catalin Marinas Cc: Will Deacon Cc:

Re: [git pull] uaccess-related bits of vfs.git

2017-05-14 Thread Ingo Molnar
* Linus Torvalds wrote: > On Fri, May 12, 2017 at 11:57 PM, Al Viro wrote: > > > > First, some stats: there's a thousand-odd callers of __get_user(). Out of > > those, about 70% are in arch/, mostly in sigframe-related code. > > Sure. And they can be trivially converted, and none of them shou

Re: [PATCH v2] perf report: distinguish between inliners in the same function

2017-05-14 Thread Milian Wolff
On Freitag, 12. Mai 2017 15:01:29 CEST Namhyung Kim wrote: > On Fri, May 12, 2017 at 12:37:01PM +0200, Milian Wolff wrote: > > On Mittwoch, 10. Mai 2017 07:53:52 CEST Namhyung Kim wrote: > > > Hi, > > > > > On Wed, May 03, 2017 at 11:35:36PM +0200, Milian Wolff wrote: > > > > > > > > +static enu

Re: [PATCH] sched: remove sched_find_first_bit()

2017-05-14 Thread Ingo Molnar
* Yury Norov wrote: > sched_find_first_bit() is in fact the unrolled version of > find_first_bit(), which is theoretically faster in some cases. > But in the kernel it is called only in couple places in > kernel/sched/rt.c, and both of them are not looking like hot > paths [...] They are in te

Re: Linux 4.12-rc1 (file locations)

2017-05-14 Thread Randy Dunlap
On 05/13/17 13:57, Linus Torvalds wrote: > One thing worth noting - I haven't uploaded diffs or tar-balls for > this rc. Those should now be automagically generated by kernel.org for > the rc's, but that also means that they won't be signed by my key. If > you really care about signing, get the git

[PATCH 3/3] Fix ERROR: code indent should use tabs where possible

2017-05-14 Thread Maciek Fijalkowski
From: Maciej Fijalkowski Signed-off-by: Maciej Fijalkowski --- drivers/net/virtio_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 6c8170c..5d71e9f 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_n

[PATCH 2/3] Fix ERROR: Macros with complex values should be enclosed in parentheses

2017-05-14 Thread Maciek Fijalkowski
From: Maciej Fijalkowski Signed-off-by: Maciej Fijalkowski --- drivers/net/virtio_net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index f20dfb8..6c8170c 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virt

[PATCH 1/3] Fix ERROR: trailing statements should be on next line

2017-05-14 Thread Maciek Fijalkowski
From: Maciej Fijalkowski Signed-off-by: Maciej Fijalkowski --- drivers/net/virtio_net.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 9320d96..f20dfb8 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio

Re: [Xen-devel] HPET enabled in BIOS, not presented as available_clocksource -- config, kernel code, &/or BIOS?

2017-05-14 Thread Randy Dunlap
On 05/14/17 08:39, Andrew Cooper wrote: > On 14/05/17 00:17, PGNet Dev wrote: >> On 5/13/17 3:15 PM, Valentin Vidic wrote: >>> Try booting without 'hpet=force,verbose clocksource=hpet' and it should >>> select xen by default: >> Nope. Well, not quite ... >> >> With both >> >> 'hpet=force,verb

[PATCH v1] drm: Add DRM_ROTATE_ and DRM_REFLECT_ defines to UAPI

2017-05-14 Thread Robert Foss
Add DRM_ROTATE_ and DRM_REFLECT_ defines to the UAPI as a convenience. Ideally the DRM_ROTATE_ and DRM_REFLECT_ property ids are looked up through the atomic API, but realizing that userspace is likely to take shortcuts and assume that the enum values are what is sent over the wire. As a result t

Re: [Xen-devel] HPET enabled in BIOS, not presented as available_clocksource -- config, kernel code, &/or BIOS?

2017-05-14 Thread Juergen Gross
On 13/05/17 22:16, Andrew Cooper wrote: > On 13/05/2017 21:05, PGNet Dev wrote: >> On 5/13/17 12:59 PM, Andrew Cooper wrote: >>> Ok. Lack of a clocksource is to be expected. >>> >>> The reason why the HPETs are unavailable is that dom0 is not a position >>> to program them; dom0 doesn't know what

[PATCH v2] kbuild: add explicit ARM support for tar-pkg

2017-05-14 Thread Sascha Silbe
buildtar warns when an architecture doesn't have an explicit rule on what files to copy, even when the generic rule works just fine. Add a rule for ARM that does the same as the explicit rule, but avoids the warning. Signed-off-by: Sascha Silbe --- v1→v2: rebased on top of todays linus master, in

[PATCH] fix spelling mistake: "dimesions" -> "dimensions"

2017-05-14 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in DRM_ERROR message and split over two lines to clean up a "line over 80 characters" checkpatch warning. Signed-off-by: Colin Ian King --- drivers/gpu/drm/vc4/vc4_validate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --gi

Re: [PATCH] kbuild: add ARM support for tar-pkg

2017-05-14 Thread Sascha Silbe
Dear Masahiro (is that right?), Masahiro Yamada writes: > 2017-05-13 20:31 GMT+09:00 Sascha Silbe : >> The fallback code for "unknown" architectures doesn't work on ARM >> because for ARM (and a couple of other architectures) KBUILD_IMAGE >> contains only the file name, not the full path. Having

[PATCH] ASoC: hdmi-codec: fix spelling mistake: "deteced" -> "detected"

2017-05-14 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in dev_err message Signed-off-by: Colin Ian King --- sound/soc/codecs/hdmi-codec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hdmi-codec.c index 8c5ae1fc23a9..a3f15149

[PATCH] [media] s5p-mfc: fix spelling mistake: "destionation" -> "destination"

2017-05-14 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in mfc_err error messages Signed-off-by: Colin Ian King --- drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c | 2 +- drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/driver

[PATCH] FMC: fix spelling mistake: "deivce" -> "device"

2017-05-14 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in dev_err message and join split literal string onto one line to clean up checkpatch warning. Signed-off-by: Colin Ian King --- drivers/fmc/fmc-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/fmc/fmc-c

[PATCH] i2c: mux: only print failure message on error

2017-05-14 Thread Peter Rosin
As is, a failure message is printed unconditionally, which is confusing. And noisy. Fixes: 8d4d159f25a7 ("i2c: mux: provide more info on failure in i2c_mux_add_adapter") Signed-off-by: Peter Rosin --- drivers/i2c/i2c-mux.c | 24 ++-- 1 file changed, 14 insertions(+), 10 dele

[PATCH] fsl_udc_core: fix spelling mistake: "Dectected" -> "Detected"

2017-05-14 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in seq_printf text Signed-off-by: Colin Ian King --- drivers/usb/gadget/udc/fsl_udc_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c b/drivers/usb/gadget/udc/fsl_udc_core.c ind

[PATCH v7 08/13] drm/sun4i: add support for Allwinner DE2 mixers

2017-05-14 Thread Icenowy Zheng
Allwinner have a new "Display Engine 2.0" in their new SoCs, which comes with mixers to do graphic processing and feed data to TCON, like the old backends and frontends. Add support for the mixer on Allwinner V3s SoC; it's the simplest one. Currently a lot of functions are still missing -- more i

[PATCH v7 07/13] drm/sun4i: add a Kconfig option for sun4i-backend

2017-05-14 Thread Icenowy Zheng
As sun4i-backend is now a dedicated module, add an Kconfig option for it to make it optional, since some build may only use other engines. Signed-off-by: Icenowy Zheng --- Changes in v7: - Adjusted the position of BACKEND makefile item. (It's now after common codes shared between sun4i-backend

[PATCH v7 13/13] [DO NOT MERGE] ARM: sun8i: v3s: enable LCD panel of Lichee Pi Zero

2017-05-14 Thread Icenowy Zheng
A 480x272 QiaoDian QD43003C0-40-7LED panel is available from Lichee Pi. This commit connects this panel to Lichee Pi Zero. Lichee Pi also provides a 800x480 panel without accurate model number, so do not merge this patch. It will finally come as device tree overlay. Signed-off-by: Icenowy Zheng

[PATCH v7 12/13] ARM: sun8i: v3s: add pinmux for LCD pins of V3s SoC

2017-05-14 Thread Icenowy Zheng
Allwinner V3s SoC features a set of pins that have functionality of RGB LCD, the pins are at different pin ban than other SoCs. Add pinctrl node for them. Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai --- Changes in v7: - Dropped the trailing "@0" in rgb666 pinmux node name. - Added Chen-

[PATCH v7 11/13] ARM: sun8i: v3s: add device nodes for DE2 display pipeline

2017-05-14 Thread Icenowy Zheng
Allwinner V3s SoC features a "Display Engine 2.0" with only one mixer and only one TCON connected to this mixer, which have RGB LCD output. Add device nodes for this display pipeline. Signed-off-by: Icenowy Zheng --- Changes in v7: - Change DE2 clock compatible to V3s one. - Mention only one TCO

[PATCH v7 06/13] drm/sun4i: add a dedicated module for sun4i-backend and sun4i-layer

2017-05-14 Thread Icenowy Zheng
Currently the direct call from CRTC code to layer code has disappeared, instead the layer's init function is called via the backend's ops. Add a dedicated module for sun4i-backend and sun4i-layer, and drop the EXPORT_SYMBOL from backend code to layer code. Signed-off-by: Icenowy Zheng Reviewed-b

[PATCH v7 10/13] drm/sun4i: tcon: add support for V3s TCON

2017-05-14 Thread Icenowy Zheng
Allwinner V3s SoC features a TCON without channel 1. Add support for it. Signed-off-by: Icenowy Zheng Reviewed-by: Chen-Yu Tsai --- Changes in v7: - Added Chen-Yu's Reviewed-by. drivers/gpu/drm/sun4i/sun4i_drv.c | 3 ++- drivers/gpu/drm/sun4i/sun4i_tcon.c | 5 + 2 files changed, 7 insert

[PATCH v7 03/13] dt-bindings: add bindings for DE2 on V3s SoC

2017-05-14 Thread Icenowy Zheng
Allwinner V3s SoC have a display engine which have a different pipeline with older SoCs. Add document for it (new compatibles and the new "mixer" part). Signed-off-by: Icenowy Zheng Acked-by: Rob Herring --- Changes in v7: - Reduced some text. Changes in v4: - Removed the refactor at TCON chapt

[PATCH v7 02/13] clk: sunxi-ng: add support for DE2 CCU

2017-05-14 Thread Icenowy Zheng
The "Display Engine 2.0" in Allwinner newer SoCs contains a clock management unit for its subunits, like the DE CCU in A80. Add a sunxi-ng style driver for it. Signed-off-by: Icenowy Zheng --- Changes in v7: - Fixed some parent clocks that are left open if the probe failed. - Added V3s compatibl

[PATCH v7 09/13] drm/sun4i: Add compatible string for V3s display engine

2017-05-14 Thread Icenowy Zheng
Allwinner V3s features the new "Display Engine 2.0", which can now also be driven with our subdrivers in sun4i-drm. Add the compatible string for in sun4i_drv.c, in order to make the display engine and its components probed. Signed-off-by: Icenowy Zheng --- drivers/gpu/drm/sun4i/sun4i_drv.c | 1

[PATCH v7 04/13] drm/sun4i: return only planes for layers created

2017-05-14 Thread Icenowy Zheng
As we are going to add support for the Allwinner DE2 Mixer in sun4i-drm driver, we will finally have two types of layers. Each layer is bound to a drm_plane that is CRTC-specific, so we create them when initializing CRTC (calling sun4i_layers_init, which will be generalized in next patch). The drm

[PATCH v7 05/13] drm/sun4i: abstract a engine type

2017-05-14 Thread Icenowy Zheng
As we are going to add support for the Allwinner DE2 engine in sun4i-drm driver, we will finally have two types of display engines -- the DE1 backend and the DE2 mixer. They both do some display blending and feed graphics data to TCON, and is part of the "Display Engine" called by Allwinner, so I c

[PATCH v7 01/13] dt-bindings: add binding for the Allwinner DE2 CCU

2017-05-14 Thread Icenowy Zheng
Allwinner "Display Engine 2.0" contains some clock controls in it. In order to add them as clock drivers, we need a device tree binding. Add the binding here. Also add the device tree binding headers. Signed-off-by: Icenowy Zheng Acked-by: Rob Herring --- Changes in v7: - Added V3s compatible.

[PATCH v7 00/13] Initial Allwinner Display Engine 2.0 Support

2017-05-14 Thread Icenowy Zheng
This patchset is the initial patchset for Allwinner DE2 support. It contains the support of clocks in DE2 and the mixers in DE2. The SoC used to develop this patchset is V3s, as V3s is the simplest one of the SoCs that have DE2. (Allwinner V3s features only one mixer, and its only video output i

Re: [PATCH v2 3/4] iio: accel: adxl345: Setup DATA_READY trigger

2017-05-14 Thread Dmitry Torokhov
On Sun, May 14, 2017 at 04:15:37PM +0100, Jonathan Cameron wrote: > On 10/05/17 14:24, Eva Rachel Retuya wrote: > >On Wed, May 03, 2017 at 12:05:00AM +0300, Andy Shevchenko wrote: > >>On Tue, May 2, 2017 at 3:15 PM, Eva Rachel Retuya > >>wrote: > >>>On Mon, May 01, 2017 at 02:31:00PM +0300, Andy

Re: [PATCH 2/2] iio: make stm32 trigger driver use INDIO_HARDWARE_TRIGGERED mode

2017-05-14 Thread Jonathan Cameron
On 09/05/17 08:46, Benjamin Gaignard wrote: 2017-05-08 17:17 GMT+02:00 William Breathitt Gray : On Sun, May 07, 2017 at 02:49:16PM +0100, Jonathan Cameron wrote: On 01/05/17 01:50, Jonathan Cameron wrote: On 27/04/17 14:29, Benjamin Gaignard wrote: Add validate function to be use to use the c

[PATCH v5] fpga manager: Add Altera CvP driver

2017-05-14 Thread Anatolij Gustschin
Add FPGA manager driver for loading Arria-V/Cyclone-V/Stratix-V and Arria-10 FPGAs via CvP. Signed-off-by: Anatolij Gustschin --- For building this patch requires https://lkml.org/lkml/2017/5/14/73 Changes in v5: - use absolute register offset values - move register bit macros below offset

[PATCH] drivers/staging: refactor dgnc tty registration.

2017-05-14 Thread Haim Daniel
-remove duplicate tty allocation code for serial and printer drivers. -fix sparse warning: too long initializer-string for array of char. Signed-off-by: Haim Daniel --- drivers/staging/dgnc/dgnc_driver.h | 13 drivers/staging/dgnc/dgnc_tty.c| 137 ++---

Re: [PATCH v5] iio: adc: Add support for TI ADC108S102 and ADC128S102

2017-05-14 Thread Jonathan Cameron
On 08/05/17 09:46, Jan Kiszka wrote: This is an upstream port of an IIO driver for the TI ADC108S102 and ADC128S102. The former can be found on the Intel Galileo Gen2 and the Siemens SIMATIC IOT2000. For those boards, ACPI-based enumeration is included. Due to the lack of regulators under ACPI,

Re: [PATCH V4] hwmon: (ibmpowernv) Add highest/lowest attributes to sensors

2017-05-14 Thread Guenter Roeck
On 05/06/2017 08:27 AM, Shilpasri G Bhat wrote: OCC provides historical minimum and maximum value for the sensor readings. This patch exports them as highest and lowest attributes for the inband sensors copied by OCC to main memory. Signed-off-by: Shilpasri G Bhat --- Changes from V3: - Removed

Re: [PATCH v5] iio: adc: Add support for TI ADC108S102 and ADC128S102

2017-05-14 Thread Jonathan Cameron
On 08/05/17 10:00, Andy Shevchenko wrote: On Mon, 2017-05-08 at 10:46 +0200, Jan Kiszka wrote: This is an upstream port of an IIO driver for the TI ADC108S102 and ADC128S102. The former can be found on the Intel Galileo Gen2 and the Siemens SIMATIC IOT2000. For those boards, ACPI-based enumerati

Re: [PATCH] staging: iio: meter: ade7854: Fix symbolic permissions to octal permissions

2017-05-14 Thread Jonathan Cameron
On 08/05/17 21:10, eddi1983 wrote: From: Christoph Fanelsa Fixed the checkpatch warnings (task #10 of eudyptula challenge) of prefered octal permissions over symbolic ones Signed-off-by: Christoph Fanelsa Cc: Michael Hennerich Cc: Jonathan Cameron Cc: Hartmut Knaack Cc: Peter Meerwald-Stad

[PATCH 11/13] fs: fix the location of the kernel-api book

2017-05-14 Thread Mauro Carvalho Chehab
The kernel-api book is now part of the core-api. Update its location. Signed-off-by: Mauro Carvalho Chehab --- fs/debugfs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index e892ae7d89f8..77440e4aa9d4 100644 --- a/fs/debugfs/i

[PATCH 12/13] usb: fix the comment with regards to DocBook

2017-05-14 Thread Mauro Carvalho Chehab
The USB gadget documentation is not at DocBook anymore. The main file was converted to ReST, and stored at Documentation/driver-api/usb/gadget.rst, but there are still several plain text files related to gadget under Documentation/usb. So, be generic and just mention documentation without specifyi

Re: [PATCH v3 4/4] hwmon: (adt7475) add high frequency support

2017-05-14 Thread Guenter Roeck
On 05/11/2017 02:31 PM, Chris Packham wrote: On 11/05/17 15:45, Chris Packham wrote: Systems using 4-wire fans usually require high frequency (22.5kHz) output on the pwm. Add 22500 as a valid option in the pwmfreq_table. In high frequency mode the low-order bit are ignored so they can safely be

[PATCH 06/13] ia64, scsi: update references for the device-io book

2017-05-14 Thread Mauro Carvalho Chehab
The book is now at Documentation/driver-api/device-io.rst. Update such references. Signed-off-by: Mauro Carvalho Chehab --- arch/ia64/include/asm/io.h | 2 +- arch/ia64/sn/kernel/iomv.c | 2 +- drivers/scsi/qla1280.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch

[PATCH 04/13] MAINTAINERS: update old references for DocBook directory

2017-05-14 Thread Mauro Carvalho Chehab
As everything was converted, update the references to point to the new places. Signed-off-by: Mauro Carvalho Chehab --- MAINTAINERS | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index f42daf74f541..8609dba03cbc 100644 --- a/MAINTAINERS +++ b/M

[PATCH 13/13] docs-rst: get rid of Documentation/sphinx/tmplcvt script

2017-05-14 Thread Mauro Carvalho Chehab
As everything was converted to ReST, we don't need this script anymore. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/tmplcvt | 28 1 file changed, 28 deletions(-) delete mode 100755 Documentation/sphinx/tmplcvt diff --git a/Documentation/sphinx/tmp

[PATCH 05/13] ata: update references for libata documentation

2017-05-14 Thread Mauro Carvalho Chehab
The libata documentation is now using ReST. Update references to it to point to the new place. Signed-off-by: Mauro Carvalho Chehab --- drivers/ata/acard-ahci.c| 2 +- drivers/ata/ahci.c | 2 +- drivers/ata/ahci.h | 2 +- drivers/ata/ata_piix.c | 2 +- drivers/ata/liba

[PATCH 07/13] irq: update genericirq book location

2017-05-14 Thread Mauro Carvalho Chehab
This book got converted from DocBook. Update its references to point to the current location. Signed-off-by: Mauro Carvalho Chehab --- kernel/irq/chip.c| 2 +- kernel/irq/handle.c | 2 +- kernel/irq/irqdesc.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/irq/

Re: [PATCH v3 3/4] hwmon: (adt7475) temperature smoothing

2017-05-14 Thread Guenter Roeck
On 05/10/2017 08:45 PM, Chris Packham wrote: When enabled temperature smoothing allows ramping the fan speed over a configurable period of time instead of jumping to the new speed instantaneously. Signed-off-by: Chris Packham --- Changes in v2: - use a single tempN_smoothing attribute This i

[PATCH 08/13] fs: update location of filesystems documentation

2017-05-14 Thread Mauro Carvalho Chehab
The filesystem documentation was moved from DocBook to Documentation/filesystems/. Update it at the sources. Signed-off-by: Mauro Carvalho Chehab --- fs/debugfs/file.c | 2 +- include/linux/debugfs.h | 2 +- lib/Kconfig.debug | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)

[PATCH 10/13] sound: fix the comments that refers to kernel-doc

2017-05-14 Thread Mauro Carvalho Chehab
The markup inside the #if 0 comment actually refers to a kernel-doc markup. As we're getting rid of DocBook update it. Signed-off-by: Mauro Carvalho Chehab --- include/sound/pcm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sound/pcm.h b/include/sound/pcm.h index

[PATCH 01/13] docs-rst: convert lsm from DocBook to ReST

2017-05-14 Thread Mauro Carvalho Chehab
This file is outdated. Still, as it is the only one left at DocBook dir, convert it, and store it, with a .txt extension, under Documentation/lsm.txt. This way, we can get rid of DocBook from the building system, without needing to wait for someone to take care of it. Signed-off-by: Mauro Carvalh

Re: [Xen-devel] HPET enabled in BIOS, not presented as available_clocksource -- config, kernel code, &/or BIOS?

2017-05-14 Thread Andrew Cooper
On 14/05/17 00:17, PGNet Dev wrote: > On 5/13/17 3:15 PM, Valentin Vidic wrote: >> Try booting without 'hpet=force,verbose clocksource=hpet' and it should >> select xen by default: > Nope. Well, not quite ... > > With both > > 'hpet=force,verbose clocksource=hpet' > > removed, I end up with

[PATCH 02/13] docs: remove DocBook from the building system

2017-05-14 Thread Mauro Carvalho Chehab
Now that we don't have any DocBook anymore, remove it from the building system. Signed-off-by: Mauro Carvalho Chehab --- Documentation/00-INDEX | 4 -- Documentation/DocBook/.gitignore | 17 - Documentation/DocBook/Makefile | 1 - Documentation/DocBook/stylesheet

[PATCH 03/13] docs: update old references for DocBook from the documentation

2017-05-14 Thread Mauro Carvalho Chehab
DocBook is mentioned several times at the documentation. Update the obsolete references from it at the DocBook. Signed-off-by: Mauro Carvalho Chehab --- Documentation/PCI/MSI-HOWTO.txt| 2 +- Documentation/admin-guide/README.rst | 6 --- Documentation/doc-guide/index.rst

<    1   2   3   >