Re: [PATCH] printk: introduce should_ignore_loglevel()

2016-06-27 Thread Petr Mladek
On Sat 2016-06-25 14:22:37, Sergey Senozhatsky wrote: > On (06/24/16 18:05), Petr Mladek wrote: > [..] > > > +static bool should_ignore_loglevel(int level) > > > +{ > > > + return (level >= console_loglevel && !ignore_loglevel); > > > > The patch looks fine. It is nice optimization. > > > > I was

Re: [PATCH v4 3/3] acpi/pmic: Add support for PMIC regs operation region

2016-06-27 Thread Heikki Krogerus
Whoa! Hold on! On Thu, Jun 23, 2016 at 05:52:53PM -0700, Bin Gao wrote: > Broxton platform firmware has defined new customized operation regions > called regs for PMIC chip - regs op region is used to handle the > PMIC gpio mainly intended for the TYPE-C VBUS and Orientation. > > The intel_gpio_c

Re: [PATCH] i2c: tegra: Correct error path in probe

2016-06-27 Thread Jon Hunter
Hi all, On 14/06/16 21:26, Jon Hunter wrote: > Commit 497fbe24987b ("i2c: tegra: enable multi master mode for tegra210") > enables the Tegra I2C 'div_clk' for adapters using the multi-master mode > during the device probe. Although the probe error path was updated to > disable the clock on probe f

[PATCH 0/3] cpufreq: intel_pstate: trivial improvements

2016-06-27 Thread Jisheng Zhang
The first patch fixes incorrect placement of __initdata The second patch is to add __init/__initdata marker to some functions or varaiables so that we can discard them. The third patch declares pid_params/pstate_funcs/hwp_active as __read_mostly, under the fact that they are mostly read and not w

[PATCH 2/3] intel_pstate: add __init/__initdata marker to some functions/variables

2016-06-27 Thread Jisheng Zhang
These functions/variables are not needed after booting, so mark them as __init or __initdata. Signed-off-by: Jisheng Zhang --- drivers/cpufreq/intel_pstate.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/in

Re: [PATCH] drm/mediatek: add ARM_SMCCC dependency

2016-06-27 Thread Matthias Brugger
On 06/27/2016 11:22 AM, Arnd Bergmann wrote: ARM SMCCC is only set for ARMv7 and ARMv8 CPUs, but we currently allow the driver to be build for older architecture levels as well, which results in a link failure: drivers/gpu/built-in.o: In function `mtk_hdmi_hw_make_reg_writable': :(.text+0x1e73

[PATCH 1/3] intel_pstate: Fix incorrect placement of __initdata

2016-06-27 Thread Jisheng Zhang
__initdata should be placed between the variable name and equal sign (if there is) for the variable to be placed in the intended section. Signed-off-by: Jisheng Zhang --- drivers/cpufreq/intel_pstate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/cpufreq/inte

[PATCH 3/3] intel_pstate: Declare pid_params/pstate_funcs/hwp_active __read_mostly

2016-06-27 Thread Jisheng Zhang
pid_params is written once by copy_pid_params() during initialization, and thereafter is mostly read by hot path intel_pstate_update_util(). The read of pid_params gets more after commit a4675fbc4a7a ("cpufreq: intel_pstate: Replace timers with utilization update callbacks") pstate_funcs is writte

Re: [PATCH v3 4/6] mm/cma: remove ALLOC_CMA

2016-06-27 Thread Vlastimil Babka
On 05/26/2016 08:22 AM, js1...@gmail.com wrote: From: Joonsoo Kim Now, all reserved pages for CMA region are belong to the ZONE_CMA and it only serves for GFP_HIGHUSER_MOVABLE. Therefore, we don't need to consider ALLOC_CMA at all. Signed-off-by: Joonsoo Kim --- mm/internal.h | 3 +-- mm/

[PATCH net-next 8/9] net: hns: add media-type property for hns

2016-06-27 Thread Yisen Zhuang
From: Kejian Yan It is PORT_TP type if the service port is GE mode. It is wrong to judge the port type by using if it is service port. Adding the media type to know port type. Reported-by: Jinchuan Tian Signed-off-by: Kejian Yan --- drivers/net/ethernet/hisilicon/hns/hnae.h | 9 +

[PATCH net-next 5/9] net: hns: add a space before "*/"

2016-06-27 Thread Yisen Zhuang
From: Daode Huang In comment line, some time miss a space before */, so this patch adds a space before */. Signed-off-by: Daode Huang --- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hns

[PATCH net-next 6/9] net: hns: normalize two different loop

2016-06-27 Thread Yisen Zhuang
From: Daode Huang There are two approaches to assign data, one does 2 loops, another does 1 loop. This patch normalize the different methods to 1 loop. Signed-off-by: Daode Huang --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 18 +- 1 file changed, 9 insertions(+), 9

[PATCH net-next 9/9] net: hns: get reset registers from DT

2016-06-27 Thread Yisen Zhuang
From: Kejian Yan Since the registers of subctrl may be different, it is better to mv the registers from hns mdio driver routine to device tree node. Signed-off-by: Kejian Yan --- drivers/net/ethernet/hisilicon/hns_mdio.c | 80 +-- 1 file changed, 66 insertions(+), 1

[PATCH net-next 2/9] net: hns: fix code style about hns driver

2016-06-27 Thread Yisen Zhuang
From: Daode Huang This patch fixes code sytle of hns driver to make it simple. Signed-off-by: Daode Huang --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc

[PATCH net-next 7/9] net: hns: remove redundant hns_mac_dev_to_enet_if()

2016-06-27 Thread Yisen Zhuang
From: Kejian Yan The sequence of hns_mac_dev_to_enet_if() is the same as hns_get_enet_interface(), and hns_get_enet_interface() is called by initialization to get the mac mode. And the mode is not changed anywhere. Thus add hns_mac_dev_to_enet_if() function to get the mac mode is obviously redund

[PATCH net-next 3/9] net: hns: change code style from a = a + x to a += x

2016-06-27 Thread Yisen Zhuang
From: Daode Huang This patch fixes the code style in hns driver. Change it from "buff = buff + xxx" to "buff += xxx". The reveiw comments is from andy. Reviewed-by: Andriy Shevchenko Signed-off-by: Daode Huang --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 32 +++---

[PATCH net-next 4/9] net: hns: delete redundant parens

2016-06-27 Thread Yisen Zhuang
From: Daode Huang According to the previous review comments from Andy, this patch deletes the redundant parens in the patch. Signed-off-by: Daode Huang --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/eth

[PATCH net-next 0/9] net: hns: fix the typo of hns

2016-06-27 Thread Yisen Zhuang
This series includes typo fixes which review by Andy, adding the hns maintainer to MAINTAINERS, > adds the maintainer for hns driver from Daode; > from Daode: fix the typo of hns reviewed by Andy Shevchenko; > from Kejian: one remove redundant function and two fix to get configuration from D

[PATCH net-next 1/9] MAINTAINERS: add maintainers for hns driver

2016-06-27 Thread Yisen Zhuang
From: Daode Huang This patch adds maintainers for hisilicon network subsystem driver Signed-off-by: Daode Huang --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3a171a9..c819659 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5421,6 +5

Re: [PATCH 0/3] cpufreq: intel_pstate: trivial improvements

2016-06-27 Thread Viresh Kumar
On 27-06-16, 17:26, Jisheng Zhang wrote: > The first patch fixes incorrect placement of __initdata > > The second patch is to add __init/__initdata marker to some functions > or varaiables so that we can discard them. > > The third patch declares pid_params/pstate_funcs/hwp_active as > __read_mos

Re: [PATCH 1/2] kernel/sched: introduce vcpu preempted interface

2016-06-27 Thread xinhui
On 2016年06月27日 16:42, Peter Zijlstra wrote: On Sun, Jun 26, 2016 at 06:41:54AM -0400, Pan Xinhui wrote: +#ifdef arch_vcpu_is_preempted +static inline bool vcpu_is_preempted(int cpu) +{ + return arch_vcpu_is_preempted(cpu); +} +#else +static inline bool vcpu_is_preempted(int cpu) +{ +

Re: [PATCH v3 5/6] mm/cma: remove MIGRATE_CMA

2016-06-27 Thread Vlastimil Babka
On 05/26/2016 08:22 AM, js1...@gmail.com wrote: From: Joonsoo Kim Now, all reserved pages for CMA region are belong to the ZONE_CMA and there is no other type of pages. Therefore, we don't need to use MIGRATE_CMA to distinguish and handle differently for CMA pages and ordinary pages. Remove MIG

Re: [PATCH] i2c: tegra: Correct error path in probe

2016-06-27 Thread Laxman Dewangan
On Monday 27 June 2016 02:58 PM, Jon Hunter wrote: Hi all, On 14/06/16 21:26, Jon Hunter wrote: @@ -912,7 +912,7 @@ static int tegra_i2c_probe(struct platform_device *pdev) ret = tegra_i2c_init(i2c_dev); if (ret) { dev_err(&pdev->dev, "Failed to initialize i2c c

Re: BUG?: kernel does not (re)set irq smp_affinity to reboot_cpu

2016-06-27 Thread Russell King - ARM Linux
On Mon, Jun 27, 2016 at 10:13:05AM +0100, Marc Zyngier wrote: > I'm wondering if that's not an effect of this patch: > > https://lkml.org/lkml/2015/9/24/138 > > missing on the ARM side (the corresponding arm64 patch is 217d453d473c). No, because we don't take the other CPUs offline through CPU h

Re: [PATCH v6 4/5] arm64: add support for ACPI Low Power Idle(LPI)

2016-06-27 Thread Sudeep Holla
Hi, Daniel, On 24/06/16 22:04, Daniel Lezcano wrote: [...] + +psci_states = kcalloc(count, sizeof(*psci_states), GFP_KERNEL); +if (!psci_states) +return -ENOMEM; + +for (i = 0; i < count; i++) { +u32 state; + +lpi = &pr->power.lpi_states[i + 1]; +sta

Re: [PATCH 7/9] mtd: m25p80: add support of dual and quad spi protocols to all commands

2016-06-27 Thread Cyrille Pitchen
Le 23/06/2016 22:35, Michal Suchanek a écrit : > Hello, > > this patch is kind of awesome. > > I have a few practical concerns however. > > On 20 June 2016 at 18:50, Cyrille Pitchen wrote: >> Before this patch, m25p80_read() supported few SPI protocols: >> - regular SPI 1-1-1 >> - SPI Dual Outp

Re: [PATCH v3 6/6] mm/cma: remove per zone CMA stat

2016-06-27 Thread Vlastimil Babka
On 05/26/2016 08:22 AM, js1...@gmail.com wrote: From: Joonsoo Kim Now, all reserved pages for CMA region are belong to the ZONE_CMA so we don't need to maintain CMA stat in other zones. Remove it. Signed-off-by: Joonsoo Kim Acked-by: Vlastimil Babka

[PATCH v2 0/2] net: thunderx: Miscellaneous fixes

2016-06-27 Thread sunil . kovvuri
From: Sunil Goutham This 2 patch series fixes issues w.r.t physical link status reporting and transmit datapath configuration for secondary qsets. Changes from v1: Fixed lmac disable sequence for interfaces of type SGMII. Sunil Goutham (2): net: thunderx: Fix link status reporting net: thun

drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c:1812: possible pointless variable ?

2016-06-27 Thread David Binderman
Hello there, linux-4.7-rc5/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c:1812]: (style) Variable 'stretch_amount2' is assigned a value that is never used. Source code is else if (stretch_amount == 3 || stretch_amount == 4) stretch_amount2 = 1; Suggest either use the variable

[PATCH v2 2/2] net: thunderx: Fix TL4 configuration for secondary Qsets

2016-06-27 Thread sunil . kovvuri
From: Sunil Goutham TL4 calculation for a given SQ of secondary Qsets is incorrect and goes out of bounds and also for some SQ's TL4 chosen will transmit data via a different BGX interface and not same as primary Qset's interface. This patch fixes this issue. Signed-off-by: Sunil Goutham ---

[PATCH v2 1/2] net: thunderx: Fix link status reporting

2016-06-27 Thread sunil . kovvuri
From: Sunil Goutham Check for SMU RX local/remote faults along with SPU LINK status. Otherwise at times link is UP at our end but DOWN at link partner's side. Also due to an issue in BGX it's rarely seen that initialization doesn't happen properly and SMU RX reports faults with everything fine at

[PATCH] char/mwave: remove custom BOOLEAN type

2016-06-27 Thread Arnd Bergmann
The mwave driver has its own macros for the BOOLEAN type and the TRUE/FALSE values. This is redundant because the kernel already has bool/true/false, and it clashes with the ACPI headers that also define these types. The linux/acpi.h header is now included implicitly from mwave through the mc146818

Re: [PATCH V5 1/2] cpufreq: Handle sorted frequency tables more efficiently

2016-06-27 Thread Francesco Lavra
Hi, On 06/27/2016 06:29 AM, Viresh Kumar wrote: cpufreq drivers aren't required to provide a sorted frequency table today, and even the ones which provide a sorted table aren't handled efficiently by cpufreq core. This patch adds infrastructure to verify if the freq-table provided by the driver

[PATCH v2 0/3] cpufreq: intel_pstate: trivial improvements

2016-06-27 Thread Jisheng Zhang
The first patch fixes incorrect placement of __initdata The second patch is to add __init/__initdata marker to some functions or varaiables so that we can discard them. The third patch declares pid_params/pstate_funcs/hwp_active as __read_mostly, under the fact that they are mostly read and not w

[PATCH v2 1/3] intel_pstate: Fix incorrect placement of __initdata

2016-06-27 Thread Jisheng Zhang
__initdata should be placed between the variable name and equal sign (if there is) for the variable to be placed in the intended section. Signed-off-by: Jisheng Zhang Acked-by: Viresh Kumar --- drivers/cpufreq/intel_pstate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --gi

[PATCH] dt-bindings: i2c: add bindings for nxp,pca9541

2016-06-27 Thread Peter Rosin
Fill the gap for this pre-existing driver. Signed-off-by: Peter Rosin --- .../devicetree/bindings/i2c/i2c-arb-pca9541.txt| 33 ++ MAINTAINERS| 1 + 2 files changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bind

[PATCH v2 2/3] intel_pstate: add __init/__initdata marker to some functions/variables

2016-06-27 Thread Jisheng Zhang
These functions/variables are not needed after booting, so mark them as __init or __initdata. Signed-off-by: Jisheng Zhang Acked-by: Viresh Kumar --- drivers/cpufreq/intel_pstate.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/cpufreq/intel_pstat

[PATCH v2 3/3] intel_pstate: Declare pid_params/pstate_funcs/hwp_active __read_mostly

2016-06-27 Thread Jisheng Zhang
pid_params is written once by copy_pid_params() during initialization, and thereafter is mostly read by hot path intel_pstate_update_util(). The read of pid_params gets more after commit a4675fbc4a7a ("cpufreq: intel_pstate: Replace timers with utilization update callbacks") pstate_funcs is writte

[PATCH v4] mwifiex: Reduce endian conversion for REG Host Commands

2016-06-27 Thread Prasun Maiti
For multiple REG Host Commands (e.g HostCmd_CMD_802_11_EEPROM_ACCESS, HostCmd_CMD_MAC_REG_ACCESS etc.) "cpu_to_leX"-converted values are saved to driver. So, "leX_to_cpu" conversion is required too many times afterwards in driver. This patch reduces the endian: conversion without saving "cpu_to_le

RE: [PATCH v4 7/8] mmc: block: register RPMB partition with the RPMB subsystem

2016-06-27 Thread Winkler, Tomas
> 2; > > This looks like it does not support 8KB writes added in v5.1 spec. Can that > be > supported? You are right there is not support for 8K packet, but the change should be simple. I will update the patch. Thanks Tomas

Re: [PATCH] locking/osq: Drop the overload of osq lock

2016-06-27 Thread xinhui
On 2016年06月27日 15:55, Peter Zijlstra wrote: On Sun, Jun 26, 2016 at 12:59:01PM +0800, panxinhui wrote: 在 2016年6月26日,03:12,Peter Zijlstra 写道: On Sun, Jun 26, 2016 at 01:27:51AM +0800, panxinhui wrote: by the way I still think mutex_unlock has a big overload too. Do you mean overhead?

Re: [GIT PULL] drm/mediatek: MT8173 gamma & dither support

2016-06-27 Thread Matthias Brugger
On 06/24/2016 09:27 AM, Bibby Hsieh wrote: Hi Dave, Please consider merging this tag, which contains the v2 MT8173 gamma & dither function patches I sent on 2016-06-17, rebased onto v4.7-rc1. There have been no further comments. Thanks Bibby The following changes since commit 1a695a905c185

[PATCH v11 06/10] perf record: Introduce rec->overwrite_evlist for overwritable events

2016-06-27 Thread Wang Nan
Create an auxiliary evlist for overwritable events. Before mmap, build this evlist and set 'overwrite' and 'backward' attribute. Since perf_evlist__mmap_ex() only maps events when evsel->overwrite matches evlist's corresponding attributes, with these two evlists an event goes to either rec->evlist

[PATCH v11 03/10] perf record: Prepare picking perf_event_mmap_page from multiple evlists

2016-06-27 Thread Wang Nan
Following commits introduce new evlists to record. This patch adjusts record__pick_pc() and introduces perf_evlist__pick_pc() to read control page from one specific evlist. record__pick_pc() will be improved to search control page from multiple evlists. Signed-off-by: Wang Nan Cc: He Kuang Cc: A

[PATCH v11 00/10] perf tools: Support overwritable ring buffer

2016-06-27 Thread Wang Nan
This patch set enables daemonized perf recording by utilizing overwritable backward ring buffer. With this feature one can put perf background, and dump ring buffer records by a SIGUSR2 when he/she find something unusual. For example, following command record system calls, schedule events and sampl

[PATCH v11 10/10] perf tools: Add --tail-synthesize option

2016-06-27 Thread Wang Nan
When working with overwritable ring buffer there's a inconvenience problem: if perf dumps data after a long period after it starts, non-sample events may lost, which makes following 'perf report' unable to identify proc name and mmap layout. For example: # perf record -m 4 -e raw_syscalls:* -g --

[PATCH v11 08/10] perf tools: Enable overwrite settings

2016-06-27 Thread Wang Nan
This patch allows following config terms and option: Globally setting events to overwrite; # perf record --overwrite ... Set specific events to be overwrite or no-overwrite. # perf record --event cycles/overwrite/ ... # perf record --event cycles/no-overwrite/ ... Add missing config terms a

[PATCH v11 05/10] perf tests: Add testcase for auxiliary evlist

2016-06-27 Thread Wang Nan
Improve test backward-ring-buffer, trace both enter and exit event of prctl() syscall, utilize auxiliary evlist to mmap enter and exit event into separated mmaps. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Masami Hiramatsu Cc: Namhyung Kim Cc: Zefan Li Cc: Nilay V

[PATCH v11 09/10] perf tools: Don't warn about out of order event if write_backward is used

2016-06-27 Thread Wang Nan
If write_backward attribute is set, records are written into kernel ring buffer from end to beginning, but read from beginning to end. To avoid 'XX out of order events recorded' warning message (timestamps of records is in reverse order when using write_backward), suppress the warning message if wr

[PATCH v11 07/10] perf record: Read from overwritable ring buffer

2016-06-27 Thread Wang Nan
overwrite_evt_state is introduced to reflect the state of overwritable ring buffers. It is a state machine with 3 states: .(forbid)_. | | | V RUNNING --(1)--> DATA_PENDING --(2)--> EMPT

Re: [PATCH] serial: 8250_fintek: fix the mismatched IRQ mode

2016-06-27 Thread Ricardo Ribalda Delgado
Hi Peter,. Hi Greg On Fri, May 27, 2016 at 4:02 AM, Ji-Ze Hong (Peter Hong) wrote: > { > struct fintek_8250 *pdata; > struct fintek_8250 probe_data; > + struct irq_data *irq_data = irq_get_irq_data(uart->port.irq); > + bool level_mode = irqd_is_level_type(irq_data);

[PATCH v11 02/10] perf record: Prepare reading from multiple evlists in record__mmap_read_all()

2016-06-27 Thread Wang Nan
Following commits introduce new evlists to record. This patch adjusts record__mmap_read_all() and record__mmap_read(): converting original record__mmap_read_all() to record__mmap_read_evlist(), read from one evlist; makes record__mmap_read() reading from specific evlist. record__mmap_read_all() wil

Re: [PATCH] locking/osq: Drop the overload of osq lock

2016-06-27 Thread Boqun Feng
On Mon, Jun 27, 2016 at 10:09:59AM +0200, Peter Zijlstra wrote: [snip] > > No, this is entirely insane, also broken. > > No vectors, no actual function calls, nothing like that. You want the > below to completely compile away and generate the exact 100% same code > it does today. > Point taken.

[PATCH v11 01/10] perf record: Prepare mmap multiple evlists

2016-06-27 Thread Wang Nan
Following commits introduce multiple evlists to record. This patch extracts perf_evlist__mmap_ex() processing to a new function, creates record__mmap() and record__mmap_evlist() to wrap perf_evlist__mmap_ex() and its error processing. They will be improvemented to create mmap for all evlists. Sign

[PATCH v11 04/10] perf evlist: Introduce aux evlist

2016-06-27 Thread Wang Nan
An auxiliary evlist is created by perf_evlist__new_aux() using an existing evlist as its parent. An auxiliary evlist can have its own 'struct perf_mmap', but can't have any other data. User should use its parent instead when accessing other data. Auxiliary evlists are containers of 'struct perf_mm

[PATCH V6 1/2] cpufreq: Handle sorted frequency tables more efficiently

2016-06-27 Thread Viresh Kumar
cpufreq drivers aren't required to provide a sorted frequency table today, and even the ones which provide a sorted table aren't handled efficiently by cpufreq core. This patch adds infrastructure to verify if the freq-table provided by the drivers is sorted or not, and use efficient helpers if th

Re: [PATCH v5 0/6] Support calling functions on dedicated physical cpu

2016-06-27 Thread Juergen Gross
On 06/04/16 16:17, Juergen Gross wrote: > Some hardware (e.g. Dell Studio laptops) require special functions to > be called on physical cpu 0 in order to avoid occasional hangs. When > running as dom0 under Xen this could be achieved only via special boot > parameters (vcpu pinning) limiting the hy

Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core)

2016-06-27 Thread Michal Hocko
On Fri 24-06-16 22:22:55, Oleg Nesterov wrote: > On 06/24, Michal Hocko wrote: > > > > On Fri 24-06-16 16:05:58, Michal Hocko wrote: > > > On Thu 23-06-16 20:52:21, Oleg Nesterov wrote: > > > > > > > > But I agree, this is fixable (and in fact I still hope TIF_MEMDIE will > > > > die, > > > > at l

Re: powerpc/fadump: trivial fix of spelling mistake, clean up message

2016-06-27 Thread Colin Ian King
On 26/06/16 05:19, Michael Ellerman wrote: > On Fri, 2016-24-06 at 17:43:00 UTC, Colin King wrote: >> From: Colin Ian King >> >> trivial fix to spelling mistake "rgistration" and minor clean up >> of the printk error message > > Can you also: > - use pr_err() > - unsplit the message, ie. keep t

Re: [PATCH] ilp32: fix {GET,SET}SIGMASK request for ptrace

2016-06-27 Thread zhouchengming
On 2016/6/27 13:39, Yury Norov wrote: Hi Zhou, Thank you for the patch. The idea is ok, but patch format got broken for some reason. Could you re-send it? Yury. Sorry for the broken patch, maybe my mail guest has some problems. So I send the patch as an attachment. Thanks! On Mon, Jun 27,

Re: [PATCH 2/7] efi: Document #define FOO_PROTOCOL_GUID layout

2016-06-27 Thread Ingo Molnar
* Matt Fleming wrote: > From: Peter Jones > > Add a comment documenting why EFI GUIDs are laid out like they are. > Ideally I'd like to change all the ", " to "," too, but right now the > format is such that checkpatch won't complain with new ones, and staring > at checkpatch didn't get me any

Re: powerpc/fadump: trivial fix of spelling mistake, clean up message

2016-06-27 Thread Joe Perches
On Mon, 2016-06-27 at 11:38 +0100, Colin Ian King wrote: > On 26/06/16 05:19, Michael Ellerman wrote: > > On Fri, 2016-24-06 at 17:43:00 UTC, Colin King wrote: [] > > > trivial fix to spelling mistake "rgistration" and minor clean up > > > of the printk error message > > Can you also: > >  - use pr

Re: BUG?: kernel does not (re)set irq smp_affinity to reboot_cpu

2016-06-27 Thread Hans de Goede
Hi Russel, On 27-06-16 11:45, Russell King - ARM Linux wrote: On Mon, Jun 27, 2016 at 10:13:05AM +0100, Marc Zyngier wrote: I'm wondering if that's not an effect of this patch: https://lkml.org/lkml/2015/9/24/138 missing on the ARM side (the corresponding arm64 patch is 217d453d473c). No, b

[PATCH 1/1] gpio: max77620: get gpio value based on direction

2016-06-27 Thread Venkat Reddy Talla
Gpio direction is determined by DIRx bit of GPIO configuration register, return max77620 gpio value based on direction in or out. Signed-off-by: Venkat Reddy Talla --- drivers/gpio/gpio-max77620.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-max77620.

Re: [PATCH 1/5] spi: do not fail if the CS line is not connected

2016-06-27 Thread Andi Shyti
Hi Mark, > > > > This is true, but there are cases where the CS is not connected > > > > and this case needs to be treated separately to allow the device > > > > to work. > > > > In what way? It is just as easy for a device with no physical chip > > > select to have a logical chip select of 0 th

Re: [PATCH net-next 6/6] r8152: add byte_enable for ocp_read_word function

2016-06-27 Thread Sergei Shtylyov
Hello. On 6/27/2016 8:07 AM, Hayes Wang wrote: Add byte_enable for ocp_read_word() to replace reading 4 bytes data with reading the desired 2 bytes data. This is used to avoid the issue which is described in commit:b4d99def. scripts/checkpatch.pl now enforces certain commit citing style,

Re: [PATCH] mwifiex: Reduce endian conversion for REG Host Commands

2016-06-27 Thread Kalle Valo
Prasun Maiti writes: >> If you send a new version of the patch mark it as [PATCH v2] and always >> include a change log so that people don't need to guess what has >> changed: >> >> http://kernelnewbies.org/FirstKernelPatch#head-5c81b3c517a1d0bbc24f92594cb734e155fcbbcb >> >> So now you should sen

[PATCH] ARM: s3c64xx: avoid warning about 'struct device_node'

2016-06-27 Thread Arnd Bergmann
The change to simplify of_platform_populate() had an unintended side-effect of introducing a build warning on s3c64xx: In file included from arch/arm/mach-s3c64xx/mach-s3c64xx-dt.c:18:0: arch/arm/mach-s3c64xx/common.h:27:30: error: 'struct device_node' declared inside parameter list will not be v

Re: [PATCH 4/7] efi: Convert efi_call_virt to efi_call_virt_pointer

2016-06-27 Thread Ingo Molnar
* Matt Fleming wrote: > +#define efi_call_virt_pointer(p, f, args...) \ > +({ \ > + efi_status_t __s; \ > + unsigned long flags;

Re: [PATCH v5 1/9] [media] v4l2-core: Add support for touch devices

2016-06-27 Thread Hans Verkuil
On 06/23/2016 12:08 AM, Nick Dyer wrote: > Some touch controllers send out touch data in a similar way to a > greyscale frame grabber. > > Use a new device prefix v4l-touch for these devices, to stop generic > capture software from treating them as webcams. > > Add formats: > - V4L2_TCH_FMT_DELTA

[PATCH v2 0/8] mfd/regulator: tps65218: Clean ups

2016-06-27 Thread Keerthy
The series cleans up mainly the regulator driver and implements the device tree parsing using the regulator framework. Removes all the redundant compatibles for the individual regulators. One of the patch removes redundant read wrapper and makes use of regmap_read wherever necessary. The series i

[PATCH v2 4/8] regulator: tps65218: Remove all the compatibles

2016-06-27 Thread Keerthy
Remove all the individual compatibles for all the regulators and introduce id_table and update the driver accordingly to parse device tree nodes using the regulator framework. Acked-by: Mark Brown Signed-off-by: Keerthy --- Changes in v2: * Added Mark's Acked-by. drivers/regulator/tps65218

[PATCH v2 5/8] ARM: dts: AM437X-GP-EVM: Remove redundant regulator compatibles

2016-06-27 Thread Keerthy
With the device tree parsing using the regulator framework there is a no longer a need for separate compatibles for individual regulator nodes. Hence removing them all. Signed-off-by: Keerthy --- arch/arm/boot/dts/am437x-gp-evm.dts | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/ar

[PATCH v2 8/8] ARM: dts: AM43X-EPOS-EVM: Remove redundant regulator compatibles

2016-06-27 Thread Keerthy
With the device tree parsing using the regulator framework there is a no longer a need for separate compatibles for individual regulator nodes. Hence removing them all. Signed-off-by: Keerthy --- arch/arm/boot/dts/am43x-epos-evm.dts | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/

[PATCH v2 2/8] Documentation: regulator: tps65218: Update examples

2016-06-27 Thread Keerthy
This updates the device tree according to the preferred way of parsing the nodes using the regulator framework. Signed-off-by: Keerthy --- .../devicetree/bindings/regulator/tps65218.txt | 87 ++ 1 file changed, 71 insertions(+), 16 deletions(-) diff --git a/Documentation

[PATCH v2 3/8] mfd: tps65218: Use mfd_add_devices instead of of_platform_populate

2016-06-27 Thread Keerthy
mfd_add_devices enables parsing device tree nodes without compatibles for child nodes. Replace of_platform_populate with mfd_add_devices. mfd_cell currently is populated with only regulators. Signed-off-by: Keerthy --- Changes in v2: * Updated commit log. As of now only regulators driver is

[PATCH] mm, vmscan: set shrinker to the left page count

2016-06-27 Thread Chen Feng
In my platform, there can be cache a lot of memory in ion page pool. When shrink memory the nr_to_scan to ion is always to little. to_scan: 395 ion_pool_cached: 27305 Currently, the shrinker nr_deferred is set to total_scan. But it's not the real left of the shrinker. Change it to the freeable -

[PATCH v2 6/8] ARM: dts: AM437X-SK-EVM: Remove redundant regulator compatibles

2016-06-27 Thread Keerthy
With the device tree parsing using the regulator framework there is a no longer a need for separate compatibles for individual regulator nodes. Hence removing them all. Signed-off-by: Keerthy --- arch/arm/boot/dts/am437x-sk-evm.dts | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm

[PATCH v2 1/8] mfd: tps65218: Remove redundant read wrapper

2016-06-27 Thread Keerthy
Currently read directly calls the repmap read function. Hence remove the redundant wrapper and use regmap read wherever needed. Signed-off-by: Keerthy --- drivers/mfd/tps65218.c | 16 +--- drivers/regulator/tps65218-regulator.c | 3 ++- include/linux/mfd/tps65218.h

[PATCH v2 7/8] ARM: dts: AM437X-CM-T43: Remove redundant regulator compatibles

2016-06-27 Thread Keerthy
With the device tree parsing using the regulator framework there is a no longer a need for separate compatibles for individual regulator nodes. Hence removing them all. Signed-off-by: Keerthy --- arch/arm/boot/dts/am437x-cm-t43.dts | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/ar

Re: [PATCH v5 9/9] Input: sur40 - use new V4L2 touch input type

2016-06-27 Thread Hans Verkuil
On 06/23/2016 12:08 AM, Nick Dyer wrote: > Signed-off-by: Nick Dyer > --- > drivers/input/touchscreen/sur40.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/input/touchscreen/sur40.c > b/drivers/input/touchscreen/sur40.c > index 880c40b..841e045 10

[PATCH][V2] powerpc/fadump: trivial fix of spelling mistake, clean up message

2016-06-27 Thread Colin King
From: Colin Ian King Fix trivial spelling mistake "rgistration". Also use pr_err instead of printk and unsplit the string to keep it all on one line. Signed-off-by: Colin Ian King --- arch/powerpc/kernel/fadump.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/po

BUG: Kernel 3.10.65: Kernel panic while send-receive MMS on same device

2016-06-27 Thread PINTU KUMAR
Hi, Need a help or some pointer about this issue. Yesterday, received one kernel panic issue on one of our mobile device. Scenario is: Sender is sending an MMS content to its own number. After MMS is received, device vibrates and immediately went into kernel panic. We checked and could not found a

Re: [PATCH v5 3/9] Input: atmel_mxt_ts - output diagnostic debug via v4l2 device

2016-06-27 Thread Hans Verkuil
On 06/23/2016 12:08 AM, Nick Dyer wrote: > Register a video device to output T37 diagnostic data. > > Signed-off-by: Nick Dyer > --- > drivers/input/touchscreen/Kconfig| 6 +- > drivers/input/touchscreen/atmel_mxt_ts.c | 244 > +++ > 2 files changed, 248 in

Re: [PATCH v5 7/9] Input: atmel_mxt_ts - add support for reference data

2016-06-27 Thread Hans Verkuil
On 06/23/2016 12:08 AM, Nick Dyer wrote: > There are different datatypes available from a maXTouch chip. Add > support to retrieve reference data as well. > > Signed-off-by: Nick Dyer > --- > drivers/input/touchscreen/atmel_mxt_ts.c | 58 > > 1 file changed, 51

Re: [PATCH 2/7] efi: Document #define FOO_PROTOCOL_GUID layout

2016-06-27 Thread Joe Perches
On Mon, 2016-06-27 at 12:49 +0200, Ingo Molnar wrote: > * Matt Fleming wrote: [] > > + * EFI Configuration Table and GUID definitions > > + * > > + * These should be formatted roughly like the ones in the UEFI SPEC has > > + * them.  It makes them easier to grep for, and they look the same when >

Re: [PATCH v3 1/2] iommu: Disable preemption around use of this_cpu_ptr()

2016-06-27 Thread Joerg Roedel
On Wed, Jun 01, 2016 at 12:10:08PM +0100, Chris Wilson wrote: > drivers/iommu/iova.c | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) Okay, applied this patch to iommu/fixes and will send it upstream this week.

Re: [PATCH v3 1/2] iommu: Disable preemption around use of this_cpu_ptr()

2016-06-27 Thread Joerg Roedel
On Sun, Jun 26, 2016 at 12:54:19PM +0200, Thorsten Leemhuis wrote: > Joerg, what's the status here? This made it on my 4.7 regressions > report, as the patches from this thread are supposed to fix a > regression; see > http://thread.gmane.org/gmane.linux.usb.general/143504/focus=153154 > for detail

Re: [PATCH v5 8/9] Input: synaptics-rmi4 - add support for F54 diagnostics

2016-06-27 Thread Hans Verkuil
On 06/23/2016 12:08 AM, Nick Dyer wrote: > Function 54 implements access to various RMI4 diagnostic features. > > This patch adds support for retrieving this data. It registers a V4L2 > device to output the data to user space. > > Signed-off-by: Nick Dyer > --- > drivers/input/rmi4/Kconfig

Re: powerpc/fadump: trivial fix of spelling mistake, clean up message

2016-06-27 Thread Michael Ellerman
On Mon, 2016-06-27 at 03:51 -0700, Joe Perches wrote: > On Mon, 2016-06-27 at 11:38 +0100, Colin Ian King wrote: > > On 26/06/16 05:19, Michael Ellerman wrote: > > > On Fri, 2016-24-06 at 17:43:00 UTC, Colin King wrote: > > > > trivial fix to spelling mistake "rgistration" and minor clean up > > >

Re: [PATCH 2/2] drm: Add DT bindings documentation for OpenCores VGA/LCD controller

2016-06-27 Thread Andrea Merello
On Fri, Jun 10, 2016 at 7:36 PM, Rob Herring wrote: > On Thu, Jun 09, 2016 at 03:33:19PM +0200, Andrea Merello wrote: >> Signed-off-by: Andrea Merello >> Cc: Stefan Kristiansson >> Cc: Tomi Valkeinen >> Cc: Francesco Diotalevi >> Cc: Claudio Lorini >> --- >> .../bindings/display/opencores,oc

Re: [sched] 56c8928eba: INFO: trying to register non-static key.

2016-06-27 Thread Peter Zijlstra
On Mon, Jun 27, 2016 at 07:08:43PM +0800, kernel test robot wrote: > [ 36.894449] INFO: trying to register non-static key. > [ 36.894450] the code is fine but needs lockdep annotation. > [ 36.894451] turning off the locking correctness validator. > [ 36.894456] CPU: 0 PID: 817 Comm: mount N

Re: [PATCH 4/7] efi: Convert efi_call_virt to efi_call_virt_pointer

2016-06-27 Thread Mark Rutland
On Mon, Jun 27, 2016 at 01:00:50PM +0200, Ingo Molnar wrote: > > * Matt Fleming wrote: > > > +#define efi_call_virt_pointer(p, f, args...) > > \ > > +({ \ > > + efi_status_t __s;

Re: [PATCH v3 0/6] Introduce ZONE_CMA

2016-06-27 Thread Balbir Singh
On 26/05/16 16:22, js1...@gmail.com wrote: > From: Joonsoo Kim > > Hello, > > Changes from v2 > o Rebase on next-20160525 > o No other changes except following description > > There was a discussion with Mel [1] after LSF/MM 2016. I could summarise > it to help merge decision but it's better

Re: [PATCH v5 0/9] Output raw touch data via V4L2

2016-06-27 Thread Hans Verkuil
On 06/23/2016 12:08 AM, Nick Dyer wrote: > This is a series of patches to add output of raw touch diagnostic data via > V4L2 > to the Atmel maXTouch and Synaptics RMI4 drivers. > > It's a rewrite of the previous implementation which output via debugfs: it now > uses a V4L2 device in a similar way

[RFC PATCH 3/4] cpufreq: exynos: remove big.LITTLE switcher dependency

2016-06-27 Thread Bartlomiej Zolnierkiewicz
Remove no longeer needed workaround for big.LITTLE switcher support. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/cpufreq/cpufreq-dt-platdev.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c index 3646b14..

Re: [PATCH 1/1] iommu/amd: initialize devid variable before using it

2016-06-27 Thread Joerg Roedel
On Sun, Jun 26, 2016 at 10:33:29AM +0200, Nicolas Iooss wrote: > Commit 2a0cb4e2d423 ("iommu/amd: Add new map for storing IVHD dev entry > type HID") added a call to DUMP_printk in init_iommu_from_acpi() which > used the value of devid before this variable was initialized. > > Signed-off-by: Nicol

[RFC PATCH 1/4] ARM: remove big.LITTLE switcher support

2016-06-27 Thread Bartlomiej Zolnierkiewicz
It seems that in mainline kernel big.LITTLE switcher support may be usable only on ARM Versatile Express TC2 platform (but even this platform doesn't enable it in its defconfig). Remove big.LITTLE switcher support in favor of using HMP. Cc: Nicolas Pitre Cc: Lorenzo Pieralisi Cc: Dave Martin S

[RFC PATCH 0/4] ARM: remove big.LITTLE switcher support

2016-06-27 Thread Bartlomiej Zolnierkiewicz
Hi, It seems that in mainline kernel big.LITTLE switcher support may be usable only on ARM Versatile Express TC2 platform (but even this platform doesn't enable it in its defconfig). The following patchset removes big.LITTLE switcher support (from both ARM core and arm_big_little CPUfreq driver)

[RFC PATCH 4/4] irqchip/gic: remove big.LITTLE switcher support

2016-06-27 Thread Bartlomiej Zolnierkiewicz
Remove no longer needed big.LITTLE switcher support. Cc: Jason Cooper Cc: Marc Zyngier Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/irqchip/irq-gic.c | 137 -- 1 file changed, 137 deletions(-) diff --git a/drivers/irqchip/irq-gic.c b/drivers

<    1   2   3   4   5   6   7   8   9   >