Re: [PATCH 5/5] pinctrl: meson-gxl: Add Ethernet PHY LEDS pins

2017-05-29 Thread Neil Armstrong
On 05/29/2017 11:01 AM, Linus Walleij wrote: > On Wed, May 24, 2017 at 10:20 AM, Neil Armstrong > wrote: > >> The Amlogic Meson GXL SoCs embeds an 10/100 Ethernet PHY, this patchs enables >> the Link and Activity LEDs signals. >> >> Signed-off-by: Neil Armstrong > > Patch applied with Jerome's

[PATCH 1/4] thermal: uniphier: add UniPhier thermal driver

2017-05-29 Thread Kunihiko Hayashi
Add a thermal driver for on-chip PVT (Process, Voltage and Temperature) monitoring unit implemented on UniPhier SoCs. This driver supports temperature monitoring and alert function. Signed-off-by: Kunihiko Hayashi --- drivers/thermal/Kconfig| 8 + drivers/thermal/Makefile

[PATCH 0/4] add UniPhier thermal support

2017-05-29 Thread Kunihiko Hayashi
This patch series adds support for thermal monitor implemented on UniPhier LD20 and PXs2 SoCs. This driver supports temperature monitoring and alert function. Kunihiko Hayashi (4): thermal: uniphier: add UniPhier thermal driver dt-bindings: thermal: add binding documentation for UniPhier therm

[PATCH 3/4] ARM: dts: uniphier: add nodes of thermal monitor and thermal zone for PXs2

2017-05-29 Thread Kunihiko Hayashi
Add nodes of thermal monitor and thermal zone for UniPhier PXs2 SoC. The thermal monitor is included in sysctrl. Signed-off-by: Kunihiko Hayashi --- arch/arm/boot/dts/uniphier-pxs2-gentil.dts | 21 + arch/arm/boot/dts/uniphier-pxs2-vodka.dts | 21 + arch/

Re: [PATCH v4 00/11] drm: sun4i: Add support for the HDMI controller

2017-05-29 Thread Maxime Ripard
On Sat, May 27, 2017 at 06:09:25PM +0200, Maxime Ripard wrote: > Hi, > > Here is an attempt at getting the HDMI controller running. > > This HDMI controller is found on a number of old Allwinner SoCs (A10, A10s, > A20, A31). > > This driver only supports for now the A10s because it was an easy t

[PATCH 2/4] dt-bindings: thermal: add binding documentation for UniPhier thermal monitor

2017-05-29 Thread Kunihiko Hayashi
Add devicetree binding documentation for thermal monitor implemented on Socionext UniPhier SoCs. Signed-off-by: Kunihiko Hayashi --- .../bindings/thermal/uniphier-thermal.txt | 54 ++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bind

Re: [PATCH v2 03/12] gpio: acpi: Do sanity check for GpioInt in acpi_find_gpio()

2017-05-29 Thread Linus Walleij
On Tue, May 23, 2017 at 7:03 PM, Andy Shevchenko wrote: > Check that we don't ask for output direction on GpioInt resource > in cases with or without _DSD defined. > > Reviewed-by: Dmitry Torokhov > Signed-off-by: Andy Shevchenko > Tested-by: Jarkko Nikula > Reviewed-by: Mika Westerberg Patc

[PATCH 4/4] arm64: dts: uniphier: add nodes of thermal monitor and thermal zone for LD20

2017-05-29 Thread Kunihiko Hayashi
Add nodes of thermal monitor and thermal zone for UniPhier LD20 SoC. The thermal monitor is included in sysctrl. Furthermore, since SoC installed in the reference board doesn't have a calibrated value of thermal monitor, this patch gives the default value for LD20 Reference board via device-tree p

Re: [PATCH] ARM: at91: select CONFIG_ARM_CPU_SUSPEND

2017-05-29 Thread Alexandre Belloni
On 24/05/2017 at 17:39:03 +0200, Arnd Bergmann wrote: > The reference to cpu_resume requires the corresponding > generic code to be enabled when CONFIG_PM is set: > > arch/arm/mach-at91/pm.o: In function `sama5d2_pm_init': > pm.c:(.init.text+0x5e8): undefined reference to `cpu_resume' > > Fixes:

Re: [PATCH 0/3] ipc subsystem refcounter conversions

2017-05-29 Thread Eric W. Biederman
Christoph Hellwig writes: > On Sat, May 27, 2017 at 12:58:14PM -0700, Kees Cook wrote: >> FAST_REFCOUNT=n: use function-based refcount_t with cmpxvhg and >> full-verification >> FAST_REFCOUNT=y without arch-specific implementation: use atomic_t >> with no verification (i.e. no functional change f

Re: [PATCH v2 04/12] gpio: acpi: Even more tighten up ACPI GPIO lookups

2017-05-29 Thread Linus Walleij
On Tue, May 23, 2017 at 7:03 PM, Andy Shevchenko wrote: > The commit 10cf4899f8af ("gpiolib: tighten up ACPI legacy gpio lookups") > prevents to getting same resource twice if the driver asks twice using > different connection ID. > > But the whole idea of fallback might bring some problems. Imag

Re: [PATCH v2 05/12] gpio: acpi: Synchronize acpi_find_gpio() and acpi_gpio_count()

2017-05-29 Thread Linus Walleij
On Tue, May 23, 2017 at 7:03 PM, Andy Shevchenko wrote: > If we pass connection ID to the both functions and at the same time > acpi_can_fallback_to_crs() returns false we will get different results, > i.e. the number of GPIO resources returned by acpi_gpio_count() might be > not correct. > > Fix

Re: [PATCH v4 8/8] arm,arm64,drivers: add a prefix to drivers arch_topology interfaces

2017-05-29 Thread Dietmar Eggemann
Hi Greg, On 05/26/2017 08:36 PM, Greg KH wrote: On Fri, May 26, 2017 at 11:10:32AM +0100, Juri Lelli wrote: Hi, On 25/05/17 15:18, Greg KH wrote: On Thu, Apr 20, 2017 at 03:43:16PM +0100, Juri Lelli wrote: [...] But this is all really topology stuff, right? Why use "capacity" at all:

Re: [PATCH v2 06/12] gpio: acpi: Explain how to get GPIO descriptors in ACPI case

2017-05-29 Thread Linus Walleij
On Tue, May 23, 2017 at 7:03 PM, Andy Shevchenko wrote: > Documentation lacks of explanation how we actually use device properties > for GPIO resources. > > Add a section to the documentation about that. > > Suggested-by: Mika Westerberg > Signed-off-by: Andy Shevchenko > Tested-by: Jarkko Niku

Re: [PATCH 2/3] mfd: tps65010: move header file out of I2C realm

2017-05-29 Thread Bartlomiej Zolnierkiewicz
On Monday, May 22, 2017 12:02:09 AM Wolfram Sang wrote: > include/linux/i2c is not for client devices. Move the header file to a > more appropriate location. > > Signed-off-by: Wolfram Sang Acked-by: Bartlomiej Zolnierkiewicz > --- > arch/arm/mach-omap1/board-h2-mmc.c | 2 +- > arch/arm/

Re: [PATCH 3/3] mfd: twl: move header file out of I2C realm

2017-05-29 Thread Bartlomiej Zolnierkiewicz
On Monday, May 22, 2017 12:02:10 AM Wolfram Sang wrote: > include/linux/i2c is not for client devices. Move the header file to a > more appropriate location. > > Signed-off-by: Wolfram Sang Acked-by: Bartlomiej Zolnierkiewicz > --- > arch/arm/mach-omap2/common.h| 2 +- > arch/arm/

Re: [PATCH v2 07/12] gpio: acpi: Factor out acpi_gpio_to_gpiod_flags() helper

2017-05-29 Thread Linus Walleij
On Tue, May 23, 2017 at 7:03 PM, Andy Shevchenko wrote: > The helper function acpi_gpio_to_gpiod_flags() will be used later to configure > pin properly whenever it's requested. > > While here, introduce a checking error code returned by > gpiod_configure_flags() > and bail out if it's not okay.

Re: [PATCH 1/2] video: adp8860: move header file out of I2C realm

2017-05-29 Thread Bartlomiej Zolnierkiewicz
On Monday, May 22, 2017 12:09:52 AM Wolfram Sang wrote: > include/linux/i2c is not for client devices. Move the header file to a > more appropriate location. > > Signed-off-by: Wolfram Sang Acked-by: Bartlomiej Zolnierkiewicz > --- > arch/blackfin/mach-bf537/boards/stamp.c| 2 +- > dr

Re: [PATCH v2 08/12] gpio: acpi: Override GPIO initialization flags

2017-05-29 Thread Linus Walleij
On Tue, May 23, 2017 at 7:03 PM, Andy Shevchenko wrote: > This allows ACPI GPIO code to modify flags based on > ACPI GpioIo() / GpioInt() resources. > > Signed-off-by: Andy Shevchenko > Tested-by: Jarkko Nikula > Reviewed-by: Mika Westerberg Patch applied. Yours, Linus Walleij

Re: [PATCH 2/2] video: adp8870: move header file out of I2C realm

2017-05-29 Thread Bartlomiej Zolnierkiewicz
On Monday, May 22, 2017 12:09:53 AM Wolfram Sang wrote: > include/linux/i2c is not for client devices. Move the header file to a > more appropriate location. > > Signed-off-by: Wolfram Sang Acked-by: Bartlomiej Zolnierkiewicz > --- > arch/blackfin/mach-bf537/boards/stamp.c| 2 +- > dr

Re: [PATCH v2 1/2] arm: process: dump memory around registers when displaying regs

2017-05-29 Thread Enric Balletbo Serra
2017-04-25 15:44 GMT+02:00 Enric Balletbo i Serra : > Dump a block of kernel memory from around the registers in the kernel oops > dump. This is behind a config option (DEBUG_AROUND_REGS), since it adds > a bunch of noise to the kernel logs (which someone can find valuable but > not everyone else w

[GIT PULL] ARM: at91: fixes for 4.12

2017-05-29 Thread Alexandre Belloni
Arnd, Olof, Here are two fixes for 4.12. The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6: Linux 4.12-rc1 (2017-05-13 13:19:49 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git tags/at91-4.12-fixes f

Re: [PATCH v2 09/12] gpio: acpi: Split out acpi_gpio_get_irq_resource() helper

2017-05-29 Thread Linus Walleij
On Tue, May 23, 2017 at 7:03 PM, Andy Shevchenko wrote: > The helper does retrieve pointer to struct acpi_resource_gpio from > struct acpi_resource if it represents GpioInt() resource. > > It will be used by PNP code later on. > > Signed-off-by: Andy Shevchenko Patch applied with Mika's review

Re: [PATCH v2]: perf/core: addressing 4x slowdown during per-process, profiling of STREAM benchmark on Intel Xeon Phi

2017-05-29 Thread Alexey Budankov
On 29.05.2017 10:45, Peter Zijlstra wrote: On Sat, May 27, 2017 at 02:19:51PM +0300, Alexey Budankov wrote: Solution: cpu indexed trees for perf_event_context::pinned_groups and perf_event_context::flexible_groups lists are introduced. Every tree node keeps a list of groups allocated for the sa

Re: [PATCH 3/3] ARM: sun8i: v3s: add backlight device node for Lichee Pi Zero LCD

2017-05-29 Thread Maxime Ripard
On Mon, May 29, 2017 at 04:16:51PM +0800, Chen-Yu Tsai wrote: > On Mon, May 29, 2017 at 3:41 PM, Maxime Ripard > wrote: > > Hi, > > > > On Wed, May 24, 2017 at 08:13:20PM +0800, Icenowy Zheng wrote: > >> The 40-pin LCD connector on Lichee Pi Zero has backlight pins, which is > >> controlled by the

Re: [PATCH 3/3] livepatch: force transition process to finish

2017-05-29 Thread Miroslav Benes
On Fri, 26 May 2017, Josh Poimboeuf wrote: > On Thu, May 18, 2017 at 02:00:43PM +0200, Miroslav Benes wrote: > > @@ -591,3 +591,19 @@ void klp_send_fake_signal(void) > > } > > read_unlock(&tasklist_lock); > > } > > + > > +/* > > + * Drop TIF_PATCH_PENDING of all tasks on admin's request.

Re: [PATCH v2 10/12] PNP / ACPI: add support for GpioInt resource type

2017-05-29 Thread Linus Walleij
On Tue, May 23, 2017 at 7:03 PM, Andy Shevchenko wrote: > From: Jagadish Krishnamoorthy > > The PNP ACPI driver parses ACPI interrupt resource but not > GpioInt resource. When the firmware passes GpioInt resource > for IRQ the PNP ACPI driver ignores it and hence the interrupt for > the particul

Re: [PATCH v2 11/12] PNP / ACPI: join strings back for better maintenance

2017-05-29 Thread Linus Walleij
On Tue, May 23, 2017 at 7:03 PM, Andy Shevchenko wrote: > Simply join string literals back for better maintenance and debugging. > > No functional changes intended. > > Signed-off-by: Andy Shevchenko Patch applied with Mika's review tag. Yours, Linus Walleij

[PATCH v2 0/5] iio: add support for STM32H7 ADC

2017-05-29 Thread Fabrice Gasnier
Add support for STM32H7 Analog to Digital Converter variant. It has up to 20 external channels, resolution ranges from 8 to 16bits. Differences are regarding clocking, registers and bitfields have also been re-arranged, but behavior is similar. It also has additional self calibration and power on/o

Re: [RFC][PATCHv3 2/5] printk: introduce printing kernel thread

2017-05-29 Thread Petr Mladek
On Wed 2017-05-10 14:59:35, Sergey Senozhatsky wrote: > This patch introduces a '/sys/module/printk/parameters/atomic_print_limit' > sysfs param, which sets the limit on number of lines a process can print > from console_unlock(). Value 0 corresponds to the current behavior (no > limitation). The p

Re: [PATCH v2 12/12] PNP / ACPI: remove FSF address

2017-05-29 Thread Linus Walleij
On Tue, May 23, 2017 at 7:03 PM, Andy Shevchenko wrote: > There is no point in keeping an address in the file since it's subject > to change. > > Signed-off-by: Andy Shevchenko Patch applied with Mika's review tag. Yours, Linus Walleij

[PATCH v2 2/5] iio: adc: stm32: make core adc clock optional by default

2017-05-29 Thread Fabrice Gasnier
Analog clock input is mandatory on stm32f4. But newer version of ADC hardware block allow to select either bus clock or asynchronous clock, for analog circuitry. So, make it optional by default, but enforce clk presence on stm32f4. Signed-off-by: Fabrice Gasnier --- drivers/iio/adc/stm32-adc-co

[PATCH v2 3/5] iio: adc: stm32: introduce compatible data cfg

2017-05-29 Thread Fabrice Gasnier
Prepare support for stm32h7 adc variant by introducing compatible configuration data. Move STM32F4 specific stuff to compatible data structure: - registers & bit fields - input channels data - start/stop procedures - trigger definitions Signed-off-by: Fabrice Gasnier --- Changes in v2: - rename s

[PATCH v2 5/5] iio: adc: stm32: add support for STM32H7

2017-05-29 Thread Fabrice Gasnier
Add support for STM32H7 Analog to Digital Converter. It has up to 20 external channels, resolution ranges from 8 to 16bits. Either bus or asynchronous adc clock may be used. Add registers & bitfields definition. Also add new configuration options to enter/exit powerdown and perform self-calibratio

[PATCH v2 4/5] iio: adc: stm32: make per instance bus clock optional

2017-05-29 Thread Fabrice Gasnier
STM32F4 requires one clock per ADC instance for register access. But, newer version of ADC hardware block have common bus clock for all instances (per instance driver isn't responsible for getting it). So, make it optional by default. Still, enforce it's required on STM32F4. Signed-off-by: Fabrice

[PATCH v2 1/5] dt-bindings: iio: stm32-adc: add support for STM32H7

2017-05-29 Thread Fabrice Gasnier
Document support for STM32H7 Analog to Digital Converter. Main difference is regarding compatible, clock definitions and new features like differential channels support: STM32H7 ADC block has two clock inputs, common clock for all ADCs. One 'bus' clock for registers access, and one optional 'adc' c

Re: [RFC PATCH] pci: Concurrency issue in NVMe Init through PCIe switch

2017-05-29 Thread Srinath Mannam
Hi Bjorn, On Sat, May 27, 2017 at 12:57 AM, Bjorn Helgaas wrote: > Hi Srinath, > > Thanks for chasing this down! It must have been a real hassle to find > this. > > On Mon, May 08, 2017 at 08:39:50PM +0530, Srinath Mannam wrote: >> We found a concurrency issue in NVMe Init when we initialize >>

Re: [PATCH v2 00/12] gpio: acpi: Make it working

2017-05-29 Thread Linus Walleij
On Tue, May 23, 2017 at 7:03 PM, Andy Shevchenko wrote: > This is second iteration of the fix of GPIO ACPI library to make it > robust against different ACPI specification generations and thus > firmwares. I applied it all so we get some rotation. Was a bit worried about hitting drivers/pnp/* b

Re: [PATCH] net: netfilter: netlink: delete extra spaces

2017-05-29 Thread Pablo Neira Ayuso
On Fri, May 12, 2017 at 01:11:06PM +0800, linzhang wrote: > This patch cleans up extra spaces. Applied.

Re: [PATCH 1/3] pinctrl: samsung: Constify wakeup driver specific data

2017-05-29 Thread Linus Walleij
On Tue, May 23, 2017 at 8:41 PM, Krzysztof Kozlowski wrote: > Static exynos_irq_chip structures, containing driver specific data, are > referenced only through opaque data pointer in const of_device_id table. > The contents of pointed memory (exynos_irq_chip structure itself) is > then copied wit

Re: [PATCH v6 8/8] ARM: ux500: Add vendor prefix to tps61052 node

2017-05-29 Thread Linus Walleij
On Thu, May 4, 2017 at 7:21 AM, Javier Martinez Canillas wrote: > The tps61052 device node doesn't have a vendor prefix > in its compatible string, fix it by adding one. > > Signed-off-by: Javier Martinez Canillas > Acked-by: Rob Herring > Acked-by: Tony Lindgren Reviewed-by: Linus Walleij

Re: [PATCH] powerpc: sysdev: simple_gpio: fix Oops in gpio save_regs function

2017-05-29 Thread Linus Walleij
On Wed, May 24, 2017 at 10:01 AM, Christophe Leroy wrote: > of_mm_gpiochip_add_data() generates an Oops for NULL pointer dereference. > > of_mm_gpiochip_add_data() calls mm_gc->save_regs() before > setting the data, therefore ->save_regs() cannot use gpiochip_get_data() > > Fixes: 937daafca774b (

Re: [PATCH v2 net-next 1/3] perf, bpf: Add BPF support to all perf_event types

2017-05-29 Thread Peter Zijlstra
On Mon, May 29, 2017 at 11:12:53AM +0200, Peter Zijlstra wrote: > On Thu, May 25, 2017 at 10:55:47PM -0700, Alexei Starovoitov wrote: > > > +++ b/kernel/bpf/arraymap.c > > @@ -462,26 +462,22 @@ static void *perf_event_fd_array_get_ptr(struct > > bpf_map *map, > > > > event = perf_file->priv

[PATCH] mm, page_alloc: fallback to smallest page when not stealing whole pageblock

2017-05-29 Thread Vlastimil Babka
Since commit 3bc48f96cf11 ("mm, page_alloc: split smallest stolen page in fallback") we pick the smallest (but sufficient) page of all that have been stolen from a pageblock of different migratetype. However, there are cases when we decide not to steal the whole pageblock. Practically in the curren

Re: [PATCH v2] serial: 8250_of: Add reset support

2017-05-29 Thread Philipp Zabel
Hi Joel, On Fri, 2017-05-26 at 11:55 +1000, Joel Stanley wrote: > This adds the hooks for an optional reset controller in the 8250 device > tree node. > > Signed-off-by: Joel Stanley > > --- > v2: > Address Philipp's comments. Thanks for the review! > - use _shared variant > - remove unneces

Re: [PATCH 1/8] i2c: rename core source file to allow refactorization

2017-05-29 Thread Jarkko Nikula
On 05/26/2017 11:20 AM, Wolfram Sang wrote: --- a/drivers/i2c/busses/i2c-designware-core.c +++ b/drivers/i2c/busses/i2c-designware-core.c @@ -583,7 +583,7 @@ i2c_dw_xfer_msg(struct dw_i2c_dev *dev) */ /* -* i2c-core.c alway

Re: [PATCH v5 07/10] drm/bridge/synopsys: dw-hdmi: Use bridge->mode_valid() callback

2017-05-29 Thread Neil Armstrong
On 05/25/2017 04:19 PM, Jose Abreu wrote: > Now that we have a callback to check if bridge supports a given mode > we can use it in Synopsys Designware HDMI bridge so that we restrict > the number of probbed modes to the ones we can actually display. > > Also, there is no need to use mode_fixup()

Re: [PATCH] reset: hisilicon: Fix hi6220 module license

2017-05-29 Thread Philipp Zabel
Hi Andreas, On Thu, 2017-05-25 at 11:22 +0200, Andreas Färber wrote: > The hi6220_reset driver fails to load: > > [ 10.423640] hi6220_reset: module license 'unspecified' taints kernel. > [ 10.423644] Disabling lock debugging due to kernel taint > [ 10.423735] hi6220_reset: Unknown sym

Re: [PATCH linux-next v3 1/1] spi: imx: dynamic burst length adjust for PIO mode

2017-05-29 Thread Sascha Hauer
Hi, On Thu, May 25, 2017 at 10:02:42PM -0700, jiada_w...@mentor.com wrote: > From: Jiada Wang > > previously burst length (BURST_LENGTH) is always set to equal > to bits_per_word, causes a 10us gap between each word in > transfer, which significantly affects performance. > > This patch uses 32

Re: [PATCH] usb: xhci: ASMedia ASM1042A chipset need shorts TX quirk

2017-05-29 Thread Mathias Nyman
On 27.05.2017 22:26, Corentin Labbe wrote: When plugging an USB webcam I see the following message: [106385.615559] xhci_hcd :04:00.0: WARN Successful completion on short TX: needs XHCI_TRUST_TX_LENGTH quirk? [106390.583860] handle_tx_event: 913 callbacks suppressed With this patch applied,

Re: [PATCH] microblaze: remove asm-generic wrapper headers

2017-05-29 Thread Michal Simek
On 19.5.2017 13:45, Tobias Klauser wrote: > Some of microblaze's asm and uapi header are merely including their > asm-generic counterpart. Thus, the arch specific headers can be removed > and the asm-generic header can be used directly via generic-y. > > The headers removed from uapi don't need to

Re: [PATCH v2] serial: 8250_of: Add reset support

2017-05-29 Thread Joel Stanley
On Mon, May 29, 2017 at 7:13 PM, Philipp Zabel wrote: > Hi Joel, > > On Fri, 2017-05-26 at 11:55 +1000, Joel Stanley wrote: >> This adds the hooks for an optional reset controller in the 8250 device >> tree node. >> >> Signed-off-by: Joel Stanley >> >> --- >> v2: >> Address Philipp's comments. T

[PATCH v3] serial: 8250_of: Add reset support

2017-05-29 Thread Joel Stanley
This adds the hooks for an optional reset controller in the 8250 device tree node. Signed-off-by: Joel Stanley Reviewed-by: Philipp Zabel --- v3: - deassert reset after disabling clock in _remove to to match _setup order v2: Address Philipp's comments. Thanks for the review! - use _shared v

Re: [PATCH v4 8/8] arm,arm64,drivers: add a prefix to drivers arch_topology interfaces

2017-05-29 Thread Greg KH
On Mon, May 29, 2017 at 11:20:24AM +0200, Dietmar Eggemann wrote: > Hi Greg, > > On 05/26/2017 08:36 PM, Greg KH wrote: > > On Fri, May 26, 2017 at 11:10:32AM +0100, Juri Lelli wrote: > > > Hi, > > > > > > On 25/05/17 15:18, Greg KH wrote: > > > > On Thu, Apr 20, 2017 at 03:43:16PM +0100, Juri Le

Re: KASAN vs. boot-time switching between 4- and 5-level paging

2017-05-29 Thread Dmitry Vyukov
On Sat, May 27, 2017 at 12:10 AM, Kirill A. Shutemov wrote: > On Thu, May 25, 2017 at 11:33:33PM +0300, Kirill A. Shutemov wrote: >> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig >> index 0bf81e837cbf..c795207d8a3c 100644 >> --- a/arch/x86/Kconfig >> +++ b/arch/x86/Kconfig >> @@ -100,7 +100,7 @

Re: [PATCH] ubifs: Add freeze support

2017-05-29 Thread Amir Goldstein
On Mon, May 29, 2017 at 12:00 PM, Richard Weinberger wrote: > Amir, Hyunchul, > > Am 29.05.2017 um 07:40 schrieb Amir Goldstein: >> On Mon, May 29, 2017 at 7:40 AM, Hyunchul Lee wrote: >>> >>> and I missed the following case. >>> >>> in some embedded systems, clean-up for shutdown should be fast.

Re: [-next] memory hotplug regression

2017-05-29 Thread Heiko Carstens
On Mon, May 29, 2017 at 10:52:31AM +0200, Michal Hocko wrote: > > Why is it a problem to change the default for 'online'? As far as I can see > > that doesn't have too much to do with the order of zones, no? > > `online' (aka MMOP_ONLINE_KEEP) should always inherit its current zone. > The previous

Re: [PATCH 1/2] dt-bindings: reset: Add bindings for basic reset controller

2017-05-29 Thread Joel Stanley
On Mon, May 29, 2017 at 6:39 PM, Philipp Zabel wrote: > Hi Joel, > > On Fri, 2017-05-26 at 13:32 +1000, Joel Stanley wrote: >> This adds the bindings documentation for a basic single-register reset >> controller. >> >> The bindings describe a single 32-bit register that contains up to 32 >> reset

Re: [PATCH] ubifs: Add freeze support

2017-05-29 Thread Richard Weinberger
Amir, Am 29.05.2017 um 12:04 schrieb Amir Goldstein: >> Well, UBIFS is a bit different. >> The UBIFS journal is not an add-on feature, you have to replay it in >> any case. Otherwise you're facing corrupted data. > > Yes, I suppose you are right. > I guess there is no equivalent of mount -oro,{no

Re: [GIT PULL] MMC fixes for v.4.12 rc3 - take 2/2

2017-05-29 Thread Daniel Lezcano
On Sun, May 28, 2017 at 12:26:00PM +0200, Ulf Hansson wrote: > Hi Olof, > > +Daniel > > On 26 May 2017 at 18:24, Olof Johansson wrote: > > Hi Ulf, > > > > > > On Fri, May 26, 2017 at 6:08 AM, Ulf Hansson wrote: > >> Hi Linus, > >> > >> Here are a couple of mmc and arm64-dts fixes intended for v

Re: [PATCH 1/4] thermal: uniphier: add UniPhier thermal driver

2017-05-29 Thread Keerthy
On Monday 29 May 2017 02:45 PM, Kunihiko Hayashi wrote: > Add a thermal driver for on-chip PVT (Process, Voltage and Temperature) > monitoring unit implemented on UniPhier SoCs. This driver supports > temperature monitoring and alert function. The Documentation in patch 2/4 should be squashed in

Re: [PATCH 0/3] ipc subsystem refcounter conversions

2017-05-29 Thread Peter Zijlstra
On Mon, May 29, 2017 at 04:11:13AM -0500, Eric W. Biederman wrote: > Kees I I have a concern: > > __must_check bool refcount_add_not_zero(unsigned int i, refcount_t *r) > { > unsigned int new, val = atomic_read(&r->refs); > > do { > if (!val) >

Re: [PATCH 2/2] reset: Add basic single-register reset driver

2017-05-29 Thread Joel Stanley
Hi Andy, On Sun, May 28, 2017 at 12:41 AM, Andy Shevchenko wrote: > On Fri, May 26, 2017 at 6:32 AM, Joel Stanley wrote: >> This driver is a basic single-register reset controller driver that >> supports clearing a single bit in a register. >> > > While this makes sense, I'm wondering if there c

Build regressions/improvements in v4.12-rc3

2017-05-29 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.12-rc3[1] compared to v4.11[2]. Summarized: - build errors: +3/-3 - build warnings: +27837/-1023 JFYI, when comparing v4.12-rc3[1] to v4.12-rc2[3], the summaries are: - build errors: +1/- - build warnings: +1133/-1164

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

2017-05-29 Thread Geert Uytterhoeven
On Mon, May 29, 2017 at 12:27 PM, Geert Uytterhoeven wrote: > > JFYI, when comparing v4.12-rc3[1] to v4.12-rc2[3], the summaries are: > - build errors: +1/- Nothing to report. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...

Re: [PATCH v2]: perf/core: addressing 4x slowdown during per-process, profiling of STREAM benchmark on Intel Xeon Phi

2017-05-29 Thread Peter Zijlstra
On Mon, May 29, 2017 at 12:24:53PM +0300, Alexey Budankov wrote: > On 29.05.2017 10:45, Peter Zijlstra wrote: > > On Sat, May 27, 2017 at 02:19:51PM +0300, Alexey Budankov wrote: > > > Solution: > > > > > > cpu indexed trees for perf_event_context::pinned_groups and > > > perf_event_context::flexi

Re: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-05-29 Thread jmondi
Hi Linus, On Mon, May 29, 2017 at 10:45:44AM +0200, Linus Walleij wrote: > On Tue, May 23, 2017 at 8:37 PM, jmondi wrote: > > >> I did not follow too much. > >> But it seems IMX7ULP/Vybrid to be also a fan of generic > >> output-enable/input-enable > >> property. > >> > >> See: > >> Figure 5-2. G

Re: [kernel-hardening] Re: [PATCH v6 0/2] security: tty: make TIOCSTI ioctl require CAP_SYS_ADMIN

2017-05-29 Thread Peter Dolding
On Sat, May 20, 2017 at 12:33 AM, Serge E. Hallyn wrote: > On Fri, May 19, 2017 at 12:48:17PM +1000, Peter Dolding wrote: >> Using cap_sys_admin as fix is like removing car windsheld because >> vision is being blocked by a rock hitting it. > > Nonsense. If the application has cap_sys_admin then i

Re: [PATCH v2]: perf/core: addressing 4x slowdown during per-process, profiling of STREAM benchmark on Intel Xeon Phi

2017-05-29 Thread Peter Zijlstra
On Mon, May 29, 2017 at 12:15:14PM +0300, Alexey Budankov wrote: > On 29.05.2017 10:46, Peter Zijlstra wrote: > > On Sat, May 27, 2017 at 02:19:51PM +0300, Alexey Budankov wrote: > > > @@ -742,7 +772,17 @@ struct perf_event_context { > > > > > > struct list_headactive_ct

Re: [linux-next / tty] possible circular locking dependency detected

2017-05-29 Thread Vegard Nossum
On 05/22/17 12:27, Vegard Nossum wrote: On 05/22/17 12:24, Greg Kroah-Hartman wrote: On Mon, May 22, 2017 at 04:39:43PM +0900, Sergey Senozhatsky wrote: Hello, [ 1274.378287] == [ 1274.378289] WARNING: possible circular locking dependency det

Re: [PATCH net-next v3 5/5] net-next: dsa: add dsa support for Mediatek MT7530 switch

2017-05-29 Thread Andrey Melnikov
2017-05-26 8:54 GMT+03:00 Florian Fainelli : > On May 24, 2017 4:17:39 AM PDT, "Andrey Jr. Melnikov" > wrote: >>In gmane.linux.kernel sean.w...@mediatek.com wrote: >>> From: Sean Wang >> >>> MT7530 is a 7-ports Gigabit Ethernet Switch that could be found on >>> Mediatek router platforms such as

[PATCH v3] phy: rcar-gen3-usb3: add support for R-Car Gen3 USB 3.0 PHY

2017-05-29 Thread Yoshihiro Shimoda
The USB 3.0 PHY modules of R-Car Gen3 SoCs have: - Spread spectrum clock (ssc). - Using USB 2.0 EXTAL clock instead of USB 3.0 clock. - Enabling VBUS detection for usb3.0 peripheral. So, this driver supports these features. Signed-off-by: Yoshihiro Shimoda --- This patch is based on the late

Re: [-next] memory hotplug regression

2017-05-29 Thread Michal Hocko
On Mon 29-05-17 12:11:28, Heiko Carstens wrote: > On Mon, May 29, 2017 at 10:52:31AM +0200, Michal Hocko wrote: > > > Why is it a problem to change the default for 'online'? As far as I can > > > see > > > that doesn't have too much to do with the order of zones, no? > > > > `online' (aka MMOP_ON

Re: [PATCH v2]: perf/core: addressing 4x slowdown during per-process, profiling of STREAM benchmark on Intel Xeon Phi

2017-05-29 Thread Alexey Budankov
On 29.05.2017 13:33, Peter Zijlstra wrote: On Mon, May 29, 2017 at 12:24:53PM +0300, Alexey Budankov wrote: On 29.05.2017 10:45, Peter Zijlstra wrote: On Sat, May 27, 2017 at 02:19:51PM +0300, Alexey Budankov wrote: Solution: cpu indexed trees for perf_event_context::pinned_groups and perf_ev

Re: [PATCH v4 8/8] arm,arm64,drivers: add a prefix to drivers arch_topology interfaces

2017-05-29 Thread Dietmar Eggemann
On 05/29/2017 11:58 AM, Greg KH wrote: On Mon, May 29, 2017 at 11:20:24AM +0200, Dietmar Eggemann wrote: Hi Greg, On 05/26/2017 08:36 PM, Greg KH wrote: On Fri, May 26, 2017 at 11:10:32AM +0100, Juri Lelli wrote: Hi, On 25/05/17 15:18, Greg KH wrote: On Thu, Apr 20, 2017 at 03:43:16PM +0100

Re: [PATCH v2 2/7] x86: use long long for 64-bit atomic ops

2017-05-29 Thread Heiko Carstens
On Fri, May 26, 2017 at 09:09:04PM +0200, Dmitry Vyukov wrote: > Some 64-bit atomic operations use 'long long' as operand/return type > (e.g. asm-generic/atomic64.h, arch/x86/include/asm/atomic64_32.h); > while others use 'long' (e.g. arch/x86/include/asm/atomic64_64.h). > This makes it impossible

Re: [PATCH] pid_ns: Allow to get pid_for_children ns before child_reaper is created

2017-05-29 Thread Kirill Tkhai
On 27.05.2017 14:01, Eric W. Biederman wrote: > Kirill Tkhai writes: > >> This patch prohibits pid allocation till child_reaper >> of pid namespace is set, and it makes possible and safe >> to get just unshared pid_ns from "/proc/[pid]/ns/pid_for_children" >> file. This may be useful to determine

Re: [PATCH 1/7] RISC-V: Top-Level Makefile for riscv{32,64}

2017-05-29 Thread Arnd Bergmann
On Sat, May 27, 2017 at 2:57 AM, Palmer Dabbelt wrote: > On Tue, 23 May 2017 04:30:50 PDT (-0700), Arnd Bergmann wrote: >> On Tue, May 23, 2017 at 2:41 AM, Palmer Dabbelt wrote: >>> RISC-V has both 32-bit and 64-bit base ISAs, but they are very similar. >>> Like some other platforms, we'd like to

Re: [PATCH v2 07/22] scsi: hisi_sas: create hisi_sas_get_fw_info()

2017-05-29 Thread Arnd Bergmann
On Thu, May 25, 2017 at 2:04 PM, John Garry wrote: > Move the functionality to retrieve the fw info into > a dedicated device type-agnostic function, > hisi_sas_get_fw_info(). > > The reasoning is that this function will be required > for future pci-based platforms. > > - > if (device_pro

Re: [PATCH v2]: perf/core: addressing 4x slowdown during per-process, profiling of STREAM benchmark on Intel Xeon Phi

2017-05-29 Thread Alexey Budankov
On 29.05.2017 13:43, Peter Zijlstra wrote: On Mon, May 29, 2017 at 12:15:14PM +0300, Alexey Budankov wrote: On 29.05.2017 10:46, Peter Zijlstra wrote: On Sat, May 27, 2017 at 02:19:51PM +0300, Alexey Budankov wrote: @@ -742,7 +772,17 @@ struct perf_event_context { struct list_head

Re: [PATCH] mm: Define KB, MB, GB, TB in core VM

2017-05-29 Thread Michael Ellerman
Anshuman Khandual writes: > > So the question is are we willing to do all these changes across > the tree to achieve common definitions of KB, MB, GB, TB in the > kernel ? Is it worth ? No I don't think it's worth the churn. But have you looked at using the "proper" names, ie. KiB, MiB, GiB? AF

Re: [PATCH 0/3] ipc subsystem refcounter conversions

2017-05-29 Thread Eric W. Biederman
Peter Zijlstra writes: > On Mon, May 29, 2017 at 04:11:13AM -0500, Eric W. Biederman wrote: > >> Kees I I have a concern: >> >> __must_check bool refcount_add_not_zero(unsigned int i, refcount_t *r) >> { >> unsigned int new, val = atomic_read(&r->refs); >> >> do { >>

Re: [PATCH v2 2/7] x86: use long long for 64-bit atomic ops

2017-05-29 Thread Dmitry Vyukov
On Mon, May 29, 2017 at 12:49 PM, Heiko Carstens wrote: > On Fri, May 26, 2017 at 09:09:04PM +0200, Dmitry Vyukov wrote: >> Some 64-bit atomic operations use 'long long' as operand/return type >> (e.g. asm-generic/atomic64.h, arch/x86/include/asm/atomic64_32.h); >> while others use 'long' (e.g. ar

Re: [PATCH] mm: Define KB, MB, GB, TB in core VM

2017-05-29 Thread Geert Uytterhoeven
Hi Anshuman, On Wed, May 24, 2017 at 8:40 AM, Anshuman Khandual wrote: > On 05/23/2017 04:49 PM, Anshuman Khandual wrote: >> On 05/23/2017 02:08 PM, Vlastimil Babka wrote: >>> On 05/23/2017 09:02 AM, Christoph Hellwig wrote: On Mon, May 22, 2017 at 02:11:49PM -0700, Andrew Morton wrote:

Re: [PATCH linux-next v3 1/1] spi: imx: dynamic burst length adjust for PIO mode

2017-05-29 Thread Fabio Estevam
Hi Jiada, On Fri, May 26, 2017 at 2:02 AM, wrote: > From: Jiada Wang > > previously burst length (BURST_LENGTH) is always set to equal > to bits_per_word, causes a 10us gap between each word in > transfer, which significantly affects performance. > > This patch uses 32 bits transfer to simulate

Re: [PATCH 1/4] mmc: sdhci-esdhc: Add SDHCI_QUIRK_32BIT_DMA_ADDR

2017-05-29 Thread Fabio Estevam
On Wed, May 3, 2017 at 7:05 AM, Benoît Thébaudeau wrote: > The eSDHC can only DMA from 32-bit-aligned addresses. > > This fixes the following test cases of mmc_test: > 11: Badly aligned write > 12: Badly aligned read > 13: Badly aligned multi-block write > 14: Badly aligned multi-b

Re: [PATCH 2/4] mmc: sdhci-esdhc-imx: Fix DAT line software reset

2017-05-29 Thread Fabio Estevam
On Wed, May 3, 2017 at 7:05 AM, Benoît Thébaudeau wrote: > On i.MX25, the eSDHC DAT line software reset (SYSCTL.RSTD) unexpectedly > clears at least the data transfer width (PROCTL.DTW), which then results > in data CRC errors. This behavior is not documented, but it has actually > been observed.

Re: [PATCH 3/4] mmc: sdhci-esdhc-imx: Allow all supported prescaler values

2017-05-29 Thread Fabio Estevam
On Wed, May 3, 2017 at 7:05 AM, Benoît Thébaudeau wrote: > On i.MX, SYSCTL.SDCLKFS may always be set to 0 in order to make the SD > clock frequency prescaler divide by 1 in SDR mode, even with the eSDHC. > The previous minimum prescaler value of 2 in SDR mode with the eSDHC was > a code remnant fr

Re: [PATCH 4/4] mmc: sdhci-esdhc-imx: Remove the ENGcm07207 workaround

2017-05-29 Thread Fabio Estevam
On Wed, May 3, 2017 at 7:05 AM, Benoît Thébaudeau wrote: > The SDHCI_QUIRK_NO_MULTIBLOCK quirk was used as a workaround for the > ENGcm07207 erratum. However, it caused excruciatingly slow SD transfers > (300 kB/s on average), and this erratum actually does not imply that > multiple-block transfer

Re: KASAN vs. boot-time switching between 4- and 5-level paging

2017-05-29 Thread Andrey Ryabinin
On 05/29/2017 01:02 PM, Dmitry Vyukov wrote: > On Sat, May 27, 2017 at 12:10 AM, Kirill A. Shutemov > wrote: >> On Thu, May 25, 2017 at 11:33:33PM +0300, Kirill A. Shutemov wrote: >>> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig >>> index 0bf81e837cbf..c795207d8a3c 100644 >>> --- a/arch/x86/

Re: [PATCH 2/7] RISC-V: arch/riscv Makefile and Kconfigs

2017-05-29 Thread Arnd Bergmann
On Sat, May 27, 2017 at 2:57 AM, Palmer Dabbelt wrote: > On Tue, 23 May 2017 04:46:22 PDT (-0700), Arnd Bergmann wrote: >> On Tue, May 23, 2017 at 2:41 AM, Palmer Dabbelt wrote: >>> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig >>> new file mode 100644 >>> index ..510ead1d3343

Re: [PATCH v2 07/22] scsi: hisi_sas: create hisi_sas_get_fw_info()

2017-05-29 Thread John Garry
is On 29/05/2017 11:53, Arnd Bergmann wrote: On Thu, May 25, 2017 at 2:04 PM, John Garry wrote: Move the functionality to retrieve the fw info into a dedicated device type-agnostic function, hisi_sas_get_fw_info(). The reasoning is that this function will be required for future pci-based plat

Re: KASAN vs. boot-time switching between 4- and 5-level paging

2017-05-29 Thread Dmitry Vyukov
On Mon, May 29, 2017 at 1:18 PM, Andrey Ryabinin wrote: > > > On 05/29/2017 01:02 PM, Dmitry Vyukov wrote: >> On Sat, May 27, 2017 at 12:10 AM, Kirill A. Shutemov >> wrote: >>> On Thu, May 25, 2017 at 11:33:33PM +0300, Kirill A. Shutemov wrote: diff --git a/arch/x86/Kconfig b/arch/x86/Kconfi

Re: [PATCH v2 07/22] scsi: hisi_sas: create hisi_sas_get_fw_info()

2017-05-29 Thread Arnd Bergmann
On Mon, May 29, 2017 at 1:18 PM, John Garry wrote: > On 29/05/2017 11:53, Arnd Bergmann wrote: >> On Thu, May 25, 2017 at 2:04 PM, John Garry wrote: > > So we only require these properties for platform device with DT firmware. > This code is same as before (apart from adding the comments), but I'

Re: [PATCH v2]: perf/core: addressing 4x slowdown during per-process, profiling of STREAM benchmark on Intel Xeon Phi

2017-05-29 Thread Peter Zijlstra
On Mon, May 29, 2017 at 01:56:05PM +0300, Alexey Budankov wrote: > On 29.05.2017 13:43, Peter Zijlstra wrote: > > Why can't the tree do both? > > > > Well, indeed, the tree provides such capability too. However switching to > the full tree iteration in cases where we now go through _groups lists

Re: [PATCH] dmaengine: ste_dma40, imx-dma: Cleanup scatterlist layering violations

2017-05-29 Thread Linus Walleij
On Wed, May 24, 2017 at 11:58 PM, Logan Gunthorpe wrote: > Two dma engine drivers directly accesses page_link assuming knowledge > that should be contained only in scatterlist.h. > > We replace these with calls to sg_chain and sg_assign_page. > > Signed-off-by: Logan Gunthorpe > Signed-off-by: S

Re: [PATCH 01/10] gpio: mockup: fix direction values

2017-05-29 Thread Linus Walleij
On Thu, May 25, 2017 at 10:33 AM, Bartosz Golaszewski wrote: > The comment in linux/gpio/driver.h says: > > @get_direction: returns direction for signal "offset", 0=out, 1=in > > We got those switched at some point. Fix the values. > > Signed-off-by: Bartosz Golaszewski Patch applied. Yours,

Re: [PATCH 02/10] gpio: mockup: add prefixes to the direction enum

2017-05-29 Thread Linus Walleij
On Thu, May 25, 2017 at 10:33 AM, Bartosz Golaszewski wrote: > All internal symbols except for the direction enum follow the same > convention and use the gpio_mockup prefix. Add the prefix to the > DIR_IN and DIR_OUT definitions as well for consistency across the > file. > > Signed-off-by: Barto

Re: [PATCH 03/10] gpio: mockup: be quiet unless something goes wrong

2017-05-29 Thread Linus Walleij
On Thu, May 25, 2017 at 10:33 AM, Bartosz Golaszewski wrote: > When inserting and removing the module repeatedly (e.g. when running > the libgpiod test-suite) the kernel log gets clobbered with messages > reporting successful creation of dummy gpiochips. > > Remove this message and only emit logs

Re: [PATCH 04/10] gpio: mockup: support irqmask and irqunmask

2017-05-29 Thread Linus Walleij
On Thu, May 25, 2017 at 10:33 AM, Bartosz Golaszewski wrote: > Even though this is a testing module, be nice and actually implement > these functions. > > Signed-off-by: Bartosz Golaszewski Patch applied. Yours, Linus Walleij

<    1   2   3   4   5   6   7   >