Re: [PATCH v1 1/2] ACPI / boot: Correct address space of __acpi_map_table()

2017-07-17 Thread Andy Shevchenko
On Mon, 2017-07-17 at 12:57 +0300, Andy Shevchenko wrote: > On Mon, Jul 17, 2017 at 12:49 PM, Hanjun Guo > wrote: > > On 2017/7/8 23:50, Andy Shevchenko wrote: > > > Sparse complains about wrong address space used in > > > __acpi_map_table() > > > and in

Re: Droid 4 boot failure due to 422580c3cea7 (mm/oom_kill.c: add tracepoints for oom reaper-related events)

2017-07-17 Thread Tony Lindgren
* Sebastian Reichel [170717 02:52]: > On Sun, Jul 16, 2017 at 10:59:42PM -0700, Tony Lindgren wrote: > > Sebastian, for me droid 4 boots just fine with v4.13-rc1 + > > 19d39a3810e if that helps. So that's with commit 422580c3cea7. > > v4.13-rc1 + 19d39a3810e

[PATCH v3 18/23] camss: vfe: Configure scaler module in VFE

2017-07-17 Thread Todor Tomov
Add scaler module configuration support to be able to apply scaling. Signed-off-by: Todor Tomov --- drivers/media/platform/qcom/camss-8x16/camss-vfe.c | 59 +- 1 file changed, 46 insertions(+), 13 deletions(-) diff --git

[PATCH] tee: optee: sync with new naming of interrupts

2017-07-17 Thread Jens Wiklander
From: David Wang In the latest changes of optee_os, the interrupts' names are changed to "native" and "foreign" interrupts. Signed-off-by: David Wang Signed-off-by: Jerome Forissier Signed-off-by: Jens Wiklander

Re: [PATCH 2/6] dt-bindings: mfd: axp20x: Introduce bindings for AXP813

2017-07-17 Thread Lee Jones
On Thu, 22 Jun 2017, Chen-Yu Tsai wrote: > The X-Powers AXP813 is a PMIC designed to be paired with Allwinner's > A83T SoC. There is also an AXP818, which is paired with the H8 SoC. > > The two models seem to be identical, apart from the external markings. > > This patch introduces the basic

[PATCH v3 00/23] Qualcomm 8x16 Camera Subsystem driver

2017-07-17 Thread Todor Tomov
This patchset adds basic support for the Qualcomm Camera Subsystem found on Qualcomm MSM8916 and APQ8016 processors. The driver implements V4L2, Media controller and V4L2 subdev interfaces. Camera sensor using V4L2 subdev interface in the kernel is supported. The driver is implemented using as a

[PATCH v3 04/23] dt-bindings: media: Binding document for Qualcomm Camera subsystem driver

2017-07-17 Thread Todor Tomov
Add DT binding document for Qualcomm Camera subsystem driver. CC: Rob Herring CC: devicet...@vger.kernel.org Signed-off-by: Todor Tomov --- .../devicetree/bindings/media/qcom,camss.txt | 191 + 1 file changed, 191

[PATCH v2] mm/vmalloc: terminate searching since one node found

2017-07-17 Thread Zhaoyang Huang
From: Zhaoyang Huang It is no need to find the very beginning of the area within alloc_vmap_area, which can be done by judging each node during the process For current approach, the worst case is that the starting node which be found for searching the

Re: [PATCH 1/6] ARM: multi_v7_defconfig: Cleanup from non-existing options

2017-07-17 Thread Geert Uytterhoeven
Hi Krzysztof, On Mon, Jul 17, 2017 at 7:49 AM, Krzysztof Kozlowski wrote: > Remove options which do not exist anymore: > - DRM_RCAR_HDMI was merged to generic DRM bridge and is obsolete since >commit 5c602531feb3 ("drm: rcar-du: Replace manual bridge >implementation

Re: [PATCH 3/4] staging: lustre: obdclass: linux: constify attribute_group structures.

2017-07-17 Thread Arvind Yadav
Sorry for noise. Please ignore this. ~arvind On Monday 17 July 2017 11:18 AM, Arvind Yadav wrote: attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const.

Re: [PATCH 2/4] staging: lustre: ldlm: constify attribute_group structures.

2017-07-17 Thread Arvind Yadav
Sorry for noise. Please ignore this. ~arvind On Monday 17 July 2017 11:18 AM, Arvind Yadav wrote: attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const.

Re: [PATCH 2/2] mfd: ds1374: Add Dallas/Maxim DS1374 Multi Function Device

2017-07-17 Thread Lee Jones
On Thu, 13 Jul 2017, Moritz Fischer wrote: > From: Moritz Fischer > > Add support for the Maxim/Dallas DS1374 RTC/WDT with trickle charger. > The device can either be configured as simple RTC, as simple RTC with > Alarm (IRQ) as well as simple RTC with watchdog timer.

Re: [PATCH] ipv6: initialize treq->txhash in cookie_v6_check()

2017-07-17 Thread Eric Dumazet
On Mon, 2017-07-17 at 00:39 -0700, Eric Dumazet wrote: > On Fri, 2017-07-14 at 18:54 +0200, Alexander Potapenko wrote: > > KMSAN reported use of uninitialized memory in skb_set_hash_from_sk(), > > which originated from the TCP request socket created in > > cookie_v6_check(): > > >

[RESEND,PATCH v4 0/2] Add support for the STM32F4 CRC32

2017-07-17 Thread Cosar Dindar
This patch series add hardware CRC32 ("Ethernet") calculation support for STMicroelectronics STM32F429. Polynomial and key setting are not supported, key is fixed as 0x4C11DB7 and poly is 0x. Module is tested on STM32F429-disco board with crypto testmgr using cases within the key

Re: [PATCH] cpufreq: s5pv210: add missing of_node_put

2017-07-17 Thread Viresh Kumar
On 15-07-17, 21:40, Julia Lawall wrote: > for_each_compatible_node performs an of_node_get on each iteration, so a > return from the loop requires an of_node_put. > > The semantic patch that fixes this problem is as follows > (http://coccinelle.lip6.fr): > > // > @@ > local idexpression n; >

Re: [PATCH v2] mm/vmalloc: terminate searching since one node found

2017-07-17 Thread zijun_hu
On 07/17/2017 04:45 PM, zijun_hu wrote: > On 07/17/2017 04:07 PM, Zhaoyang Huang wrote: >> It is no need to find the very beginning of the area within >> alloc_vmap_area, which can be done by judging each node during the process >> >> For current approach, the worst case is that the starting node

Re: [PATCH 17/18] arm: dts: sun8i: Add BananaPI M2-Magic DTS

2017-07-17 Thread Maxime Ripard
On Fri, Jul 14, 2017 at 12:40:19PM +0800, Chen-Yu Tsai wrote: > On Thu, Jul 13, 2017 at 10:13 PM, Maxime Ripard > wrote: > > The Bananapi M2-Magic is a board with an A33, a USB host and USB OTG > > connectors, and 8GB eMMC, an AP6212 WiFi/Bluetooth chip and

Re: [PATCH 08/11] ARM: dts: sun8i: a83t: Add MMC controller device nodes

2017-07-17 Thread Maxime Ripard
Hi, On Fri, Jul 14, 2017 at 02:42:59PM +0800, Chen-Yu Tsai wrote: > The A83T has 3 MMC controllers. The third one is a bit special, as it > supports a wider 8-bit bus, and a "new timing mode". > > Signed-off-by: Chen-Yu Tsai > --- > arch/arm/boot/dts/sun8i-a83t.dtsi | 57 >

[PATCH net-next v2 3/4] net-next: mediatek: add support for MediaTek MT7622 SoC

2017-07-17 Thread sean.wang
From: Sean Wang This patch adds the driver for ethernet controller on MT7622 SoC. It has the similar handling logic as the previously MT7623 does, but there are additions against with MT7623 SoC, the shared SGMII given for the dual GMACs and including 5-ports 10/100

Re: [PATCH v3.1 1/2] extcon: cros-ec: Add extcon-cros-ec driver to support display out.

2017-07-17 Thread Chanwoo Choi
Hi Lee, On 2017년 07월 17일 18:41, Enric Balletbo i Serra wrote: > From: Benson Leung > > This is the driver for the USB Type C cable detection mechanism > built into the ChromeOS Embedded Controller on systems that > have USB Type-C ports. > > At present, this allows for the

[PATCH] tee: optee: interruptible RPC sleep

2017-07-17 Thread Jens Wiklander
From: tiger-yu99 Prior to this patch RPC sleep was uninterruptible since msleep() is uninterruptible. Change to use msleep_interruptible() instead. Signed-off-by: Tiger Yu Reviewed-by: Joakim Bech Signed-off-by: Jerome

[PATCH v3 23/23] doc: media/v4l-drivers: Qualcomm Camera Subsystem - Media graph

2017-07-17 Thread Todor Tomov
Update the Qualcomm Camera Subsystem driver document with a media controller pipeline graph diagram. Signed-off-by: Todor Tomov --- Documentation/media/v4l-drivers/qcom_camss.rst | 27 ++ .../media/v4l-drivers/qcom_camss_graph.dot | 41

Re: [PATCH 04/11] mmc: sunxi: Keep default timing phase settings for new timing mode

2017-07-17 Thread Ulf Hansson
+stable On 14 July 2017 at 08:42, Chen-Yu Tsai wrote: > The register for the "new timing mode" also has bit fields for setting > output and sample timing phases. According to comments in Allwinner's > BSP kernel, the default values are good enough. > > Keep the default values

[PATCH v3 17/23] camss: vfe: Add interface for scaling

2017-07-17 Thread Todor Tomov
Add compose selection ioctls to handle scaling configuration. Signed-off-by: Todor Tomov --- drivers/media/platform/qcom/camss-8x16/camss-vfe.c | 189 - drivers/media/platform/qcom/camss-8x16/camss-vfe.h | 1 + 2 files changed, 188 insertions(+), 2

[PATCH v3 16/23] camss: vfe: Support for frame padding

2017-07-17 Thread Todor Tomov
Add support for horizontal and vertical frame padding. Signed-off-by: Todor Tomov --- drivers/media/platform/qcom/camss-8x16/camss-vfe.c | 86 +- .../media/platform/qcom/camss-8x16/camss-video.c | 69 -

[PATCH v3 21/23] doc: media/v4l-drivers: Qualcomm Camera Subsystem - Scale and crop

2017-07-17 Thread Todor Tomov
Update the Qualcomm Camera Subsystem driver document for VFE scale and crop modules support. Signed-off-by: Todor Tomov --- Documentation/media/v4l-drivers/qcom_camss.rst | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] staging: unisys: visorbus: constify attribute_group structures.

2017-07-17 Thread Greg KH
On Mon, Jul 17, 2017 at 02:55:37PM +0530, Arvind Yadav wrote: > attribute_groups are not supposed to change at runtime. All functions > working with attribute_groups provided by work > with const attribute_group. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav

[PATCH 01/15] kernel: convert sighand_struct.count from atomic_t to refcount_t

2017-07-17 Thread Elena Reshetova
refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Suggested-by: Kees Cook Reviewed-by: David Windsor

[PATCH 04/15] kernel: convert task_struct.usage from atomic_t to refcount_t

2017-07-17 Thread Elena Reshetova
refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Suggested-by: Kees Cook Reviewed-by: David Windsor

[PATCH 00/15] v3 kernel core pieces refcount conversions

2017-07-17 Thread Elena Reshetova
Changes in v3: * SoB chain corrected * minor corrections based on v2 feedback * rebase on linux-next/master as of today Changes in v2: * dropped already merged patches * rebase on top of linux-next/master * Now by default refcount_t = atomic_t (*) and uses all atomic standard operations

[PATCH 06/15] kernel: convert perf_event_context.refcount from atomic_t to refcount_t

2017-07-17 Thread Elena Reshetova
refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Suggested-by: Kees Cook Reviewed-by: David Windsor

Re: [PATCH 01/14] qcom: mtd: nand: Add driver data for QPIC DMA

2017-07-17 Thread Boris Brezillon
On Mon, 17 Jul 2017 11:41:01 +0530 Abhishek Sahu wrote: > >> > + > >> > +nand@79b { > > > > nand-controller@ { > > > > BTW, glad to see another driver moving to the new DT representation > > :-). > > > >> > +compatible = "qcom,qpic-nandc-v1.4.0"; >

Re: [PATCH v4 0/3] some fixups for MediaTek cpufreq driver

2017-07-17 Thread Viresh Kumar
On 17-07-17, 14:16, Sean Wang wrote: > Hi, Viresh > > I missed to add Acks from Rob for patch 2 and 3 since we sent out almost > at the same time. Do I need to resend again for this or the series is > okay for you? Looks like you missed including Rafael for this series (He is the one who applies

Re: [PATCH 0/4] constify lustre attribute_group structures

2017-07-17 Thread Arvind Yadav
Sorry for noise. Please ignore this. It's having build error. Again, I will push all changes. ~arvind On Monday 17 July 2017 11:18 AM, Arvind Yadav wrote: attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const

Re: [PATCH v2 1/2] platform: Add Amlogic Meson AO CEC Controller driver

2017-07-17 Thread Hans Verkuil
On 10/07/17 10:01, Neil Armstrong wrote: > The Amlogic SoC embeds a standalone CEC controller, this patch adds a driver > for such controller. > The controller does not need HPD to be active, and could support up to max > 5 logical addresses, but only 1 is handled since the Suspend firmware can >

Re: [PATCH 6/9] mm, page_alloc: simplify zonelist initialization

2017-07-17 Thread Michal Hocko
On Mon 17-07-17 09:07:23, Mel Gorman wrote: > On Mon, Jul 17, 2017 at 08:06:40AM +0200, Michal Hocko wrote: > > On Fri 14-07-17 15:18:23, Mel Gorman wrote: > > > Fairly sure that's not what you meant. > > > > > > > > > > pg_data_t *node = NODE_DATA(node_order[i]); > > > > > > >

Re: [PATCH v9 0/7] perf report: Show branch type

2017-07-17 Thread Jiri Olsa
On Mon, Jul 17, 2017 at 07:06:36PM +0800, Jin Yao wrote: > v9: > --- >It only changes the patch "perf/x86/intel: Record branch type". >Peter suggests to use __ffs() to find first bit. >Yes, with this change, the code is simpler and clearer. > >No other functional changes. I think

[RESEND,PATCH v4 2/3] dt-bindings : Document the STM32F4 CRC32 binding

2017-07-17 Thread Cosar Dindar
Add device tree binding for STM32F4. Signed-off-by: Cosar Dindar --- Documentation/devicetree/bindings/crypto/st,stm32-crc.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/crypto/st,stm32-crc.txt

[RESEND,PATCH v4 3/3] crypto : stm32 - Add STM32F4 CRC32 support

2017-07-17 Thread Cosar Dindar
This patch adds CRC (CRC32 Crypto) support for STM32F4 series. As an hardware limitation polynomial and key setting are not supported. They are fixed as 0x4C11DB7 (poly) and 0x (key). CRC32C Castagnoli algorithm is not used. Signed-off-by: Cosar Dindar

Re: [PATCH v9 2/7] perf/x86/intel: Record branch type

2017-07-17 Thread Jin, Yao
On 7/17/2017 4:11 PM, Jiri Olsa wrote: On Mon, Jul 17, 2017 at 07:06:38PM +0800, Jin Yao wrote: SNIP +#define X86_BR_TYPE_MAP_MAX16 + +static int +common_branch_type(int type) +{ + int i; + const int branch_map[X86_BR_TYPE_MAP_MAX] = { + PERF_BR_CALL,

[PATCH][next] net: bcmgenet: return NULL rather than 0 for null pointer

2017-07-17 Thread Colin King
From: Colin Ian King Don't return plain integer 0, instead return NULL Fixes sparse warning: warning: Using plain integer as NULL pointer Signed-off-by: Colin Ian King --- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 2 +- 1 file

Re: [PATCH 4/6] mm/memcontrol: allow to uncharge page without using page->lru field

2017-07-17 Thread Balbir Singh
On Thu, 2017-07-13 at 17:15 -0400, Jérôme Glisse wrote: > HMM pages (private or public device pages) are ZONE_DEVICE page and > thus you can not use page->lru fields of those pages. This patch > re-arrange the uncharge to allow single page to be uncharge without > modifying the lru field of the

Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

2017-07-17 Thread Peter Zijlstra
On Fri, Jul 14, 2017 at 09:03:14AM -0700, Andi Kleen wrote: > fast idle doesn't have an upper bound. > > If the prediction exceeds the fast idle threshold any C state can be used. > > It's just another state (fast C1), but right now it has an own threshold > which may be different from standard

Re: [PATCH 05/11] mmc: sunxi: Support controllers that can use both old and new timings

2017-07-17 Thread Maxime Ripard
On Fri, Jul 14, 2017 at 11:57:35AM +0200, Ulf Hansson wrote: > >>> + if (host->use_new_timings) { > >>> + ret = sunxi_ccu_set_mmc_timing_mode(host->clk_mmc, true); > >> > >> Can't this be solved through some other generic API/interface? > > > > The old discussion is here:

Re: [PATCH] fs: jbd2: transaction: Add kernel-doc parameter descriptions

2017-07-17 Thread Jan Kara
On Mon 26-06-17 10:20:22, sayli karnik wrote: > Add function parameters in kernel-doc comments to fix warnings in the > Sphinx build: > transaction.c:511: warning: No description found for parameter 'type' > transaction.c:511: warning: No description found for parameter 'line_no' > >

[PATCH v2] mfd: Add missing Kconfig dependency for TPS65086

2017-07-17 Thread Michal Simek
MTF_CORE should be enabled when driver is enabled. Without this patch you can configure: CONFIG_MFD_CORE is not set CONFIG_MFD_TPS65086=y which ends up with compilation error: drivers/mfd/tps65086.o: In function `tps65086_probe': drivers/mfd/tps65086.c:110: undefined reference to

Re: [PATCHv2 3/6] ASoC: codec: cpcap: new codec

2017-07-17 Thread Tony Lindgren
* Sebastian Reichel [170712 08:19]: > diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig > index 6c78b0b49b81..1615e5acc8fd 100644 > --- a/sound/soc/codecs/Kconfig > +++ b/sound/soc/codecs/Kconfig > @@ -401,6 +401,11 @@ config SND_SOC_ALC5632 >

[PATCH] net/unix: drop obsolete fd-recursion limits

2017-07-17 Thread David Herrmann
All unix sockets now account inflight FDs to the respective sender. This was introduced in: commit 712f4aad406bb1ed67f3f98d04c044191f0ff593 Author: willy tarreau Date: Sun Jan 10 07:54:56 2016 +0100 unix: properly account for FDs passed over unix sockets and

Re: [PATCH v2] sctp: don't dereference ptr before leaving _sctp_walk_{params,errors}()

2017-07-17 Thread Alexander Potapenko
On Fri, Jul 14, 2017 at 7:54 PM, David Miller wrote: > From: Alexander Potapenko > Date: Fri, 14 Jul 2017 19:33:54 +0200 > >> On Fri, Jul 14, 2017 at 7:23 PM, David Miller wrote: >>> From: Alexander Potapenko >>>

Re: [PATCH v5 13/14] drm: stm: remove dead code and pointless local lut storage

2017-07-17 Thread Philippe CORNU
On 07/13/2017 06:25 PM, Peter Rosin wrote: > The redundant fb helper .load_lut is no longer used, and can not > work right without also providing the fb helpers .gamma_set and > .gamma_get thus rendering the code in this driver suspect. > > Just remove the dead code. > > Acked-by: Daniel

[PATCH v3 22/23] camss: Use optimal clock frequency rates

2017-07-17 Thread Todor Tomov
Use standard V4L2 control to get pixel clock rate from a sensor linked in the media controller pipeline. Then calculate clock rates on CSIPHY, CSID and VFE to use the lowest possible. If the currnet pixel clock rate of the sensor cannot be read then use the highest possible. This case covers also

[PATCH v3 20/23] camss: vfe: Configure crop module in VFE

2017-07-17 Thread Todor Tomov
Add crop module configuration support to be able to apply cropping. Signed-off-by: Todor Tomov --- drivers/media/platform/qcom/camss-8x16/camss-vfe.c | 41 +- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git

[PATCH v3 19/23] camss: vfe: Add interface for cropping

2017-07-17 Thread Todor Tomov
Extend selection ioctls to handle cropping configuration. Signed-off-by: Todor Tomov --- drivers/media/platform/qcom/camss-8x16/camss-vfe.c | 191 - drivers/media/platform/qcom/camss-8x16/camss-vfe.h | 1 + 2 files changed, 150 insertions(+), 42

[PATCH v3 13/23] media: camss: Enable building

2017-07-17 Thread Todor Tomov
Add Makefile and update platform/Kconfig and platform/Makefile to enable building of the QCom CAMSS driver. Signed-off-by: Todor Tomov --- drivers/media/platform/Kconfig | 7 +++ drivers/media/platform/Makefile | 2 ++

[PATCH] ipv4: ipv6: initialize treq->txhash in cookie_v[46]_check()

2017-07-17 Thread Alexander Potapenko
KMSAN reported use of uninitialized memory in skb_set_hash_from_sk(), which originated from the TCP request socket created in cookie_v6_check(): == BUG: KMSAN: use of uninitialized memory in tcp_transmit_skb+0xf77/0x3ec0 CPU: 1

[PATCH 14/15] kernel: convert futex_pi_state.refcount from atomic_t to refcount_t

2017-07-17 Thread Elena Reshetova
refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Suggested-by: Kees Cook Reviewed-by: David Windsor

[PATCH 13/15] sched: convert numa_group.refcount from atomic_t to refcount_t

2017-07-17 Thread Elena Reshetova
refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Suggested-by: Kees Cook Reviewed-by: David Windsor

Re: [PATCH] mfd: rtsx: make arrays depth and cd_mask static const

2017-07-17 Thread Lee Jones
Please start the commit subject description with an uppercase char. > From: Colin Ian King This is odd. How are you sending this patch Colin? > Don't populate the arrays depath and cd_mask on the stack but make > them static const. Makes the object code smaller: >

[PATCH 15/15] kernel: convert kcov.refcount from atomic_t to refcount_t

2017-07-17 Thread Elena Reshetova
refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Suggested-by: Kees Cook Reviewed-by: David Windsor

[PATCH] perf/x86/intel/cstate: Enable C-state residency events for Apollo Lake

2017-07-17 Thread Harry Pan
Goldmont microarchitecture supports C1/C3/C6, PC2/PC3/PC6/PC10 state residency counters, the patch enables them for Apollo Lake platform. The MSR information is based on Intel Software Developers' Manual, Vol. 4, Order No. 335592, Table 2-6 and 2-12. Signed-off-by: Harry Pan

[PATCH v3] net: axienet: add support for standard phy-mode binding

2017-07-17 Thread Alvaro Gamez Machado
Keep supporting proprietary "xlnx,phy-type" attribute and add support for MII connectivity to the PHY. Reviewed-by: Andrew Lunn Signed-off-by: Alvaro Gamez Machado --- Changes from v2: * Replaced u32 phy_mode -> phy_interface_t phy_mode * Fix bug we

Re: [PATCH 2/6] ARM: shmobile_defconfig: Cleanup from non-existing options

2017-07-17 Thread Geert Uytterhoeven
Hi Krzysztof, On Mon, Jul 17, 2017 at 7:49 AM, Krzysztof Kozlowski wrote: > Remove options which do not exist anymore: > - DRM_RCAR_HDMI was merged to generic DRM bridge and is obsolete since >commit 5c602531feb3 ("drm: rcar-du: Replace manual bridge >implementation

Re: [PATCH 10/14] qcom: mtd: nand: support for QPIC Page read/write

2017-07-17 Thread Abhishek Sahu
On 2017-07-10 19:48, Sricharan R wrote: On 6/29/2017 12:46 PM, Abhishek Sahu wrote: 1. Add the function for command descriptor preparation which will be used only by BAM DMA and it will form the DMA descriptors containing command elements. 2. Add the data descriptor preparation function

[PATCH v3 1/2] extcon: cros-ec: Add extcon-cros-ec driver to support display out.

2017-07-17 Thread Enric Balletbo i Serra
From: Benson Leung This is the driver for the USB Type C cable detection mechanism built into the ChromeOS Embedded Controller on systems that have USB Type-C ports. At present, this allows for the presence of display out, but in future, it may also be used to notify host

[PATCH v3 2/2] dt-bindings: extcon: Add support for cros-ec device

2017-07-17 Thread Enric Balletbo i Serra
From: Benson Leung This patch add documentation for binding of USB Type C cable detection mechanism is using EXTCON subsystem. The device can detect the presence of display out but it may also detect other external accessories when external accessories is attached or

Re: [PATCH] ipv6: initialize treq->txhash in cookie_v6_check()

2017-07-17 Thread Eric Dumazet
On Fri, 2017-07-14 at 18:54 +0200, Alexander Potapenko wrote: > KMSAN reported use of uninitialized memory in skb_set_hash_from_sk(), > which originated from the TCP request socket created in > cookie_v6_check(): > == > >

Re: [PATCH] perf/x86/intel: Fix debug_store reset field for freq events

2017-07-17 Thread Jiri Olsa
On Fri, Jul 14, 2017 at 10:22:49AM -0700, Andi Kleen wrote: > Jiri Olsa writes: > > > > Setting the reset field to 0 for freq events. > > Looks good to me. > > Reviewed-by: Andi Kleen > > BTW I suspect there's a related bug that > > perf record -e

Re: [PATCH v4 1/3] cpufreq: mediatek: Add support of cpufreq to MT2701/MT7623 SoC

2017-07-17 Thread Jean Delvare
On Thu, 13 Jul 2017 11:54:38 +0800, Eddie Huang wrote: > On Thu, 2017-07-13 at 08:46 +0530, Viresh Kumar wrote: > > I am fine with both. Maybe don't resend for just that, mediatek > > doesn't sound any bad. > > I am also fine with both. I think most people won't confuse about mtk > and

[PATCH v2 0/5] arm64: dts: rockchip: support mail and IPA thermal for rk3399

2017-07-17 Thread Caesar Wang
This series patches supported the mail in devicetree and used the thermal IPA by default. Verified with kernel is based on Linus's master branch and Heiko's v4.14-armsoc-tmp/dts64 branch. ( The Linux version 4.12.0 for now). The most rockchip SoCs will be supported with IPA mode for thermal in

Re: [GIT PULL] MFD for v4.13

2017-07-17 Thread Charles Keepax
On Fri, Jul 07, 2017 at 11:50:14PM +0100, Lee Jones wrote: > On Fri, 07 Jul 2017, Linus Torvalds wrote: > > > On Fri, Jul 7, 2017 at 2:50 AM, Lee Jones wrote: > > > > > > include/linux/mfd/madera/registers.h | 8832 > > > > > > > So I've

Re: [PATCH v3 1/2] extcon: cros-ec: Add extcon-cros-ec driver to support display out.

2017-07-17 Thread Chanwoo Choi
Hi, On 2017년 07월 17일 17:54, Chanwoo Choi wrote: > Hi Enric, > > When I tried to apply this patch, error happened as following: > (based on v4.13-rc1) > > Applying: extcon: cros-ec: Add extcon-cros-ec driver to support display out. > error: patch failed: include/linux/mfd/cros_ec_commands.h:285

Re: [PATCH v3 0/5] Add SoM1 support

2017-07-17 Thread Alexandre Belloni
On 06/07/2017 at 11:35:24 +0300, Claudiu Beznea wrote: > Hi all, > > This series adds support for sama5d2 SoM1 devices. > > The at91-sama5d27_som1.dtsi add specific bindings for SoM1 board. > The at91-sama5d27_som1_ek.dts add specific bindings for SoM1 EK board. > > Thank you, > Claudiu > >

[PATCH v2 2/3] staging: lustre: ldlm: constify attribute_group structures.

2017-07-17 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c |

Re: [PATCH 2/2] x86/idle: use dynamic halt poll

2017-07-17 Thread Yang Zhang
On 2017/7/14 17:37, Alexander Graf wrote: On 13.07.17 13:49, Yang Zhang wrote: On 2017/7/4 22:13, Radim Krčmář wrote: 2017-07-03 17:28+0800, Yang Zhang: The background is that we(Alibaba Cloud) do get more and more complaints from our customers in both KVM and Xen compare to

[PATCH net-next v2 2/4] net-next: mediatek: add platform data to adapt into various hardware

2017-07-17 Thread sean.wang
From: Sean Wang This patch is the preparation patch in order to adapt into various hardware through adding platform data which holds specific characteristics among MediaTek SoCs and introducing the unified clock handler for those distinct clock requirements depending on

[PATCH net-next v2 4/4] MAINTAINERS: add Sean/Nelson as MediaTek ethernet maintainers

2017-07-17 Thread sean.wang
From: Sean Wang Sean and Nelson work for MediaTek on maintaining the MediaTek ethernet driver for the existing SoCs and adding support for the following SoCs. In the past, Sean has been active at making most of the qualifications , stress test and submitting a lot of

[PATCH net-next v2 1/4] dt-bindings: net: mediatek: add support for MediaTek MT7623 and MT7622 SoC

2017-07-17 Thread sean.wang
From: Sean Wang The patch adds the supplements in the dt-binding document for MediaTek MT7622 SoC with extra SGMII system controller and relevant clock consumers listed as the requirements for those SoCs equipped with the SGMII circuit. Also, add the missing binding

[PATCH net-next v2 0/4] net-next: mediatek: add support for ethernet on MT7622 SoC

2017-07-17 Thread sean.wang
From: Sean Wang Changes since v1: - add refinement for ethernet clock management - take out the code block for ESW, add it until ESW driver is actually introduced The series adds the driver for ethernet controller found on MT7622 SoC. There are additions against with

Re: [PATCH] ptrace: Add compat PTRACE_{G,S}ETSIGMASK handlers

2017-07-17 Thread Michael Ellerman
James Morse writes: > compat_ptrace_request() lacks handlers for PTRACE_{G,S}ETSIGMASK, > instead using those in ptrace_request(). The compat variant should > read a compat_sigset_t from userspace instead of ptrace_request()s > sigset_t. > > While compat_sigset_t is the same

Re: [PATCHv2 0/6] Motorola Droid 4 Audio Support

2017-07-17 Thread Tony Lindgren
* Sebastian Reichel [170717 03:13]: > Hi, > > On Mon, Jul 17, 2017 at 02:29:04AM -0700, Tony Lindgren wrote: > > * Sebastian Reichel [170712 08:19]: > > > * Switch from simple-audio-card to audio-graph-card > > > > Gave

[PATCH 1/2] thermal: int340x: constify attribute_group structures.

2017-07-17 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 1687 592 02279 8e7

[PATCH v3 12/23] media: camms: Add core files

2017-07-17 Thread Todor Tomov
These files implement the platform driver code. Signed-off-by: Todor Tomov --- drivers/media/platform/qcom/camss-8x16/camss.c | 705 + drivers/media/platform/qcom/camss-8x16/camss.h | 97 2 files changed, 802 insertions(+) create mode

[PATCH 2/2] thermal: int340x_thermal: Constify attribute_group structures.

2017-07-17 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 31521096 8425610a0

[PATCH v3 15/23] doc: media/v4l-drivers: Qualcomm Camera Subsystem - PIX Interface

2017-07-17 Thread Todor Tomov
Update Qualcomm Camera Subsystem driver document for the PIX interface and format conversion support. Signed-off-by: Todor Tomov --- Documentation/media/v4l-drivers/qcom_camss.rst | 41 +++--- 1 file changed, 31 insertions(+), 10 deletions(-) diff

[PATCH v3 02/23] [media] v4l2-mediabus: Add helper functions

2017-07-17 Thread Todor Tomov
Add helper functions for mbus to/from mplane pixel format conversion. Signed-off-by: Todor Tomov --- include/media/v4l2-mediabus.h | 26 ++ 1 file changed, 26 insertions(+) diff --git a/include/media/v4l2-mediabus.h

[PATCH v3 07/23] media: camss: Add CSIPHY files

2017-07-17 Thread Todor Tomov
These files control the CSIPHY modules which are responsible for the physical layer of the CSI2 receivers. Signed-off-by: Todor Tomov --- .../media/platform/qcom/camss-8x16/camss-csiphy.c | 816 + .../media/platform/qcom/camss-8x16/camss-csiphy.h |

[PATCH v3 03/23] v4l: Add packed Bayer raw12 pixel formats

2017-07-17 Thread Todor Tomov
From: Sakari Ailus These formats are compressed 12-bit raw bayer formats with four different pixel orders. They are similar to 10-bit variants. The formats added by this patch are V4L2_PIX_FMT_SBGGR12P V4L2_PIX_FMT_SGBRG12P

[PATCH v3 05/23] MAINTAINERS: Add Qualcomm Camera subsystem driver

2017-07-17 Thread Todor Tomov
Add an entry for Qualcomm Camera subsystem driver. Signed-off-by: Todor Tomov --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5a9f0f6..4cb978a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10887,6 +10887,14 @@

[PATCH v3 01/23] [media] media: Make parameter of media_entity_remote_pad() const

2017-07-17 Thread Todor Tomov
The local pad parameter in media_entity_remote_pad() is not modified. Make that explicit by adding a const modifier. Signed-off-by: Todor Tomov Acked-by: Sakari Ailus --- drivers/media/media-entity.c | 2 +- include/media/media-entity.h | 2

Re: [PATCH 1/4] staging: lustre: constify attribute_group structures.

2017-07-17 Thread Arvind Yadav
Sorry for noise. Please ignore this. I will fix this error and push again. ~arvind On Monday 17 July 2017 12:45 PM, kbuild test robot wrote: Hi Arvind, [auto build test ERROR on staging/staging-testing] [also build test ERROR on v4.13-rc1 next-20170717] [if your patch is applied to the wrong

Re: [PATCH RFC v5] cpufreq: schedutil: Make iowait boost more energy efficient

2017-07-17 Thread Viresh Kumar
On 16-07-17, 01:04, Joel Fernandes wrote: > Currently the iowait_boost feature in schedutil makes the frequency go to max > on iowait wakeups. This feature was added to handle a case that Peter > described where the throughput of operations involving continuous I/O requests > [1] is reduced due

Re: [PATCH 1/2] ASoC: fix pcm-creation regression

2017-07-17 Thread Johan Hovold
On Fri, Jul 14, 2017 at 03:35:46PM +0200, Linus Walleij wrote: > On Wed, Jul 12, 2017 at 5:55 PM, Johan Hovold wrote: > > > This reverts commit 99b04f4c4051 ("ASoC: add Component level > > pcm_new/pcm_free"), which started calling the pcm_new callback for every > > component in

Re: [PATCH v2] mm/vmalloc: terminate searching since one node found

2017-07-17 Thread Michal Hocko
On Mon 17-07-17 15:27:31, Zhaoyang Huang wrote: > From: Zhaoyang Huang > > It is no need to find the very beginning of the area within > alloc_vmap_area, which can be done by judging each node during the process > > For current approach, the worst case is that

Re: [PATCH 01/14] qcom: mtd: nand: Add driver data for QPIC DMA

2017-07-17 Thread Abhishek Sahu
On 2017-07-17 12:52, Boris Brezillon wrote: On Mon, 17 Jul 2017 11:41:01 +0530 Abhishek Sahu wrote: >> > + >> > +nand@79b { > > nand-controller@ { > > BTW, glad to see another driver moving to the new DT representation > :-). > >> > + compatible =

Re: A udev rule to serve the change event of ACPI container?

2017-07-17 Thread Michal Hocko
On Fri 14-07-17 22:44:14, Joey Lee wrote: > On Fri, Jul 14, 2017 at 10:37:13AM +0200, Michal Hocko wrote: > > On Thu 13-07-17 20:45:21, Joey Lee wrote: > > > On Thu, Jul 13, 2017 at 09:06:19AM +0200, Michal Hocko wrote: > > > > On Thu 13-07-17 14:58:06, Joey Lee wrote: > > [...] > > > > > If BIOS

Re: [PATCH 01/11] ARM: dts: sun8i: a83t: Switch to CCU device tree binding macros

2017-07-17 Thread Maxime Ripard
On Fri, Jul 14, 2017 at 02:42:52PM +0800, Chen-Yu Tsai wrote: > Now that the CCU device tree binding headers have been merged, we can > use the properly named macros in the device tree, instead of raw > numbers. > > Signed-off-by: Chen-Yu Tsai > --- > > This patch is included as

Re: [PATCH] drm/i915: Consistently use enum pipe for PCH transcoders

2017-07-17 Thread Daniel Vetter
On Fri, Jul 14, 2017 at 06:04:03PM -0700, Matthias Kaehlcke wrote: > The current code uses two different enum types for PCH transcoders and > performs implicit conversions between the two types. This is error prone > and causes clang to raise warnings like this: > >

Re: [PATCH 5/6] mm/memcontrol: support MEMORY_DEVICE_PRIVATE and MEMORY_DEVICE_PUBLIC v3

2017-07-17 Thread Balbir Singh
On Thu, 2017-07-13 at 17:15 -0400, Jérôme Glisse wrote: > HMM pages (private or public device pages) are ZONE_DEVICE page and > thus need special handling when it comes to lru or refcount. This > patch make sure that memcontrol properly handle those when it face > them. Those pages are use like

Re: [PATCH v2] ARM: dts: at91: sama5d2_xplained: use pin macros instead of numbers

2017-07-17 Thread Alexandre Belloni
On 10/07/2017 at 08:12:05 +0200, Ludovic Desroches wrote: > Use pin macros instead of magic numbers to ease interpretation. > > Signed-off-by: Ludovic Desroches > --- > > I have remove the unexpected brace removal from the first version of this > patch. > >

[PATCH 0/2] use correct values for startup time bits for AXP22X/AXP8XX PEKs

2017-07-17 Thread Quentin Schulz
According to their datasheets, the AXP221, AXP223, AXP288, AXP803, AXP809 and AXP813 PEK have different values for startup time bits from the AXP20X PEK (which are currently used for all the aforementioned PMICs). This patch series adds support for platform_device_id to axp20x-pek driver to

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