Re: [PATCHv10 man-pages 5/5] execveat.2: initial man page for execveat(2)

2015-01-09 Thread Michael Kerrisk (man-pages)
On 01/09/2015 07:02 PM, David Drysdale wrote: > On Fri, Jan 9, 2015 at 3:47 PM, Michael Kerrisk (man-pages) > wrote: >> On 11/24/2014 12:53 PM, David Drysdale wrote: >>> Signed-off-by: David Drysdale >>> --- >>> man2/execveat.2 | 153 >>>

Re: [PATCHv10 man-pages 5/5] execveat.2: initial man page for execveat(2)

2015-01-09 Thread Michael Kerrisk (man-pages)
On 01/09/2015 06:46 PM, David Drysdale wrote: > On Fri, Jan 9, 2015 at 4:13 PM, Rich Felker wrote: >> On Fri, Jan 09, 2015 at 04:47:31PM +0100, Michael Kerrisk (man-pages) wrote: >>> On 11/24/2014 12:53 PM, David Drysdale wrote: Signed-off-by: David Drysdale --- man2/execveat.2 |

Re: [PATCHv10 man-pages 5/5] execveat.2: initial man page for execveat(2)

2015-01-09 Thread Michael Kerrisk (man-pages)
On 01/09/2015 05:13 PM, Rich Felker wrote: > On Fri, Jan 09, 2015 at 04:47:31PM +0100, Michael Kerrisk (man-pages) wrote: >> On 11/24/2014 12:53 PM, David Drysdale wrote: >>> Signed-off-by: David Drysdale >>> --- >>> man2/execveat.2 | 153 >>>

Re: sched_yield() call on Linux Kernel 2.6.39 is not behaving correct

2015-01-09 Thread Mike Galbraith
On Fri, 2015-01-09 at 11:24 -0800, Yogesh Ahire wrote: > Thank you Mike. I didn't get what you mean by saying "its gona try to > yield for one hell of a long time before it succeeds". Look at vruntimes. Equalizing same is what the scheduler does for a living, it does so by giving the CPU to the

Re: [PATCHv10 man-pages 5/5] execveat.2: initial man page for execveat(2)

2015-01-09 Thread Michael Kerrisk (man-pages)
On 01/09/2015 11:13 PM, Eric W. Biederman wrote: > Rich Felker writes: > >> On Fri, Jan 09, 2015 at 09:09:41PM +, Al Viro wrote: > >> The "magic open-once magic symlink" approach is really the cleanest >> solution I can find. In the case where the interpreter does not open >> the script,

Re: [PATCH] Documentation: Add entry for dell-laptop sysfs interface

2015-01-09 Thread Darren Hart
On Wed, Dec 31, 2014 at 12:20:59PM +0100, Gabriele Mazzotta wrote: > On Tuesday 30 December 2014 21:31:49 Brian Norris wrote: > > Hi, > > > > On Wed, Dec 03, 2014 at 06:41:33PM +0100, Gabriele Mazzotta wrote: > > > Add the documentation for the new sysfs interface of dell-laptop > > > that allows

Re: [PATCH 2/2] platform/x86: Add Intel Galileo platform specific setup

2015-01-09 Thread Darren Hart
On Fri, Jan 09, 2015 at 11:17:43AM +, Bryan O'Donoghue wrote: > On 09/01/15 04:46, Darren Hart wrote: > >>+ /* Try overlap - IMR_ALIGN */ > >>+ base = base + size - IMR_ALIGN; > >>+ if (imr_add(base, size, IMR_NON_SMM, IMR_NON_SMM, true) == 0) > >>+ pr_err(SANITY "overlapped

Re: [PATCH 5/6] HMM: add per mirror page table.

2015-01-09 Thread Jerome Glisse
On Thu, Jan 08, 2015 at 01:05:41PM +0200, Haggai Eran wrote: > On 06/01/2015 00:44, j.gli...@gmail.com wrote: > > + /* fence_wait() - to wait on device driver fence. > > +* > > +* @fence: The device driver fence struct. > > +* Returns: 0 on success,-EIO on error, -EAGAIN to wait

[PATCH RESEND 5/6] Drivers: hv: vmbus: Fix a bug in vmbus_establish_gpadl()

2015-01-09 Thread K. Y. Srinivasan
Correctly compute the local (gpadl) handle. I would like to thank Michael Brown for seeing this bug. Signed-off-by: K. Y. Srinivasan Reported-by: Michael Brown --- drivers/hv/channel.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hv/channel.c

[PATCH RESEND 2/6] Drivers: hv: hv_balloon: Fix a locking bug in the balloon driver

2015-01-09 Thread K. Y. Srinivasan
We support memory hot-add in the Hyper-V balloon driver by hot adding an appropriately sized and aligned region and controlling the on-lining of pages within that region based on the pages that the host wants us to online. We do this because the granularity and alignment requirements in Linux

[PATCH RESEND 1/6] Drivers: hv: hv_balloon: Make adjustments in computing the floor

2015-01-09 Thread K. Y. Srinivasan
Make adjustments in computing the balloon floor. The current computation of the balloon floor was not appropriate for virtual machines with more than 10 GB of assigned memory - we would get into situations where the host would agressively balloon down the guest and leave the guest in an unusable

[PATCH RESEND 3/6] Drivers: hv: hv_balloon: Don't post pressure status from interrupt context

2015-01-09 Thread K. Y. Srinivasan
We currently release memory (balloon down) in the interrupt context and we also post memory status while releasing memory. Rather than posting the status in the interrupt context, wakeup the status posting thread to post the status. This will address the inconsistent lock state that Sitsofe

[PATCH RESEND 4/6] Drivers: hv: vmbus: Implement a clockevent device

2015-01-09 Thread K. Y. Srinivasan
Implement a clockevent device based on the timer support available on Hyper-V. In this version of the patch I have addressed Jason's review comments. Signed-off-by: K. Y. Srinivasan Reviewed-by: Jason Wang --- arch/x86/include/uapi/asm/hyperv.h | 11 + drivers/hv/hv.c

[PATCH RESEND 6/6] Drivers: hv: vmbus: Support a vmbus API for efficiently sending page arrays

2015-01-09 Thread K. Y. Srinivasan
Currently, the API for sending a multi-page buffer over VMBUS is limited to a maximum pfn array of MAX_MULTIPAGE_BUFFER_COUNT. This limitation is not imposed by the host and unnecessarily limits the maximum payload that can be sent. Implement an API that does not have this restriction.

[PATCH RESEND 0/6] Drivers: hv: Miscellaneous fixes and enhancements

2015-01-09 Thread K. Y. Srinivasan
In addition to some miscellaneous bug fixes and enhancements implement a clockevent device based on the functionality supported by Hyper-V. K. Y. Srinivasan (6): Drivers: hv: hv_balloon: Make adjustments in computing the floor Drivers: hv: hv_balloon: Fix a locking bug in the balloon driver

Re: [PATCHv10 man-pages 5/5] execveat.2: initial man page for execveat(2)

2015-01-09 Thread Rich Felker
On Sat, Jan 10, 2015 at 04:14:57AM +, Al Viro wrote: > On Fri, Jan 09, 2015 at 10:41:44PM -0500, Rich Felker wrote: > > > _After_ the traversal it's too late to do this sort of thing - after all, > > > how do you tell if your current position had been set by the traversal of > > > your symlink

[PATCH 07/25] staging: line6: Key off of device type

2015-01-09 Thread Chris Rorvick
The driver currently uses the device's idProduct as input to several switch statements. In some cases this is not sufficiently granular and the interface number must be taken into account. Store the device type in `usb_line6' and key off of it instead. New types can then be added that map to

[PATCH 03/25] staging: line6: Remove unsupported X3 devices

2015-01-09 Thread Chris Rorvick
Support for these devices appears to have never been completed. Remove them from the device table along with a minimal amount of supporting code. Signed-off-by: Chris Rorvick --- drivers/staging/line6/driver.c | 26 -- drivers/staging/line6/pcm.c | 2 --

[PATCH 08/25] staging: line6: Remove idVendor and idProduct macros

2015-01-09 Thread Chris Rorvick
These are now only used to build the device table. Each entry in this table is already clearly documented as to what device it maps to so the macros become unnecessary indirection. Signed-off-by: Chris Rorvick --- drivers/staging/line6/driver.c | 56 ++---

[PATCH 09/25] staging: line6: Remove useless comments

2015-01-09 Thread Chris Rorvick
Signed-off-by: Chris Rorvick --- drivers/staging/line6/driver.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/line6/driver.c b/drivers/staging/line6/driver.c index 6dc8a0d..acde205 100644 --- a/drivers/staging/line6/driver.c +++ b/drivers/staging/line6/driver.c @@ -61,7

[PATCH 10/25] staging: line6: Rename capability macros

2015-01-09 Thread Chris Rorvick
Including "BIT" in the macro name is pointless. Replace with "CAP" to provide some context for what its value represents. Signed-off-by: Chris Rorvick --- drivers/staging/line6/driver.c | 8 drivers/staging/line6/midi.c | 2 +- drivers/staging/line6/pcm.c | 2 +-

[PATCH 04/25] staging: line6: Cleanup device table

2015-01-09 Thread Chris Rorvick
Wrap USB_DEVICE to avoid repeating the Line 6 vendor ID. Signed-off-by: Chris Rorvick --- drivers/staging/line6/driver.c | 40 +--- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/drivers/staging/line6/driver.c b/drivers/staging/line6/driver.c

[PATCH 05/25] staging: line6: Define a device type enum

2015-01-09 Thread Chris Rorvick
Define an enum containing the supported devices and associate each entry in the device table to the respective value. Signed-off-by: Chris Rorvick --- drivers/staging/line6/driver.c | 54 -- drivers/staging/line6/driver.h | 21 2 files

[PATCH 12/25] staging: line6: List out capabilities individually

2015-01-09 Thread Chris Rorvick
The `LINE6_CAP_CTRL_PCM_HW' macro combines three capabilities to save horizontal space when defining the properties entries. Now that these are no longer limited to single lines this is not such a concern. Specify capabilities individually when defining each property for better clarity.

[PATCH 11/25] staging: line6: Use explicit indexes when defining properties

2015-01-09 Thread Chris Rorvick
Specify the index of the properties entry explicitly to define this structure more robustly. Also, drop the `L6PROP' macro in favor of initializing each member explicitly on its own line since horizontal space is limited and more attributes will be added later. Signed-off-by: Chris Rorvick ---

[PATCH 16/25] staging: line6: Filter on UX2 interfaces

2015-01-09 Thread Chris Rorvick
The driver only supports interface 0 of the TonePort UX2 and POD Studio UX2 devices. Use the device table to filter on this. Signed-off-by: Chris Rorvick --- drivers/staging/line6/driver.c | 20 1 file changed, 4 insertions(+), 16 deletions(-) diff --git

[PATCH 14/25] staging: line6: Split out POD HD500 interfaces

2015-01-09 Thread Chris Rorvick
The driver uses a different altsetting depending on the interface. Add device type entries for each of these. Signed-off-by: Chris Rorvick --- drivers/staging/line6/driver.c | 41 - drivers/staging/line6/driver.h | 3 ++- drivers/staging/line6/pcm.c

[PATCH 13/25] staging: line6: Split out PODxt Live interfaces

2015-01-09 Thread Chris Rorvick
The PODxt Live device has both a POD and a Variax interface. Add device type entries for each of these. Signed-off-by: Chris Rorvick --- drivers/staging/line6/driver.c | 112 - drivers/staging/line6/driver.h | 8 +-- drivers/staging/line6/pcm.c|

[PATCH 20/25] staging: line6: Move audio endpoints to properties

2015-01-09 Thread Chris Rorvick
The device type can now be used to determine the addresses of the audio endpoints for the interface. Drop the conditional logic and make these values properties. Signed-off-by: Chris Rorvick --- drivers/staging/line6/capture.c | 9 drivers/staging/line6/driver.c | 38

[PATCH 17/25] staging: line6: Move altsetting to properties

2015-01-09 Thread Chris Rorvick
The device type can now be used to determine the altsetting for the interface. Drop the conditional logic and make this value a property. Signed-off-by: Chris Rorvick --- drivers/staging/line6/driver.c | 74 +- drivers/staging/line6/driver.h | 2 ++ 2

[PATCH 18/25] staging: line6: Move control endpoints to properties

2015-01-09 Thread Chris Rorvick
The device type can now be used to determine the addresses of the control endpoints for the interface. Drop the conditional logic and make these values properties. Signed-off-by: Chris Rorvick --- drivers/staging/line6/driver.c | 73 +-

[PATCH 19/25] staging: line6: Remove stale Pocket POD PCM endpoints

2015-01-09 Thread Chris Rorvick
Commit 1027f476f507 (staging: line6: sync with upstream) removed PCM from the Pocket POD capabilities but left the endpoint configuration. Signed-off-by: Chris Rorvick --- drivers/staging/line6/pcm.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/line6/pcm.c

[PATCH 21/25] staging: line6: Pass *_init() `usb_line6' pointers

2015-01-09 Thread Chris Rorvick
Casting the `struct usb_line6' pointer at the call point makes the code difficult to read. This is substantially cleaned up by moving the cast into the callees. Signed-off-by: Chris Rorvick --- drivers/staging/line6/driver.c | 21 ++--- drivers/staging/line6/pod.c | 8

[PATCH 24/25] staging: line6: Call *_disconnect() via pointer

2015-01-09 Thread Chris Rorvick
Which *_disconnect() to call on disconnect is known at initialization. Add a function pointer to the `usb_line6' struct and use to call into the appropriate logic instead of evaluating the conditional logic. Signed-off-by: Chris Rorvick --- drivers/staging/line6/driver.c | 43

[PATCH 22/25] staging: line6: Pass *_process_message() `usb_line6' pointers

2015-01-09 Thread Chris Rorvick
Casting the `struct usb_line6' pointer at the call point makes the code difficult to read. This is substantially cleaned up by moving the cast into the callees. Signed-off-by: Chris Rorvick --- drivers/staging/line6/driver.c | 13 - drivers/staging/line6/pod.c| 3 ++-

[PATCH 23/25] staging: line6: Call *_process_message() via pointer

2015-01-09 Thread Chris Rorvick
Which *_process_message() function (if any) to call when data is received is known at initialization. Add a function pointer to the `usb_line6' struct and use to call into the appropriate logic instead of evaluating the conditional logic for each message. Signed-off-by: Chris Rorvick ---

[PATCH 25/25] staging: line6: Make *_disconnect() functions static

2015-01-09 Thread Chris Rorvick
Remove declarations from the header and move the definitions up in the source so they need not be forward declared. Signed-off-by: Chris Rorvick --- drivers/staging/line6/pod.c | 58 ++-- drivers/staging/line6/pod.h | 1 - drivers/staging/line6/podhd.c

[PATCH 06/25] staging: line6: Index properties array with device type

2015-01-09 Thread Chris Rorvick
The current logic uses the index of the matched entry from the device table as an offset to the corresponding properties entry. The values of the new `line6_device_type' enum are ordered such that they can be used as an index into either of these arrays. Drop the device entry lookup logic and

[PATCH 02/25] staging: line6: Remove line6_pod_transmit_paramter()

2015-01-09 Thread Chris Rorvick
This function was no longer used as of commit 2807904441d4 (staging: line6: drop MIDI parameter sysfs attrs). Signed-off-by: Chris Rorvick --- drivers/staging/line6/pod.c | 9 - drivers/staging/line6/pod.h | 2 -- 2 files changed, 11 deletions(-) diff --git

[PATCH 01/25] staging: line6: Remove `device_bit' from properties

2015-01-09 Thread Chris Rorvick
The `device_bit' member was no longer used as of commit 2807904441d4 (staging: line6: drop MIDI parameter sysfs attrs). Signed-off-by: Chris Rorvick --- drivers/staging/line6/driver.c | 44 +++--- drivers/staging/line6/driver.h | 5 drivers/staging/line6/pcm.h

[PATCH 00/25] line6usb cleanup

2015-01-09 Thread Chris Rorvick
The line6usb driver references the device's idProduct and, in some cases, the interface number in a number of places to determine device- specific configuration values and to call device-specific functionality. Rework code to leverage the device table matching more effectively. Consolidate

[PATCH 15/25] staging: line6: Filter on Pocket POD interface

2015-01-09 Thread Chris Rorvick
The driver only supports interface 1 of the Pocket POD. Use the device table to filter on this. Signed-off-by: Chris Rorvick --- drivers/staging/line6/driver.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/staging/line6/driver.c

[PATCH RESEND 2/5] Tools: hv: remove unused bytes_written from kvp_update_file()

2015-01-09 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov fwrite() does not actually return the number of bytes written and this value is being ignored anyway and ferror() is being called to check for an error. As we assign to this variable and never use it we get the following compile-time warning: hv_kvp_daemon.c:149:9:

[PATCH RESEND 4/5] Tools: hv: address compiler warnings for hv_fcopy_daemon.c

2015-01-09 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov This patch addresses two types of compiler warnings: ... warning: unused variable .fd. [-Wunused-variable] and ... warning: format .%s. expects argument of type .char *., but argument 5 has type .__u16 *. [-Wformat=] Signed-off-by: Vitaly Kuznetsov Signed-off-by: K. Y.

[PATCH RESEND 5/5] Tools: hv: do not add redundant '/' in hv_start_fcopy()

2015-01-09 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov We don't need to add additional '/' to smsg->path_name as snprintf("%s/%s") does the right thing. Without the patch we get doubled '//' in the log message. Signed-off-by: Vitaly Kuznetsov Signed-off-by: K. Y. Srinivasan --- tools/hv/hv_fcopy_daemon.c |6 -- 1

[PATCH RESEND 1/5] Tools: hv: add mising fcopyd to the Makefile

2015-01-09 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov fcopyd in missing in the Makefile, add it there. Signed-off-by: Vitaly Kuznetsov Signed-off-by: K. Y. Srinivasan --- tools/hv/Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/hv/Makefile b/tools/hv/Makefile index

[PATCH RESEND 3/5] Tools: hv: address compiler warnings for hv_kvp_daemon.c

2015-01-09 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov This patch addresses two types of compiler warnings: ... warning: comparison between signed and unsigned integer expressions [-Wsign-compare] and ... warning: pointer targets in passing argument N of .kvp_ differ in signedness [-Wpointer-sign] Signed-off-by: Vitaly

[PATCH RESEND 0/5] Tools: hv: fix compiler warnings and do minor cleanup

2015-01-09 Thread K. Y. Srinivasan
When someone does 'make' in tools/hv/ issues appear: - hv_fcopy_daemon is not being built; - lots of compiler warnings. This is just a cleanup. Compile-tested by myself on top of linux-next/master. Piggyback this series and send "[PATCH 5/5] Tools: hv: do not add redundant '/' in

Re: [PATCH 3.12 78/78] mm: let mm_find_pmd fix buggy race with THP fault

2015-01-09 Thread Hugh Dickins
On Fri, 9 Jan 2015, Jiri Slaby wrote: > From: Hugh Dickins > > 3.12-stable review patch. If anyone has any objections, please let me know. > > === > > commit f72e7dcdd25229446b102e587ef2f826f76bff28 upstream. > > Trinity has reported: > > BUG: unable to handle kernel NULL

[PATCH v7] Staging: comedi: patch to fix line over 80 characters warning

2015-01-09 Thread jitendra kumar khasdev
This is patch to pcl812.c that fix line over 80 characters warning which is found by checkpatch.pl tool. Reduce the extra space around equal sign that fix warning. Signed-off-by: Jitendra kumar khasdev --- drivers/staging/comedi/drivers/pcl812.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: Linux 3.19-rc3

2015-01-09 Thread Linus Torvalds
On Fri, Jan 9, 2015 at 7:29 PM, Laszlo Ersek wrote: > > I've bisected this issue to .. commit f045bbb9fa1b ("mmu_gather: fix over-eager tlb_flush_mmu_free() calling") Hmm. That commit literally just undoes something that commit fb7332a9fedf ("mmu_gather: move minimal range calculations into

Re: [PATCH v6] Staging: comedi: patch to fix 80 characters line over warnings

2015-01-09 Thread Greg KH
On Sat, Jan 10, 2015 at 09:54:39AM +0530, jitendra kumar khasdev wrote: > This is the patch to pcl812.c that fix 80 character line over warnings. > These warnings are identified by checkpatch.pl tool. > For this patch I have did following changes, > 1. convert single line comment into multiline

[PATCH v6] Staging: comedi: patch to fix 80 characters line over warnings

2015-01-09 Thread jitendra kumar khasdev
This is the patch to pcl812.c that fix 80 character line over warnings. These warnings are identified by checkpatch.pl tool. For this patch I have did following changes, 1. convert single line comment into multiline comment 2. provide tab sapce for indentation purpose 3. reduce extra space between

Re: [PATCHv10 man-pages 5/5] execveat.2: initial man page for execveat(2)

2015-01-09 Thread Al Viro
On Fri, Jan 09, 2015 at 10:41:44PM -0500, Rich Felker wrote: > > _After_ the traversal it's too late to do this sort of thing - after all, > > how do you tell if your current position had been set by the traversal of > > your symlink or that of any normal /proc/self/fd/? > > Thanks for clarifying

Re: [PATCHv10 man-pages 5/5] execveat.2: initial man page for execveat(2)

2015-01-09 Thread Rich Felker
On Sat, Jan 10, 2015 at 03:03:00AM +, Al Viro wrote: > On Fri, Jan 09, 2015 at 11:36:44PM +, Al Viro wrote: > > On Fri, Jan 09, 2015 at 06:12:48PM -0500, Rich Felker wrote: > > > > > I'm not sure where you're disagreeing with me. open of procfs symlinks > > > does not resolve the symlink

Re: [PATCH 1/2] lib: devres: add a helper function for ioremap_wc

2015-01-09 Thread Abhilash Kesavan
Hi Greg, On Thu, Dec 11, 2014 at 8:28 AM, Abhilash Kesavan wrote: > Implement a resource managed writecombine ioremap function. > > Signed-off-by: Abhilash Kesavan > --- > Documentation/driver-model/devres.txt |1 + > include/linux/io.h|2 ++ > lib/devres.c

Re: Linux 3.19-rc3

2015-01-09 Thread Laszlo Ersek
On 01/09/15 20:43, Will Deacon wrote: > On Fri, Jan 09, 2015 at 06:37:36PM +, Marc Zyngier wrote: >> On 09/01/15 17:57, Mark Rutland wrote: >>> On Fri, Jan 09, 2015 at 02:27:06PM +, Mark Langsdorf wrote: On 01/09/2015 08:19 AM, Steve Capper wrote: > On 9 January 2015 at 12:13,

Re: Linux 3.19-rc3

2015-01-09 Thread Tony Luck
On Fri, Jan 9, 2015 at 6:27 PM, Linus Torvalds wrote: > Big pages are a bad bad bad idea. They work fine for databases, and > that's pretty much just about it. I'm sure there are some other loads, > but they are few and far between. For HPC too. They tend not to do a lot of I/O (and when they do

Re: noisy selinux messages on tmpfs mount.

2015-01-09 Thread Paul Moore
systemd has taken over cron too? I suppose that is a logical extension, but still... -- paul moore www.paul-moore.com On January 9, 2015 4:01:29 PM Dominick Grift wrote: On Fri, 2015-01-09 at 15:55 -0500, Paul Moore wrote: > On Friday, January 09, 2015 02:13:29 PM Dave Jones wrote: > >

Re: Linux 3.19-rc3

2015-01-09 Thread Linus Torvalds
On Fri, Jan 9, 2015 at 6:51 PM, David Lang wrote: > > what about a dedicated virtualization host (where your workload is a handful > of virtual machines), would the file cache issue still be overwelming, even > though it's the virtual machines accessing things? How much filesystem caches does

Re: [PATCHv10 man-pages 5/5] execveat.2: initial man page for execveat(2)

2015-01-09 Thread Al Viro
On Fri, Jan 09, 2015 at 11:36:44PM +, Al Viro wrote: > On Fri, Jan 09, 2015 at 06:12:48PM -0500, Rich Felker wrote: > > > I'm not sure where you're disagreeing with me. open of procfs symlinks > > does not resolve the symlink and open the resulting pathname. They are > > "magic symlinks"

Re: Linux 3.19-rc3

2015-01-09 Thread David Lang
On Fri, 9 Jan 2015, Linus Torvalds wrote: Big pages are a bad bad bad idea. They work fine for databases, and that's pretty much just about it. I'm sure there are some other loads, but they are few and far between. what about a dedicated virtualization host (where your workload is a handful

[PATCH 03/16] mn10300: add struct pci_ops member names to initialization

2015-01-09 Thread Rob Herring
Some instances of pci_ops initialization rely on the read/write members' location in the struct. This is fragile and may break when adding new members to the beginning of the struct. Signed-off-by: Rob Herring Cc: David Howells Cc: Koichi Yasutake Cc: linux-am33-l...@redhat.com ---

[PATCH 01/16] frv: add struct pci_ops member names to initialization

2015-01-09 Thread Rob Herring
Some instances of pci_ops initialization rely on the read/write members' location in the struct. This is fragile and may break when adding new members to the beginning of the struct. Signed-off-by: Rob Herring Cc: David Howells --- arch/frv/mb93090-mb00/pci-vdk.c | 4 ++-- 1 file changed, 2

[PATCH 05/16] pci: introduce common pci config space accessors

2015-01-09 Thread Rob Herring
Many PCI controllers' configuration space accesses are memory mapped varying only in address calculation and access checks. There are 2 main access methods: a decoded address space such as ECAM or a single address and data register similar to x86. This implementation can support both cases as well

[PATCH 10/16] powerpc: fsl_pci: convert PCI to use generic config accesses

2015-01-09 Thread Rob Herring
Convert the fsl_pci driver to use the generic config access functions. This changes accesses from (in|out)_(8|le16|le32) to readX/writeX variants. I believe these should be equivalent for PCI config space accesses, but confirmation would be nice. Signed-off-by: Rob Herring Cc: Benjamin

[PATCH 07/16] ARM: integrator: convert PCI to use generic config accesses

2015-01-09 Thread Rob Herring
Convert the integrator PCI driver to use the generic config access functions. This changes accesses from __raw_readX/__raw_writeX to readX/writeX variants. The spinlock is removed because it is unnecessary. The config read and write functions are already protected with a spinlock and no access

[PATCH 11/16] powerpc: powermac: convert PCI to use generic config accesses

2015-01-09 Thread Rob Herring
Convert the powermac PCI driver to use the generic config access functions. This changes accesses from (in|out)_(8|le16|le32) to readX/writeX variants. I believe these should be equivalent for PCI config space accesses, but confirmation would be nice. Signed-off-by: Rob Herring Cc: Benjamin

[PATCH 08/16] ARM: sa1100: convert PCI to use generic config accesses

2015-01-09 Thread Rob Herring
Convert the sa1100 nanoengine PCI driver to use the generic config access functions. This changes accesses from __raw_readX/__raw_writeX to readX/writeX variants. The spinlock is removed because it is unnecessary. The config read and write functions are already protected with a spinlock.

[PATCH 13/16] pci/host: rcar-gen2: convert to use generic config accesses

2015-01-09 Thread Rob Herring
Convert the rcar-gen2 host PCI driver to use the generic config access functions. This changes the i/o accessors from io(read|write)X to readX/writeX variants which are equivalent on ARM. Signed-off-by: Rob Herring Cc: Simon Horman Cc: Bjorn Helgaas Cc: linux-...@vger.kernel.org Cc:

[PATCH 14/16] pci/host: tegra: convert to use generic config accesses

2015-01-09 Thread Rob Herring
Convert the tegra host PCI driver to use the generic config access functions. Signed-off-by: Rob Herring Cc: Thierry Reding Cc: Bjorn Helgaas Cc: Stephen Warren Cc: Alexandre Courbot Cc: linux-te...@vger.kernel.org Cc: linux-...@vger.kernel.org --- drivers/pci/host/pci-tegra.c | 55

[PATCH 15/16] pci/host: xgene: convert to use generic config accesses

2015-01-09 Thread Rob Herring
Convert the xgene host PCI driver to use the generic config access functions. Signed-off-by: Rob Herring Cc: Tanmay Inamdar Cc: Bjorn Helgaas Cc: linux-...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org --- drivers/pci/host/pci-xgene.c | 150

[PATCH 12/16] pci/host: generic: convert to use generic config accesses

2015-01-09 Thread Rob Herring
Convert the generic host PCI driver to use the generic config access functions. Signed-off-by: Rob Herring Cc: Will Deacon Cc: Bjorn Helgaas Cc: linux-...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org --- drivers/pci/host/pci-host-generic.c | 51

[PATCH 16/16] pci/host: xilinx: convert to use generic config accesses

2015-01-09 Thread Rob Herring
Convert the Xilinx host PCI driver to use the generic config access functions. Signed-off-by: Rob Herring Cc: Bjorn Helgaas Cc: Michal Simek Cc: "Sören Brinkmann" Cc: linux-...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org --- drivers/pci/host/pcie-xilinx.c | 88

[PATCH 09/16] ARM: ks8695: convert PCI to use generic config accesses

2015-01-09 Thread Rob Herring
Convert the ks8695 PCI driver to use the generic config access functions. This changes accesses from __raw_readX/__raw_writeX to readX/writeX variants. Signed-off-by: Rob Herring Cc: Greg Ungerer Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org --- arch/arm/mach-ks8695/pci.c | 77

[PATCH 02/16] mips: add struct pci_ops member names to initialization

2015-01-09 Thread Rob Herring
Some instances of pci_ops initialization rely on the read/write members' location in the struct. This is fragile and may break when adding new members to the beginning of the struct. Signed-off-by: Rob Herring Cc: Ralf Baechle Cc: linux-m...@linux-mips.org --- arch/mips/pci/pci-bcm1480.c | 4

[PATCH 00/16] PCI generic configuration space accessors

2015-01-09 Thread Rob Herring
This series adds common accessor functions for PCI configuration space accesses. This supports most PCI hosts with memory mapped configuration space like ECAM or hosts with memory mapped address/data registers. ECAM is not generically supported by this series, but could be added on top of this.

[PATCH 04/16] powerpc: add struct pci_ops member names to initialization

2015-01-09 Thread Rob Herring
Some instances of pci_ops initialization rely on the read/write members' location in the struct. This is fragile and may break when adding new members to the beginning of the struct. Signed-off-by: Rob Herring Cc: Arnd Bergmann Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael

[PATCH 06/16] ARM: cns3xxx: convert PCI to use generic config accesses

2015-01-09 Thread Rob Herring
Convert the cns3xxx PCI driver to use the generic config access functions. This changes accesses from __raw_readl/__raw_writel to readl/writel. Signed-off-by: Rob Herring Cc: Krzysztof Halasa Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org --- arch/arm/mach-cns3xxx/pcie.c | 52

Re: Linux 3.19-rc3

2015-01-09 Thread Linus Torvalds
On Fri, Jan 9, 2015 at 4:35 PM, Kirill A. Shutemov wrote: > > With bigger page size there's also reduction in number of entities to > handle by kernel: less memory occupied by struct pages, fewer pages on > lru, etc. Bah. Humbug. You've been listening to HW people too much, but they see the

Re: [PATCH] MAINTAINERS: add git url entry for UIO

2015-01-09 Thread Joe Perches
On Fri, 2015-01-09 at 18:13 -0800, Mandeep Sandhu wrote: > Added git url for UIO section. [] > diff --git a/MAINTAINERS b/MAINTAINERS [] > @@ -10149,6 +10149,7 @@ S:Maintained > F: Documentation/DocBook/uio-howto.tmpl > F: drivers/uio/ > F: include/linux/uio*.h > +T:

Re: [LKP] [mm] c8c06efa8b5: -7.6% unixbench.score

2015-01-09 Thread Davidlohr Bueso
I was finally able to reproduce this (had to hack the damn Run script). I'll look into it more carefully now, thanks for reporting it. -- 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

[patch 1/3] mm: memcontrol: remove unnecessary soft limit tree node test

2015-01-09 Thread Johannes Weiner
kzalloc_node() automatically falls back to nodes with suitable memory. Signed-off-by: Johannes Weiner --- mm/memcontrol.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index fd9e542fc26f..aad254b30708 100644 --- a/mm/memcontrol.c

[patch 3/3] mm: memcontrol: consolidate swap controller code

2015-01-09 Thread Johannes Weiner
The swap controller code is scattered all over the file. Gather all the code that isn't directly needed by the memory controller at the end of the file in its own CONFIG_MEMCG_SWAP section. Signed-off-by: Johannes Weiner --- mm/memcontrol.c | 264

[patch 2/3] mm: memcontrol: consolidate memory controller initialization

2015-01-09 Thread Johannes Weiner
The initialization code for the per-cpu charge stock and the soft limit tree is compact enough to inline it into mem_cgroup_init(). Signed-off-by: Johannes Weiner --- mm/memcontrol.c | 57 - 1 file changed, 24 insertions(+), 33

[PATCH] Add git url for UIO section of MAINTAINERS

2015-01-09 Thread Mandeep Sandhu
This patch adds a git url entry in the UIO section of MAINTAINERS. The url is that of Greg KH's char-misc tree. Mandeep Sandhu (1): MAINTAINERS: add git url entry for UIO MAINTAINERS | 1 + 1 file changed, 1 insertion(+) -- 1.9.1 -- To unsubscribe from this list: send the line

Re: Preemptionirqsoff latency issue

2015-01-09 Thread Davidlohr Bueso
On Fri, 2015-01-09 at 20:19 +0530, Vaibhav Shinde wrote: > My app runs on cpu0, while other cpus looks idle; as per my > understanding from your comment owner of the mutex is on the cpu other > than cpu0, and which is causing wait spin on cpu0. The thing is, cpu0 is rescheduling too often, so

[PATCH] MAINTAINERS: add git url entry for UIO

2015-01-09 Thread Mandeep Sandhu
Added git url for UIO section. Signed-off-by: Mandeep Sandhu --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index ddb9ac8..9334680 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10149,6 +10149,7 @@ S: Maintained F:

Re: [PATCH 04/10] clocksource: Add max_cycles to clocksource structure

2015-01-09 Thread Stephen Boyd
On 01/09/2015 04:34 PM, John Stultz wrote: > diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h > index abcafaa..9b54cb9 100644 > --- a/include/linux/clocksource.h > +++ b/include/linux/clocksource.h > @@ -178,7 +178,7 @@ struct clocksource { > #ifdef

Re: [PATCH 02/10] clocksource: Simplify logic around clocksource wrapping saftey margins

2015-01-09 Thread Stephen Boyd
On 01/09/2015 04:34 PM, John Stultz wrote: > The clocksource logic has a number of places where we try to > include a safety margin. Most of these are 12% safety margins, > but they are inconsistently applied and sometimes are applied > on top of each other. > > Additionally, in the previous

Re: [PATCH 10/10] clocksource: Add some debug info about clocksources being registered

2015-01-09 Thread Stephen Boyd
On 01/09/2015 04:34 PM, John Stultz wrote: > diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c > index 9a0b951..c641aa7 100644 > --- a/kernel/time/clocksource.c > +++ b/kernel/time/clocksource.c > @@ -770,6 +770,10 @@ void __clocksource_updatefreq_scale(struct clocksource > *cs,

Re: [PATCH] staging, addi_apci_1500: fix IRQ spew

2015-01-09 Thread Greg KH
On Wed, Dec 10, 2014 at 02:42:01PM +, Alan Cox wrote: > The driver very carefully checks if the card is the IRQ source, and if it > isn't thoughtfully spews crap at_dev_warn() level. Remove the spewage so it > can be used on a shared interrupt line. > > Resolves-bug:

Re: [PATCH 3.19.0-rc3 1/1] STAGING: Fix pcl818.c coding style issue

2015-01-09 Thread Greg Kroah-Hartman
On Fri, Jan 09, 2015 at 12:20:04PM +0800, Simon Guo wrote: > Correct coding style problem in pcl818.c. The coding style problems(29 > warnings detected by checkpatch.pl) includes: > - line over 80 characters > - There is space before tabs > The changed file has been verified with checkpatch.pl to

Re: [PATCH] staging: unisys: Removed a prohibited space in a function parameter

2015-01-09 Thread Greg KH
On Tue, Dec 23, 2014 at 12:51:55PM +0200, Olli Lehtinen wrote: > Fixes the checkpatch.pl error: > ERROR: space prohibited before that ',' (ctx:WxW)" in virthba.c. > > Signed-off-by: Olli Lehtinen > --- > drivers/staging/unisys/virthba/virthba.c |2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH] Staging: unisys: virtpci: fixed coding style errors

2015-01-09 Thread Greg KH
On Wed, Dec 17, 2014 at 05:25:10PM -0800, Andrew Milkovich wrote: > Fixed coding style errors per checkpatch.pl. Inline comments removed. What coding errors did you fix? Please be specific. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCHv10 man-pages 5/5] execveat.2: initial man page for execveat(2)

2015-01-09 Thread Rich Felker
On Fri, Jan 09, 2015 at 07:17:41PM -0600, Eric W. Biederman wrote: > Rich Felker writes: > > > I'm not proposing code because I'm a libc developer not a kernel > > developer. I know what's needed for userspace to provide a conforming > > fexecve to applications, not how to implement that on the

[PATCH] IB/mlx4: Remove unnecessary KERN_WARNING

2015-01-09 Thread Masanari Iida
This patch remove unnecessary KERN_WARNING from pr_warn. Signed-off-by: Masanari Iida --- drivers/infiniband/hw/mlx4/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/infiniband/hw/mlx4/main.c b/drivers/infiniband/hw/mlx4/main.c index 57ecc5b..6e15136 100644

Re: blk-mq v3.18: Oops during virtio_blk hot-unplug

2015-01-09 Thread Fam Zheng
On Fri, 01/09 15:32, Sebastian Parschauer wrote: > Hi Jens, > > my colleague Eduardo is sporadically seeing an Oops in blk-mq while > running continuous virtio_blk hot-plug/hot-unplug tests with I/O to the > device within an x86_64 QEMU/KVM 2.0 Debian Wheezy VM. > > Please find the call trace

Re: [PATCHv10 man-pages 5/5] execveat.2: initial man page for execveat(2)

2015-01-09 Thread Eric W. Biederman
Rich Felker writes: > I'm not proposing code because I'm a libc developer not a kernel > developer. I know what's needed for userspace to provide a conforming > fexecve to applications, not how to implement that on the kernel side, > although I'm trying to provide constructive ideas. The

Re: NULL pointer dereference in i2c-hid

2015-01-09 Thread Gabriele Mazzotta
On Friday 09 January 2015 16:29:04 Andrew Duggan wrote: > On 01/09/2015 12:04 AM, Gabriele Mazzotta wrote: > > On Thursday 08 January 2015 15:58:54 Andrew Duggan wrote: > >> On 12/24/2014 03:53 PM, Gabriele Mazzotta wrote: > >> [...snip...] > >> Also, if you can get the firmware id from your

  1   2   3   4   5   6   7   8   9   10   >