Re: [PATCH RFC net-next 1/2] tcp: Add DPIFL thin stream detection mechanism

2015-10-24 Thread Bendik Rønning Opstad
On Friday, October 23, 2015 02:44:14 PM Eric Dumazet wrote: > On Fri, 2015-10-23 at 22:50 +0200, Bendik Rønning Opstad wrote: > > > > > +/** > > + * tcp_stream_is_thin_dpifl() - Tests if the stream is thin based on > > dynamic PIF > > + * limit > > + * @tp: the

[PATCH] sched: fix incorrect wait time and wait count statistics

2015-10-24 Thread Joonwoo Park
At present scheduler resets task's wait start timestamp when the task migrates to another rq. This misleads scheduler itself into reporting less wait time than actual by omitting time spent for waiting prior to migration and also more wait count than actual by counting migration as wait end event

Linux 4.3-rc7

2015-10-24 Thread Linus Torvalds
So it may still be Saturday at home, but with the Kernel Summit in Korea coming up, I'm ahead of the curve in a +0900 timezone, and it's Sunday here. So it's release day. This rc breaks the "nicely shrinking and calming down" trend, largely due to the fact that we had the networking fixes merged

Re: Triggering non-integrity writeback from userspace

2015-10-24 Thread Jan Kara
Hi, On Thu 22-10-15 15:15:55, Andres Freund wrote: > postgres regularly has to checkpoint data to disk to be able to free > data from its journal. We currently use buffered IO and that's not > going to change short term. > > In a busy database this checkpointing process can write out a lot of

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-10-24 Thread Linus Torvalds
On Sun, Oct 25, 2015 at 11:18 AM, Tejun Heo wrote: > > We definitely need to weigh the inputs from heavy users but also need > to discern the actual problems which need to be solved from the > specific mechanisms chosen to solve them. Let's please keep the > discussions technical. That's the

Re: [Tech-board] [Ksummit-discuss] Linux Foundation Technical Advisory Board Elections and Nomination process

2015-10-24 Thread Jonathan Corbet
On Sat, 24 Oct 2015 11:28:19 +0100 Grant Likely wrote: > I've been asked several versions of the same question, and also the > annual "what does the TAB actually do?" question, so I'm going to try > and answer them all in one email: Great summary, Grant, thanks. A few additions of my own... -

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-10-24 Thread Mike Galbraith
On Sun, 2015-10-25 at 11:18 +0900, Tejun Heo wrote: > Hello, Mike. > > On Sat, Oct 24, 2015 at 06:36:07AM +0200, Mike Galbraith wrote: > > On Sat, 2015-10-24 at 07:21 +0900, Tejun Heo wrote: > > > > > It'd be a step back in usability only for users who have been using > > > cgroups in fringing

Re: [PATCH] pci: Update VPD size with correct length

2015-10-24 Thread Hannes Reinecke
On 10/24/2015 02:52 AM, Alexander Duyck wrote: > On 10/23/2015 02:09 AM, Hannes Reinecke wrote: >> PCI-2.2 VPD entries have a maximum size of 32k, but might actually >> be smaller than that. To figure out the actual size one has to read >> the VPD area until the 'end marker' is reached. >> Trying

Re: [PATCH v2 1/2] scsi: lpfc: Use kzalloc instead of kmalloc

2015-10-24 Thread Matthew R. Ochs
> On Oct 24, 2015, at 2:06 AM, Punit Vara wrote: > > This patch is to the lpfc_els.c which resolves following warning > reported by coccicheck: > > WARNING: kzalloc should be used for rdp_context, instead of > kmalloc/memset > > Signed-off-by: Punit Vara Reviewed-by: Matthew R. Ochs -- To

Re: [PATCH] block: remove useless casting value returned by kmalloc to structure

2015-10-24 Thread Matthew R. Ochs
Reviewed-by: Matthew R. Ochs -- 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 FAQ at http://www.tux.org/lkml/

Re: [PATCH v3] Input: uinput - add new UINPUT_DEV_SETUP and UI_ABS_SETUP ioctl

2015-10-24 Thread Dmitry Torokhov
Hi Benjamin, On Tue, Aug 25, 2015 at 11:12:59AM -0400, Benjamin Tissoires wrote: > +static int uinput_abs_setup(struct uinput_device *udev, > + struct uinput_setup __user *arg, size_t size) > +{ > + struct uinput_abs_setup setup = {}; > + struct input_dev *dev; > +

[PATCH] pstore: drop file opened reference count

2015-10-24 Thread Geliang Tang
In my recent commit, I added '.owner = THIS_MODULE' in both pstore_fs_type and pstore_file_operations to increase a reference count when pstore filesystem is mounted and pstore file is opened.[1] But, it's repetitive. There is no need to increase the opened reference count. We only need to

Re: [PATCH 1/2] pstore: check PSTORE_FLAGS_FRAGILE in pstore_unregister

2015-10-24 Thread Geliang Tang
On Fri, Oct 23, 2015 at 09:54:31AM -0700, Kees Cook wrote: > On Fri, Oct 23, 2015 at 7:56 AM, Geliang Tang wrote: > > When PSTORE_FLAGS_FRAGILE flag is set, only kmsg is registered in > > pstore_register. So, under these circumstances, only kmsg needs to > > be unregistered in pstore_unregister.

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-10-24 Thread Tejun Heo
Hello, Mike. On Sat, Oct 24, 2015 at 06:36:07AM +0200, Mike Galbraith wrote: > On Sat, 2015-10-24 at 07:21 +0900, Tejun Heo wrote: > > > It'd be a step back in usability only for users who have been using > > cgroups in fringing ways which can't be justified for ratification and > > we do want

RE: [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events

2015-10-24 Thread Chen, Yu C
This should not be a valid warning IMO, because PATCH 2/3 is based on PATCH 1/3, and the warning of implicit declaration is defined in PATCH 1/3. > -Original Message- > From: lkp > Sent: Sunday, October 25, 2015 1:19 AM > To: Chen, Yu C > Cc: kbuild-...@01.org; r...@rjwysocki.net;

Re: [PATCH 0/3] ARM: dts: Enable Exynos RNG module

2015-10-24 Thread Tobias Jakobi
Hello Krzysztof, Krzysztof Kozlowski wrote: > On 20.10.2015 01:11, Tobias Jakobi wrote: >> Hello Krzysztof, >> >> I can confirm that this also works on a Odroid-X2, so I guess it's safe >> to enable the PRNG for all Exynos4412-based Odroid devices. > > Sure, I can send a patch for that. I can

Re: [PATCH 4/9] dma: fix a trivial typo

2015-10-24 Thread Vinod Koul
On Sun, Oct 18, 2015 at 11:31:10PM +0800, Geliang Tang wrote: > s/regsiter/register/ > Applied, now Please ensure the patches have right subsystem names. You can use git log on that file/subsystem to find the convention used I have fixed it up before applying -- ~Vinod -- To unsubscribe from

Re: [PATCH v6.2 1/1] Input: Add userio module

2015-10-24 Thread Dmitry Torokhov
Hi Stephen, On Fri, Oct 23, 2015 at 04:47:46PM -0400, cp...@redhat.com wrote: > From: Stephen Chandler Paul > > Debugging input devices, specifically laptop touchpads, can be tricky > without having the physical device handy. Here we try to remedy that > with userio. This module allows an

[PATCH 3/3] Staging: wilc1000: Remove boolean comparision

2015-10-24 Thread Punit Vara
This patch is to the host_interface.c file that fixes up following warning reported by coccicheck: WARNING: Comparison to bool Boolean tests do not need explicit comparison to true or false Signed-off-by: Punit Vara --- drivers/staging/wilc1000/host_interface.c | 4 ++-- 1 file changed, 2

[PATCH 2/3] Staging: wilc1000: Remove comparision of field address to NULL

2015-10-24 Thread Punit Vara
This is patch to the linux_wlan file that fixes up following error reported by coccicheck : ERROR: test of a variable/field address Signed-off-by: Punit Vara --- drivers/staging/wilc1000/linux_wlan.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 1/3] staging: wilc1000: Remove reference preceded by free

2015-10-24 Thread Punit Vara
This patch is to the wilc_wfi_cfgoperations.c file that fixes up following error reported by coccicheck: ERROR: reference preceded by free on line 1219 For (params->seq_len) <= 0 memory is already freed when (params->seq_len) >0 then memory was alloted. So there is no need to use kfree whenever

[PATCH 0/3] Staging: wilc1000: Remove coccicheck warnings and error

2015-10-24 Thread Punit Vara
Punit Vara (3): staging: wilc1000: Remove reference preceded by free Staging: wilc1000: Remove comparision of field address to NULL Staging: wilc1000: Remove boolean comparision drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/linux_wlan.c |

Re: [PATCH v7] Input: Add userio module

2015-10-24 Thread Dmitry Torokhov
On Thu, Oct 08, 2015 at 07:20:59PM +0200, David Herrmann wrote: > On Mon, Oct 5, 2015 at 5:55 PM, wrote: > > +static int userio_char_release(struct inode *inode, struct file *file) > > +{ > > + struct userio_device *userio = file->private_data; > > + > > + /* Don't free the serio

Re: [PATCH v4 4/5] regulator: tps65912: Add regulator driver for the TPS65912 PMIC

2015-10-24 Thread Mark Brown
On Fri, Oct 23, 2015 at 07:11:56PM -0500, Andrew F. Davis wrote: > On 10/23/2015 06:18 PM, Mark Brown wrote: > >mt6397 doesn't do this, it doesn't have a compatible string at all (it's > >doing what I'm recommending that you do). The SPMI devices are > >standalone devices, their parent device is

Re: [GIT PULL] On-demand device probing

2015-10-24 Thread Mark Brown
On Sat, Oct 24, 2015 at 04:17:12PM +0200, Rafael J. Wysocki wrote: > Well, I'm not quite sure why exactly everyone is so focused on probing here. Probe deferral is really noisy even if it's working fine on a given system so it's constantly being highlighted to people in a way that other issues

Re: lseek(fd, 0, SEEK_CUR) returns unexpected result for O_APPEND file on linux 2.6.32-431.29.2

2015-10-24 Thread Theodore Ts'o
On Sat, Oct 24, 2015 at 01:18:11AM +0100, Sigurd Næss wrote: > Below is a description of a simple test case that causes lseek(fd, 0, > SEEK_CUR) to return an unexpectedly small result on one of my > computers, with linux 2.6.32-431.29.2, but none of the others. I'm > posting it on the off chance

piping core dump to a program escapes container

2015-10-24 Thread Shayan Pooya
I noticed the following core_pattern behavior in my linux box while running docker containers. I am not sure if it is bug, but it is inconsistent and not documented. If the core_pattern is set on the host, the containers will observe and use the pattern for dumping cores (there is no per cgroup

[PATCH v2] ASoC: wm9713: convert to regmap

2015-10-24 Thread Robert Jarzmik
Convert the Wolfson WM9713 to regmap API. This will leverage all the regmap functions (debug, registers update, etc ...). As a bonus, this will pave the path to gpio chip introduction, and devicetree support. Signed-off-by: Robert Jarzmik --- Since v1: fix suspend/resume (that specific part is

Re: Triggering non-integrity writeback from userspace

2015-10-24 Thread Dave Chinner
On Thu, Oct 22, 2015 at 03:15:55PM +0200, Andres Freund wrote: > Hi, > > postgres regularly has to checkpoint data to disk to be able to free > data from its journal. We currently use buffered IO and that's not > going to change short term. > > In a busy database this checkpointing process can

Re: QUestion on x86_64 and i386 for settings of SS segment register

2015-10-24 Thread Jeffrey Merkey
Found the answer in ptrace.h -- the answer is no. never mind. Jeff On 10/24/15, Jeffrey Merkey wrote: > I am updating the mdb kernel debugger on 4.2.4 and I noticed that > user_mode_vm has been removed from the kernel sources for detecting > user space memory addresses for purposes of loading

QUestion on x86_64 and i386 for settings of SS segment register

2015-10-24 Thread Jeffrey Merkey
I am updating the mdb kernel debugger on 4.2.4 and I noticed that user_mode_vm has been removed from the kernel sources for detecting user space memory addresses for purposes of loading the SS pointer. I am using __KERNEL_DS presently. old code: if (user_mode_vm(regs)) { sf->tSS = regs->ss;

Re: [PATCH 0/4] Patches to fix remote wakeup on rk3288 dwc2 "host" port

2015-10-24 Thread Doug Anderson
Rob, On Sat, Oct 24, 2015 at 11:10 AM, Rob Herring wrote: > On 10/23/2015 01:28 PM, Douglas Anderson wrote: >> The "host1" port (AKA the dwc2 port that isn't the OTG port) on rk3288 >> has a hardware errata that causes everything to get confused when we get >> a remote wakeup. It appears that

[PATCH] ARM: dts: sunxi: sun6i-a31s-primo81.dts: add touchscreen axis swapping property

2015-10-24 Thread Karsten Merker
The MSI Primo81 has a display in portrait mode but a touchscreen in landscape mode. To have both of them use the same coordinate system, the touchscreen-swapped-x-y property has to be set for the touchscreen. Signed-off-by: Karsten Merker --- arch/arm/boot/dts/sun6i-a31s-primo81.dts | 1 + 1

Re: [alsa-devel] [PATCH] ASoC: wm9713: convert to regmap

2015-10-24 Thread kbuild test robot
Hi Robert, [auto build test ERROR on asoc/for-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Robert-Jarzmik/ASoC-wm9713-convert-to-regmap/20151025-042116 config: xtensa-allyesconfig (attached as

Re: [alsa-devel] [PATCH] ASoC: wm9713: convert to regmap

2015-10-24 Thread kbuild test robot
Hi Robert, [auto build test ERROR on asoc/for-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Robert-Jarzmik/ASoC-wm9713-convert-to-regmap/20151025-042116 config: tile-allyesconfig (attached as

[PATCH] ASoC: wm9713: convert to regmap

2015-10-24 Thread Robert Jarzmik
Convert the Wolfson WM9713 to regmap API. This will leverage all the regmap functions (debug, registers update, etc ...). As a bonus, this will pave the path to gpio chip introduction, and devicetree support. Signed-off-by: Robert Jarzmik --- sound/soc/codecs/Kconfig | 1 +

Re: [PATCH] HID: usbhid: Add a quirk for Xin-Mo Dual Arcade

2015-10-24 Thread Jiri Kosina
On Sat, 24 Oct 2015, Michele Baldessari wrote: > The Xin-Mo Dual Arcade controller (16c0:05e1) needs this quirk in order > to have the two distinct joysticks working. > > Before the change: > $ jstest /dev/input/js0 > Joystick (Xin-Mo Xin-Mo Dual Arcade) has 2 axes (X, Y) > ... > $ jstest

Re: + signal-turn-dequeue_signal_lock-into-kernel_dequeue_signal.patch added to -mm tree

2015-10-24 Thread Markus Pargmann
Hi Oleg, On Sat, Oct 24, 2015 at 09:48:26PM +0200, Oleg Nesterov wrote: > Hi Markus, > > s/mm-commits/lkml/ > > On 10/24, Markus Pargmann wrote: > > > > On Mon, Oct 05, 2015 at 02:19:27PM -0700, a...@linux-foundation.org wrote: > > > > > > Subject: signal: turn dequeue_signal_lock() into

Re: + signal-turn-dequeue_signal_lock-into-kernel_dequeue_signal.patch added to -mm tree

2015-10-24 Thread Oleg Nesterov
Hi Markus, s/mm-commits/lkml/ On 10/24, Markus Pargmann wrote: > > On Mon, Oct 05, 2015 at 02:19:27PM -0700, a...@linux-foundation.org wrote: > > > > Subject: signal: turn dequeue_signal_lock() into kernel_dequeue_signal() > > > > 1. Rename dequeue_signal_lock() to kernel_dequeue_signal(). This

MONEY GRAM

2015-10-24 Thread MONEY GRAM INTL.
-- MONEY GRAM SENT THE SUM OF $2900.00 TO YOU.WITH REF NO#:7682-4989,kindly contact MR.PAUL HOWARD FOR MORE DETAILS, Message sent using UebiMiau 2.7.9 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

I NEED YOUR ASSISTANCE

2015-10-24 Thread
I NEED YOUR ASSISTANCE.CAN YOU BE TRUSTED?IF YES CONTACT FOR MORE INFO -- 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 FAQ at

[MODULE JOYDEV] Steering wheel Logitech Driving Force GT -> wrong number of axis, and wrong axis separation for throttle and brake

2015-10-24 Thread Giuseppe Della Bianca
Hi. With steering wheel Logitech Driving Force GT are recognized wrong number of axis, and wrong axis separation for throttle and brake. For example, the game torcs, requires throttle and brake on the same axis. Fedora release 21 (Twenty One), Linux 4.1.8-100.fc21.x86_64 [ 3359.259057] usb

[PATCH] sched: Update task->on_rq when tasks are moving between runqueues

2015-10-24 Thread Olav Haugan
Task->on_rq has three states: 0 - Task is not on runqueue (rq) 1 (TASK_ON_RQ_QUEUED) - Task is on rq 2 (TASK_ON_RQ_MIGRATING) - Task is on rq but in the process of being migrated to another rq When a task is moving between rqs task->on_rq state should be

Re: [GIT PULL] On-demand device probing

2015-10-24 Thread Geert Uytterhoeven
On Thu, Oct 22, 2015 at 8:53 PM, Frank Rowand wrote: > I have been defaulting to the position that has been asserted by > the device tree maintainters, that probe deferrals work just fine > for at least the majority of cases (and is the message I have been > sharing in my conference presentations

Re: [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events

2015-10-24 Thread kbuild test robot
Hi Chen, [auto build test ERROR on pm/linux-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Chen-Yu/ACPI-Using-correct-irq-when-waiting-for-events/20151025-010210 config:

[PATCH v2] ARM: dts: am335x-boneblack: Use pinctrl constants and AM33XX_IOPAD macro

2015-10-24 Thread Andrew F. Davis
Using constants for pinctrl allows better readability and removes redundancy with comments. AM33XX_IOPAD allows us to use part of the pinctrl physical address as in the TRM instead of an offset. Signed-off-by: Andrew F. Davis --- arch/arm/boot/dts/am335x-boneblack.dts | 44

[PATCH 3/3][v2] ACPI / PM: Fix incorrect wakeup irq setting before suspend-to-idle

2015-10-24 Thread Chen Yu
For ACPI compatible system, SCI(ACPI System Control Interrupt) is used to wake the system up from suspend-to-idle. Once the CPU is woken up by SCI, the interrupt handler will firstly check if the current interrupt is legal to wake up the whole system, thus irq_pm_check_wakeup is invoked to

[PATCH 1/3][v2] ACPI: Using correct irq when uninstalling acpi irq handler

2015-10-24 Thread Chen Yu
Currently when system is trying to uninstall the acpi irq handler, it uses the acpi_gbl_FADT.sci_interrupt directly. But acpi irq handler is actually installed by mapped irq in acpi_os_install_interrupt_handler, so this patch fixes this problem by using the mapped irq returned from

[PATCH 2/3][v2] ACPI: Using correct irq when waiting for events

2015-10-24 Thread Chen Yu
When system is waiting for GPE/fixed event handler to finish, it uses the acpi_gbl_FADT.sci_interrupt directly. However, we should use mapped irq returned by acpi_gsi_to_irq for synchronize_hardirq. Cc: # 3.19+ Acked-by: Lv Zheng Signed-off-by: Chen Yu --- drivers/acpi/osl.c | 4 ++-- 1 file

[PATCH] leds: bcm6328: Handle default-state of LEDs correctly

2015-10-24 Thread Simon Arlott
The default-state handler assumes that the LED is active low and omits use of the shift macro causing "keep" to misdetect the state. Determine the brightness and then use the led set function to apply it. Update the documentation to indicate that this driver works for the BCM63168 (which has

[PATCH 0/3][v2] Fix incorrect using of acpi irq

2015-10-24 Thread Chen Yu
This series of patches are trying to convert codes who use acpi_gbl_FADT.sci_interrupt incorrectly to use the right irq mapped by acpi_gsi_to_irq. Chen Yu (3): ACPI: Using correct irq when uninstalling acpi irq handler ACPI: Using correct irq when waiting for events ACPI / PM: Fix incorrect

Re: [PATCH] gpio: add tps65218 gpio driver

2015-10-24 Thread kbuild test robot
Hi Nicolas, [auto build test ERROR on gpio/for-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Nicolas-Saenz-Julienne/gpio-add-tps65218-gpio-driver/20151024-003657 config: x86_64-randconfig-x002

Re: [Ksummit-discuss] Linux Foundation Technical Advisory Board Elections and Nomination process

2015-10-24 Thread Dan Williams
On Tue, Oct 6, 2015 at 3:06 AM, Grant Likely wrote: > [Resending because I messed up the first one] > > The elections for five of the ten members of the Linux Foundation > Technical Advisory Board (TAB) are held every year[1]. This year the > election will be at the 2015 Kernel Summit in Seoul,

Re: [PATCH v5 1/2] acpi: add acpi_preset_companion() stub

2015-10-24 Thread Wolfram Sang
On Fri, Oct 23, 2015 at 12:27:06PM -0700, Dustin Byford wrote: > Add a stub for acpi_preset_companion(). Fixes build failures when > acpi_preset_companion() is used and CONFIG_ACPI is not set. > > Acked-by: Mika Westerberg > Signed-off-by: Dustin Byford Waiting for Rafael's ack here... > ---

Re: [PATCH 0/4] Patches to fix remote wakeup on rk3288 dwc2 "host" port

2015-10-24 Thread Rob Herring
On 10/23/2015 01:28 PM, Douglas Anderson wrote: > The "host1" port (AKA the dwc2 port that isn't the OTG port) on rk3288 > has a hardware errata that causes everything to get confused when we get > a remote wakeup. It appears that the "port reset" bit that's in the USB > phy (located in the

Re: [RFC Patch 08/12] IXGBEVF: Rework code of finding the end transmit desc of package

2015-10-24 Thread Lan, Tianyu
On 10/22/2015 5:14 AM, Alexander Duyck wrote: Where is i being initialized? It was here but you removed it. Are you using i without initializing it? Sorry, the initialization was put into patch 10 by mistake. "i" is assigned with "tx_ring->next_to_clean". -- To unsubscribe from this list:

Re: [RFC Patch 08/12] IXGBEVF: Rework code of finding the end transmit desc of package

2015-10-24 Thread Lan, Tianyu
On 10/22/2015 8:58 PM, Michael S. Tsirkin wrote: Do you really need to play the shifting games? Can't you just reset everything and re-initialize the rings? It's slower but way less intrusive. Also removes the need to track writes into rings. Shift ring is to avoid losing those packets in

RE: [PATCH 1/3] ACPI: Using correct irq when uninstalling acpi irq handler

2015-10-24 Thread Chen, Yu C
Hi, Rafael > -Original Message- > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Saturday, October 24, 2015 9:32 PM > To: Chen, Yu C > Cc: l...@kernel.org; Zhang, Rui; Zheng, Lv; linux-a...@vger.kernel.org; > linux...@vger.kernel.org; linux-kernel@vger.kernel.org; >

Re: [Tech-board] [Ksummit-discuss] Linux Foundation Technical Advisory Board Elections and Nomination process

2015-10-24 Thread John W. Linville
Good write-up! We should archive this for reference in future years! John On Sat, Oct 24, 2015 at 11:28:19AM +0100, Grant Likely wrote: > [Including Rafael who also asked about what being a TAB member means] > > On Thu, Oct 22, 2015 at 10:03 PM, Darren Hart wrote: > > On Tue, Oct 06, 2015 at

Re: [tip:perf/core] perf tools: Improve call graph documents and help messages

2015-10-24 Thread Namhyung Kim
Hi Ingo, On Fri, Oct 23, 2015 at 6:03 PM, Ingo Molnar wrote: > > * tip-bot for Namhyung Kim wrote: > >> Commit-ID: 76a26549eb367f683fbb394b7246bef5dc665f8c >> Gitweb: >> http://git.kernel.org/tip/76a26549eb367f683fbb394b7246bef5dc665f8c >> Author: Namhyung Kim >> AuthorDate: Thu, 22

[PATCH] HID: usbhid: Add a quirk for Xin-Mo Dual Arcade

2015-10-24 Thread Michele Baldessari
The Xin-Mo Dual Arcade controller (16c0:05e1) needs this quirk in order to have the two distinct joysticks working. Before the change: $ jstest /dev/input/js0 Joystick (Xin-Mo Xin-Mo Dual Arcade) has 2 axes (X, Y) ... $ jstest /dev/input/js1 jstest: No such file or directory After the change: $

[PATCH 3/4] perf tools: Setup pager when printing usage and help

2015-10-24 Thread Namhyung Kim
It's annoying to see error or help message when command has many options like in perf record, report or top. So setup pager when print parser error or help message - it should be OK since no UI is enabled at the parsing time. The usage_with_options() already disables it by calling exit_browser()

[PATCH 4/4] perf tools: Introduce usage_with_options_msg()

2015-10-24 Thread Namhyung Kim
Now usage_with_options() setup a pager before printing message so normal printf() or pr_err() will not be shown. The usage_with_options_msg() can be used to print some help message before usage strings. Cc: Masami Hiramatsu Signed-off-by: Namhyung Kim --- tools/perf/builtin-evlist.c | 4

[PATCH 1/4] perf tools: Improve ambiguous option help message

2015-10-24 Thread Namhyung Kim
Currently if an option name is ambiguous it only prints first two matched option names but no help. It'd be better it could show all possible names and help messages too. Before: $ perf report --show Error: Ambiguous option: show (could be --show-total-period or

[PATCH 2/4] perf report: Rename to --show-cpu-utilization

2015-10-24 Thread Namhyung Kim
So that it can be more consistent with other --show-* options. The old name (--showcpuutilization) is provided only for compatibility. Signed-off-by: Namhyung Kim --- tools/perf/Documentation/perf-report.txt | 2 +- tools/perf/builtin-report.c | 4 +++-

Re: [PATCH] mtd: spi-nor: fsl-quadspi: add big-endian support

2015-10-24 Thread Fabio Estevam
On Fri, Oct 23, 2015 at 5:53 AM, Yuan Yao wrote: > /* > + * R/W functions for big- or little-endian registers: > + * The qSPI controller's endian is independent of the CPU core's endian. > + * So far, although the CPU core is little-endian but the qSPI have two > + * versions for big-endian and

Re: [PATCH 3/3] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-10-24 Thread Måns Rullgård
Florian Fainelli writes: +static void nb8800_set_rx_mode(struct net_device *dev) +{ + struct nb8800_priv *priv = netdev_priv(dev); + struct netdev_hw_addr *ha; + int af_en; + + if ((dev->flags & (IFF_PROMISC | IFF_ALLMULTI)) || +

Re: [RFC Patch 05/12] IXGBE: Add new sysfs interface of "notify_vf"

2015-10-24 Thread Lan, Tianyu
On 10/22/2015 4:52 AM, Alexander Duyck wrote: Also have you even considered the MSI-X configuration on the VF? I haven't seen anything anywhere that would have migrated the VF's MSI-X configuration from BAR 3 on one system to the new system. MSI-X migration is done by Hypervisor(Qemu).

Re: [PATCH v2 1/3] dmaengine: virt-dma: don't always free descriptor upon completion

2015-10-24 Thread Robert Jarzmik
Robert Jarzmik writes: > This patch attempts to enhance the case of a transfer submitted multiple > times, and where the cost of creating the descriptors chain is not > negligible. > > This happens with big video buffers (several megabytes, ie. several > thousands of linked descriptors in one

Re: [PATCH v5 1/4] media: pxa_camera: fix the buffer free path

2015-10-24 Thread Robert Jarzmik
Robert Jarzmik writes: > Fix the error path where the video buffer wasn't allocated nor > mapped. In this case, in the driver free path don't try to unmap memory > which was not mapped in the first place. > > Signed-off-by: Robert Jarzmik > --- > Since v3: take into account the 2 paths

[PATCH] printk: prevent userland from spoofing kernel messages

2015-10-24 Thread Mathias Krause
The following statement of ABI/testing/dev-kmsg is not quite right: It is not possible to inject messages from userspace with the facility number LOG_KERN (0), to make sure that the origin of the messages can always be reliably determined. Userland actually can inject messages with a

[net-next:master 1610/1613] net/tipc/link.c:176:5: sparse: symbol 'tipc_link_is_active' was not declared. Should it be static?

2015-10-24 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 687f079addba1ac7f97ce97080c2291bbe8c8dce commit: c72fa872a23f03b2b9c17e88f3b0a8070924e5f1 [1610/1613] tipc: eliminate link's reference to owner node reproduce: # apt-get install sparse git

Re: [Ksummit-discuss] Linux Foundation Technical Advisory Board Elections and Nomination process

2015-10-24 Thread Rafael J. Wysocki
On Saturday, October 24, 2015 11:28:19 AM Grant Likely wrote: > [Including Rafael who also asked about what being a TAB member means] > > On Thu, Oct 22, 2015 at 10:03 PM, Darren Hart wrote: > > On Tue, Oct 06, 2015 at 11:06:47AM +0100, Grant Likely wrote: > > Is there a good description of what

Re: [PATCH RFC] fsnotify: destroy marks with call_srcu instead of dedicated thread

2015-10-24 Thread Jan Kara
On Fri 23-10-15 15:06:59, Jeff Layton wrote: > At the time that this code was originally written, call_srcu didn't > exist, so this thread was required to ensure that we waited for that > SRCU grace period to settle before finally freeing the object. > > It does exist now however and we can much

[PATCH 2/9] leds: bcm6358: add missing of_node_put

2015-10-24 Thread Julia Lawall
for_each_available_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression child; @@

[PATCH 4/9] leds: 88pm860x: add missing of_node_put

2015-10-24 Thread Julia Lawall
for_each_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ local idexpression n; expression e,r; @@

[net-next:master 1605/1613] net/tipc/link.c:166:6: sparse: symbol 'link_is_bc_sndlink' was not declared. Should it be static?

2015-10-24 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 687f079addba1ac7f97ce97080c2291bbe8c8dce commit: 5266698661401afc5e4a1a521cf9ba10724d10dd [1605/1613] tipc: let broadcast packet reception use new link receive function reproduce: # apt-get install

[PATCH 0/9] add missing of_node_put

2015-10-24 Thread Julia Lawall
The various for_each device_node iterators performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. The complete semantic patch that fixes this problem is (http://coccinelle.lip6.fr): // @r@ local idexpression n; expression e1,e2; iterator name

[PATCH 5/9] drm/tegra: dc: add missing of_node_put

2015-10-24 Thread Julia Lawall
for_each_matching_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ local idexpression n; expression e; @@

[PATCH 3/9] leds: bcm6328: add missing of_node_put

2015-10-24 Thread Julia Lawall
for_each_available_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression child; @@

Re: [PATCH v2 3/3] ACPI/APEI/EINJ: Allow memory error injection to NVDIMM

2015-10-24 Thread Rafael J. Wysocki
On Friday, October 23, 2015 12:53:59 PM Toshi Kani wrote: > In the case of memory error injection, einj_error_inject() checks > if a target address is regular RAM. Update this check to add a call > to region_intersects_pmem() to verify if a target address range is > NVDIMM. This allows injecting

[PATCH 7/9] gpu: host1x: add missing of_node_put

2015-10-24 Thread Julia Lawall
for_each_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression child; @@

[PATCH 1/9] powerpc/powernv: add missing of_node_put

2015-10-24 Thread Julia Lawall
for_each_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression child; @@

[PATCH 6/9] Bluetooth: btmrvl: add missing of_node_put

2015-10-24 Thread Julia Lawall
for_each_compatible_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ expression e; local idexpression n; @@

[PATCH 9/9] pinctrl: at91: add missing of_node_put

2015-10-24 Thread Julia Lawall
for_each_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression child; @@

[PATCH 8/9] soc: ti: knav_qmss_queue: add missing of_node_put

2015-10-24 Thread Julia Lawall
for_each_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression child; @@

Re: [PATCH 5/5] block: enable dax for raw block devices

2015-10-24 Thread Jan Kara
On Fri 23-10-15 16:32:57, Dan Williams wrote: > On Thu, Oct 22, 2015 at 2:08 PM, Jan Kara wrote: > > On Thu 22-10-15 16:05:46, Williams, Dan J wrote: > [..] > >> This text was aimed at the request from Ross to document the differences > >> vs the generic_file_mmap() path. Is the following

Re: [RFC Patch 01/12] PCI: Add virtfn_index for struct pci_device

2015-10-24 Thread Lan, Tianyu
On 10/22/2015 2:07 AM, Alexander Duyck wrote: On 10/21/2015 09:37 AM, Lan Tianyu wrote: Add "virtfn_index" member in the struct pci_device to record VF sequence of PF. This will be used in the VF sysfs node handle. Signed-off-by: Lan Tianyu --- drivers/pci/iov.c | 1 +

Re: [PATCH] rtc: ds1307: Fix alarm programming for mcp794xx

2015-10-24 Thread Nishanth Menon
On 10/23/2015 01:29 AM, Tero Kristo wrote: > mcp794xx alarm registers must be written in BCD format. However, the > alarm programming logic neglected this by adding one to the value > after bin2bcd conversion has been already done, writing bad values > to month register in case the alarm being set

BUSINESS VORSCHLAG

2015-10-24 Thread Mr chin sang
BUSINESS VORSCHLAG Ich bin mit diesem Medium, um Sie über die Transaktion zur Abgabe von $ 2150 (einundzwanzig Millionen fünfhunderttausend US-Dollar) auf meinem Bank in China, Sie als Empfänger zu informieren. Es ist 100% sicher, wobei der Finanzvorstand des verstorbenen

Re: [PATCH 5/5] block: enable dax for raw block devices

2015-10-24 Thread Jan Kara
On Thu 22-10-15 23:41:27, Williams, Dan J wrote: > On Thu, 2015-10-22 at 23:08 +0200, Jan Kara wrote: > > On Thu 22-10-15 16:05:46, Williams, Dan J wrote: > > > On Thu, 2015-10-22 at 11:35 +0200, Jan Kara wrote: > > > > On Thu 22-10-15 02:42:11, Dan Williams wrote: > > > > > If an application

Re: [PATCH v2 2/2] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-10-24 Thread David Miller
From: Mans Rullgard Date: Thu, 22 Oct 2015 17:28:50 +0100 > +static void nb8800_mac_tx(struct net_device *dev, int enable) ... > +static void nb8800_mac_rx(struct net_device *dev, int enable) ... > +static void nb8800_mac_af(struct net_device *dev, int enable) Please use 'bool' and true/false

Re: [PATCH v6 04/22] of: add function to allow probing a device from a OF node

2015-10-24 Thread Rafael J. Wysocki
On Friday, October 23, 2015 08:54:19 AM Mark Brown wrote: > > --7cm2iqirTL37Ot+N > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > > On Thu, Oct 22, 2015 at 03:03:37PM +0200, Tomeu Vizoso wrote: > > On 22 October 2015 at 03:06, Rafael J. Wysocki wrote: > > > > Same

Re: [PATCH V1 10/10] acpi, gicv3, its: Use MADT ITS subtable to do PCI/MSI domain initialization.

2015-10-24 Thread Tomasz Nowicki
On 10/24/2015 12:20 PM, Hanjun Guo wrote: On 2015/10/15 22:05, Tomasz Nowicki wrote: After refactoring DT code, we let ACPI to build ITS PCI MSI domain and do requester ID to device ID translation using IORT table. We have now full PCI MSI domain stack, thus we can enable ITS initialization

[PATCH] ASoC: sun4i-codec: use consistent names for PA controls

2015-10-24 Thread Adam Sampson
The power amplifier for the headphone output is called "the PA" and "the headphone amplifier" in Allwinner's documentation for the A10 and A20. sun4i-codec calls it "PA" in some places and "Pre-Amplifier" (which isn't really accurate) in others, leading to user-visible controls with different

Re: [PATCH] timeconst: update path in comment

2015-10-24 Thread Nicholas Mc Guire
On Thu, Oct 22, 2015 at 05:31:17PM +0200, Jason A. Donenfeld wrote: > It's understandable nobody really cares about applying this patch, > since it's mostly just cosmetic. But it would be nice to know that > somebody out there cares about consistency like I do. It would also > help out the next

Re: [GIT PULL] On-demand device probing

2015-10-24 Thread Rafael J. Wysocki
On Friday, October 23, 2015 11:34:34 AM Rob Herring wrote: > On Fri, Oct 23, 2015 at 10:45 AM, Tim Bird wrote: > > On 10/22/2015 11:53 AM, Frank Rowand wrote: > >> On 10/22/2015 7:44 AM, Greg Kroah-Hartman wrote: > >>> > >>> > >>> On Thu, Oct 22, 2015 at 11:05:11AM +0200, Tomeu Vizoso wrote: >

Re: [PATCH v6 03/22] of/platform: Point to struct device from device node

2015-10-24 Thread Rafael J. Wysocki
On Thursday, October 22, 2015 03:01:45 PM Tomeu Vizoso wrote: > On 22 October 2015 at 03:02, Rafael J. Wysocki wrote: > > On Monday, September 21, 2015 04:02:43 PM Tomeu Vizoso wrote: > >> When adding platform and AMBA devices, set the device node's device > >> member to point to it. > >> > >>

Re: [PATCH v6 04/22] of: add function to allow probing a device from a OF node

2015-10-24 Thread Rafael J. Wysocki
On Thursday, October 22, 2015 03:03:37 PM Tomeu Vizoso wrote: > On 22 October 2015 at 03:06, Rafael J. Wysocki wrote: > > On Monday, September 21, 2015 04:02:44 PM Tomeu Vizoso wrote: > >> Walks the OF tree up and finds the closest ancestor that has a struct > >> device associated with it,

Re: [PATCH v6 22/22] of/platform: Defer probes of registered devices

2015-10-24 Thread Rafael J. Wysocki
On Thursday, October 22, 2015 04:27:10 PM Scott Wood wrote: > On Thu, 2015-10-22 at 15:04 +0200, Tomeu Vizoso wrote: > > On 22 October 2015 at 00:51, Scott Wood wrote: > > > On Wed, 2015-10-21 at 08:44 -0500, Rob Herring wrote: > > > > On Wed, Oct 21, 2015 at 12:54 AM, Scott Wood > > > > wrote:

  1   2   3   >