[patch v5 2/3] drivers: jtag: Add Aspeed SoC 24xx and 25xx families JTAG master driver

2017-08-21 Thread Oleksandr Shamray
Driver adds support of Aspeed 2500/2400 series SOC JTAG master controller. Driver implements the following jtag ops: - freq_get; - freq_set; - status_get; - idle; - xfer; It has been tested on Mellanox system with BMC equipped with Aspeed 2520 SoC for programming CPLD devices. Signed-off-by:

[patch v5 0/3] JTAG driver introduction

2017-08-21 Thread Oleksandr Shamray
When a need raise up to use JTAG interface for system's devices programming or CPU debugging, usually the user layer application implements jtag protocol by bit-bang or using a proprietary connection to vendor hardware. This method can be slow and not generic. We propose to implement general

[patch v5 3/3] doccumentation: jtag: Add bindings for Aspeed SoC 24xx and 25xx families JTAG master driver

2017-08-21 Thread Oleksandr Shamray
It has been tested on Mellanox system with BMC equipped with Aspeed 2520 SoC for programming CPLD devices. Signed-off-by: Oleksandr Shamray Signed-off-by: Jiri Pirko Acked-by: Rob Herring --- v4->v5 V3->v4 Comments pointed by Rob

Re: [PATCH v2 1/2] arm64: dts: rockchip: add usb3 controller node for RK3328 SoCs

2017-08-21 Thread wlf
Dear Heiko, 在 2017年08月18日 17:24, Heiko Stuebner 写道: Hi William, Am Donnerstag, 17. August 2017, 15:54:49 CEST schrieb William Wu: RK3328 has one USB 3.0 OTG controller which uses DWC_USB3 core's general architecture. It can act as static xHCI host controller, static device controller, USB

[PATCH 1/7 v3] media: vb2: add bidirectional flag in vb2_queue

2017-08-21 Thread Stanimir Varbanov
This change is intended to give to the v4l2 drivers a choice to change the default behavior of the v4l2-core DMA mapping direction from DMA_TO/FROM_DEVICE (depending on the buffer type CAPTURE or OUTPUT) to DMA_BIDIRECTIONAL during queue_init time. Initially the issue with DMA mapping direction

Build regressions/improvements in v4.13-rc6

2017-08-21 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.13-rc6[1] compared to v4.12[2]. Summarized: - build errors: +2/-0 - build warnings: +1330/-906 JFYI, when comparing v4.13-rc6[1] to v4.13-rc5[3], the summaries are: - build errors: +2/-0 - build warnings: +623/-512

Re: [PATCH v3 1/4] mmc: sdhci-cadence: add suspend / resume support

2017-08-21 Thread Adrian Hunter
On 15/08/17 18:45, Masahiro Yamada wrote: > Currently, the probe function initializes the PHY, but PHY settings > are lost during the sleep state. Restore the PHY registers when > resuming. > > To facilitate this, split sdhci_cdns_phy_init() into the DT parse > part and PHY update part so that

[PATCH] arm64: dts: uniphier: add reset controller node of analog amplifier

2017-08-21 Thread Katsuhiro Suzuki
This patch adds reset controller node of analog signal amplifier core (ADAMV) for UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki --- arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 11 +++ arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 11

Re: [PATCH 03/14] mmc: meson-gx: clean up some constants

2017-08-21 Thread Jerome Brunet
On Mon, 2017-08-07 at 14:06 -0700, Kevin Hilman wrote: > Jerome Brunet writes: > > > Remove useless clock rate defines. These should not be defined but > > To be more precise, they're also unused, so maybe s/useless/unused/ ? > > > equested from the clock framework. > >

[RESEND PATCH v8 0/3] clk: stm32h7: Add stm32h743 clock driver

2017-08-21 Thread gabriel.fernandez
From: Gabriel Fernandez v8: - Documentation remarks from Valdimir: - rename 'rcc' node name into 'reset-clock-controller' - delete source paths into the device tree bindings documentation - other cosmetic changes v7: - Documentation: put

[RESEND PATCH v8 2/3] clk: gate: expose clk_gate_ops::is_enabled

2017-08-21 Thread gabriel.fernandez
From: Gabriel Fernandez This patch exposes clk_gate_ops::is_enabled as functions that can be directly called and assigned in places like this so we don't need wrapper functions that do nothing besides forward the call. Signed-off-by: Gabriel Fernandez

Re: [PATCH 08/14] mmc: meson-gx: rework clock init function

2017-08-21 Thread Jerome Brunet
On Mon, 2017-08-07 at 14:34 -0700, Kevin Hilman wrote: > Jerome Brunet writes: > > > Perform basic initialisation of the clk register before providing it to > > the CCF. > > > > Thanks to devm, carrying the clock structure around after init is not > > necessary. Rework the

Re: [RFC 1/2] misc: Add vboxguest driver for Virtual Box Guest integration

2017-08-21 Thread Hans de Goede
Hi, On 21-08-17 13:43, Hans de Goede wrote: I'm also thinking that under Linux since we never use userspace to alloc memory for the balloon, we don't need to involve userspace at all, the drivers interrupt handler could detect the event that the host wants to change the balloonsize itself

[no subject]

2017-08-21 Thread Ciprian
Good evening http://www.albit.ro/s2daddr.php?fight=27sfbr9drm6n4 Ciprian

Re: system hung up when offlining CPUs

2017-08-21 Thread Christoph Hellwig
Hi Marc, in general the driver should know not to use the queue / irq, as blk-mq will never schedule I/O to queues that have no online cpus. The real bugs seems to be that we're using affinity for a device that only has one real queue (as the config queue should not have affinity). Let me dig

[PATCH v2 5/6] MIPS: math-emu: Add FP emu debugfs clear functionality

2017-08-21 Thread Aleksandar Markovic
From: Aleksandar Markovic Add capability for the user to clear all FP emu debugfs counters. This is achieved by having a special debugfs file "fpuemustats_clear" (under default location "/sys/kernel/debug/mips"). Each access to the file results in setting all

[PATCH v2 2/6] MIPS: math-emu: RINT.<D|S>: Fix several problems by reimplementation

2017-08-21 Thread Aleksandar Markovic
From: Aleksandar Markovic Reimplement RINT. kernel emulation so that all RINT. specifications are met. For the sake of simplicity, let's analyze RINT.S only. Prior to this patch, RINT.S emulation was essentially implemented as (in pseudocode) =

[PATCH v2 3/6] MIPS: math-emu: CLASS.D: Zero bits 32-63 of the result

2017-08-21 Thread Aleksandar Markovic
From: Aleksandar Markovic Fix content of CLASS.D output bits 32-63 to match hardware behavior. Prior to this patch, bits 32-63 of CLASS.D output were not initialized, causing different 32-63 bits content of CLASS.D, based on circumstances. However, the hardware

[PATCH v2 1/6] MIPS: math-emu: CMP.Sxxx.<D|S>: Prevent occurrences of SIGILL crashes

2017-08-21 Thread Aleksandar Markovic
From: Aleksandar Markovic Fix CMP.Sxxx. SIGILL crashes by fixing main switch/case statement in fpu_emul() function so that inadvertent fall-troughs are prevented. Consider, let's say, CMP.SAF.S instruction when one of inputs is zero and another input is a

[PATCH v2 0/6] MIPS: math-emu: FP emulation fixes and improvements

2017-08-21 Thread Aleksandar Markovic
From: Aleksandar Markovic v1->v2: - corrected a number of spelling and other minor mistakes in commit messages - rebased to the latest code This series includes: - a fix for certain SIGILL program crashes on issuing a valid CMP instruction -

[PATCH v2 4/6] MIPS: math-emu: Add FP emu debugfs statistics for branches

2017-08-21 Thread Aleksandar Markovic
From: Aleksandar Markovic Add FP emu debugfs counter for branches. The new counter is displayed the same way as existing counter, and its default path is /sys/kernel/debug/mips/fpuemustats/. The limitation of this counter is that it counts only R6 branch

[PATCH 3/5] btrfs: Use common error handling code in btrfs_update_root()

2017-08-21 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 21 Aug 2017 13:10:15 +0200 Add a jump target so that a bit of exception handling can be better reused at the end of this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring

[PATCH v2 2/2] hwmon: (ltq-cputemp) add devicetree bindings documentation

2017-08-21 Thread Florian Eckert
Document the devicetree bindings for the ltq-cputemp Signed-off-by: Florian Eckert --- Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt diff

[PATCH 4/5] btrfs: Use common error handling code in update_ref_path()

2017-08-21 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 21 Aug 2017 13:34:29 +0200 Add a jump target so that a bit of exception handling can be better reused in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring

Re: [PATCH v5 05/19] crypto: introduce crypto wait for async op

2017-08-21 Thread Gilad Ben-Yossef
On Tue, Aug 15, 2017 at 5:23 AM, Jonathan Cameron wrote: > On Mon, 14 Aug 2017 18:21:15 +0300 > Gilad Ben-Yossef wrote: > >> Invoking a possibly async. crypto op and waiting for completion >> while correctly handling backlog processing is a

Re: [PATCH v3 4/9] pwm: Add STM32 LPTimer PWM driver

2017-08-21 Thread Thierry Reding
On Fri, Jul 07, 2017 at 06:31:03PM +0200, Fabrice Gasnier wrote: > Add support for single PWM channel on Low-Power Timer, that can be > found on some STM32 platforms. > > Signed-off-by: Fabrice Gasnier > --- > Changes in v3: > - remove prescalers[] array, use power-of-2

Re: [PATCH v2] soc: ti: knav: Add a NULL pointer check for kdev in knav_pool_create

2017-08-21 Thread Arnd Bergmann
On Mon, Aug 21, 2017 at 7:44 AM, santosh.shilim...@oracle.com wrote: > Hi Arnd, > > On 7/30/17 9:31 PM, Keerthy wrote: >> >> knav_pool_create is an exported function. In the event of a call >> before knav_queue_probe, we encounter a NULL pointer dereference >> in the

Re: [PATCH 2/2] PM: docs: Delete the obsolete states.txt document

2017-08-21 Thread Markus Heiser
> Am 20.08.2017 um 18:06 schrieb Rafael J. Wysocki : > > From: Rafael J. Wysocki > > The Documentation/power/states.txt document is now redundant and > sonewhat outdated, so delete it. > > Signed-off-by: Rafael J. Wysocki

[PATCH 1/2] net: stmmac: Delete dead code for MDIO registration

2017-08-21 Thread Romain Perier
This code is no longer used, the logging function was changed by commit fbca164776e4 ("net: stmmac: Use the right logging functi"). Fixes: commit fbca164776e4 ("net: stmmac: Use the right logging functi") Signed-off-by: Romain Perier ---

[PATCH 0/2] net: stmmac: phy logging fixes

2017-08-21 Thread Romain Perier
This set of patches fixes issues related to logging. First it delete old code that is no longer used in stmmac_mdio_register(). Then, it fixes a crash that happens when phydev->drv is NULL and phy_attached_info() is called prior phy_driver is binded to phydev. Romain Perier (2): net: stmmac:

Re: [PATCH] x86/build: Use cc-option to validate stack alignment parameter

2017-08-21 Thread Ingo Molnar
* Matthias Kaehlcke wrote: > With 8f91869766c0 ("x86/build: Fix stack alignment for CLang") cc-option > is only used to determine the name of the stack alignment option supported > by the compiler, but not to verify that the actual parameter =N is > valid in combination with

Re: [alsa-devel] [PATCH 09/12] ASoC: qcom: Remove unnecessary function call

2017-08-21 Thread Banajit Goswami
On Sun, Aug 20, 2017 at 01:44:58PM +0800, Peng Donglin wrote: > First of all,the address of pdev->dev is assigned to card->dev,then > the function platform_set_drvdata copies the value the variable card > to pdev->dev.driver_data, but when calling snd_soc_register_card,the > function

Re: [PATCH v3 3/4] net: stmmac: register parent MDIO node for sun8i-h3-emac

2017-08-21 Thread Chen-Yu Tsai
On Sun, Aug 20, 2017 at 10:25 PM, Andrew Lunn wrote: >> I think we cannot use mdio-mux-mmioreg since the register for doing >> the switch is in middle of the "System Control" and shared with >> other functions. This is why we use a sycon/regmap for selecting >> the MDIO. > > You

[PATCH v2] mfd: Add support for RTS5250S power saving

2017-08-21 Thread rui_feng
From: rui_feng Signed-off-by: rui_feng --- drivers/mfd/rts5249.c| 183 ++ drivers/mfd/rtsx_pcr.c | 206 +-- drivers/mfd/rtsx_pcr.h | 2 +

Re: [PATCH v9 RESEND 8/9] mfd: rk808: Add RK805 pinctrl support

2017-08-21 Thread Lee Jones
On Mon, 21 Aug 2017, Heiko Stuebner wrote: > From: Joseph Chen > > Signed-off-by: Joseph Chen > Acked-by: Linus Walleij > Acked-for-MFD-by: Lee Jones > Signed-off-by: Heiko Stuebner

Re: [PATCH v9 RESEND 6/9] pinctrl: dt-bindings: add bindings for Rockchip RK805 PMIC

2017-08-21 Thread Lee Jones
On Mon, 21 Aug 2017, Heiko Stuebner wrote: > From: Joseph Chen > > Signed-off-by: Joseph Chen > Acked-by: Linus Walleij > Acked-by: Rob Herring > Signed-off-by: Heiko Stuebner > --- >

Re: [PATCH v9 RESEND 9/9] mfd: rk808: Add RK805 power key support

2017-08-21 Thread Lee Jones
On Mon, 21 Aug 2017, Heiko Stuebner wrote: > From: Joseph Chen > > Signed-off-by: Joseph Chen > Acked-for-MFD-by: Lee Jones > Signed-off-by: Heiko Stuebner > --- > drivers/mfd/rk808.c | 17 +

Re: [PATCH v9 RESEND 7/9] pinctrl: Add pinctrl driver for the RK805 PMIC

2017-08-21 Thread Lee Jones
On Mon, 21 Aug 2017, Heiko Stuebner wrote: > From: Joseph Chen > > RK805 is one of Rockchip PMICs family, it has 2 output only GPIOs. > > This driver is also designed for other Rockchip PMICs to expend. > Different PMIC maybe have different pin features, for example, >

Re: [rfc patch] sched/topology: fix domain reconstruction memory leakage

2017-08-21 Thread Peter Zijlstra
On Sat, Aug 19, 2017 at 08:10:49AM +0200, Mike Galbraith wrote: > Greetings, > > While beating on cpu hotplug with the shiny new topology fixes > backported, my memory poor 8 socket box fairly quickly leaked itself to > death, 0c0e776a9b0f being the culprit.  With the below applied, box > took a

Re: [PATCH v2 2/3] pwm: pwm-samsung: fix suspend/resume support

2017-08-21 Thread Thierry Reding
On Mon, Apr 24, 2017 at 12:01:08PM +0200, Bartlomiej Zolnierkiewicz wrote: > Fix suspend/resume support: > > - add disabled_mask to struct samsung_pwm_chip to track PWM > disabled state information in pwm_samsung_{disable,enable}() > > - rename pwm_samsung_config() to __pwm_samsung_config()

[PATCH 2/3] ARM: dts: rockchip: add usb nodes for rv1108 SoCs

2017-08-21 Thread Frank Wang
This patch adds usb otg/host controllers and phys nodes for RV1108 SoCs. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rv1108.dtsi | 73 ++- 1 file changed, 72 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] ARM: sun8i: a33: add dts for Q8 tablets with different resolution

2017-08-21 Thread Maxime Ripard
On Thu, Aug 17, 2017 at 03:49:26PM +0800, Icenowy Zheng wrote: > Q8 tablets with Allwinner A33 SoC now come with two kind of LCD, either > 800x480 or 1024x600. > > In order for sun4i-drm to be able to choose correct LCD configuration, > two different device trees should be present, one for a

Re: [PATCH v4 00/10] make L2's kvm-clock stable, get rid of pvclock_gtod_copy in KVM

2017-08-21 Thread Denis Plotnikov
ping! On 02.08.2017 20:11, Paolo Bonzini wrote: On 02/08/2017 18:49, John Stultz wrote: On Wed, Aug 2, 2017 at 7:38 AM, Denis Plotnikov wrote: V4: * removed "is stable" function with vague definition of stability there is the only function which does time

[tip:efi/core] efi/arm/arm64: Add missing assignment of efi.config_table

2017-08-21 Thread tip-bot for Ard Biesheuvel
Commit-ID: 9a9de5c044be14c3337ef45174ac8baa568a0f93 Gitweb: http://git.kernel.org/tip/9a9de5c044be14c3337ef45174ac8baa568a0f93 Author: Ard Biesheuvel AuthorDate: Fri, 18 Aug 2017 20:49:38 +0100 Committer: Ingo Molnar CommitDate: Mon, 21 Aug

[tip:efi/core] efi/reboot: Fall back to original power-off method if EFI_RESET_SHUTDOWN returns

2017-08-21 Thread tip-bot for Hans de Goede
Commit-ID: b6a3780dad74f6e3d1d45eca843ae623cc3216a8 Gitweb: http://git.kernel.org/tip/b6a3780dad74f6e3d1d45eca843ae623cc3216a8 Author: Hans de Goede AuthorDate: Fri, 18 Aug 2017 20:49:39 +0100 Committer: Ingo Molnar CommitDate: Mon, 21 Aug 2017

[tip:efi/core] efi/libstub/arm64: Use hidden attribute for struct screen_info reference

2017-08-21 Thread tip-bot for Ard Biesheuvel
Commit-ID: 760b61d76da6d6a99eb245ab61abf71ca5415cea Gitweb: http://git.kernel.org/tip/760b61d76da6d6a99eb245ab61abf71ca5415cea Author: Ard Biesheuvel AuthorDate: Fri, 18 Aug 2017 20:49:35 +0100 Committer: Ingo Molnar CommitDate: Mon, 21 Aug

[tip:efi/core] efi/libstub/arm64: Force 'hidden' visibility for section markers

2017-08-21 Thread tip-bot for Ard Biesheuvel
Commit-ID: 0426a4e68f18d75515414361de9e3e1445d2644e Gitweb: http://git.kernel.org/tip/0426a4e68f18d75515414361de9e3e1445d2644e Author: Ard Biesheuvel AuthorDate: Fri, 18 Aug 2017 20:49:36 +0100 Committer: Ingo Molnar CommitDate: Mon, 21 Aug

[tip:efi/core] efi/libstub/arm64: Set -fpie when building the EFI stub

2017-08-21 Thread tip-bot for Ard Biesheuvel
Commit-ID: 91ee5b21ee026c49e4e7483de69b55b8b47042be Gitweb: http://git.kernel.org/tip/91ee5b21ee026c49e4e7483de69b55b8b47042be Author: Ard Biesheuvel AuthorDate: Fri, 18 Aug 2017 20:49:37 +0100 Committer: Ingo Molnar CommitDate: Mon, 21 Aug

Re: [PATCH 1/7 v2] media: vb2: add bidirectional flag in vb2_queue

2017-08-21 Thread Marek Szyprowski
Hi Stanimir, On 2017-08-21 11:09, Stanimir Varbanov wrote: This change is intended to give to the v4l2 drivers a choice to change the default behavior of the v4l2-core DMA mapping direction from DMA_TO/FROM_DEVICE (depending on the buffer type CAPTURE or OUTPUT) to DMA_BIDIRECTIONAL during

Re: [PATCH v2 4/7] ghes_edac: avoid multiple calls to dmi_walk()

2017-08-21 Thread Borislav Petkov
On Thu, Aug 17, 2017 at 09:08:40PM +, Kani, Toshimitsu wrote: > 1. It creates mc0 and mc1.   > I think this is because you called edac_mc_alloc() with mc_num 1. Fixed, see below. > > 2. 'ras-mc-ctl --layout' does not show all DIMMs. Yap, that's strange. $ grep .

[WARNING] stmmac: refcount_t: saturated; leaking memory

2017-08-21 Thread Corentin Labbe
Hello I got on all my stmmac boards the following warning: [12605.062840] [ cut here ] [12605.062956] WARNING: CPU: 0 PID: 15637 at /linux-next/lib/refcount.c:77 refcount_add_not_zero+0xa8/0xb8 [12605.062972] refcount_t: saturated; leaking memory. [12605.062987] Modules

[PATCH] iio staging: tsl2x7x: clean up limit checks

2017-08-21 Thread Dan Carpenter
The second part of this patch is probably the most interesting. We use "TSL2X7X_MAX_LUX_TABLE_SIZE * 3" as the limit instead of just "TSL2X7X_MAX_LUX_TABLE_SIZE". It creates a static checker warning that we are going of of bounds, but in real life we always hit the break statement on the last

[PATCH] mfd: max77693: Add muic of_compatible in mfd_cell

2017-08-21 Thread Maciej Purski
This patch adds muic of_compatible in order to use the muic device driver in device tree. Signed-off-by: Maciej Purski --- drivers/mfd/max77693.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/max77693.c b/drivers/mfd/max77693.c index

[PATCH v2] PM / AVS: rockchip-io: add io selectors and supplies for RV1108

2017-08-21 Thread David Wu
This adds the necessary data for handling io voltage domains on the RV1108. Signed-off-by: David Wu --- change in v2: - Alphabetic order for the binding string .../bindings/power/rockchip-io-domain.txt | 2 ++ drivers/power/avs/rockchip-io-domain.c

[PATCH] drm: virtio: constify drm_fb_helper_funcs

2017-08-21 Thread Arvind Yadav
drm_fb_helper_funcs are not supposed to change at runtime. All functions working with drm_fb_helper_funcs provided by work with const drm_fb_helper_funcs. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/gpu/drm/virtio/virtgpu_fb.c | 2

[PATCH] extcon: max77693: Allow MHL attach notifier

2017-08-21 Thread Maciej Purski
Without this patch extcon couldn't notify attaching MHL cable. Signed-off-by: Maciej Purski --- drivers/extcon/extcon-max77693.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index

Re: [PATCHv6 2/4] mfd: da9052: make touchscreen registration optional

2017-08-21 Thread Lee Jones
On Tue, 18 Jul 2017, Sebastian Reichel wrote: > If the touchscreen pins are used as general purpose analogue > input, the touchscreen driver should not be used. The pins > will be handled by the existing hwmon driver instead. > > Signed-off-by: Sebastian Reichel

[PATCH v2 1/9] devicetree: bindings: Add sata port phy config parameters in ahci-ceva

2017-08-21 Thread Michal Simek
From: Anurag Kumar Vulisha This patch adds device tree bindings for sata port phy parameters in the ahci-ceva.txt file. Signed-off-by: Anurag Kumar Vulisha Signed-off-by: Michal Simek --- Changes in v2: - DT fix

[PATCH v2 0/9] Ata ceva patches

2017-08-21 Thread Michal Simek
Hi, this patchset contains the latest changes which are available in Xilinx tree. Thanks, Michal Changes in v2: - DT fix naming in parameters description use pN instead of phy reported by Rob Anurag Kumar Vulisha (9): devicetree: bindings: Add sata port phy config parameters in ahci-ceva

[PATCH v2 4/9] ata: ceva: Disable Device Sleep capability

2017-08-21 Thread Michal Simek
From: Anurag Kumar Vulisha Since CEVA controller does not support Device Sleep capability, we need to clear that feature by clearing the DEVSLP bit in word78 of IDENTIFY DEVICE data. This patch does the same. Signed-off-by: Anurag Kumar Vulisha

Re: [PATCH 0/2] extend PWM framework to support PWM dead-times

2017-08-21 Thread Thierry Reding
On Mon, Aug 21, 2017 at 01:23:08PM +0300, m18063 wrote: > Hi Thierry, > > Thank you for your response. I added few comments below. > > Thank you, > Claudiu > > On 21.08.2017 11:25, Thierry Reding wrote: > > On Tue, May 09, 2017 at 03:15:51PM +0300, Claudiu Beznea wrote: > >> Hi all, > >> > >>

Re: [PATCH v4] livepatch: introduce shadow variable API

2017-08-21 Thread Petr Mladek
On Fri 2017-08-18 16:25:42, Joe Lawrence wrote: > On 08/17/2017 10:05 AM, Petr Mladek wrote: > > On Mon 2017-08-14 16:02:43, Joe Lawrence wrote: > >> [ ... snip ... ] > >> + /* Allocate a new shadow variable for use inside the lock below */ > >> + new_shadow = kzalloc(size + sizeof(*new_shadow),

Re: [PATCH v7 3/4] lib/cmdline.c Remove quotes symmetrically.

2017-08-21 Thread Michal Suchánek
On Mon, 21 Aug 2017 18:27:12 +0800 Baoquan He wrote: > On 08/17/17 at 10:14pm, Michal Suchanek wrote: > > Remove quotes from argument value only if there is qoute on both > > sides. > > > > Signed-off-by: Michal Suchanek > > Sounds reasonable. Just for

Re: [PATCH 1/7 v2] media: vb2: add bidirectional flag in vb2_queue

2017-08-21 Thread Stanimir Varbanov
Hi, On 08/21/2017 01:21 PM, Hans Verkuil wrote: > On 08/21/2017 11:29 AM, Marek Szyprowski wrote: >> Hi Stanimir, >> >> On 2017-08-21 11:09, Stanimir Varbanov wrote: >>> This change is intended to give to the v4l2 drivers a choice to >>> change the default behavior of the v4l2-core DMA mapping

Re: [RFC 1/2] misc: Add vboxguest driver for Virtual Box Guest integration

2017-08-21 Thread Hans de Goede
Hi, On 14-08-17 14:15, Hans de Goede wrote: Hi, On 14-08-17 11:30, Arnd Bergmann wrote: On Sat, Aug 12, 2017 at 11:56 PM, Hans de Goede wrote: On 11-08-17 23:23, Arnd Bergmann wrote: On Fri, Aug 11, 2017 at 3:23 PM, Hans de Goede wrote: Most of

[PATCH 3/6] hid: make device_attribute const

2017-08-21 Thread Bhumika Goyal
Make this const as it is only passed as an argument to the function device_create_file and device_remove_file and the corresponding arguments are of type const. Done using Coccinelle Signed-off-by: Bhumika Goyal --- drivers/hid/hid-core.c | 2 +- 1 file changed, 1

[PATCH 0/6] drivers: make device_attribute const

2017-08-21 Thread Bhumika Goyal
Make these const. Done using Coccinelle. @match disable optional_qualifier@ identifier s; @@ static struct device_attribute s = {...}; @ref@ position p; identifier match.s; @@ s@p @good1@ identifier match.s; expression e1; position ref.p; @@ device_remove_file(e1,@p,...) @good2@ identifier

[PATCH 1/6] ACPI: make device_attribute const

2017-08-21 Thread Bhumika Goyal
Make these const as they are only passed as an argument to the function device_create_file and device_remove_file and the corresponding arguments are of type const. Done using Coccinelle Signed-off-by: Bhumika Goyal --- drivers/acpi/battery.c | 2 +- drivers/acpi/sbs.c |

Re: [PATCH v2] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver

2017-08-21 Thread Marc Zyngier
On 21/08/17 11:54, Masahiro Yamada wrote: >>> + /* parent is GIC */ >>> + parent_fwspec.fwnode = domain->parent->fwnode; >>> + parent_fwspec.param_count = 3; >>> + parent_fwspec.param[0] = 0; /* SPI */ >>> + parent_fwspec.param[1] = hwirq; >>> +

[PATCH V3] dmaengine: qcom-bam: Process multiple pending descriptors

2017-08-21 Thread Sricharan R
The bam dmaengine has a circular FIFO to which we add hw descriptors that describes the transaction. The FIFO has space for about 4096 hw descriptors. Currently we add one descriptor and wait for it to complete with interrupt and then add the next pending descriptor. In this way, the FIFO is

Re: [linux-next][bisected c64e09ce] sysctl command hung indefinitely

2017-08-21 Thread Stephen Rothwell
Hi Michal, On Mon, 21 Aug 2017 09:50:01 +0200 Michal Hocko wrote: > > commit 69885605ee3ba681deb54021e3df645f46589ba1 > Author: Michal Hocko > Date: Mon Aug 21 09:46:04 2017 +0200 > > mmotm: mm-page_alloc-rip-out-zonelist_order_zone-fix > >

Re: [PATCH v3 2/4] mmc: sdhci-pxav2: switch to managed clk and sdhci_pltfm_unregister()

2017-08-21 Thread Adrian Hunter
On 15/08/17 18:45, Masahiro Yamada wrote: > The difference between sdhci_pxav2_remove() and sdhci_pltfm_unregister() > is clk_put(). It will go away by using the managed resource clk, then > sdhci_pltfm_unregister() can be reused. > > Also, rename the jump labels to say what the goto does.

Re: [PATCH 0/3] Fix y2038 issues for security/keys subsystem

2017-08-21 Thread Baolin Wang
Hi David and James, On 9 August 2017 at 16:28, David Howells wrote: > The rxrpc patch isn't part of the security/keys subsystem. I'll push it > to the network tree. The other two I'll push to James. Could you apply this patch serials if there are no other comments?

[PATCH] i2c: busses: make i2c_adapter_quirks const

2017-08-21 Thread Bhumika Goyal
Make these const as they are only stored as a reference in the quirks field of an i2c_adapter structure, which is const. Done using Coccinelle: @match disable optional_qualifier@ identifier s; @@ static struct i2c_adapter_quirks s = {...}; @ref@ position p; identifier match.s; @@ s@p @good1@

Re: [PATCH 0/6] drivers: make device_attribute const

2017-08-21 Thread Rafael J. Wysocki
On Mon, Aug 21, 2017 at 1:43 PM, Bhumika Goyal wrote: > Make these const. Done using Coccinelle. > > @match disable optional_qualifier@ > identifier s; > @@ > static struct device_attribute s = {...}; > > @ref@ > position p; > identifier match.s; > @@ > s@p > > @good1@ >

RE: [PATCH 1/1] Revert "mfd: da9061: Fix to remove BBAT_CONT register from chip model"

2017-08-21 Thread Steve Twiss
On 21 August 2017 08:50, Lee Jones wrote: Hi Lee, > To: Steve Twiss > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 1/1] Revert "mfd: da9061: Fix to remove BBAT_CONT > register from chip model" > > On Tue, 15 Aug 2017, Lee Jones wrote: > > > This

Re: [PATCH] staging: lustre: fix structure size for ARM OABI

2017-08-21 Thread Cihangir Akturk
On Sun, Aug 20, 2017 at 03:52:26AM +0100, James Simmons wrote: > > > On Aug 17, 2017, at 10:26, Greg KH wrote: > > > > > > On Wed, Aug 16, 2017 at 05:44:15PM +0300, Cihangir Akturk wrote: > > >> When building the kernel for the ARM architecture without setting > > >>

[PATCH 1/5] btrfs: Use common error handling code in tree_mod_log_eb_copy()

2017-08-21 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 21 Aug 2017 09:36:48 +0200 Add a jump target so that a bit of exception handling can be better reused in this function. Signed-off-by: Markus Elfring --- fs/btrfs/ctree.c | 14 ++ 1 file

[PATCH 2/5] btrfs: Use common error handling code in __btrfs_free_extent()

2017-08-21 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 21 Aug 2017 10:03:00 +0200 Add a jump target so that a bit of exception handling can be better reused at the end of this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring

[PATCH] drivers: tty: Fix improper spaces and braces

2017-08-21 Thread Himanshu Jha
Fixes improper spacing by adding/subtracting necessary spaces around expression and keywords, and removing unnecessary braces. Signed-off-by: Himanshu Jha --- drivers/tty/amiserial.c | 107 +++- 1 file changed, 51

Re: [PATCH 0/6] drivers: make device_attribute const

2017-08-21 Thread Bhumika Goyal
On Mon, Aug 21, 2017 at 5:13 PM, Bhumika Goyal wrote: > Make these const. Done using Coccinelle. > > @match disable optional_qualifier@ > identifier s; > @@ > static struct device_attribute s = {...}; > > @ref@ > position p; > identifier match.s; > @@ > s@p > > @good1@ >

Re: [PATCH][RFC v4] PM / Hibernate: Feed the wathdog when creating snapshot

2017-08-21 Thread Michal Hocko
On Sat 19-08-17 18:21:26, Chen Yu wrote: > There is a problem that when counting the pages for creating > the hibernation snapshot will take significant amount of > time, especially on system with large memory. Since the counting > job is performed with irq disabled, this might lead to NMI lockup.

Re: [PATCH v2 19/20] x86/mm: Add speculative pagefault handling

2017-08-21 Thread Anshuman Khandual
On 08/18/2017 03:35 AM, Laurent Dufour wrote: > From: Peter Zijlstra > > Try a speculative fault before acquiring mmap_sem, if it returns with > VM_FAULT_RETRY continue with the mmap_sem acquisition and do the > traditional fault. > > Signed-off-by: Peter Zijlstra (Intel)

Re: [PATCH v3 1/6] pwm: kconfig: modify mediatek information

2017-08-21 Thread Thierry Reding
On Fri, Jun 30, 2017 at 02:05:16PM +0800, Zhi Mao wrote: > modify mediatek information > > Signed-off-by: Zhi Mao > --- > drivers/pwm/Kconfig |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to for-4.14/drivers, with a slightly modified subject and

[PATCH 0/5] mmc: Add OMAP SDHCI driver

2017-08-21 Thread Kishon Vijay Abraham I
This is the first step in deprecating omap_hsmmc driver completely and moving to sdhci-omap driver which uses the sdhci library. This series adds a new SDHCI quirk to indicate MMC_RSP_136 has CRC (since sdhci in OMAP has CRC) Apart from the quirk, sdhci-omap has it's own callbacks to set_clock

[PATCH 5/5] MAINTAINERS: Add TI OMAP SDHCI Maintainer

2017-08-21 Thread Kishon Vijay Abraham I
Add Maintainer for the TI OMAP SDHCI driver. Signed-off-by: Kishon Vijay Abraham I --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 44cb004c765d..c9871351c16f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11777,6 +11777,12

[PATCH 2/5] mmc: sdhci: Add quirk to indicate MMC_RSP_136 has CRC

2017-08-21 Thread Kishon Vijay Abraham I
TI's implementation of sdhci controller used in DRA7 SoC's has CRC in responses with length 136 bits. Add quirk to indicate the controller has CRC in MMC_RSP_136. If this quirk is set sdhci library shouldn't shift the response present in SDHCI_RESPONSE register. Signed-off-by: Kishon Vijay

[PATCH 1/5] mmc: sdhci: Tidy reading 136-bit responses

2017-08-21 Thread Kishon Vijay Abraham I
From: Adrian Hunter Read each register only once and move the code to a separate function so that it is not jammed against the 80 column margin. Signed-off-by: Adrian Hunter Signed-off-by: Kishon Vijay Abraham I ---

Re: [linux-next][bisected c64e09ce] sysctl command hung indefinitely

2017-08-21 Thread Michal Hocko
On Sat 19-08-17 15:49:31, Abdul Haleem wrote: > Hi Michal, > > 'sysctl -a' command never completes on my PowerPC machine with latest > next kernel (As of next-20170811) > > Machine Type : Power8 bare-metal > Kernel version : 4.13.0-rc4-next-20170817 > gcc version : 4.8.5 > > > command output >

Re: [PATCH v4] mfd: intel-lpss: Add missing PCI ID for Intel Sunrise Point LPSS devices

2017-08-21 Thread Lee Jones
On Sat, 19 Aug 2017, Florian R. Hölzlwimmer wrote: > This patch adds a missing PCI ID of the Intel Sunrise Point chipset to the > Intel LPSS driver. > It fixes a bug causing the touchpad of the Lenovo Yoga 720-15 not to be > recognized. > See also bug 1700657 on bugs.launchpad.net. > > Many

Re: [PATCH v1 4/4] KVM: MMU: Expose the LA57 feature to VM.

2017-08-21 Thread Yu Zhang
On 8/18/2017 8:50 PM, Paolo Bonzini wrote: On 18/08/2017 10:28, Yu Zhang wrote: On 8/17/2017 10:29 PM, Paolo Bonzini wrote: On 17/08/2017 13:53, Yu Zhang wrote: On 8/17/2017 7:57 PM, Paolo Bonzini wrote: On 12/08/2017 15:35, Yu Zhang wrote: index a98b88a..50107ae 100644 ---

Re: [PATCH 1/1] Revert "mfd: da9061: Fix to remove BBAT_CONT register from chip model"

2017-08-21 Thread Lee Jones
On Tue, 15 Aug 2017, Lee Jones wrote: > This patch was applied to the MFD twice, causing unwanted behavour. > > This reverts commit b77eb79acca3203883e8d8dbc7f2b842def1bff8. > > Fixes: b77eb79acca3 ("mfd: da9061: Fix to remove BBAT_CONT register from chip > model") > Reported-by: Steve Twiss

[PATCH v2 1/4] clk: rockchip: add rv1108 ACLK_GAMC and PCLK_GMAC ID

2017-08-21 Thread Elaine Zhang
This patch exports gmac aclk and pclk for dts reference. Signed-off-by: Elaine Zhang --- include/dt-bindings/clock/rv1108-cru.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/clock/rv1108-cru.h b/include/dt-bindings/clock/rv1108-cru.h index

[PATCH v2 2/4] clk: rockchip: rv1108: add ACLK_GMAC and PCLK_GMAC clk id

2017-08-21 Thread Elaine Zhang
Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rv1108.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/rockchip/clk-rv1108.c b/drivers/clk/rockchip/clk-rv1108.c index d1065dd9f442..0e441ec21e90 100644 --- a/drivers/clk/rockchip/clk-rv1108.c

[PATCH v2 4/4] clk: rockchip: rv1108: fix up the clk_mac sel register description

2017-08-21 Thread Elaine Zhang
cru_sel24_con[8] rmii_extclk_sel clock source select control register 1'b0: from internal PLL 1'b1: from external IO Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rv1108.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: events: possible deadlock in __perf_event_task_sched_out

2017-08-21 Thread Shubham Bansal
> This is a WARN, printk is a pig. So, its not a bug?

[PATCH v2 1/2] arm64: dts: rockchip: add rk3328 pdm node

2017-08-21 Thread Sugar Zhang
This patch add pdm controller device node for rk3328. Signed-off-by: Sugar Zhang --- Changes in v2: - separate pinctrl pins remove unused fsync clk, it's debug pins arch/arm64/boot/dts/rockchip/rk3328.dtsi | 77 1 file changed,

[PATCH v2 2/2] ASoC: rockchip: separate pinctrl pins from each other

2017-08-21 Thread Sugar Zhang
pdm sdi0~3 pins are optional, for example, if 4ch required, only sdi0~1 need to be enabled. Signed-off-by: Sugar Zhang --- Changes in v2: None Documentation/devicetree/bindings/sound/rockchip,pdm.txt | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-)

[PATCH v2 0/2] Patches to add support pdm controller for rk3328

2017-08-21 Thread Sugar Zhang
These patches to add support pdm for rk3328 socs. Changes in v2: - separate pinctrl pins remove unused fsync clk, it's debug pins Sugar Zhang (2): arm64: dts: rockchip: add rk3328 pdm node ASoC: rockchip: separate pinctrl pins from each other

[PATCH 3/3] ARM: dts: rockchip: enable usb for rv1108-evb

2017-08-21 Thread Frank Wang
Rockchip's rv1108-evb board has one usb otg controller and one usb host controller, each usb controller connect with one usb-phy port through UTMI+ interface. This patch enables them to support usb on rv1108-evb board. Signed-off-by: Frank Wang ---

<    1   2   3   4   5   6   7   8   9   10   >