Re: [Cluster-devel] [PATCH 8/8] Revert "ext4: fix wrong gfp type under transaction"

2017-01-28 Thread Christoph Hellwig
On Fri, Jan 27, 2017 at 11:40:42AM -0500, Theodore Ts'o wrote: > The reason why I'm nervous is that nojournal mode is not a common > configuration, and "wait until production systems start failing" is > not a strategy that I or many SRE-types find comforting. What does SRE stand for?

Re: [PATCH v5 06/12] mmc: sdhci-xenon: Add Marvell Xenon SDHC core functionality

2017-01-28 Thread Adrian Hunter
On 27/01/2017 5:12 p.m., Ulf Hansson wrote: On 26 January 2017 at 13:39, Adrian Hunter wrote: On 26/01/17 12:50, Ulf Hansson wrote: On 11 January 2017 at 18:19, Gregory CLEMENT wrote: + priv->init_card_type = MMC_TYPE_MMC; + mmc->caps |= MMC_CAP_NO

Re: [PATCH] doc: convert UIO howto from docbook to sphinx

2017-01-28 Thread Alexander Dahl
Hei hei, On Sat, Jan 28, 2017 at 11:13:20AM +0800, kbuild test robot wrote: > All errors (new ones prefixed by >>): > > >> make[2]: *** No rule to make target 'Documentation/DocBook/uio-howto.xml', > >> needed by 'Documentation/DocBook/uio-howto.aux.xml'. >make[2]: Target 'htmldocs' not rema

[PATCH] staging: rtl8188eu: checkpatch fixes: removed not necessary braces

2017-01-28 Thread Martin Karamihov
checkpatch fixes: removes not necessary braces

[PATCH] staging: rtl8188eu: checkpatch fixes: removed not necessary braces {}

2017-01-28 Thread Martin Karamihov
Signed-off-by: Martin Karamihov --- drivers/staging/rtl8188eu/hal/bb_cfg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/bb_cfg.c b/drivers/staging/rtl8188eu/hal/bb_cfg.c index 134fa6c595a8..26e0ef224299 100644 --- a/drivers/staging/rtl8188eu

Re: [PATCH] i2c: piix4: Fix request_region size

2017-01-28 Thread Jean Delvare
Hi Ricardo, On ven., 2017-01-27 at 15:59 +0100, Ricardo Ribalda Delgado wrote: > Since '701dc207bf55 ("i2c: piix4: Avoid race conditions with IMC")' > we > are using the SMBSLVCNT register at offset 0x8. We need to request > it. > > Fixes: 701dc207bf55 ("i2c: piix4: Avoid race conditions with IMC

Re: [Cluster-devel] [PATCH 8/8] Revert "ext4: fix wrong gfp type under transaction"

2017-01-28 Thread David Lang
On Fri, 27 Jan 2017, Christoph Hellwig wrote: On Fri, Jan 27, 2017 at 11:40:42AM -0500, Theodore Ts'o wrote: The reason why I'm nervous is that nojournal mode is not a common configuration, and "wait until production systems start failing" is not a strategy that I or many SRE-types find com

Re: [REGRESSION] EFI mixed mode patch triggers boot failure

2017-01-28 Thread Laura Abbott
On 01/27/2017 11:34 PM, Matt Fleming wrote: On Mon, 24 Oct, at 12:54:11PM, Laura Abbott wrote: Was out for a few days, reporter says the below patch does not work. There was some confusion with secure boot so I've asked them to re-test with efi=old_map and secure boot off. FYI, you may want t

Re: [PATCH] x86: Improve documentation for low-level device I/O functions

2017-01-28 Thread Ingo Molnar
* Jonathan Corbet wrote: > Add kerneldoc comments for memcpy_{to,from}io() and memset_io(). The > existing documentation for ioremap() was distant from the definition, > causing kernel-doc to miss it; move it appropriately. > > Signed-off-by: Jonathan Corbet > --- > arch/x86/include/asm/io.h

Re: [PATCH] staging: rtl8188eu: checkpatch fixes: removed not necessary braces

2017-01-28 Thread Greg KH
On Sat, Jan 28, 2017 at 10:34:35AM +0200, Martin Karamihov wrote: > checkpatch fixes: removes not necessary braces > ___ > devel mailing list > de...@linuxdriverproject.org > http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel I do

Re: [PATCH] staging: rtl8188eu: checkpatch fixes: removed not necessary braces {}

2017-01-28 Thread Greg KH
On Sat, Jan 28, 2017 at 10:34:36AM +0200, Martin Karamihov wrote: > Signed-off-by: Martin Karamihov > --- > drivers/staging/rtl8188eu/hal/bb_cfg.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) I can't take a patch with no changelog text :(

Re: [PATCH] staging: rtl8188eu: checkpatch fixes: removed not necessary braces {}

2017-01-28 Thread Greg KH
On Sat, Jan 28, 2017 at 10:49:10AM +0200, Martin Karamihov wrote: > Signed-off-by: Martin Karamihov > --- > checkpatch fixes: remove not necessary braces {sigh} Please take some time, and go read Documentation/SubmittingPatches. Then wait a day, review the patches that other people send out, and

[PATCH 0/4] DCB netlink: Fine-tuning for some function implementations

2017-01-28 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 28 Jan 2017 10:28:19 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (4): Use kmalloc_array() in dcbnl_build_peer_app() Adjust four function calls together with a variable assignment Adjust five checks

[PATCH 1/4] dcbnl: Use kmalloc_array() in dcbnl_build_peer_app()

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

[PATCH 3/4] dcbnl: Adjust five checks for null pointers

2017-01-28 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 28 Jan 2017 09:56:36 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script "checkpatch.pl" pointed information out like the following. Comparison to NULL could be written !… Thus fix the affected source code pl

[PATCH 2/4] dcbnl: Adjust four function calls together with a variable assignment

2017-01-28 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 28 Jan 2017 09:19:58 +0100 The script "checkpatch.pl" pointed information out like the following. ERROR: do not use assignment in if condition Thus fix the affected source code places. Signed-off-by: Markus Elfring --- net/dcb/dcbnl.c | 12 1 file

[PATCH 4/4] dcbnl: Add some spaces for better code readability

2017-01-28 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 28 Jan 2017 10:15:59 +0100 Use space characters at some source code places according to the Linux coding style convention. Signed-off-by: Markus Elfring --- net/dcb/dcbnl.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/net/dcb/

[PATCH v2] doc: convert UIO howto from docbook to sphinx

2017-01-28 Thread Alexander Dahl
Converted with tmplcvt. Only some tiny things needed manual fixing. Signed-off-by: Alexander Dahl Cc: Hans-Jürgen Koch Cc: Greg Kroah-Hartman --- v1 -> v2: * removed uio-howto.xml from docbook makefile * rebased on v4.10-rc5 Signed-off-by: Alexander Dahl --- Documentation/DocBook/Makefi

[GIT PULL] arm64 fixes for 4.10-rc6

2017-01-28 Thread Catalin Marinas
Hi Linus, Please pull the arm64 fix for 4.10 below. Thanks. The following changes since commit 7a308bb3016f57e5be11a677d15b821536419d36: Linux 4.10-rc5 (2017-01-22 12:54:15 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64-f

Re: [PATCH v3 fpga 4/4] fpga zynq: Use the scatterlist interface

2017-01-28 Thread Moritz Fischer
Hi Jason, On Fri, Jan 6, 2017 at 10:14 PM, Jason Gunthorpe wrote: > This allows the driver to avoid a high order coherent DMA allocation > and memory copy. With this patch it can DMA directly from the kernel > pages that the bitfile is stored in. > > Since this is now a gather DMA operation the d

Re: [PATCH v8 09/12] dt-bindings: mux-adg792a: document devicetree bindings for ADG792A/G mux

2017-01-28 Thread Peter Meerwald-Stadler
On Fri, 27 Jan 2017, Peter Rosin wrote: comments below, picking on typos > On 2017-01-27 20:50, Rob Herring wrote: > > On Wed, Jan 18, 2017 at 04:57:12PM +0100, Peter Rosin wrote: > >> Analog Devices ADG792A/G is a triple 4:1 mux. > >> > >> Acked-by: Jonathan Cameron > >> Signed-off-by: Peter Ro

Re: [PATCH v3 fpga 3/4] fpga: Add scatterlist based programming

2017-01-28 Thread Moritz Fischer
Hi Jason, On Fri, Jan 27, 2017 at 10:58 PM, Jason Gunthorpe wrote: > On Mon, Jan 09, 2017 at 04:13:38PM -0600, Alan Tull wrote: >> On Mon, Jan 9, 2017 at 10:12 AM, Jason Gunthorpe >> wrote: >> > On Mon, Jan 09, 2017 at 10:04:36AM -0600, Alan Tull wrote: >> > >> >> > diff --git a/drivers/fpga/fpg

[PATCH] staging: rtl8188eu: checkpatch fixes: removed not necessary braces {}

2017-01-28 Thread Martin Karamihov
Signed-off-by: Martin Karamihov --- checkpatch fixes: remove not necessary braces drivers/staging/rtl8188eu/hal/bb_cfg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/bb_cfg.c b/drivers/staging/rtl8188eu/hal/bb_cfg.c index 134fa6c595a8..26e0

[PATCH] Staging: speakup: speakup_bns: fix comment

2017-01-28 Thread Vitali Liaukovich
Fixed comment formatting issue. Signed-off-by: Vitali Liaukovich --- drivers/staging/speakup/speakup_bns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/speakup/speakup_bns.c b/drivers/staging/speakup/speakup_bns.c index 570f0c2..e49889f 100644 --- a/driver

INFO

2017-01-28 Thread THANDI ROBERT
Hello my name is Ms. Thandi Robert, from Ivory Coast. My parents were brutally mulled by the former president Laurent Gbagbo because of political crisis as the only survival of my family. I got your email while searching for a reliable personality in my private study on the internet. I am in n

Re: [PATCH] i2c: piix4: Fix request_region size

2017-01-28 Thread Wolfram Sang
> >  /* count for request_region */ > > -#define SMBIOSIZE 8 > > +#define SMBIOSIZE 9 > > > > Are you certain that all supported devices have this extra register? Isn't it better to have a potentially unused register mapped than a potentially used register unmapped? signature.asc Descripti

Re: [PATCH] i2c: piix4: Fix request_region size

2017-01-28 Thread Jean Delvare
Hi Wolfram, On Sat, 28 Jan 2017 12:00:21 +0100, Wolfram Sang wrote: > > > >  /* count for request_region */ > > > -#define SMBIOSIZE8 > > > +#define SMBIOSIZE9 > > > > Are you certain that all supported devices have this extra register? > > Isn't it better to have a potentially

[PATCH] prctl: implement PR_GET_ENDIAN for all architectures

2017-01-28 Thread Helge Deller
The prctl(PR_GET_ENDIAN) syscall was added to Kernel 2.6.18, but implemented for PowerPC only. This trivial patch adds support for this syscall for all other architectures. Signed-off-by: Helge Deller diff --git a/kernel/sys.c b/kernel/sys.c index 842914e..5818e5e 100644 --- a/kernel/sys.c +++ b

Re: [PATCH 1/2] ACPI: processor_perflib: Simplify code and stop using CPUFREQ_START

2017-01-28 Thread Rafael J. Wysocki
On Thursday, January 05, 2017 11:34:30 AM Viresh Kumar wrote: > acpi_processor_ppc_notifier() can live without using CPUFREQ_START > (which is gonna be removed soon). That should be "acpi_processor_ppc_notifier() can live without using CPUFREQ_START ..., because X". X is obviously missing. > Si

Re: [PATCH v8 09/12] dt-bindings: mux-adg792a: document devicetree bindings for ADG792A/G mux

2017-01-28 Thread Jonathan Cameron
On 27/01/17 22:09, Peter Rosin wrote: > On 2017-01-27 20:50, Rob Herring wrote: >> On Wed, Jan 18, 2017 at 04:57:12PM +0100, Peter Rosin wrote: >>> Analog Devices ADG792A/G is a triple 4:1 mux. >>> >>> Acked-by: Jonathan Cameron >>> Signed-off-by: Peter Rosin >>> --- >>> .../devicetree/bindings/

Re: [PATCH] cfg80211 debugfs: Cleanup some checkpatch issues

2017-01-28 Thread Dmitriy Pichugin
On Fri, Jan 27, 2017 at 11:48:35AM -0800, Joe Perches wrote: > On Fri, 2017-01-27 at 22:26 +0300, Pichugin Dmitry wrote: > > This fixes the checkpatch.pl warnings: > > * Macros should not use a trailing semicolon. > > * Spaces required around that '='. > > * Symbolic permissions 'S_IRUGO' are not p

Re: [PATCHv2 2/2] iio: cros_ec_light_prox: add ChromeOS EC Light and Proximity Sensors

2017-01-28 Thread Jonathan Cameron
On 27/01/17 10:42, Enric Balletbo Serra wrote: > Hi, > > 2017-01-23 19:18 GMT+01:00 Gwendal Grignou : >> On Fri, Jan 20, 2017 at 6:23 AM, Enric Balletbo Serra >> wrote: >>> Hi Jonathan, >>> >>> Thanks for the review, I am preparing v3. Some answers to your questions >>> below. >>> >>> 2017-01-14

Re: [PATCH 08/37] cputime: Convert task/group cputime to nsecs

2017-01-28 Thread Stanislaw Gruszka
Hi Frederic and sorry for late comment. On Sun, Jan 22, 2017 at 07:19:44PM +0100, Frederic Weisbecker wrote: > Now that most cputime readers use the transition API which return the > task cputime in old style cputime_t, we can safely store the cputime in > nsecs. This will eventually make cputime

Re: [PATCHv2 2/2] iio: cros_ec_light_prox: add ChromeOS EC Light and Proximity Sensors

2017-01-28 Thread Jonathan Cameron
On 23/01/17 18:18, Gwendal Grignou wrote: > On Fri, Jan 20, 2017 at 6:23 AM, Enric Balletbo Serra > wrote: >> Hi Jonathan, >> >> Thanks for the review, I am preparing v3. Some answers to your questions >> below. >> >> 2017-01-14 14:06 GMT+01:00 Jonathan Cameron : >>> On 11/01/17 15:51, Enric Ball

[PATCH v15 0/5] generic TEE subsystem

2017-01-28 Thread Jens Wiklander
Hi, This patch set introduces a generic TEE subsystem. These patches are used on HiKey in AOSP. It's currently supported by roughly 20 platforms (https://github.com/OP-TEE/optee_os#3-platforms-supported), to name a few, Renesas RCAR H3, Sequitur Labs CoreTEE, Wind River VxWorks etc. The TEE subsy

[PATCH v15 4/5] Documentation: tee subsystem and op-tee driver

2017-01-28 Thread Jens Wiklander
Acked-by: Andreas Dannenberg Signed-off-by: Jens Wiklander --- Documentation/00-INDEX | 2 + Documentation/tee.txt | 118 + MAINTAINERS| 1 + 3 files changed, 121 insertions(+) create mode 100644 Documentation/tee.txt diff --git

[PATCH v15 2/5] tee: generic TEE subsystem

2017-01-28 Thread Jens Wiklander
Initial patch for generic TEE subsystem. This subsystem provides: * Registration/un-registration of TEE drivers. * Shared memory between normal world and secure world. * Ioctl interface for interaction with user space. * Sysfs implementation_id of TEE driver A TEE (Trusted Execution Environment) d

[PATCH v15 1/5] dt/bindings: add bindings for optee

2017-01-28 Thread Jens Wiklander
Introduces linaro prefix and adds bindings for ARM TrustZone based OP-TEE implementation. Acked-by: Rob Herring Signed-off-by: Jens Wiklander --- .../bindings/arm/firmware/linaro,optee-tz.txt | 31 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 + 2 files ch

[PATCH v2 03/10] clk: sunxi-ng: mux: Get closest parent rate possible with CLK_SET_RATE_PARENT

2017-01-28 Thread Chen-Yu Tsai
If the CLK_SET_RATE_PARENT flag is set, we want to try getting the closest parent rate. Signed-off-by: Chen-Yu Tsai --- drivers/clk/sunxi-ng/ccu_mux.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/clk/sunxi-ng/ccu_mux.c b/drivers/clk/sunxi-ng/ccu_mux.c

[PATCH v2 04/10] clk: sunxi-ng: Support separately grouped PLL lock status register

2017-01-28 Thread Chen-Yu Tsai
On the Allwinner A80 SoC, the PLL lock status indicators are grouped together in a separate register, as opposed to being scattered in each PLL's configuration register. Add a flag to support this. Signed-off-by: Chen-Yu Tsai --- drivers/clk/sunxi-ng/ccu_common.c | 9 +++-- drivers/clk/sunx

[PATCH v2 01/10] clk: sunxi-ng: mux: Fix determine_rate for mux clocks with pre-dividers

2017-01-28 Thread Chen-Yu Tsai
The determine_rate helper used ccu_mux_helper_adjust_parent_for_prediv() to adjust the parent_rate to account for pre-dividers, but then passed the pristine parent clock rate from clk_hw_get_rate() to the round() callback, thereby ignoring the pre-divider adjustment. In addition, it was saving the

[PATCH v2 02/10] clk: sunxi-ng: mux: honor CLK_SET_RATE_NO_REPARENT flag

2017-01-28 Thread Chen-Yu Tsai
This patch adds support for the CLK_SET_RATE_NO_REPARENT flag to the mux determine_rate helper, based on examples from clk-composite and clk-mux. Signed-off-by: Chen-Yu Tsai --- drivers/clk/sunxi-ng/ccu_mux.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/clk/sunxi-

[PATCH v2 00/10] clk: sunxi-ng: Add support for A80 CCUs

2017-01-28 Thread Chen-Yu Tsai
Hi everyone, This is v2 of my A80 CCU clk patches. Changes since v1: - Use pre-divider adjusted parent rate for rounding. - Use else statement for the case where the PLL lock status bit is in same register. - Add a more detailed description of the main CCU and DE CCU to the commit

[PATCH v15 5/5] arm64: dt: hikey: Add optee node

2017-01-28 Thread Jens Wiklander
From: Jerome Forissier Acked-by: Wei Xu Signed-off-by: Jerome Forissier Signed-off-by: Jens Wiklander --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/h

[PATCH v2 05/10] clk: sunxi-ng: Add A80 CCU

2017-01-28 Thread Chen-Yu Tsai
Add support for the main clock unit found in the A80. Some clocks were not documented in the released user manual, but were found in the official kernel from Allwinner. These include controls for the I2S, SPDIF, SATA, and eDP blocks. Note that on the A80, some subsystems have separate clock contro

[PATCH v2 09/10] ARM: dts: sunxi: Remove no longer used pinctrl/sun4i-a10.h header

2017-01-28 Thread Chen-Yu Tsai
All dts files for the sunxi platform have been switched to the generic pinconf bindings. As a result, the sunxi specific pinctrl macros are no longer used. Remove the #include entry with the following command: sed -i -e '/pinctrl\/sun4i-a10.h/D' arch/arm/boot/dts/sun?i*.* Signed-off-by: Chen

[PATCH v2 08/10] ARM: dts: sun8i-a23-q8-tablet: Drop pinmux setting for codec PA gpio

2017-01-28 Thread Chen-Yu Tsai
The old sunxi specific pinctrl bindings are deprecated, in favor of the new generic pinconf bindings. Also, we are moving towards handling GPIO pinmux settings that don't require extra bias or drive strength settings to use the GPIO bindings only. This patch removes the last instance of the sunxi

[PATCH v2 10/10] ARM: dts: sun9i: Switch to new clock bindings

2017-01-28 Thread Chen-Yu Tsai
Now that we have a full clock driver for sun9i, switch to it. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun9i-a80.dtsi | 404 +++ 1 file changed, 107 insertions(+), 297 deletions(-) diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun

[PATCH v2 07/10] clk: sunxi-ng: Add A80 Display Engine CCU

2017-01-28 Thread Chen-Yu Tsai
With the A80 SoC, Allwinner grouped and moved some subsystem specific clock controls to a separate address space, and possibly separate hardware block. One such subsystem is the display engine. The main clock control unit now only has 1 set of bus gate, dram gate, module clock, and reset control f

[PATCH v2 06/10] clk: sunxi-ng: Add A80 USB CCU

2017-01-28 Thread Chen-Yu Tsai
Add support for the USB clock controls found on the A80. Signed-off-by: Chen-Yu Tsai Acked-by: Rob Herring --- .../devicetree/bindings/clock/sun9i-usb.txt| 24 drivers/clk/sunxi-ng/Makefile | 1 + drivers/clk/sunxi-ng/ccu-sun9i-a80-usb.c | 144

Re: [PATCH] iio: stx104: Utilize devm_ functions in driver probe callback

2017-01-28 Thread Jonathan Cameron
On 24/01/17 20:26, William Breathitt Gray wrote: > The devm_ resource manager functions allow memory to be automatically > released when a device is unbound. This patch takes advantage of the > resource manager functions and replaces the gpiochip_add_data call and > iio_device_register call with th

Re: [PATCH v5 0/13] arm64: allwinner: a64: Enable MMC support

2017-01-28 Thread Chen-Yu Tsai
On Sat, Jan 28, 2017 at 5:38 AM, Maxime Ripard wrote: > Hi, > > Here is a new attempt at getting the MMC controllers running, following the > work done by Andre. > > This has been tested on a board with one SDIO device (a Marvell WiFi chip) > and a Kingston eMMC with 1.8V IOs. > > For SDIO, the HS

Re: [PATCH 2/7] iio: adc: stm32: Enable use of stm32 timer triggers

2017-01-28 Thread Jonathan Cameron
On 24/01/17 14:37, Fabrice Gasnier wrote: > On 01/22/2017 01:55 PM, Jonathan Cameron wrote: >> On 19/01/17 13:34, Fabrice Gasnier wrote: >>> STM32 ADC has external timer trigger sources. Use stm32 timer triggers >>> API (e.g. is_stm32_timer_trigger()) with local ADC lookup table to >>> validate a t

[PATCH v15 3/5] tee: add OP-TEE driver

2017-01-28 Thread Jens Wiklander
Adds a OP-TEE driver which also can be compiled as a loadable module. * Targets ARM and ARM64 * Supports using reserved memory from OP-TEE as shared memory * Probes OP-TEE version using SMCs * Accepts requests on privileged and unprivileged device * Uses OPTEE message protocol version 2 to communi

Re: [linux-sunxi] [PATCH v2 7/9] dmaengine: sun6i: allow build on ARM64 platforms (sun50i)

2017-01-28 Thread Chen-Yu Tsai
On Thu, Jan 26, 2017 at 11:48 PM, Icenowy Zheng wrote: > As 64-bot Allwinner H5 SoC has the same DMA engine with H3, the DMA ^^^ typo Otherwise, Acked-by: Chen-Yu Tsai > driver should be allowed to be built for ARM64, in order to make it work on > H5. > > Signed-off-by: Icenowy Zheng

Re: [PATCH] IB/cma: Fix reversed test

2017-01-28 Thread Majd Dibbiny
> On Jan 28, 2017, at 2:47 PM, Majd Dibbiny wrote: > Please ignore the previous email. It was part of an internal discussion.. > We have message sniffer that checks for unwanted prints after each test.. > > Sent from my iPhone > >> On Jan 28, 2017, at 8:59 AM, Dan Carpenter wrote: >> >> On F

Re: [PATCH] IB/cma: Fix reversed test

2017-01-28 Thread Majd Dibbiny
We have message sniffer that checks for unwanted prints after each test.. Sent from my iPhone > On Jan 28, 2017, at 8:59 AM, Dan Carpenter wrote: > > On Fri, Jan 27, 2017 at 07:05:52PM -0500, Doug Ledford wrote: >>> Do you think this patch needs "Fixes:" and "Cc: stable" tags? >> >> It does no

Re: [PATCH v2 8/9] ASoC: sunxi: allow the analog codec driver to be built on ARM64

2017-01-28 Thread Chen-Yu Tsai
On Sat, Jan 28, 2017 at 4:05 AM, Maxime Ripard wrote: > On Thu, Jan 26, 2017 at 11:48:58PM +0800, Icenowy Zheng wrote: >> As the 64-bit Allwinner H5 SoC has the same analog codec part (also the >> same digital part) as H3, enable the driver to be built on ARM64 >> Allwinner platform, so that it ca

Re: [PATCH V3 1/1] percpu-refcount: fix reference leak during percpu-atomic transition

2017-01-28 Thread Tejun Heo
On Sat, Jan 28, 2017 at 06:42:20AM -0600, Douglas Miller wrote: > percpu_ref_tryget() and percpu_ref_tryget_live() should return > "true" IFF they acquire a reference. But the return value from > atomic_long_inc_not_zero() is a long and may have high bits set, > e.g. PERCPU_COUNT_BIAS, and the retu

[PATCH] drm/i915: minor corner case fix to respect user's backlight setting

2017-01-28 Thread Harry Pan
When enabling panel backlight, if the current backlight level setting matches the panel's minimal, it would apply default policy to override the current level by the panel's maximum until next request to update brightness, this leads unexpected user confusion with temporary full power backlight. T

[PATCH] regulator: 88pm800: constify regulator_ops structures

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structures as const as they are only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/88pm800.o textdata bss dec h

Re: [PATCH v4] ARM: w90x900: let clk_disable() return immediately if clk is NULL

2017-01-28 Thread Masahiro Yamada
Hi Wan, Ping again. Please pick up this patch! 2016-11-06 0:45 GMT+09:00 Masahiro Yamada : > Hi Wan, > > This patch was acked by you long before, > but it has not been pulled-in yet for some reasons. > > Now the patch was split per platform. > > So, could you apply this patch to your tree, pleas

[PATCH 1/2] clk: uniphier: add NAND clock for all UniPhier SoCs

2017-01-28 Thread Masahiro Yamada
Add clock line for the Denali NAND controller. Signed-off-by: Masahiro Yamada --- drivers/clk/uniphier/clk-uniphier-sys.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/clk/uniphier/clk-uniphier-sys.c b/drivers/clk/uniphier/clk-uniphier-sys.c index d049316..b1aaf77

[PATCH] regulator: aat2870-regulator: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/aat2870-regulator.o textdata bss dec

Re: [PATCH v4] ARM: mmp: let clk_disable() return immediately if clk is NULL

2017-01-28 Thread Masahiro Yamada
Hi Eric Miao, Haojian Zhuang, Ping again. Please apply this patch! 2016-11-06 0:42 GMT+09:00 Masahiro Yamada : > Hi Eric Miao, Haojian Zhuang, > > Could you pick up this patch, please? > > > 2016-09-19 2:58 GMT+09:00 Masahiro Yamada : >> In many of clk_disable() implementations, it is a no-op f

[PATCH] regulator: act8945a-regulator: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/act8945a-regulator.o textdata bss de

Re: [PATCH v4] blackfin: bf609: let clk_disable() return immediately if clk is NULL

2017-01-28 Thread Masahiro Yamada
Hi Steven, Ping again. Could you apply this, please? 2016-11-06 0:47 GMT+09:00 Masahiro Yamada : > Hi Steven, > > Could you take a look at this patch, please? > > > 2016-09-19 3:03 GMT+09:00 Masahiro Yamada : >> In many of clk_disable() implementations, it is a no-op for a NULL >> pointer input,

[PATCH] regulator: ad5398: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/ad5398.o textdata bss dec hex fi

[PATCH 2/2] clk: uniphier: add eMMC clock for LD11 and LD20 SoCs

2017-01-28 Thread Masahiro Yamada
Add clock for the Cadence eMMC controller on LD11/LD20. For the other SoCs, the clock for the eMMC controller is included in the MIO/SD control block. Signed-off-by: Masahiro Yamada --- drivers/clk/uniphier/clk-uniphier-sys.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/cl

[PATCH] regulator: anatop-regulator: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/anatop-regulator.o textdata bss dec

[PATCH] net: aquantia: atlantic: use new api ethtool_{get|set}_link_ksettings

2017-01-28 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. As I don't have the hardware, I'd be very pleased if someone may test this patch. Signed-off-by: Philippe Reynes --- .../net/ethernet/aquantia/atlantic/aq_ethtool.c| 23 + dr

[PATCH] regulator: 88pm8607: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structures as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/88pm8607.o textdata bss dec hex

[PATCH] regulator: arizona-ldo1: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/arizona-ldo1.o textdata bss dec

Re: [PATCH 0/3] Get rid of BUG()

2017-01-28 Thread Andy Shevchenko
On Thu, Jan 26, 2017 at 11:20 PM, Jarkko Sakkinen wrote: > The use of BUG() is not favored for any new kernel code. This patch set > implements more reasonable error recovery. In all cases the recovery is not > ideal but it is an improvement to the current situation. > > In addition, sgx_free_page

[PATCH] regulator: arizona-micsupp: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/arizona-micsupp.o textdata bss dec

Re: [PATCH] rtc: add support for maxim dallas ds1682

2017-01-28 Thread Alexandre Belloni
Hi, Please run checkpatch --strict before submitting. Also, it seems to me this is a regular i2c chip, I don't think the whole bitbanging is necessary. On 24/12/2016 at 08:47:14 -0800, Venkat Prashanth B U wrote: > This is a patch to add support for > maxim dallas ds1682 total elapsed time recor

[PATCH] ARM: BCM5301X: Add missing Netgear R8000 LEDs and Keys

2017-01-28 Thread AdityaXavier
From: Aditya Xavier Added two WAN status LEDs and a GPIO Key for Brightness which were missing. Signed-off-by: Aditya Xavier --- arch/arm/boot/dts/bcm4709-netgear-r8000.dts | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/bcm4709-net

[PATCH] regulator: as3711-regulator: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/as3711-regulator.o textdata bss dec

[PATCH] regulator: axp20x-regulator: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/axp20x-regulator.o textdata bss dec

[PATCH] regulator: bcm590xx-regulator: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/bcm590xx-regulator.o textdata bss de

[PATCH] regulator: gpio-regulator: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/gpio-regulator.o textdata bss dec

Re: [PATCH 1/7] iio: adc: stm32: add support for triggered buffer mode

2017-01-28 Thread Jonathan Cameron
On 24/01/17 14:35, Fabrice Gasnier wrote: > On 01/22/2017 01:53 PM, Jonathan Cameron wrote: >> On 19/01/17 13:34, Fabrice Gasnier wrote: >>> STM32 ADC conversions can be launched using hardware triggers. >>> It can be used to start conversion sequences (group of channels). >>> Selected channels are

[PATCH] regulator: hi655x-regulator: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/hi655x-regulator.o textdata bss dec

Re: [PATCH 3/4] leds: Add LED support for MT6323 PMIC

2017-01-28 Thread Sean Wang
Hi Jacek, thanks for your effort on reviewing I has given these idea about your questions inline below and will fix up these explicit mistakes in the next version. thanks again On Tue, 2017-01-24 at 23:51 +0100, Jacek Anaszewski wrote: > Hi Sean, > > Thanks for the patch. Please find my commen

[PATCH] regulator: fan53555: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/fan53555.o textdata bss dec hex

[PATCH] regulator: lp8755: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/lp8755.o textdata bss dec hex fi

Re: [PATCH] platform/x86: intel_pmc_core: fix out-of-bounds accesses on stack

2017-01-28 Thread Andy Shevchenko
On Fri, Jan 27, 2017 at 6:31 PM, Andrey Ryabinin wrote: > On 01/27/2017 06:42 PM, Andy Shevchenko wrote: >> On Thu, Jan 26, 2017 at 4:27 PM, Andrey Ryabinin >> wrote: >>> #if IS_ENABLED(CONFIG_DEBUG_FS) >>> @@ -234,12 +230,8 @@ static const struct file_operations >>> pmc_core_ppfear_ops = { >>>

[PATCH] regulator: fixed: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/fixed.o textdata bss dec hex fil

[PATCH] regulator: ltc3589: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/ltc3589.o textdata bss dec hex f

[PATCH] regulator: ltc3676: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/ltc3676.o textdata bss dec hex f

[PATCH net-next] net: add devm version of alloc_etherdev_mqs function

2017-01-28 Thread Rafał Miłecki
From: Rafał Miłecki This patch adds devm_alloc_etherdev_mqs function and devm_alloc_etherdev macro. These can be used for simpler netdev allocation without having to care about calling free_netdev. Thanks to this change drivers, their error paths and removal paths may get simpler by a bit. Sign

[PATCH v2] cfg80211 debugfs: Cleanup some checkpatch issues

2017-01-28 Thread Dmitriy Pichugin
This fixes the checkpatch.pl warnings: * Macros should not use a trailing semicolon. * Spaces required around that '='. * Symbolic permissions 'S_IRUGO' are not preferred. Signed-off-by: Dmitriy Pichugin --- net/wireless/debugfs.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-)

Re: [PATCH V7 3/4] drm/bridge: Add driver for GE B850v3 LVDS/DP++ Bridge

2017-01-28 Thread Peter Senna Tschudin
On Thu, Jan 05, 2017 at 01:18:47PM +0530, Archit Taneja wrote: Hi Archit, Thank you for the comments! [...] > > + total_size = (block[EDID_EXT_BLOCK_CNT] + 1) * EDID_LENGTH; > > + if (total_size > EDID_LENGTH) { > > + kfree(block); > > + block = kmalloc(total_size, GFP_KER

[PATCH] regulator: max77686-regulator: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/max77686-regulator.o textdata bss de

[PATCH] regulator: max77693-regulator: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/max77693-regulator.o textdata bss de

[PATCH] regulator: max77802-regulator: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/max77802-regulator.o textdata bss de

[PATCH] MAINTAINERS: Update AT91 entry

2017-01-28 Thread Alexandre Belloni
Jean Christophe has not been active on the mailing lists for a while. Remove him from the maintainers Cc: Jean-Christophe Plagniol-Villard Acked-by: Nicolas Ferre Signed-off-by: Alexandre Belloni --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index

Re: [PATCH] ARM: BCM5301X: Add missing Netgear R8000 LEDs and Keys

2017-01-28 Thread Rafał Miłecki
Nice work, you're almost there! Since quite recently ARM DTS patches have to use extra "dts: " prefix, I understand you could miss that. Please just change your subject from ARM: BCM5301X: Add missing Netgear R8000 LEDs and Keys to ARM: dts: BCM5301X: Add missing Netgear R8000 LEDs and Keys and it

[PATCH] regulator: max14577-regulator: constify regulator_ops structure

2017-01-28 Thread Bhumika Goyal
Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/max14577-regulator.o textdata bss de

[PATCH v2 0/2] mfd: lpc_ich: enable iTCO on Apollo Lake

2017-01-28 Thread Andy Shevchenko
Enable iTCo watchdog on Apollo Lake. In v2: - Fix authorship in patch 1 - rebase on top of ib-mfd-mtd-4.11 Andy Shevchenko (1): mfd: lpc_ich: Remove useless comments in core part Tan Jui Nee (1): mfd: lpc_ich: Enable watchdog on Intel Apollo Lake PCH drivers/mfd/lpc_ich.c | 17 +---

  1   2   3   4   >