Re: [PATCH] ACPI/IORT: Fix iort_node_get_id() mapping entries indexing

2017-01-09 Thread Hanjun Guo
On 2017/1/6 2:29, Lorenzo Pieralisi wrote: Commit 618f535a6062 ("ACPI/IORT: Add single mapping function") introduced a function (iort_node_get_id()) to retrieve ids for IORT named components. iort_node_get_id() takes an index as input to refer to a specific mapping entry in the mapping array to

Re: [PATCH net-next] bridge: multicast to unicast

2017-01-09 Thread Johannes Berg
On Sat, 2017-01-07 at 16:15 +0100, Linus Lüssing wrote: > Actually, I do not quite understand that remark in the mac80211 > multicast-to-unicast patch. IP should not care about the ethernet > header? But it does, for example RFC 1122 states:  When a host sends a datagram to a link-layer

[PATCH v1] irqchip: irq-mips-gic:- Handle return NULL error from ioremap_nocache

2017-01-09 Thread Arvind Yadav
Here, If ioremap_nocache will fail. It will return NULL. Kernel can run into a NULL-pointer dereference. This error check will avoid NULL pointer dereference. Signed-off-by: Arvind Yadav --- drivers/irqchip/irq-mips-gic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/irqchip/irq-

Re: [PATCH net-next] bridge: multicast to unicast

2017-01-09 Thread Johannes Berg
On Sat, 2017-01-07 at 15:55 +0100, Linus Lüssing wrote: > On Sat, Jan 07, 2017 at 11:32:57AM +0100, M. Braun wrote: > > Am 06.01.2017 um 14:54 schrieb Johannes Berg: > > > > > > > The bridge layer can use IGMP snooping to ensure that the > > > > multicast > > > > stream is only transmitted to clie

Re: [PATCH] iommu: Drop the of_iommu_{set/get}_ops() interface

2017-01-09 Thread Marek Szyprowski
Hi Lorenzo, On 2017-01-03 18:34, Lorenzo Pieralisi wrote: With the introduction of the new iommu_{register/get}_instance() interface in commit e4f10ffe4c9b ("iommu: Make of_iommu_set/get_ops() DT agnostic") (based on struct fwnode_handle as look-up token, so firmware agnostic) to register IOMMU

Re: [PATCH v2 1/5] usb: dwc2: gadget: use ep->fifo_index in context of FIFO registers

2017-01-09 Thread Morgan Chang
Hi, John On Thu, Feb 4, 2016 at 8:25 PM, Vahram Aharonyan wrote: > On 2/3/2016 3:40 PM, Robert Baldyga wrote: > > Hi Robert, > > DTXFSTS register is linked with endpoint, not FIFO - it contains information > about how much space is used in the FIFO assigned to the endpoint. Changing > ep->index

Re: [PATCH 00/10] vtime: Delay cputime accounting to tick / context switch

2017-01-09 Thread Martin Schwidefsky
On Thu, 5 Jan 2017 18:11:40 +0100 Frederic Weisbecker wrote: > This version is a rebase on top of latest Linus tree which includes > the fix 8f2b468aadc ("s390/vtime: correct system time accounting"). > > Also a small change: I have moved account_system_index_scaled() to s390 > in patch "s390/c

Re: [PATCH v2] staging: wilc1000: Connect to highest RSSI value for required SSID

2017-01-09 Thread Dan Carpenter
Thanks for the changes. regards, dan carpenter

[patch] misc: mic: double free on ioctl error path

2017-01-09 Thread Dan Carpenter
This function only has one caller. Freeing "vdev" here leads to a use after free bug. There are several other error paths in this function but this is the only one which frees "vdev". It looks like the kfree() can be safely removed. Fixes: 61e9c905df78 ("misc: mic: Enable VOP host side function

Re: [PATCH v3 00/11] power: supply: bq275xx: implement individual chip revision support

2017-01-09 Thread Pali Rohár
On Monday 09 January 2017 11:47:34 Chris Lapa wrote: > From: Chris Lapa > > This patch series separates out support for each revision chip in > the bq27500, bq27510 and bq27520 family. Each revision has enough > register address changes to justify individual register mappings. > > The series als

rcu_sched detected stalls on CPUs and server freeze for few minutes.

2017-01-09 Thread mitko
Hello, from few months I have a problem with my kernel or server. I read a lots of posts in internet but unable to find solution or information what trigger this error. Im using Slackware linux x86-64, kernel version: Linux database 4.4.38 #2 SMP Sun Dec 11 16:11:02 CST 2016 x86_64 Intel(R) X

Re: [PATCH v3 2/2] backlight arcxcnn devicetree bindings for ArcticSand

2017-01-09 Thread Lee Jones
On Fri, 06 Jan 2017, Olimpiu Dejeu wrote: > backlight: Add devicetree bindings for the Arctic Sand backlight driver > This patch provides devicetree bindings for the Arctic Sand > driver submitted in the previous patch > Acked-by: Rob Herring > Signed-off-by: Olimpiu Dejeu > --- > > v2 => v

Re: [RFC3 nowrap: PATCH v7 00/18] ILP32 for ARM64

2017-01-09 Thread Yury Norov
On Fri, Jan 06, 2017 at 02:47:04PM +, Catalin Marinas wrote: > On Sun, Dec 18, 2016 at 12:38:23PM +0530, Yury Norov wrote: > > On Fri, Oct 21, 2016 at 11:32:59PM +0300, Yury Norov wrote: > > > This series enables aarch64 with ilp32 mode, and as supporting work, > > > introduces ARCH_32BIT_OFF_T

Re: [PATCH 12/15] hyperv: move VMBus connection ids to uapi

2017-01-09 Thread Roman Kagan
On Mon, Jan 02, 2017 at 09:19:57AM +0100, Paolo Bonzini wrote: > On 28/12/2016 18:09, Roman Kagan wrote: > > Am I correct assuming that QEMU is currently the only user of > > arch/x86/include/uapi/asm/hyperv.h? > > > > Then I think we're fine withdrawing it from uapi as a whole and letting > > QEM

Re: [PATCH v4 2/5] mfd: lm3533: Support initialization from Device Tree

2017-01-09 Thread Lee Jones
On Fri, 06 Jan 2017, Bjorn Andersson wrote: > On Fri 06 Jan 01:53 PST 2017, Lee Jones wrote: > > > On Thu, 05 Jan 2017, Bjorn Andersson wrote: > > > > > On Wed 04 Jan 23:49 PST 2017, Lee Jones wrote: > > > > > > > On Wed, 04 Jan 2017, Bjorn Andersson wrote: > > > > > > > > > On Wed 04 Jan 03:5

[ANNOUNCE] Jailhouse 0.6 released

2017-01-09 Thread Jan Kiszka
Busily fixing and enhancing the partitioning hypervisor Jailhouse over the last year, we basically forgot to release new versions. Here is one, and it's another major step forward towards the production-grade of this hypervisor. Key changes since the last release: - Rework and maturing of ARMv7 s

Re: [PATCH 12/15] hyperv: move VMBus connection ids to uapi

2017-01-09 Thread hpa
On January 9, 2017 12:32:23 AM PST, Roman Kagan wrote: >On Mon, Jan 02, 2017 at 09:19:57AM +0100, Paolo Bonzini wrote: >> On 28/12/2016 18:09, Roman Kagan wrote: >> > Am I correct assuming that QEMU is currently the only user of >> > arch/x86/include/uapi/asm/hyperv.h? >> > >> > Then I think we'r

Re: [f2fs-dev] [PATCH 3/5] f2fs: check in-memory block bitmap

2017-01-09 Thread Chao Yu
Hi Jaegeuk, On 2017/1/8 13:02, Jaegeuk Kim wrote: >> @@ -2786,6 +2811,7 @@ static void destroy_sit_info(struct f2fs_sb_info *sbi) >> if (sit_i->sentries) { >> for (start = 0; start < MAIN_SEGS(sbi); start++) { >> kfree(sit_i->sentries[start].cur_valid_map); >

Re: [PATCH v1 3/3] thermal: zx2967: add thermal driver for ZTE's zx2967 family

2017-01-09 Thread Shawn Guo
On Mon, Jan 09, 2017 at 11:00:38AM +0800, Jun Nie wrote: > >+static int zx2967_thermal_resume(struct device *dev) > >+{ > >+struct platform_device *pdev = to_platform_device(dev); > >+struct zx2967_thermal_priv *priv = platform_get_drvdata(pdev); > >+int error; > >+ > >+error = clk_

[PATCH v4 2/2] ARM: sama5_defconfig: add support for the Axentia TSE-850 board

2017-01-09 Thread Peter Rosin
Signed-off-by: Peter Rosin --- arch/arm/configs/sama5_defconfig | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig index aca8625b6fc9..bf5b3a73e38c 100644 --- a/arch/arm/configs/sama5_defconfig +++ b/arch/a

[PATCH v4 0/2] Support for Axentia TSE-850

2017-01-09 Thread Peter Rosin
Hi! changes v3 -> v4 - rename files arch/arm/boot/dts/axentia-* to .../at91-* - remove bootargs from at91-tse850-3.dts - depend on the atmel ssc to register as a sound dai by itself - bump copyright years changes v2 -> v3 - document the new compatible strings prefixed with "axentia,". changes v1

[PATCH v4 1/2] ARM: dts: at91: add devicetree for the Axentia TSE-850

2017-01-09 Thread Peter Rosin
Signed-off-by: Peter Rosin --- Documentation/devicetree/bindings/arm/axentia.txt | 19 ++ MAINTAINERS | 8 + arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/at91-linea.dtsi | 53 + arch/arm/boot/dts/at91-ts

Re: [PATCH] mm: support __GFP_REPEAT in kvmalloc_node

2017-01-09 Thread Michal Hocko
On Fri 06-01-17 13:09:36, Vlastimil Babka wrote: > On 01/04/2017 07:12 PM, Michal Hocko wrote: > > While checking opencoded users I've encountered that vhost code would > > really like to use kvmalloc with __GFP_REPEAT [1] so the following patch > > adds support for __GFP_REPEAT and converts both v

Re: [PATCH 1/4] ARM: dts: move hdmi pinctrl out of board file.

2017-01-09 Thread Archit Taneja
On 01/04/2017 07:04 PM, Srinivas Kandagatla wrote: This patch moves hdmi pinctrl defination from board file to soc level pinctrl file. If not this pinctrl setup will be duplicated across all the apq8064 based board files. Reviewed-by: Archit Taneja Signed-off-by: Srinivas Kandagatla ---

Re: [PATCH 2/4] ARM: dts: sd-600eval: add hdmi support

2017-01-09 Thread Archit Taneja
On 01/04/2017 07:04 PM, Srinivas Kandagatla wrote: Signed-off-by: Srinivas Kandagatla Reviewed-by: Archit Taneja --- .../arm/boot/dts/qcom-apq8064-arrow-sd-600eval.dts | 44 ++ 1 file changed, 44 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-arrow-sd-600e

Re: [PATCH 2/6] arm64: dts: apq8016-sbc: add support to hdmi audio via adv7533

2017-01-09 Thread Archit Taneja
On 01/04/2017 07:04 PM, Srinivas Kandagatla wrote: This patch adds support to hdmi audio via adv7533. Tested-by: Archit Taneja Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot

Re: Uninitialized variable in bfad_im_bsg_els_ct_request

2017-01-09 Thread Johannes Thumshirn
On Sun, Dec 18, 2016 at 09:44:27PM +0100, Nicolas Iooss wrote: > Hello, > > Currently on Linus master tree and in linux-next [1], > bfad_im_bsg_els_ct_request() code starts with the following code: > > int > bfad_im_bsg_els_ct_request(struct bsg_job *job) > { > /*...*/ > struct fc_bsg

Re: [PATCH 12/15] hyperv: move VMBus connection ids to uapi

2017-01-09 Thread Roman Kagan
On Mon, Jan 09, 2017 at 12:40:48AM -0800, h...@zytor.com wrote: > On January 9, 2017 12:32:23 AM PST, Roman Kagan wrote: > >On Mon, Jan 02, 2017 at 09:19:57AM +0100, Paolo Bonzini wrote: > >> On 28/12/2016 18:09, Roman Kagan wrote: > >> > Am I correct assuming that QEMU is currently the only user

Re: [PATCH v1] irqchip: irq-mips-gic:- Handle return NULL error from ioremap_nocache

2017-01-09 Thread Marc Zyngier
On 09/01/17 08:08, Arvind Yadav wrote: > Here, If ioremap_nocache will fail. It will return NULL. > Kernel can run into a NULL-pointer dereference. > This error check will avoid NULL pointer dereference. > > Signed-off-by: Arvind Yadav > --- > drivers/irqchip/irq-mips-gic.c | 2 ++ > 1 file chan

Re: [PATCH 12/15] hyperv: move VMBus connection ids to uapi

2017-01-09 Thread Paolo Bonzini
On 09/01/2017 09:40, h...@zytor.com wrote: > On January 9, 2017 12:32:23 AM PST, Roman Kagan wrote: >> On Mon, Jan 02, 2017 at 09:19:57AM +0100, Paolo Bonzini wrote: >>> On 28/12/2016 18:09, Roman Kagan wrote: Am I correct assuming that QEMU is currently the only user of arch/x86/inclu

Re: [PATCH v11 0/5] Enabling Ring 3 MONITOR/MWAIT feature for Knights Landing

2017-01-09 Thread Thomas Gleixner
On Tue, 3 Jan 2017, Pavel Machek wrote: > On Tue 2016-12-20 14:48:41, Grzegorz Andrejczuk wrote: > > Following patches enable the use of the feature that allows > > the Intel Xeon Phi x200 devices to use MONITOR/MWAIT instructions > > outside ring 0. It allows userspace applications to use > > mor

Re: [PATCH v3 1/5] drm/dp: add connector backpointer to drm_dp_aux

2017-01-09 Thread Tomeu Vizoso
On 6 January 2017 at 16:56, Sean Paul wrote: > On Fri, Jan 6, 2017 at 9:30 AM, Tomeu Vizoso > wrote: >> This backpointer allows DP helpers to access the connector it's being >> used for. >> >> Signed-off-by: Tomeu Vizoso >> --- >> >> include/drm/drm_dp_helper.h | 2 ++ >> 1 file changed, 2 ins

[PATCH v2 0/3] STM32F4 Clock binding fix & update

2017-01-09 Thread gabriel.fernandez
From: Gabriel Fernandez v2: - Only rename commit subject of first patch to avoid the error: Remote Server returned '

[PATCH v2 2/3] dt-bindings: mfd: stm32f4: Add missing binding definition

2017-01-09 Thread gabriel.fernandez
From: Gabriel Fernandez This patch adds missing binding definition (backupram, ethernet, otg, qspi, adc & dsi) Signed-off-by: Gabriel Fernandez --- include/dt-bindings/mfd/stm32f4-rcc.h | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/include/dt-bindings/mfd/

[PATCH v2 3/3] ARM: dts: stm32: Use clock DT binding definition on stm32f429 family

2017-01-09 Thread gabriel.fernandez
From: Gabriel Fernandez This patch uses clock DT binding definition instead numerical values for stm32f429 board. Signed-off-by: Gabriel Fernandez --- arch/arm/boot/dts/stm32429i-eval.dts | 2 +- arch/arm/boot/dts/stm32f429.dtsi | 66 +++- 2 files changed,

[PATCH v2 1/3] dt-bindings: mfd: stm32f4: Fix STM32F4_X_CLOCK() macro

2017-01-09 Thread gabriel.fernandez
From: Gabriel Fernandez Macro to select a clock was not correct. Offset of enable register starts at 0x30, then calculation to select a bit is: (@enable_reg - 0x30) / 4 * 32 + bit_to_select Signed-off-by: Gabriel Fernandez Tested-by: M'boumba Cedric Madianga --- include/dt-bindings/mfd/stm32

Re: [PATCH v11 0/5] Enabling Ring 3 MONITOR/MWAIT feature for Knights Landing

2017-01-09 Thread Pavel Machek
On Mon 2017-01-09 09:59:42, Thomas Gleixner wrote: > On Tue, 3 Jan 2017, Pavel Machek wrote: > > > On Tue 2016-12-20 14:48:41, Grzegorz Andrejczuk wrote: > > > Following patches enable the use of the feature that allows > > > the Intel Xeon Phi x200 devices to use MONITOR/MWAIT instructions > > >

RE: [PATCH net-next] bridge: multicast to unicast

2017-01-09 Thread Jean-Pierre Tosoni
> -Message d'origine- > De : linux-wireless-ow...@vger.kernel.org [mailto:linux-wireless- > ow...@vger.kernel.org] De la part de Stephen Hemminger > Envoyé : samedi 7 janvier 2017 04:14 > À : Linus Lüssing > Cc : net...@vger.kernel.org; David S . Miller; bridge@lists.linux- > foundation.org

Re: [PATCH v7 3/4] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2017-01-09 Thread Inki Dae
2017년 01월 09일 16:37에 Andrzej Hajda 이(가) 쓴 글: > On 06.01.2017 09:36, Inki Dae wrote: >> >> 2017년 01월 06일 17:18에 Andi Shyti 이(가) 쓴 글: >>> Hi Inki, >>> >>> Thanks for the reply, but... >>> >> +static const struct drm_display_mode default_mode = { >> +.clock = 222372, >> +

Re: [HMM v15 01/16] mm/free_hot_cold_page: catch ZONE_DEVICE pages

2017-01-09 Thread Balbir Singh
On Fri, Jan 06, 2017 at 11:46:28AM -0500, Jérôme Glisse wrote: > Catch page from ZONE_DEVICE in free_hot_cold_page(). This should never > happen as ZONE_DEVICE page must always have an elevated refcount. > > This is safety-net to catch any refcounting issues in a sane way for any > ZONE_DEVICE pag

Re: 4.10-rc1: thinkpad x60: who ate my cpu?

2017-01-09 Thread Pavel Machek
Hi! > I used to have two cpus, and Thinkpad X60 should have two cores, but I > only see one on 4.10-rc1. This machine went through many > suspend/resume cycles. When backups finish, I'll try -rc2. Whoever did it, he seems to have returned the cpu in -rc3. All seems to be good now.

Re: [PATCH v5] PCI: add a new directory for designware core

2017-01-09 Thread Kishon Vijay Abraham I
Hi, On Friday 06 January 2017 07:10 PM, Joao Pinto wrote: > Hello, > > Às 1:12 PM de 1/6/2017, Kishon Vijay Abraham I escreveu: >> Hi Arnd, >> >> On Friday 06 January 2017 06:31 PM, Arnd Bergmann wrote: >>> On Friday, January 6, 2017 6:22:48 PM CET Kishon Vijay Abraham I wrote: Group all the

Re: 174cc7187e6f ACPICA: Tables: Back port acpi_get_table_with_size() and early_acpi_os_unmap_memory() from Linux kernel

2017-01-09 Thread Borislav Petkov
+ Paul for comment. Leaving in the rest for him. On Mon, Jan 09, 2017 at 02:36:33AM +, Zheng, Lv wrote: > Hi, > > > From: linux-acpi-ow...@vger.kernel.org > > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Zheng, > > Lv > > Subject: RE: 174cc7187e6f ACPICA: Tables: Back port > > ac

Re: [PATCH] VMCI: Use kmalloc_array() in qp_alloc_ppn_set()

2017-01-09 Thread Michal Hocko
On Sun 08-01-17 17:37:08, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 8 Jan 2017 14:04:10 +0100 > > Multiplications for the size determination of memory allocations > indicated that array data structures should be processed. > Thus use the corresponding function "kmalloc_array".

Re: [PATCH V2 1/2] clk: qcom: gdsc: Add support for gdscs with HW control

2017-01-09 Thread Stanimir Varbanov
Hi Sricharan, On 11/18/2016 02:28 PM, Sricharan R wrote: > From: Rajendra Nayak > > Some GDSCs might support a HW control mode, where in the power > domain (gdsc) is brought in and out of low power state (while > unsued) without any SW assistance, saving power. > Such GDSCs can be configured in

Re: [PATCH 3/4] mm, page_allocator: Only use per-cpu allocator for irq-safe requests

2017-01-09 Thread Mel Gorman
On Mon, Jan 09, 2017 at 11:14:29AM +0800, Hillf Danton wrote: > > Sent: Friday, January 06, 2017 6:16 PM Mel Gorman wrote: > > > > On Fri, Jan 06, 2017 at 11:26:46AM +0800, Hillf Danton wrote: > > > > > > On Wednesday, January 04, 2017 7:11 PM Mel Gorman wrote: > > > > @@ -2647,9 +2644,8 @@ stati

RE: Problem on SCTP

2017-01-09 Thread David Laight
From: Sun Paul > Sent: 09 January 2017 02:08 > >> I am setting up a lab where the SCTP traffics from client is passing > >> through a linux router before reaching to the SCTP server running > >> LKSCTP. > >> > >> The linux router did not change the source address of the client, so > >> when it ar

[PATCH 1/6] perf tools: Add unit_number__scnprint function

2017-01-09 Thread Jiri Olsa
Adding unit_number__scnprint function to display size units and use it in -m option info message. Before: $ perf record -m 10M ls rounding mmap pages size to 16777216 bytes (4096 pages) ... After: $ perf record -m 10M ls rounding mmap pages size to 16M (4096 pages) ... Signed-off-by:

[PATCH 3/6] perf record: Change switch-output option to take optional argument

2017-01-09 Thread Jiri Olsa
Next patches will add --switch-output option arguments, changing the option to allow that and adding its default value to 'signal'. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-d3qy0tnc4m2dyt8yd6x5p...@git.kernel.

[PATCH 5/6] perf record: Add switch-output size warning

2017-01-09 Thread Jiri Olsa
Adding switch-output size warning if the requested size of lower than the wakeup ring buffer size. $ perf record --switch-output=1K ls WARNING: switch-output data size lower than wakeup kernel buffer size (258K) expect bigger perf.data sizes ... Signed-off-by: Jiri Olsa Cc: David Ahern C

[PATCHv2 0/7] perf tools: Add switch-output size and time threshold options

2017-01-09 Thread Jiri Olsa
hi, adding a way to configure switch data output for size and time, like: $ sudo perf record -e 'sched:*' --switch-output=10M -avg callchain: type FP switch-output with 10M size threshold mmap size 528384B [ perf record: dump data: Woken up 37 times ] [ perf record: Dump perf.data.2017

[PATCH 4/6] perf record: Add switch-output size option argument

2017-01-09 Thread Jiri Olsa
It's now possible to specify the threshold size for perf.data like: $ perf record --switch-output=2G ... Once it's reached, the current data are dumped in to the perf.data. file and session does on. $ perf record --switch-output=2G ... [ perf record: dump data: Woken up 7244 times ] [ pe

[PATCH 2/6] perf record: Add struct switch_output

2017-01-09 Thread Jiri Olsa
Next patches will add more --switch-output option arguments, so preparing the data holder. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-tibmeq1qw3kgrfzrswt5x...@git.kernel.org --- tools/perf/builtin-record.c | 16

[PATCH 6/6] perf record: Add switch-output time option argument

2017-01-09 Thread Jiri Olsa
It's now possible to specify the threshold time for perf.data like: $ perf record --switch-output=30s ... Once it's reached, the current data are dumped in to the perf.data. file and session does on. $ perf record --switch-output=30s ... [ perf record: dump data: Woken up 44 times ] [ pe

Re: [PATCH 1/2] serial: sh-sci: Fix early deassertion of dedicated RTS

2017-01-09 Thread Geert Uytterhoeven
Hi Laurent, On Fri, Jan 6, 2017 at 1:30 PM, Laurent Pinchart wrote: > On Friday 02 Dec 2016 13:35:10 Geert Uytterhoeven wrote: >> If a UART has dedicated RTS/CTS pins, there are some issues: >> 1. When changing hardware control flow, the new AUTORTS state is not >>immediately reflected in the

Re: [PATCH v7 3/4] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2017-01-09 Thread Andrzej Hajda
On 09.01.2017 10:19, Inki Dae wrote: > > 2017년 01월 09일 16:37에 Andrzej Hajda 이(가) 쓴 글: >> On 06.01.2017 09:36, Inki Dae wrote: >>> 2017년 01월 06일 17:18에 Andi Shyti 이(가) 쓴 글: Hi Inki, Thanks for the reply, but... >>> +static const struct drm_display_mode default_mode = { >>

Re: [PATCH 4.4 54/58] powerpc: Convert cmp to cmpd in idle enter sequence

2017-01-09 Thread Vaidyanathan Srinivasan
* Greg Kroah-Hartman [2017-01-06 22:44:39]: > 4.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Segher Boessenkool > > commit 80f23935cadb1c654e81951f5a8b7ceae0acc1b4 upstream. > > PowerPC's "cmp" instruction has four operands. Norma

Re: [PATCH 3/4] mm, page_allocator: Only use per-cpu allocator for irq-safe requests

2017-01-09 Thread Hillf Danton
On Monday, January 09, 2017 5:48 PM Mel Gorman wrote: > On Mon, Jan 09, 2017 at 11:14:29AM +0800, Hillf Danton wrote: > > > On Friday, January 06, 2017 6:16 PM Mel Gorman wrote: > > > > > > On Fri, Jan 06, 2017 at 11:26:46AM +0800, Hillf Danton wrote: > > > > > > > > On Wednesday, January 04, 2017

[PATCH] ACPI / OSL: Fix rcu synchronization logic

2017-01-09 Thread Lv Zheng
The rcu synchronization logic is originally provided to protect apei_read()/apei_write() as in the APEI drivers, there is NMI event source requiring non spinlock based synchronization mechanism. After that, ACPI developers think FADT registers may also require same facility, so they moved the RCU

Re: weird allocation pattern in alloc_ila_locks

2017-01-09 Thread Michal Hocko
On Sat 07-01-17 10:37:41, Eric Dumazet wrote: > On Sat, Jan 7, 2017 at 1:27 AM, Michal Hocko wrote: > > On Fri 06-01-17 14:14:49, Eric Dumazet wrote: > > >> I believe the intent was to get NUMA spreading, a bit like what we have > >> in alloc_large_system_hash() when hashdist == HASHDIST_DEFAULT

Re: [PATCH] clk: scpi: don't add cpufreq device if the scpi dvfs node is disabled

2017-01-09 Thread Sudeep Holla
On 07/01/17 00:44, Michał Zegan wrote: > seems the patch works as intended. > So, can we take this as Tested-by: Michał Zegan ? > W dniu 06.01.2017 o 13:34, Sudeep Holla pisze: >> Currently we add the virtual cpufreq device unconditionally even when >> the SCPI DVFS clock provider node is dis

Re: [linux-sunxi] [PATCH] clk: sunxi-ng: fix PLL_CPUX adjusting on H3

2017-01-09 Thread Maxime Ripard
On Sat, Jan 07, 2017 at 04:49:18PM +0100, Ondřej Jirman wrote: > Maxime, > > Dne 25.11.2016 v 01:28 meg...@megous.com napsal(a): > > From: Ondrej Jirman > > > > When adjusting PLL_CPUX on H3, the PLL is temporarily driven > > too high, and the system becomes unstable (oopses or hangs). > > > >

Re: Problem on SCTP

2017-01-09 Thread Sun Paul
Hi the linux router just change the destination, so it can arrive on the the SERVER. On Mon, Jan 9, 2017 at 5:51 PM, David Laight wrote: > From: Sun Paul >> Sent: 09 January 2017 02:08 > >> >> I am setting up a lab where the SCTP traffics from client is passing >> >> through a linux router befo

Re: [PATCH v2 7/7] uapi: export all headers under uapi directories

2017-01-09 Thread Daniel Vetter
On Fri, Jan 06, 2017 at 10:43:59AM +0100, Nicolas Dichtel wrote: > Regularly, when a new header is created in include/uapi/, the developer > forgets to add it in the corresponding Kbuild file. This error is usually > detected after the release is out. > > In fact, all headers under uapi directorie

Re: [patch] mm, thp: add new background defrag option

2017-01-09 Thread Vlastimil Babka
On 01/06/2017 11:20 PM, David Rientjes wrote: > On Fri, 6 Jan 2017, Vlastimil Babka wrote: > >> Deciding between "defer" and "background" is however confusing, and also >> doesn't indicate that the difference is related to madvise. >> > > Any suggestions for a better name for "background" are mor

[PATCH v6 08/17] mtd: nand: Add manufacturer specific initialization/detection steps

2017-01-09 Thread Boris Brezillon
A lot of NANDs are implementing generic features in a non-generic way, or are providing advanced auto-detection logic where the NAND ID bytes meaning changes with the NAND generation. Providing this vendor specific initialization step will allow us to get rid of the full ids in the nand_ids table

Re: [PATCH] ACPI / OSL: Fix rcu synchronization logic

2017-01-09 Thread Borislav Petkov
On Mon, Jan 09, 2017 at 05:56:09PM +0800, Lv Zheng wrote: > The rcu synchronization logic is originally provided to protect > apei_read()/apei_write() as in the APEI drivers, there is NMI event source > requiring non spinlock based synchronization mechanism. > > After that, ACPI developers think F

Re: usb:xhci: support disable usb2 LPM Remote Wakeup

2017-01-09 Thread Thang Q. Nguyen
On Mon, Dec 12, 2016 at 8:00 PM, Mathias Nyman wrote: > On 12.12.2016 06:00, Thang Q. Nguyen wrote: >> >> On Sat, Dec 10, 2016 at 4:36 AM, Rob Herring wrote: >>> >>> On Sun, Dec 04, 2016 at 07:42:01PM +0700, Thang Q. Nguyen wrote: From: Thang Nguyen As per USB 2.0 link power

Re: [Intel-gfx] 4.10-rc2 oops in DRM connector code

2017-01-09 Thread Daniel Vetter
On Thu, Jan 05, 2017 at 11:03:44AM -0800, Dave Hansen wrote: > My Thinkpad x260 doesn't like to be unplugged from its dock. I don't > think this is a new bug. It's happening on my distro's 4.4 kernel > as well. > > The actual oops is in device_del(). It appears to have been passed a > null 'str

Re: [PATCH] clk: scpi: don't add cpufreq device if the scpi dvfs node is disabled

2017-01-09 Thread Michał Zegan
Of course. W dniu 09.01.2017 o 10:58, Sudeep Holla pisze: > > > On 07/01/17 00:44, Michał Zegan wrote: >> seems the patch works as intended. >> > > So, can we take this as > Tested-by: Michał Zegan ? > >> W dniu 06.01.2017 o 13:34, Sudeep Holla pisze: >>> Currently we add the virtual cpufreq

Re: [GIT PULL] efi: Pass secure boot mode to kernel

2017-01-09 Thread Matt Fleming
On Thu, 05 Jan, at 02:41:09PM, David Howells wrote: > Matt Fleming wrote: > > > > Is it too late to request this for the upcoming merge window? > > > > For something as non-trivial as this, yes, it's too late. We generally > > close the EFI tree window for new features around -rc5 time. > > Can

Re: __GFP_REPEAT usage in fq_alloc_node

2017-01-09 Thread Michal Hocko
On Fri 06-01-17 17:19:44, Michal Hocko wrote: [...] > From 8eadf8774daecdd6c4de37339216282a16920458 Mon Sep 17 00:00:00 2001 > From: Michal Hocko > Date: Fri, 6 Jan 2017 17:03:31 +0100 > Subject: [PATCH] net: use kvmalloc rather than open coded variant > > fq_alloc_node, alloc_netdev_mqs and neti

[PATCH v6 09/17] mtd: nand: Move Samsung specific init/detection logic in nand_samsung.c

2017-01-09 Thread Boris Brezillon
Move Samsung specific initialization and detection logic into nand_samsung.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Boris Brezillon Acked-by: Richard Weinberger --- drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/nand_base.c|

[PATCH] drm/i915: Flush untouched framebuffers before display on !llc

2017-01-09 Thread Chris Wilson
On a non-llc system, the objects are created with .cache_level = CACHE_NONE and so the transition to uncached for scanout is a no-op. However, if the object was never written to, it will still be in the CPU domain (having been zeroed out by shmemfs). Those cachelines need to be flushed prior to dis

Re: [PATCH 4/8] [media] videobuf-dma-sg: Adjust 24 checks for null values

2017-01-09 Thread Dan Carpenter
On Mon, Dec 26, 2016 at 09:48:19PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 26 Dec 2016 20:30:19 +0100 > > Convert comparisons with the preprocessor symbol "NULL" or the value "0" > to condition checks without it. Generally lengths are numbers and not booleans so "len

Re: [PATCH v7 1/3] gpio: exar: add gpio for exar cards

2017-01-09 Thread Linus Walleij
On Sun, Jan 8, 2017 at 12:57 AM, Sudip Mukherjee wrote: > Exar XR17V352/354/358 chips have 16 multi-purpose inputs/outputs which > can be controlled using gpio interface. > > Add the gpio specific code. > > Signed-off-by: Sudip Mukherjee Will I be able to merge this independently to the GPIO tr

[PATCH v6 12/17] mtd: nand: Move Micron specific init logic in nand_micron.c

2017-01-09 Thread Boris Brezillon
Move Micron specific initialization logic into nand_micron.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Boris Brezillon Acked-by: Richard Weinberger --- drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/nand_base.c | 32 +--

Re: [PATCH v4] rfkill: Add rfkill-any LED trigger

2017-01-09 Thread Johannes Berg
> > Looks better, but > > > > > +static struct work_struct rfkill_any_work; > > > > At least on module exit you need to cancel this work. > > It is cancelled in rfkill_any_led_trigger_unregister().  It seemed > fitting to do it this way as rfkill_any_work is initialized in > rfkill_any_led_trig

Build regressions/improvements in v4.10-rc3

2017-01-09 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.10-rc3[1] compared to v4.9[2]. Summarized: - build errors: +1/-8 - build warnings: +1292/-954 JFYI, when comparing v4.10-rc3[1] to v4.10-rc2[3], the summaries are: - build errors: +1/-3 - build warnings: +426/-677 Ha

Re: [GIT PULL] efi: Pass secure boot mode to kernel

2017-01-09 Thread David Howells
Matt Fleming wrote: > > Can I request that it be pulled now? Are you going to update efi/core? > > Sorry for the delay David. I've just returned from annual leave and > I'll take a look at this series this week. That's okay, thanks! David

Re: [PATCH v8 1/3] gpio: exar: add gpio for exar cards

2017-01-09 Thread Linus Walleij
On Sun, Jan 8, 2017 at 11:32 PM, Sudip Mukherjee wrote: > From: Sudip Mukherjee > > Exar XR17V352/354/358 chips have 16 multi-purpose inputs/outputs which > can be controlled using gpio interface. > > Add the gpio specific code. > > Signed-off-by: Sudip Mukherjee My comments on the previous ve

Re: [PATCH v3 4/9] arm64: cpufeature: Document the rules of safe value for features

2017-01-09 Thread Suzuki K Poulose
On 06/01/17 12:30, Catalin Marinas wrote: On Wed, Jan 04, 2017 at 05:49:02PM +, Suzuki K. Poulose wrote: --- a/arch/arm64/include/asm/cpufeature.h +++ b/arch/arm64/include/asm/cpufeature.h @@ -29,7 +29,21 @@ #include #include -/* CPU feature register tracking */ +/* + * CPU feature regi

Re: [PATCH v2 2/2] reset: make optional functions really optional

2017-01-09 Thread Philipp Zabel
Hi Ramiro, Am Dienstag, den 27.12.2016, 12:37 + schrieb Ramiro Oliveira: > The optional functions weren't really optional so this patch makes them > really optional. Please add a bit of detail to the description. Since this changes the API, you should mention that the reset_control_get_option

[PATCH] stable-fixup: hotplug: fix unused function warning

2017-01-09 Thread Arnd Bergmann
The backport of upstream commit 777c6e0daebb ("hotplug: Make register and unregister notifier API symmetric") to linux-4.4.y introduced a harmless warning in 'allnoconfig' builds as spotted by kernelci.org: kernel/cpu.c:226:13: warning: 'cpu_notify_nofail' defined but not used [-Wunused-function]

Re: [PATCH V6 2/7] perf/amd/iommu: Modify functions to query max banks and counters

2017-01-09 Thread Suravee Suthikulpanit
On 1/4/17 21:48, Joerg Roedel wrote: On Fri, Dec 23, 2016 at 08:38:45PM +0700, Suravee Suthikulpanit wrote: --- a/arch/x86/events/amd/iommu.h +++ b/arch/x86/events/amd/iommu.h @@ -24,15 +24,12 @@ #define PC_MAX_SPEC_BNKS 64 #define PC_MAX_SPEC_CNTRS

Re: [PATCH] iio: misc: add a generic regulator driver

2017-01-09 Thread Linus Walleij
On Thu, Jan 5, 2017 at 1:00 PM, Mark Brown wrote: > The system itself is controlling > a power line, it knows nothing about what's connected. It seems like > this is coming up often enough that someone should probably just write > an external system control binding, also tying in things like ref

[PATCH v6 10/17] mtd: nand: Move Hynix specific init/detection logic in nand_hynix.c

2017-01-09 Thread Boris Brezillon
Move Hynix specific initialization and detection logic into nand_hynix.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Boris Brezillon Acked-by: Richard Weinberger --- drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/nand_base.c | 114 +++

Re: [PATCH] drm/i915: Flush untouched framebuffers before display on !llc

2017-01-09 Thread Chris Wilson
On Mon, Jan 09, 2017 at 10:24:01AM +, Chris Wilson wrote: > On a non-llc system, the objects are created with .cache_level = > CACHE_NONE and so the transition to uncached for scanout is a no-op. > However, if the object was never written to, it will still be in the CPU > domain (having been ze

Re: 174cc7187e6f ACPICA: Tables: Back port acpi_get_table_with_size() and early_acpi_os_unmap_memory() from Linux kernel

2017-01-09 Thread Jörg Rödel
Hi Rafael, On Sun, Jan 08, 2017 at 03:20:20AM +0100, Rafael J. Wysocki wrote: > --- > drivers/iommu/amd_iommu_init.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > Index: linux-pm/drivers/iommu/amd_iommu_init.c > ===

[tip:x86/apic] x86/apic: Implement set_state_oneshot_stopped() callback

2017-01-09 Thread tip-bot for Frederic Weisbecker
Commit-ID: 914122c389d091a02f7b5476209af715e77ccb73 Gitweb: http://git.kernel.org/tip/914122c389d091a02f7b5476209af715e77ccb73 Author: Frederic Weisbecker AuthorDate: Thu, 29 Dec 2016 17:45:49 +0100 Committer: Thomas Gleixner CommitDate: Mon, 9 Jan 2017 11:48:42 +0100 x86/apic: Impleme

Re: Dell XPS13: MCE (Hardware Error) reported

2017-01-09 Thread Paul Menzel
On 01/06/17 17:54, Borislav Petkov wrote: On Fri, Jan 06, 2017 at 07:58:31AM -0800, Raj, Ashok wrote: Looks like we don't need a return value from therm_throt_process(), we can fix that as void as well. Right you are, here's v2: --- From a8151fa6f18c2605eb7972061234f05e79b372c4 Mon Sep 17 00:

[tip:x86/urgent] x86/boot: Add missing declaration of string functions

2017-01-09 Thread tip-bot for Nicholas Mc Guire
Commit-ID: fac69d0efad08fc15e4dbfc116830782acc0dc9a Gitweb: http://git.kernel.org/tip/fac69d0efad08fc15e4dbfc116830782acc0dc9a Author: Nicholas Mc Guire AuthorDate: Sat, 7 Jan 2017 10:38:31 +0100 Committer: Thomas Gleixner CommitDate: Mon, 9 Jan 2017 11:53:05 +0100 x86/boot: Add missin

Re: [PATCH] drm: nouveau: fix build when LEDS_CLASS=m

2017-01-09 Thread Jani Nikula
On Thu, 05 Jan 2017, Randy Dunlap wrote: > That particular circular/recursive dependency is ugly. I spent about > one hour trying/testing various fixes and don't have one. I didn't really look at this one all that much, but when I face problems with kconfig, it's almost invariably because of over

Re: [PATCH v3 9/9] arm64: Documentation - Expose CPU feature registers

2017-01-09 Thread Suzuki K Poulose
On 06/01/17 12:16, Catalin Marinas wrote: On Wed, Jan 04, 2017 at 05:49:07PM +, Suzuki K. Poulose wrote: +The following rules are applied to the value returned by the +infrastructure: + + a) The value of an 'IMPLEMENTATION DEFINED' field is set to 0. + b) The value of a reserved field is pop

Re: [linux-sunxi] Re: [PATCH 3/6] clk: sunxi-ng: Add H5 clocks

2017-01-09 Thread Maxime Ripard
On Fri, Jan 06, 2017 at 06:48:31AM +0800, Icenowy Zheng wrote: > > 2017年1月6日 06:04于 Maxime Ripard 写道: > > > > On Tue, Dec 27, 2016 at 12:25:15AM +0800, Icenowy Zheng wrote: > > > Add the H5 CCU clocks set based on the H3 one. > > > > > > Signed-off-by: Icenowy Zheng > > > > Is there any diffe

Re: Dell XPS13: MCE (Hardware Error) reported

2017-01-09 Thread Borislav Petkov
On Mon, Jan 09, 2017 at 11:55:41AM +0100, Paul Menzel wrote: > Do you mean *shouldn’t have been done*? Yes. > Should the discussion be referenced? Yap, it will be. > Also, is that just for MacBookPro11,3? The MCE for the Dell XPS13 looks > different from what I see, doesn’t it? Yes, yours is d

Re: Dell XPS13: MCE (Hardware Error) reported

2017-01-09 Thread Paul Menzel
Dear Boris, On 01/09/17 12:05, Borislav Petkov wrote: On Mon, Jan 09, 2017 at 11:55:41AM +0100, Paul Menzel wrote: […] Also, is that just for MacBookPro11,3? The MCE for the Dell XPS13 looks different from what I see, doesn’t it? Yes, yours is different. I'm still waiting for you to reply

Re: [RFC] drm: Parse HDMI 2.0 YCbCr 4:2:0 VDB and VCB

2017-01-09 Thread Jose Abreu
Hi Shashank, Thanks for the review. On 09-01-2017 05:22, Sharma, Shashank wrote: > Regards > > Shashank > > > On 12/30/2016 10:23 PM, Jose Abreu wrote: >> HDMI 2.0 introduces a new sampling mode called YCbCr 4:2:0. >> According to the spec the EDID may contain two blocks that >> signal this sam

Re: drivers/net/wireless/intel/iwlwifi/pcie/trans.c: 2 * suspicious code ?

2017-01-09 Thread Luca Coelho
On Fri, 2017-01-06 at 17:47 +, David Binderman wrote: > Hello there, Hi David, > 1. > > drivers/net/wireless/intel/iwlwifi/pcie/trans.c:2039:14: warning: decrement > of a boolean expression [-Wbool-operation] > > Source code is > >txq->block--; > > Maybe someone got a bool a

Re: [PATCH 0/4] Staging: comedi: comedi_fops: Header cleanup

2017-01-09 Thread Ian Abbott
On 07/01/17 11:13, Cheah Kok Cheong wrote: This series does trivial header cleanup for comedi_fops.c Cheah Kok Cheong (4): Staging: comedi: comedi_fops: Remove unused kmod.h header Staging: comedi: comedi_fops: Remove redundant init.h header Staging: comedi: comedi_fops: Remove unused vmal

  1   2   3   4   5   6   7   8   9   10   >