Re: [PATCH] drivers/tty/serial: delete unused MODULE_DEVICE_TABLE from atmel_serial.c

2016-01-01 Thread Sudip Mukherjee
On Thu, Dec 17, 2015 at 10:05:46AM -0500, Paul Gortmaker wrote: > In commit c39dfebc7798956fd2140ae6321786ff35da30c3 ("drivers/tty/serial: > make serial/atmel_serial.c explicitly non-modular") we removed the code > relating to modular support since it currently only supports built in. > >

[PATCH] BTRFS: Adds the files and options needed for Hybrid Storage

2016-01-01 Thread Sanidhya Solanki
This patch adds the file required for Hybrid Storage. It contains the memory, time and size limits for the cache and the statistics that will be provided while the cache is operating. It also adds the Makefile changes needed to add the Hybrid Storage. Signed-off-by: Sanidhya Solanki ---

Re: [PATCH 5/5] Staging: panel: Make statement more readable

2016-01-01 Thread Willy Tarreau
Hi Ksenija, several points, see below. On Tue, Dec 29, 2015 at 09:11:03PM +0100, Ksenija Stanojevic wrote: > Broke statement into 3 different lines to make it more readable. > > Signeded-off-by: Ksenija Stanojevic ^^ Extra "ed". Don't waste your time typing it by hand, several git

Re: [Y2038] [PATCH v2 2/2] ppdev: add support for compat ioctl

2016-01-01 Thread Sudip Mukherjee
On Fri, Jan 01, 2016 at 11:09:45PM +0100, Arnd Bergmann wrote: > On Friday 01 January 2016 10:34:25 Sudip Mukherjee wrote: > > > Did you happen to check with both 32-bit and 64-bit user space on a > > > 64-bit kernel? This is one of the things that was not working originally > > > but should work

Re: Odroid U3 mutex deadlock.

2016-01-01 Thread Anand Moon
Hi Krzysztof On 14 December 2015 at 05:15, Krzysztof Kozlowski wrote: > On 12.12.2015 13:32, Anand Moon wrote: >> Hi Krzysztof, >> >> I am just observing this deadlock om my Odroid U3. > > This is not a deadlock yet, just a report from lockdep. Could be a real > issue, could be false positive,

Re: [PATCH V5 4/9] Drivers: hv: ring_buffer: enhance hv_ringbuffer_read() to support hvsock

2016-01-01 Thread David Miller
From: Dexuan Cui Date: Thu, 24 Dec 2015 06:14:36 -0800 > +#define HV_RINGBUFFER_READ_FLAG_RAW (1 << 0) > +#define HV_RINGBUFFER_READ_FLAG_HVSOCK (1 << 1) Please use BIT(). -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: [PATCH] net: refactor icmp_global_allow to improve readability and performance.

2016-01-01 Thread Mike Danese
Yes, I completely missed the purpose of that. As a new year's resolution, I resolve to read the comments. Thanks for the review! On Fri, Jan 1, 2016 at 3:07 PM, Eric Dumazet wrote: > On Thu, 2015-12-31 at 23:58 -0800, Mike Danese wrote: >> We can reduce the number of operations performed by

Hi linux

2016-01-01 Thread Steven Newbury
Hi linux http://taylorkin.com/occur.php?clothes=1fwpsgvgcr1n50m0 Steven Newbury -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the

Re: [PATCH v2 1/3] net-gianfar: Less function calls in gfar_ethflow_to_filer_table() after error detection

2016-01-01 Thread David Miller
This is not the proper way to resubmit patches when you are asked to make changes to some portion of a multi-patch series. You must always resubmit the entire series when this happens, not just the patch that changes. And in the revised cover "0/N" posting you list the revisions that were made.

[PATCH v3 1/4] USB: serial: cp210x: New register access functions.

2016-01-01 Thread Konstantin Shkolnyy
cp210x_get_config and cp210x_set_config are cumbersome to use. This change introduces new register access functions to replace them. New functions are not yet called - the switch is done gradually in following changes. Signed-off-by: Konstantin Shkolnyy --- change in v3: Presented new function

[PATCH v3 4/4] USB: serial: cp210x: Switch to new register access functions for large registers

2016-01-01 Thread Konstantin Shkolnyy
Change to use new large register access functions instead of cp210x_get_config and cp210x_set_config and remove the old functions since they are now unused. Signed-off-by: Konstantin Shkolnyy --- change in v3: Presented new function addition as a separate patch #1, to simplify code review.

[PATCH v3 2/4] USB: serial: cp210x: Switch to new 16-bit register access functions.

2016-01-01 Thread Konstantin Shkolnyy
Change to use new 16-bit register access functions instead of cp210x_get_config and cp210x_set_config. Signed-off-by: Konstantin Shkolnyy --- change in v3: Presented new function addition as a separate patch #1, to simplify code review. drivers/usb/serial/cp210x.c | 80

[PATCH v3 3/4] USB: serial: cp210x: Switch to new 8-bit and 32-bit register access functions.

2016-01-01 Thread Konstantin Shkolnyy
Change to use new 8-bit and 32-bit register access functions instead of cp210x_get_config and cp210x_set_config. Signed-off-by: Konstantin Shkolnyy --- change in v3: Presented new function addition as a separate patch #1, to simplify code review. drivers/usb/serial/cp210x.c | 11 +-- 1

Re: [PATCH] ip_tunnel: make ip6tunnel_xmit definition conditional

2016-01-01 Thread Pravin Shelar
On Fri, Jan 1, 2016 at 5:48 AM, Arnd Bergmann wrote: > From 433df301cf49624871346fa63f3fc65033caeda3 Mon Sep 17 00:00:00 2001 > From: Arnd Bergmann > Date: Fri, 1 Jan 2016 13:18:48 +0100 > Subject: [PATCH] net: make ip6tunnel_xmit definition conditional > > Moving the caller of

Re: [RESEND PATCH v1 3/4] net: ethernet: arc: Add support emac for RK3036

2016-01-01 Thread Xing Zheng
OK, I think I will use named structures. Thanks. > 在 2016年1月1日,20:55,Arnd Bergmann 写道: > >> On Tuesday 29 December 2015 14:59:59 Florian Fainelli wrote: >>> On December 27, 2015 11:22:20 PM PST, Xing Zheng >>> wrote: >>> The RK3036's GRFs offset are different with RK3066/RK3188, and need

Re: [GIT PULL] Thermal-SoC management updates for v4.4-rc8

2016-01-01 Thread Eduardo Valentin
Hello Rui, On Sat, Jan 02, 2016 at 01:35:18AM +, Zhang, Rui wrote: > Hi, Eduardo, > > I checked those commits and none of them seems to be a real urgent fix that > should be included in -rc8. > Instead, they should be queued for 4.5 IMO. What do you think? Yeah, if you prefer, we can queue

Re: [RESEND PATCH v1 4/4] clk: rockchip: rk3036: fix and add node id for emac clock

2016-01-01 Thread Xing Zheng
Hi Heiko, Thank you for your patch, I will apply and test it later. Thanks. > 在 2016年1月2日,06:10,Heiko Stübner 写道: > > Hi Xing, > > Am Dienstag, 29. Dezember 2015, 10:34:09 schrieb Xing Zheng: >> On 2015年12月29日 09:59, Yakir Yang wrote: >>> On 12/28/2015 08:41 PM, Heiko Stübner wrote:

Re: [PATCH v2 2/2] cpufreq: powernv: Redesign the presentation of throttle notification

2016-01-01 Thread kbuild test robot
Hi Shilpasri, [auto build test WARNING on tip/perf/core] [also build test WARNING on v4.4-rc7 next-20151231] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

[PATCH] ACPI / OSL: Add kerneldoc comments to memory mapping functions

2016-01-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Add kerneldoc comments to acpi_os_map_iomem() and acpi_os_unmap_iomem() and explain why the latter needs the __ref annotation in one of them (as suggested by Mathias Krause). Signed-off-by: Rafael J. Wysocki --- drivers/acpi/osl.c | 27 +++ 1

[PATCH] PM / sleep: Add support for read-only sysfs attributes

2016-01-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Some sysfs attributes in /sys/power/ should really be read-only, so add support for that, convert those attributes to read-only and drop the stub .show() routines from them. Original-by: Sergey Senozhatsky Signed-off-by: Rafael J. Wysocki --- kernel/power/main.c |

RE: [GIT PULL] Thermal-SoC management updates for v4.4-rc8

2016-01-01 Thread Zhang, Rui
Hi, Eduardo, I checked those commits and none of them seems to be a real urgent fix that should be included in -rc8. Instead, they should be queued for 4.5 IMO. What do you think? Thanks, rui > -Original Message- > From: Eduardo Valentin [mailto:edubez...@gmail.com] > Sent: Friday,

Re: [PATCH v2,RESEND] clk: uniphier: add clock drivers for UniPhier SoCs

2016-01-01 Thread Masahiro Yamada
Hi Michael, 2015-12-31 10:35 GMT+09:00 Michael Turquette : > Hello Yamada-san, > > Quoting Masahiro Yamada (2015-12-28 02:20:58) >> diff --git a/drivers/clk/uniphier/Kconfig b/drivers/clk/uniphier/Kconfig >> new file mode 100644 >> index 000..7606f27 >> --- /dev/null >> +++

[PATCH] PCI: acpiphp_ibm: fix null dereferences on null ibm_slot

2016-01-01 Thread Colin King
From: Colin Ian King ibm_slot_from_id can return null if the des header signature is not aPCI or if the kmalloc for the return acpi descriptore fails, causing potential null pointer dereferences on the return null descriptor. Handle the null case with appropriate check and error return.

[PATCH] ACPI / SBS: fix inconsistent indenting inside if statement

2016-01-01 Thread Colin King
From: Colin Ian King The indenting in acpi_battery_set_alarm is inconsistent and has been so since 2007; commit 94f6c0860139da9219255b8ff45ad42117dda859 ("ACPI: SBS: Add support for power_supply class (and sysfs)"). Minor fix for this, no code functionality change. Signed-off-by: Colin Ian King

Re: [PATCH linux-next (v2) 2/2] clk: bcm6345: Add BCM6345 gated clock support

2016-01-01 Thread Michael Turquette
Hi Simon, Quoting Simon Arlott (2015-12-10 13:50:59) > +#define to_clk_bcm6345(_hw) container_of(_hw, struct clk_bcm6345, hw) > + > +static int clk_bcm6345_enable(struct clk_hw *hw) > +{ > + struct clk_bcm6345 *gate = to_clk_bcm6345(hw); > + > + return regmap_write_bits(gate->map,

Re: net/nfc: GPF in llcp_sock_getname

2016-01-01 Thread Cong Wang
On Fri, Jan 1, 2016 at 5:58 AM, Dmitry Vyukov wrote: > GPF seems to be caused by a data race on socket state. Seems you are right, I think the following patch should work: diff --git a/net/nfc/llcp_sock.c b/net/nfc/llcp_sock.c index ecf0a01..5a91997 100644 --- a/net/nfc/llcp_sock.c +++

Re: net/nfc: GPF in llcp_sock_getname

2016-01-01 Thread Cong Wang
On Fri, Jan 1, 2016 at 12:58 PM, Cong Wang wrote: > > It looks like we forget to initialize ->service_name_len > and ->servicce_name before bind(). Never mind, __GFP_ZERO is passed in sk_alloc()... -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[PATCH] ASoC: cs35l32: avoid uninitialized variable access

2016-01-01 Thread Arnd Bergmann
gcc warns about the possibilty of accessing a property read from devicetree in cs35l32_i2c_probe() when it has not been initialized because CONFIG_OF is disabled: sound/soc/codecs/cs35l32.c: In function 'cs35l32_i2c_probe': sound/soc/codecs/cs35l32.c:278:2: warning: 'val' may be used

Re: [PATCH] net-libertas: Better exception handling in if_spi_host_to_card_worker()

2016-01-01 Thread Sergei Shtylyov
Hello On 1/2/2016 12:33 AM, SF Markus Elfring wrote: From: Markus Elfring Date: Fri, 1 Jan 2016 22:27:20 +0100 This issue was detected by using the Coccinelle software. Move the jump label directly before the desired log statement so that the variable "err" will not be checked once more

Re: [PATCH 2/3] net-iwlegacy: One check less in il_eeprom_init() after error detection

2016-01-01 Thread Sergei Shtylyov
Hello. On 1/1/2016 11:31 PM, SF Markus Elfring wrote: From: Markus Elfring Date: Fri, 1 Jan 2016 21:12:29 +0100 This issue was detected by using the Coccinelle software. Adjust a jump target to avoid a check repetition before the function call "il_eeprom_free". One question: why?

[PATCH] ipw2x00: add checks for dma mapping errors

2016-01-01 Thread Alexey Khoroshilov
ipw2100_alloc_skb() and ipw2100_tx_send_data() do not check if mapping dma memory succeed. The patch adds the checks and failure handling. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/net/wireless/ipw2x00/ipw2100.c | 11

Re: [PATCH] net: refactor icmp_global_allow to improve readability and performance.

2016-01-01 Thread Eric Dumazet
On Thu, 2015-12-31 at 23:58 -0800, Mike Danese wrote: > We can reduce the number of operations performed by icmp_global_allow > and make the routine more readable by refactoring it in two ways: > > First, this patch refactors the meaning of the "delta" variable. Before > this change, it meant

Re: [PATCH v2 2/2] cpufreq: powernv: Redesign the presentation of throttle notification

2016-01-01 Thread kbuild test robot
Hi Shilpasri, [auto build test WARNING on tip/perf/core] [also build test WARNING on v4.4-rc7 next-20151231] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

Fwd: [PATCH] x86: Add iMac10,1 to pci_reboot_dmi_table

2016-01-01 Thread Mario Kleiner
Forwarded Message Subject: [PATCH] x86: Add iMac10,1 to pci_reboot_dmi_table Date: Fri, 18 Dec 2015 20:24:06 +0100 From: Mario Kleiner To: x...@kernel.org CC: mi...@redhat.com, h...@zytor.com, mario.kleiner...@gmail.com, sta...@vger.kernel.org Without the reboot=pci method,

[PATCH] gpiolib: always initialize *flags from of_get_named_gpio_flags

2016-01-01 Thread Arnd Bergmann
The of_get_named_gpio_flags() function does nothing other than returning an error when CONFIG_OF_GPIO is disabled, but that causes spurious warnings about possible use of uninitialized variables in any code that does not check the of_get_named_gpio_flags() return value before trying to use the

Re: [PATCH] cpufreq: powernv: Redesign the presentation of throttle notification

2016-01-01 Thread Shilpasri G Bhat
Hi, On 12/15/2015 02:59 AM, Paul Clarke wrote: > On 12/13/2015 12:17 PM, Shilpasri G Bhat wrote: >> Replace the throttling event console messages to perf trace event >> "power:powernv_throttle" and throttle counter stats which are >> exported in sysfs. The newly added sysfs files are as follows:

[PATCH] net: hns: avoid uninitialized variable warning:

2016-01-01 Thread Arnd Bergmann
gcc fails to see that the use of the 'last_offset' variable in hns_nic_reuse_page() is used correctly and issues a bogus warning: drivers/net/ethernet/hisilicon/hns/hns_enet.c: In function 'hns_nic_reuse_page': drivers/net/ethernet/hisilicon/hns/hns_enet.c:541:6: warning: 'last_offset' may be

[PATCH v2 0/2] cpufreq: powernv: Redesign the presentation of throttle notification

2016-01-01 Thread Shilpasri G Bhat
In POWER8, OCC(On-Chip-Controller) can throttle the frequency of the CPU when the chip crosses its thermal and power limits. Currently, powernv-cpufreq driver detects and reports this event as a console message. Some boxes may not sustain the max turbo frequency in all conditions and can be

[PATCH v2 1/2] cpufreq: powernv/tracing: Add powernv_throttle tracepoint

2016-01-01 Thread Shilpasri G Bhat
This patch adds the powernv_throttle tracepoint to trace the CPU frequency throttling event, which is used by the powernv-cpufreq driver in POWER8. Signed-off-by: Shilpasri G Bhat CC: Ingo Molnar CC: Steven Rostedt --- Changes from v1: - Export the tracepoint include/trace/events/power.h |

[PATCH v2 2/2] cpufreq: powernv: Redesign the presentation of throttle notification

2016-01-01 Thread Shilpasri G Bhat
Replace the throttling event console messages to perf trace point "power:powernv_throttle" and throttle counter stats which are exported in sysfs in /sys/devices/system/cpu/cpufreq/chipN. The newly added sysfs files are as follows: 1)/sys/devices/system/cpu/cpufreq/chip0/throttle_frequencies

Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks

2016-01-01 Thread Tony Luck
Somehow this didn't get sent ... found it in the "Drafts" folder. But it's rubbish, skip to the bottom. On Thu, Dec 31, 2015 at 12:30 PM, Tony Luck wrote: > I switched to BIAS 0xC000 ... and now I should get class 1 entries > (bit31=0, bit30=1). > > New patch series coming soon. Or not :-(

Re: [RESEND PATCH v1 4/4] clk: rockchip: rk3036: fix and add node id for emac clock

2016-01-01 Thread Heiko Stübner
Hi Xing, Am Dienstag, 29. Dezember 2015, 10:34:09 schrieb Xing Zheng: > On 2015年12月29日 09:59, Yakir Yang wrote: > > On 12/28/2015 08:41 PM, Heiko Stübner wrote: > >> Am Montag, 28. Dezember 2015, 17:03:53 schrieb Xing Zheng: > >>> Due to referred old version TRM, there is incorrect emac clock

[GIT PULL rcu/next] RCU commits for 4.5

2016-01-01 Thread Paul E. McKenney
Hello, Ingo, The changes in this series include the following: 1. Adding transitivity uniformly to rcu_node structure ->lock acquisitions. (This is implemented by the first two commits on top of v4.4-rc2 due to the pervasive nature of this change.)

Re: [Y2038] [PATCH v2 2/2] ppdev: add support for compat ioctl

2016-01-01 Thread Arnd Bergmann
On Friday 01 January 2016 10:34:25 Sudip Mukherjee wrote: > > Did you happen to check with both 32-bit and 64-bit user space on a > > 64-bit kernel? This is one of the things that was not working originally > > but should work now. > > I dont think I can manage 32 bit userspace on 64-bit kernel

Re: [PATCH] [BUG] clk: rockchip: don't mark clock names as initconst

2016-01-01 Thread Heiko Stübner
Am Freitag, 1. Januar 2016, 22:50:43 schrieb Arnd Bergmann: > On Friday 01 January 2016 18:06:30 Heiko Stübner wrote: > > "[PATCH] clk: rockchip: fix section mismatches with new child-clocks" [0] > > > > should be in Mike's + Stephen's inbox since last week as well, which moves > > the offending

[PATCH 4/3] drm: arm-hdlcd: add explictit DRM dependency

2016-01-01 Thread Arnd Bergmann
CONFIG_DRM_HDLCD is a tristate option that depends on the boolean CONFIG_DRM_ARM, which in turn depends on the tristate CONFIG_DRM. The effect of this is that a configuration with CONFIG_DRM=m and CONFIG_DRM_HDLCD=y can be chosen, but won't link because the DRM core symbols are not reachable from

Re: [RFC PATCH] ARM: pxa: add defconfig covering all the boards

2016-01-01 Thread Robert Jarzmik
Arnd Bergmann writes: > Sorry for the late reply. I think this is great and I'd like to just apply it. > Can you re-send to a...@kernel.org if you're happy with that? Yep. > Looking at your description above, I see that you included pxa168_defconfig > and pxa910_defconfig as well, but they are

Re: [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller

2016-01-01 Thread Arnd Bergmann
On Friday 01 January 2016 20:32:30 Roman Volkov wrote: > > Applied both to next/dt, thanks a lot for following up! > > > > Let me know if you think this should go into stable backports as well, > > I did not apply it to the fixes branch as you don't have a > > 'Cc: sta...@vger.kernel.org' tag and

Re: [PATCH] [BUG] clk: rockchip: don't mark clock names as initconst

2016-01-01 Thread Arnd Bergmann
On Friday 01 January 2016 18:06:30 Heiko Stübner wrote: > > "[PATCH] clk: rockchip: fix section mismatches with new child-clocks" [0] > > should be in Mike's + Stephen's inbox since last week as well, which moves > the > offending new elements into separate entities, which can have __initdata

Re: [PATCH] Staging: speakup: read scrolled-back VT

2016-01-01 Thread covici
Tested on 4.1.15 and it seems to work fine -- thanks a lot. Samuel Thibault wrote: > Previously, speakup would always read the bottom part of the screen, > even when the VT is scrolled back with shift-page. This patch makes > vt.c export screen_pos so that speakup can use it to properly

Re: [PATCH] net-libertas: Better exception handling in if_spi_host_to_card_worker()

2016-01-01 Thread Julia Lawall
On Fri, 1 Jan 2016, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 1 Jan 2016 22:27:20 +0100 > > This issue was detected by using the Coccinelle software. > > Move the jump label directly before the desired log statement > so that the variable "err" will not be checked once

[PATCH] net-libertas: Better exception handling in if_spi_host_to_card_worker()

2016-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Jan 2016 22:27:20 +0100 This issue was detected by using the Coccinelle software. Move the jump label directly before the desired log statement so that the variable "err" will not be checked once more after it was determined that a function call failed. Use the

Re: net/nfc: GPF in llcp_sock_getname

2016-01-01 Thread Cong Wang
On Fri, Jan 1, 2016 at 5:58 AM, Dmitry Vyukov wrote: > > kasan: GPF could be caused by NULL-ptr deref or user memory > accessgeneral protection fault: [#51] SMP KASAN > Modules linked in: > CPU: 2 PID: 4207 Comm: a.out Not tainted 4.4.0-rc7+ #184 > Hardware name: QEMU Standard PC (i440FX +

[PATCH 3/3] net-iwlegacy: Another refactoring for il_eeprom_init()

2016-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Jan 2016 21:16:01 +0100 Rename a jump label according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/net/wireless/intel/iwlegacy/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 2/3] net-iwlegacy: One check less in il_eeprom_init() after error detection

2016-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Jan 2016 21:12:29 +0100 This issue was detected by using the Coccinelle software. Adjust a jump target to avoid a check repetition before the function call "il_eeprom_free". Signed-off-by: Markus Elfring --- drivers/net/wireless/intel/iwlegacy/common.c | 10

[PATCH 1/3] net-iwlegacy: Refactoring for il_eeprom_init()

2016-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Jan 2016 20:54:25 +0100 Return directly if a memory allocation failed at the beginning. Signed-off-by: Markus Elfring --- drivers/net/wireless/intel/iwlegacy/common.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git

[PATCH 0/3] net-iwlegacy: Fine-tuning for il_eeprom_init()

2016-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Jan 2016 21:25:43 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (3): Refactoring One check less after error detection Another refactoring drivers/net/wireless/intel/iwlegacy/common.c | 22

Re: [PATCH v2 RESEND 1/3] clocksource/vt8500: Use MIN_OSCR_DELTA from PXA

2016-01-01 Thread Robert Jarzmik
Roman Volkov writes: > В Thu, 31 Dec 2015 23:33:45 +0100 (CET) > Thomas Gleixner пишет: > >> Roman, >> >> On Thu, 31 Dec 2015, Roman Volkov wrote: >> > Since vt8500 and PXA timers are identical, use MIN_OSCR_DELTA from >> > PXA, which is bigger than existing value. It is required to >> >

Re: [PATCH v2] crypto: af_alg - Disallow bind/setkey/... after accept(2)

2016-01-01 Thread Stephan Mueller
Am Mittwoch, 30. Dezember 2015, 11:47:53 schrieb Herbert Xu: Hi Herbert, > On Tue, Dec 29, 2015 at 07:36:14PM +0100, Dmitry Vyukov wrote: > > Hello, > > > > On commit 8513342170278468bac126640a5d2d12ffbff106 > > + crypto: algif_skcipher - Use new skcipher interface > > + crypto: algif_skcipher

Re: [PATCH 1/7] char: xillybus: use to_delayed_work

2016-01-01 Thread Eli Billauer
Hello, It's fine with me, but this patch needs to go to the char and misc drivers maintainers (i.e. Arnd Bergmann and Greg Kroah-Hartman). I don't have a repository of my own. Thanks, Eli Acked-by: Eli Billauer On 01/01/16 16:59, Geliang Tang wrote: Use to_delayed_work() instead of

[PATCH] net-brcmfmac: Delete an unnecessary variable initialisation in brcmf_sdio_download_firmware()

2016-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Jan 2016 20:20:15 +0100 Omit explicit initialisation at the beginning for one local variable that is redefined before its first use. Signed-off-by: Markus Elfring --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 2 +- 1 file changed, 1

Re: [PATCH 1/2] net-ath9k_htc: Delete an unnecessary variable initialisation in ath9k_hif_usb_rx_stream()

2016-01-01 Thread Oleksij Rempel
Am 01.01.2016 um 19:23 schrieb SF Markus Elfring: > From: Markus Elfring > Date: Fri, 1 Jan 2016 19:00:53 +0100 > > Omit explicit initialisation at the beginning for one local variable > that is redefined before its first use. > > Signed-off-by: Markus Elfring > --- >

Re: [PATCH 2/2] net-ath9k_htc: Replace a variable initialisation by an assignment in ath9k_htc_set_channel()

2016-01-01 Thread Oleksij Rempel
Am 01.01.2016 um 19:25 schrieb SF Markus Elfring: > From: Markus Elfring > Date: Fri, 1 Jan 2016 19:09:32 +0100 > > Replace an explicit initialisation for one local variable at the beginning > by a conditional assignment. > > Signed-off-by: Markus Elfring > --- >

Re: CGroup Namespaces (v8)

2016-01-01 Thread Dan Williams
On Fri, Jan 1, 2016 at 10:06 AM, Serge E. Hallyn wrote: > On Fri, Jan 01, 2016 at 01:42:57AM -0800, Dan Williams wrote: >> Commit 54b39d263704 "cgroup: cgroup namespace setns support" not >> booting is a separate issue. > > Oh - been there since my first version of the set (v4). Odd, I > thought

[PATCH v2 6/6] perf/amd/iommu: Enable support for multiple IOMMUs

2016-01-01 Thread Suravee Suthikulpanit
The current amd_iommu_pc_get_set_reg_val() does not support muli-IOMMU system. This patch replace amd_iommu_pc_get_set_reg_val() with amd_iommu_pc_set_reg_val() and amd_iommu_pc_[set|get]_cnt_vals(). This implementation makes an assumption that the counters on all IOMMUs will be programmed the

[PATCH v2 2/6] perf/amd/iommu: Modify functions to query max banks and counters

2016-01-01 Thread Suravee Suthikulpanit
Currently, amd_iommu_pc_get_max_[banks|counters]() require devid, which should not be the case. Also, these don't properly support multi-IOMMU system. Current and future AMD systems with IOMMU that support perf counter would likely contain homogeneous IOMMUs where multiple IOMMUs are availalbe.

[PATCH v2 1/6] perf/amd/iommu: Consolidate and move perf_event_amd_iommu header

2016-01-01 Thread Suravee Suthikulpanit
This patch consolidates "arch/x86/kernel/cpu/perf_event_amd_iommu.h" and "drivers/iommu/amd_iommu_proto.h", which contain duplicate function declarations, into "include/linux/perf/perf_event_amd_iommu.h" Signed-off-by: Suravee Suthikulpanit --- arch/x86/kernel/cpu/perf_event_amd_iommu.c | 2 +-

[PATCH v2 3/6] iommu/amd: Introduce amd_iommu_get_num_iommus()

2016-01-01 Thread Suravee Suthikulpanit
This patch introduces amd_iommu_get_num_iommus(). Initially, this is intended to be used by Perf AMD IOMMU driver. Signed-off-by: Suravee Suthikulpanit --- drivers/iommu/amd_iommu_init.c| 8 +++- include/linux/perf/perf_event_amd_iommu.h | 2 ++ 2 files changed, 9 insertions(+),

[PATCH 2/2] net-ath9k_htc: Replace a variable initialisation by an assignment in ath9k_htc_set_channel()

2016-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Jan 2016 19:09:32 +0100 Replace an explicit initialisation for one local variable at the beginning by a conditional assignment. Signed-off-by: Markus Elfring --- drivers/net/wireless/ath/ath9k/htc_drv_main.c | 7 ++- 1 file changed, 2 insertions(+), 5

[PATCH v2 5/6] perf/amd/iommu: Introduce get_iommu_bnk_cnt_evt_idx

2016-01-01 Thread Suravee Suthikulpanit
Introduce a helper function to calculate bit-index for assigning performance counter assignment. Signed-off-by: Suravee Suthikulpanit --- arch/x86/kernel/cpu/perf_event_amd_iommu.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git

[PATCH v2 4/6] perf/amd/iommu: Introduce data structure for tracking prev count.

2016-01-01 Thread Suravee Suthikulpanit
To enable AMD IOMMU PMU to support multiple IOMMUs, this patch introduces a new data structure, perf_amd_iommu.prev_cnts, to track previous counts of IOMMU performance counters in multi-IOMMU environment. Also, this patch allocates perf_iommu_cnts for internal use when manages counters.

[PATCH v2 0/6] perf/amd/iommu: Enable multi-IOMMU support

2016-01-01 Thread Suravee Suthikulpanit
This patch series modifies the existing perf_event_amd_iommu driver to support systems with multiple IOMMUs. It introduces new AMD IOMMU APIs, which will are used by the AMD IOMMU Perf driver to access performance counters in multiple IOMMUs. In addition, this series should also fix current AMD

[PATCH 1/2] net-ath9k_htc: Delete an unnecessary variable initialisation in ath9k_hif_usb_rx_stream()

2016-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Jan 2016 19:00:53 +0100 Omit explicit initialisation at the beginning for one local variable that is redefined before its first use. Signed-off-by: Markus Elfring --- drivers/net/wireless/ath/ath9k/hif_usb.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 0/2] net-ath9k_htc: Fine-tuning for two function implementations

2016-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Jan 2016 19:16:05 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (2): Delete an unnecessary variable initialisation in ath9k_hif_usb_rx_stream() Replace a variable initialisation by an assignment in

Re: [PATCH] drivers: staging: media: davinci_vpfe: dm365_resizer: fixed some spelling mistakes

2016-01-01 Thread Trevor Woerner
On 01/01/16 11:08, Saatvik Arya wrote: > fixed spelling mistakes which reffered to OUTPUT as OUPUT Somewhat ironically, "reffered" is not spelled correctly ;-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: CGroup Namespaces (v8)

2016-01-01 Thread Serge E. Hallyn
On Fri, Jan 01, 2016 at 01:42:57AM -0800, Dan Williams wrote: > On Fri, Jan 1, 2016 at 12:59 AM, Serge E. Hallyn > wrote: > > On Fri, Jan 01, 2016 at 12:19:44AM -0800, Dan Williams wrote: > >> On Tue, Dec 22, 2015 at 8:23 PM, wrote: > >> > Hi, > >> > > >> > following is a revised set of the

Re: [PATCH] ima_write_policy() optimizations;

2016-01-01 Thread kbuild test robot
Hi Petko, [auto build test ERROR on integrity/next] [cannot apply to v4.4-rc7 next-20151231] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

Re: [PATCH] Staging: speakup: read scrolled-back VT

2016-01-01 Thread One Thousand Gnomes
On Fri, 1 Jan 2016 18:20:39 +0100 Samuel Thibault wrote: > Previously, speakup would always read the bottom part of the screen, > even when the VT is scrolled back with shift-page. This patch makes > vt.c export screen_pos so that speakup can use it to properly access > the content of the

Re: [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller

2016-01-01 Thread Roman Volkov
В Fri, 01 Jan 2016 15:29:29 +0100 Arnd Bergmann пишет: > On Friday 01 January 2016 16:38:10 Roman Volkov wrote: > > From: Roman Volkov > > > > This patch set enables SD controller support for WM8650 and > > fixes minor errors in WM8505 Device Tree file. > > > > Changes in v3: > > 1. Add minor

Re: [PATCH 2/7] edac: i5100_edac: use to_delayed_work

2016-01-01 Thread Borislav Petkov
On Fri, Jan 01, 2016 at 10:59:07PM +0800, Geliang Tang wrote: > Use to_delayed_work() instead of open-coding it. > > Signed-off-by: Geliang Tang > --- > drivers/edac/i5100_edac.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/edac/i5100_edac.c

Re: [PATCH] pinctrl: mediatek: convert to arch_initcall

2016-01-01 Thread Linus Walleij
On Fri, Jan 1, 2016 at 3:27 PM, Matthias Brugger wrote: > On January 1, 2016 3:56:01 AM EET, Daniel Kurtz wrote: >>> It's fairly clear that there's at least a case for simplifying the >>> existing practice here, for example by moving everything into a >>single >>> (perhaps aliased) initcall

Re: linux-next: manual merge of the security tree with the vfs tree

2016-01-01 Thread Petko Manolov
On 16-01-01 04:34:16, Al Viro wrote: > On Thu, Dec 31, 2015 at 12:45:35PM +0200, Petko Manolov wrote: > > > I introduced the write mutex when ima_write_policy() stopped being > > serialized by > > other means. Come to think about it the semaphore could be taken right > > before > >

[PATCH] Staging: speakup: read scrolled-back VT

2016-01-01 Thread Samuel Thibault
Previously, speakup would always read the bottom part of the screen, even when the VT is scrolled back with shift-page. This patch makes vt.c export screen_pos so that speakup can use it to properly access the content of the scrolled-back VT. This was tested with both vgacon and fbcon.

Re: [PATCH v2 32/32] virtio_ring: use virt_store_mb

2016-01-01 Thread Sergei Shtylyov
Hello. On 12/31/2015 10:09 PM, Michael S. Tsirkin wrote: We need a full barrier after writing out event index, using virt_store_mb there seems better than open-coding. As usual, we need a wrapper to account for strong barriers. It's tempting to use this in vhost as well, for that, we'll need

Re: [PATCH] [BUG] clk: rockchip: don't mark clock names as initconst

2016-01-01 Thread Heiko Stübner
Hi Arnd, Am Freitag, 1. Januar 2016, 14:42:52 schrieb Arnd Bergmann: > The latest changes to the rockchip clk implementation cause > tons of warnings and/or errors (depending on the configuration): > > WARNING: vmlinux.o(.data+0x125394): Section mismatch in reference from the > variable

[PATCH 2/2] net-qmi_wwan: Delete an unnecessary variable initialisation in qmi_wwan_register_subdriver()

2016-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Jan 2016 17:35:03 +0100 Omit explicit initialisation at the beginning for one local variable that is redefined before its first use. Signed-off-by: Markus Elfring --- drivers/net/usb/qmi_wwan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 1/2] net-qmi_wwan: Refactoring for qmi_wwan_bind()

2016-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Jan 2016 17:32:07 +0100 Reduce the scope for the local variable "desc" to one branch of an if statement. Signed-off-by: Markus Elfring --- drivers/net/usb/qmi_wwan.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 0/2] net-qmi_wwan: Fine-tuning for two function implementations

2016-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Jan 2016 17:47:46 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (2): Refactoring for qmi_wwan_bind() Delete an unnecessary variable initialisation in qmi_wwan_register_subdriver()

[ACPI] BUG: KASan: out of bounds on stack in vsnprintf

2016-01-01 Thread Thomas Meyer
Hi, I started to run my kernels with KASan enabled and found this after resume from ram on a 4.3.3 kernel: Jan 01 15:16:59 localhost.localdomain kernel: == Jan 01 15:16:59 localhost.localdomain kernel: BUG: KASan: out of bounds on

[PATCH] drivers: staging: media: davinci_vpfe: dm365_resizer: fixed some spelling mistakes

2016-01-01 Thread Saatvik Arya
fixed spelling mistakes which reffered to OUTPUT as OUPUT Signed-off-by: Saatvik Arya --- drivers/staging/media/davinci_vpfe/dm365_resizer.c | 22 +++--- drivers/staging/media/davinci_vpfe/dm365_resizer.h | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git

[PATCH] net-huawei_cdc_ncm: Delete an unnecessary variable initialisation in huawei_cdc_ncm_bind()

2016-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Jan 2016 16:54:13 +0100 Omit explicit initialisation at the beginning for one local variable that is redefined before its first use. Signed-off-by: Markus Elfring --- drivers/net/usb/huawei_cdc_ncm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 5/6] mwifiex: use to_delayed_work

2016-01-01 Thread Geliang Tang
Use to_delayed_work() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/net/wireless/marvell/mwifiex/11h.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/marvell/mwifiex/11h.c b/drivers/net/wireless/marvell/mwifiex/11h.c index

[PATCH 4/6] rtlwifi: use to_delayed_work

2016-01-01 Thread Geliang Tang
Use to_delayed_work() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/net/wireless/realtek/rtlwifi/wifi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/wifi.h b/drivers/net/wireless/realtek/rtlwifi/wifi.h index

[PATCH 6/6] tilepro: use to_delayed_work

2016-01-01 Thread Geliang Tang
Use to_delayed_work() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/net/ethernet/tile/tilepro.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/tile/tilepro.c b/drivers/net/ethernet/tile/tilepro.c index 6f0a449..298e059 100644 ---

[PATCH 1/6] cfg80211/mac80211: use to_delayed_work

2016-01-01 Thread Geliang Tang
Use to_delayed_work() instead of open-coding it. Signed-off-by: Geliang Tang --- net/mac80211/mlme.c | 3 +-- net/wireless/mlme.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 1c342e2..ea70917 100644 ---

[PATCH 3/6] wl1251: use to_delayed_work

2016-01-01 Thread Geliang Tang
Use to_delayed_work() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/net/wireless/ti/wl1251/ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ti/wl1251/ps.c b/drivers/net/wireless/ti/wl1251/ps.c index b9e27b9..fa01b0a 100644 ---

[PATCH 2/6] wlcore: use to_delayed_work

2016-01-01 Thread Geliang Tang
Use to_delayed_work() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/net/wireless/ti/wlcore/main.c | 10 +- drivers/net/wireless/ti/wlcore/ps.c | 2 +- drivers/net/wireless/ti/wlcore/scan.c | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git

RE: [PATCH 3/3][v3] Thermal: do thermal zone update after a cooling device registered

2016-01-01 Thread Chen, Yu C
Hi Eduardo, thanks for your review, > -Original Message- > From: Eduardo Valentin [mailto:edubez...@gmail.com] > Sent: Friday, January 01, 2016 3:04 AM > To: Chen, Yu C > Cc: Zhang, Rui; javi.mer...@arm.com; linux...@vger.kernel.org; linux- > ker...@vger.kernel.org; sta...@vger.kernel.org

[PATCH 7/7] mvsas: use to_delayed_work

2016-01-01 Thread Geliang Tang
Use to_delayed_work() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/scsi/mvsas/mv_sas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/mvsas/mv_sas.c b/drivers/scsi/mvsas/mv_sas.c index e712fe7..78bf557 100644 ---

[PATCH 2/7] edac: i5100_edac: use to_delayed_work

2016-01-01 Thread Geliang Tang
Use to_delayed_work() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/edac/i5100_edac.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/edac/i5100_edac.c b/drivers/edac/i5100_edac.c index 4091777..c655162 100644 --- a/drivers/edac/i5100_edac.c

  1   2   3   4   >