[PATCH v3 4/10] x86/asm: Add pud_pgprot() and pmd_pgprot()

2015-08-05 Thread Toshi Kani
pte_pgprot() returns a pgprot_t value by calling pte_flags(). Now that pud_flags() and pmd_flags() work differently from pte_flags(), define pud_pgprot() and pmd_pgprot() for PUD/PMD. Also update pte_pgprot() to remove the masking with PTE_FLAGS_MASK, which is unnecessary since pte_flags() takes

[PATCH v3 7/10] x86/mm: Fix gup_huge_p?d() to handle large PAT bit

2015-08-05 Thread Toshi Kani
gup_huge_pud() and gup_huge_pmd() cast *pud and *pmd to *pte, and use pte_xxx() interfaces to obtain the flags and PFN. However, the pte_xxx() interface does not handle the large PAT bit properly for PUD/PMD. Fix gup_huge_pud() and gup_huge_pmd() to use pud_xxx() and pmd_xxx() interfaces

[PATCH v3 1/10] x86/vdso32: Define PGTABLE_LEVELS to 32bit VDSO

2015-08-05 Thread Toshi Kani
In case of CONFIG_X86_64, vdso32/vclock_gettime.c fakes a 32bit kernel configuration by re-defining it to CONFIG_X86_32. However, it does not re-define CONFIG_PGTABLE_LEVELS leaving it as 4 levels. Fix it by re-defining CONFIG_PGTABLE_LEVELS to 2 as X86_PAE is not set. Signed-off-by: Toshi Kani

[PATCH v3 10/10] x86/mm: Fix the same pgprot handling in try_preserve_large_page()

2015-08-05 Thread Toshi Kani
try_preserve_large_page() checks if new_prot is the same as old_prot. If so, it simply sets do_split to 0, and returns with no-operation. However, old_prot is set as a 4KB pgprot value while new_prot is a large page pgprot value. Now that old_prot is initially set from p?d_pgprot() as a large

[PATCH v3 8/10] x86/mm: Fix try_preserve_large_page() to handle large PAT bit

2015-08-05 Thread Toshi Kani
try_preserve_large_page() is called from __change_page_attr() to change the map attribute by preserving the large page. This function uses pte_pfn() and pte_pgprot() for PUD/PMD, which do not handle the large PAT bit properly. Fix try_preserve_large_page() to use corresponding p?d_pfn() and

[PATCH v3 3/10] x86/asm: Fix pud/pmd interfaces to handle large PAT bit

2015-08-05 Thread Toshi Kani
The PAT bit gets relocated to bit 12 when PUD and PMD mappings are used. This bit 12, however, is not covered by PTE_FLAGS_MASK, which is corrently used for masking pfn and flags for all cases. Fix pud/pmd interfaces to handle pfn and flags properly by using P?D_PAGE_MASK when PUD/PMD mappings

[PATCH v3 6/10] x86/mm: Fix slow_virt_to_phys() to handle large PAT bit

2015-08-05 Thread Toshi Kani
slow_virt_to_phys() calls lookup_address() to obtain *pte and its level. It then calls pte_pfn() to obtain the PFN for any level. This does not result the correct PFN when the large PAT bit is set because pte_pfn() does not mask the large PAT bit properly for PUD/PMD. Fix slow_virt_to_phys() to

[PATCH v3 9/10] x86/mm: Fix __split_large_page() to handle large PAT bit

2015-08-05 Thread Toshi Kani
__split_large_page() is called from __change_page_attr() to change the map attribute by splitting the large page into smaller pages. This function uses pte_pfn() and pte_pgprot() for PUD/PMD, which do not handle the large PAT bit properly. Fix __split_large_page() to use corresponding p?d_pfn()

[PATCH v3 5/10] x86/mm: Fix page table dump to show PAT bit

2015-08-05 Thread Toshi Kani
/sys/kernel/debug/kernel_page_tables does not show the PAT bit for PUD/PMD mappings. This is because walk_pud_level(), walk_pmd_level() and note_page() mask the flags with PTE_FLAGS_MASK, which does not cover their PAT bit, _PAGE_PAT_LARGE. Fix it by replacing the use of PTE_FLAGS_MASK with

[PATCH v3 2/2] ioatdma: fix overflow of u16 in freeing resources

2015-08-05 Thread Allen Hubbe
If the allocation order is 16, then the u16 count will overflow and wrap to zero when assigned the value 1 << 16. Change the type of 'total_descs' to int, so that it is large enough to store a value equal or greater than 1 << 16. Signed-off-by: Allen Hubbe --- drivers/dma/ioat/init.c | 2 +- 1

[PATCH v3 1/2] ioatdma: fix overflow of u16 in ring_reshape

2015-08-05 Thread Allen Hubbe
If the allocation order is 16, then the u16 index will overflow and wrap to zero instead of being equal or greater than 1 << 16. The loop condition will always be true, and the loop will run until all the memory resources are depleted. Change the type of index 'i' to u32, so that it is large

[PATCH v3 0/2] ioatdma: fix overflow of u16 variables

2015-08-05 Thread Allen Hubbe
Fix overflow of u16 variables in ioatdma. Allen Hubbe (2): ioatdma: fix overflow of u16 in ring_reshape ioatdma: fix overflow of u16 in freeing resources drivers/dma/ioat/dma.c | 2 +- drivers/dma/ioat/init.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.5.0.rc1 -- To

[PATCH] checkpatch: Fix left brace warning

2015-08-05 Thread Eddie Kovsky
Using checkpatch.pl with Perl 5.22.0 generates the following warning: Unescaped left brace in regex is deprecated, passed through in regex; This patch fixes the warnings by escaping occurrences of the left brace inside the regular expression. Signed-off-by: Eddie Kovsky ---

RE: [PATCH 2/3] Docs: dt: Add PCI MSI map bindings

2015-08-05 Thread Stuart Yoder
> From: Mark Rutland > Date: Thu, Jul 23, 2015 at 11:52 AM [cut] > diff --git a/Documentation/devicetree/bindings/pci/pci-msi.txt > b/Documentation/devicetree/bindings/pci/pci-msi.txt > new file mode 100644 > index 000..9b3cc81 > --- /dev/null > +++

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-05 Thread Eric W. Biederman
Seth Forshee writes: > On Wed, Jul 15, 2015 at 09:47:11PM -0500, Eric W. Biederman wrote: >> Seth Forshee writes: >> >> > Initially this will be used to eliminate the implicit MNT_NODEV >> > flag for mounts from user namespaces. In the future it will also >> > be used for translating ids and

Re: [PATCH v3 5/9] VMware balloon: Show capabilities of balloon and resulting capabilities in the debug-fs node.

2015-08-05 Thread John Savanyo
On 8/5/15, 1:50 PM, "gre...@linuxfoundation.org" wrote: >You have to always diff the code anyway, you can't trust that number, >see my other email as to why. > >greg k-h I agree that we need to look at the source code to 100% understand that status of a driver. However, if VMware has a

Re: of: dynamic: resource: add WARN in release_resource for DT overlays

2015-08-05 Thread Andrew Morton
On Thu, 30 Jul 2015 15:17:16 +0200 Robert ABEL wrote: > > This patch prevents a kernel OOPS when removing a DT overlay containing > nodes with reg properties. release_resources is called for these nodes. > However, the resource structs were never initialized, hence the kernel OOPS. > > This

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-05 Thread Seth Forshee
On Wed, Jul 15, 2015 at 09:47:11PM -0500, Eric W. Biederman wrote: > Seth Forshee writes: > > > Initially this will be used to eliminate the implicit MNT_NODEV > > flag for mounts from user namespaces. In the future it will also > > be used for translating ids and checking capabilities for > >

Re: [RFC PATCH] drivers/base: use cpu->node_id for from_nid

2015-08-05 Thread Greg Kroah-Hartman
On Thu, Jul 30, 2015 at 08:35:51PM +0200, Michael Holzheu wrote: > Hello Greg, > > Is it possible to use "from_nid = cpu->node_id"? > > Background: > > I am currently working on (fake) NUMA support for s390. At startup, for > "deconfigured" CPUs, we don't know to which nodes the CPUs belong.

[PATCH] mmc: host: use of_property_bool()

2015-08-05 Thread Sergei Shtylyov
Use more compact of_property_read_bool() calls instead of the of_find_property() calls. Signed-off-by: Sergei Shtylyov --- The patch is against Ulf Hansson's 'mmc.git' repo's 'next' branch. drivers/mmc/core/host.c | 42 +- 1 file changed, 21

Re: [PATCH v3 5/9] VMware balloon: Show capabilities of balloon and resulting capabilities in the debug-fs node.

2015-08-05 Thread gre...@linuxfoundation.org
A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Wed, Aug 05, 2015 at 08:42:25PM +, John Savanyo wrote: > I agree that version number tracking is not perfect. But it is valuable > for us to use as a rough indication that we have attempted to

Re: [PATCH 22/23] misc: atmel_tclib: get and use slow clock

2015-08-05 Thread Greg Kroah-Hartman
On Fri, Jul 31, 2015 at 11:39:58AM +0200, Alexandre Belloni wrote: > From: Boris Brezillon > > Commit dca1a4b5ff6e ("clk: at91: keep slow clk enabled to prevent system > hang") added a workaround for the slow clock as it is not properly handled > by its users. > > Get and use the slow clock as

Re: [PATCH 2/2] gpio/mxc: implement reading output gpio value

2015-08-05 Thread Fabio Estevam
On Wed, Aug 5, 2015 at 4:46 PM, Eduardo Valentin wrote: > OK. Then, what is the recommendation? Do we set this by default in the > driver code or this is left for DTS pinmux configuration? You just need to set the SION bit in the pad you need to read the output. SION is bit 30 according to

Re: [patch|rfc] mtip32x: fix regression introduced by blk-mq per-hctx flush

2015-08-05 Thread Jeff Moyer
Jens Axboe writes: > On 07/29/2015 08:22 AM, Jeff Moyer wrote: >> Hi, >> >> After commit f70ced091707 (blk-mq: support per-distpatch_queue flush >> machinery), the mtip32xx driver may oops upon module load due to walking >> off the end of an array in mtip_init_cmd. On initialization of the >>

Re: [PATCH v3 5/9] VMware balloon: Show capabilities of balloon and resulting capabilities in the debug-fs node.

2015-08-05 Thread John Savanyo
I agree that version number tracking is not perfect. But it is valuable for us to use as a rough indication that we have attempted to back port some appropriate subset of patches from mainline to a sustaining distro release without having to diff the code. -John On 8/5/15, 1:33 PM,

Re: [PATCH v3 5/9] VMware balloon: Show capabilities of balloon and resulting capabilities in the debug-fs node.

2015-08-05 Thread gre...@linuxfoundation.org
On Wed, Aug 05, 2015 at 08:22:35PM +, Philip Moltmann wrote: > Hi, > > > > MODULE_AUTHOR("VMware, Inc."); > > > MODULE_DESCRIPTION("VMware Memory Control (Balloon) Driver"); > > > -MODULE_VERSION("1.3.2.0-k"); > > > +MODULE_VERSION("1.3.3.0-k"); > > > > This constant change of module

Re: [PATCH v3 1/3] iTCO_wdt: Expose watchdog properties using platform data

2015-08-05 Thread Darren Hart
On Thu, Jul 30, 2015 at 10:58:59PM +0100, Matt Fleming wrote: > From: Matt Fleming > > Intel Sunrisepoint (Skylake PCH) has the iTCO watchdog accessible across > the SMBus, unlike previous generations of PCH/ICH where it was on the > LPC bus. Because it's on the SMBus, it doesn't make sense to

Re: [PATCH] sky2: Add module parameter for passing the MAC address

2015-08-05 Thread Francois Romieu
Liviu Dudau : > On Wed, Aug 05, 2015 at 05:40:57PM +0100, Stephen Hemminger wrote: [...] > > Yes, I can see that this can be a real problem, and other drivers > > solve the problem. The standard method is to assign a random mac address > > (and then let scripts overwrite) rather than introducing

Re: [PATCH v3 5/9] VMware balloon: Show capabilities of balloon and resulting capabilities in the debug-fs node.

2015-08-05 Thread dmitry.torok...@gmail.com
On Wed, Aug 05, 2015 at 08:22:35PM +, Philip Moltmann wrote: > Hi, > > > > MODULE_AUTHOR("VMware, Inc."); > > > MODULE_DESCRIPTION("VMware Memory Control (Balloon) Driver"); > > > -MODULE_VERSION("1.3.2.0-k"); > > > +MODULE_VERSION("1.3.3.0-k"); > > > > This constant change of module

Re: [PATCH v3 00/11] Introduce Intel Trace Hub support

2015-08-05 Thread Greg Kroah-Hartman
On Thu, Jul 23, 2015 at 09:27:53AM -0600, Mathieu Poirier wrote: > On 22 July 2015 at 09:49, Alexander Shishkin > wrote: > > Alexander Shishkin writes: > > > >> Hi Greg and everybody, > > > > Seems like a polite nudge might be in order. :) > > > > Cheers, > > -- > > Alex > > Greg and all, > >

[PATCH V9 0/3] audit by executable name

2015-08-05 Thread Richard Guy Briggs
Please see the accompanying userspace patchset: https://www.redhat.com/archives/linux-audit/2015-July/thread.html [[PATCH V2] 0/2] Log on the future execution of a path The userspace interface is not expected to change appreciably unless something important has been overlooked.

[PATCH V9 1/3] audit: clean simple fsnotify implementation

2015-08-05 Thread Richard Guy Briggs
This is to be used to audit by executable path rules, but audit watches should be able to share this code eventually. At the moment the audit watch code is a lot more complex. That code only creates one fsnotify watch per parent directory. That 'audit_parent' in turn has a list of

[PATCH V9 2/3] audit: implement audit by executable

2015-08-05 Thread Richard Guy Briggs
This adds the ability audit the actions of a not-yet-running process. This patch implements the ability to filter on the executable path. Instead of just hard coding the ino and dev of the executable we care about at the moment the rule is inserted into the kernel, use the new audit_fsnotify

[PATCH V9 3/3] audit: add audit by children of executable path

2015-08-05 Thread Richard Guy Briggs
This adds the ability to audit the actions of children of a not-yet-running process. This is a split-out of a heavily modified version of a patch originally submitted by Eric Paris with some ideas from Peter Moody. Cc: Peter Moody Cc: Eric Paris Signed-off-by: Richard Guy Briggs ---

[PATCH] net: Unbreak resetting default values for tcp_wmem/udp_wmem_min

2015-08-05 Thread Calvin Owens
Commit 8133534c760d4083 ("net: limit tcp/udp rmem/wmem to SOCK_{RCV,SND}BUF_MIN") modified four sysctls to enforce that the values written to them are not less than SOCK_MIN_{RCV,SND}BUF. This change is fine for tcp_rmem and udp_rmem_min, since SOCK_MIN_RCVBUF is equal to equal to

Re: [PATCH v2] asus-laptop: Add key found on Asus F3M

2015-08-05 Thread Darren Hart
On Wed, Jul 29, 2015 at 09:31:23PM +0200, Ɓukasz Stelmach wrote: > Asus F3M has two keys labeled with an icon of a touchpad. The first, > reported as 0x6B is next to the power key and the second, reported as > 0x6A, is F9 combined with Fn button. When I was pressing the latter, I was > getting

Re: [PATCH 0/7] test_user_copy improvements

2015-08-05 Thread Kees Cook
On Wed, Aug 5, 2015 at 8:48 AM, James Hogan wrote: > These patches extend the test_user_copy test module to handle lots more > cases of user accessors which architectures can override separately, and > in particular those which are important for checking the MIPS Enhanced > Virtual Addressing

Re: [PATCH] MAINTAINERS: Remove Toshiba Linux mailing list address

2015-08-05 Thread Darren Hart
On Mon, Aug 03, 2015 at 11:44:08AM -0600, Azael Avalos wrote: > As of March 31th 2015, the mailing-list service finished [1]. > > This patch simply removes such address. > > [1] http://goo.gl/F6jS5r > > Signed-off-by: Azael Avalos > --- > Hi Darren, > > I hope you can queue this patch through

Re: [RFC PATCH] Exporting extra tables for machines without /dev/mem

2015-08-05 Thread Al Stone
On 07/21/2015 07:31 AM, Graeme Gregory wrote: > Hi, > > I thought I would send this patch as an RFC. It is something I did when > another linaro engineer was modifying acpica-tools to not require /dev/mem. > > It exports the 3 tables that are not currenly exported in sysfs. > > Currently I do

Re: [PATCH 1/4] cgroup: export cgrp_dfl_root

2015-08-05 Thread Tejun Heo
On Sun, Aug 02, 2015 at 04:23:41PM -0400, Tejun Heo wrote: > While cgroup subsystems can't be modules, blkcg supports dynamically > loadable policies which interact with cgroup core. Export > cgrp_dfl_root so that cgroup_on_dfl() can be used in those modules. > > Signed-off-by: Tejun Heo > Cc:

Re: [PATCH V4 (was V6)] audit: use macros for unset inode and device values

2015-08-05 Thread Paul Moore
On Wed, Aug 5, 2015 at 3:38 PM, Richard Guy Briggs wrote: > On 15/08/05, William Roberts wrote: >> On Aug 1, 2015 12:44 PM, "Richard Guy Briggs" wrote: >> > >> > Signed-off-by: Richard Guy Briggs >> > --- >> > include/uapi/linux/audit.h |2 ++ >> > kernel/audit.c |2 +- >> >

Re: [PATCH v3 5/9] VMware balloon: Show capabilities of balloon and resulting capabilities in the debug-fs node.

2015-08-05 Thread Philip Moltmann
Hi, > > MODULE_AUTHOR("VMware, Inc."); > > MODULE_DESCRIPTION("VMware Memory Control (Balloon) Driver"); > > -MODULE_VERSION("1.3.2.0-k"); > > +MODULE_VERSION("1.3.3.0-k"); > > This constant change of module version is annoying, is it really even > needed? > > I'll take this, but seriously

Re: [PATCH 0/8] watchdog: Add support for keepalives triggered by infrastructure

2015-08-05 Thread Guenter Roeck
Hi David, On 08/05/2015 12:51 PM, David Teigland wrote: On Wed, Aug 05, 2015 at 12:01:38PM -0700, Guenter Roeck wrote: I think I can understand why Wim was reluctant to accept your patch; I must admit I don't understand your use case either. Very breifly, sanlock is a shared storage based

Re: [PATCH v3 4/5] toshiba_acpi: Remove unnecessary checks and returns in HCI/SCI functions

2015-08-05 Thread Darren Hart
> @@ -1131,14 +1055,10 @@ static int toshiba_usb_three_set(struct > toshiba_acpi_dev *dev, u32 state) > > result = sci_write(dev, SCI_USB_THREE, state); > sci_close(dev); > - if (result == TOS_FAILURE) { > + if (result == TOS_FAILURE) > pr_err("ACPI call to set

[PATCH V5] audit: use macros for unset inode and device values

2015-08-05 Thread Richard Guy Briggs
Clean up a number of places were casted magic numbers are used to represent unset inode and device numbers in preparation for the audit by executable path patch set. Signed-off-by: Richard Guy Briggs --- v5: Move macros from include/uapi/linux/audit.h to include/linux/audit.h Use "unsigned

regression introduced by "block: Add support for DAX reads/writes to block devices"

2015-08-05 Thread Jeff Moyer
Hi, Matthew, Linda Knippers noticed that commit (bbab37ddc20b) breaks mkfs.xfs: # mkfs -t xfs -f /dev/pmem0 meta-data=/dev/pmem0 isize=256agcount=4, agsize=524288 blks = sectsz=512 attr=2, projid32bit=1 = crc=0

[PATCH 03/12] perf trace: Remember if the vfs_getname tracepoint/kprobe is in place

2015-08-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo So that we can later decide if we will store where to expand the pathname once we are handling vfs_getname or if we should instead just go on and straight away print the pointer. Cc: Adrian Hunter Cc: Borislav Petkov Cc: David Ahern Cc: Frederic Weisbecker Cc:

Re: [PATCH v3 3/9] VMware balloon: add batching to the vmw_balloon.

2015-08-05 Thread Greg KH
On Fri, Jun 12, 2015 at 11:43:24AM -0700, Philip P. Moltmann wrote: > From: Xavier Deguillard > > Introduce a new capability to the driver that allow sending 512 pages in > one hypervisor call. This reduce the cost of the driver when reclaiming > memory. > > Signed-off-by: Xavier Deguillard >

[PATCH 04/12] perf trace: Use a constant for the syscall formatting buffer

2015-08-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We were using it as a magic number, 1024, fix that. Eventually we need to stop doing it per line, and do it per arg, traversing the args at output time, to avoid the memmove() calls that will be used in the next cset to replace pointers present at

Re: [PATCH v3 2/5] toshiba_acpi: Remove "*not supported" feature prints

2015-08-05 Thread Darren Hart
On Fri, Jul 31, 2015 at 09:58:13PM -0600, Azael Avalos wrote: > Currently the driver prints "*not supported" if any of the features > queried are in fact not supported, let us print the available > features instead. > > This patch removes all instances pr_info printing "*not supported", > and add

[PATCH 10/12] perf tools: Do not include escape sequences in color_vfprintf return

2015-08-05 Thread Arnaldo Carvalho de Melo
From: Andi Kleen color_vprintf was including the length of the invisible escape sequences in its return argument. Don't include them to make the return value usable for indentation calculations. v2: Add comment, rebase Signed-off-by: Andi Kleen Cc: Jiri Olsa Cc: Stephane Eranian Link:

[PATCH 11/12] perf trace: Write to stderr by default

2015-08-05 Thread Arnaldo Carvalho de Melo
From: Milian Wolff Without this patch, it is cumbersome to read the trace output but ignoring the normal, potentially verbose, output of the debuggee. One common example is doing something like the following: perf trace -s find /tmp > /dev/null Without this patch, the trace summary will be

[tip:x86/asm] x86/entry/32: Migrate to C exit path

2015-08-05 Thread tip-bot for Andy Lutomirski
Commit-ID: 5d73fc70996d9de0d1b2fc87e62dc51153204eba Gitweb: http://git.kernel.org/tip/5d73fc70996d9de0d1b2fc87e62dc51153204eba Author: Andy Lutomirski AuthorDate: Fri, 31 Jul 2015 14:41:09 -0700 Committer: Ingo Molnar CommitDate: Wed, 5 Aug 2015 10:54:35 +0200 x86/entry/32: Migrate to

[tip:x86/asm] x86/entry/32: Remove 32-bit syscall audit optimizations

2015-08-05 Thread tip-bot for Andy Lutomirski
Commit-ID: c5f69fde26d1581ee495f68bb9de4049c8168a04 Gitweb: http://git.kernel.org/tip/c5f69fde26d1581ee495f68bb9de4049c8168a04 Author: Andy Lutomirski AuthorDate: Fri, 31 Jul 2015 14:41:08 -0700 Committer: Ingo Molnar CommitDate: Wed, 5 Aug 2015 10:54:35 +0200 x86/entry/32: Remove

[tip:x86/asm] x86/entry: Remove do_notify_resume(), syscall_trace_leave(), and their TIF masks

2015-08-05 Thread tip-bot for Andy Lutomirski
Commit-ID: 88cd622f9299c4c9e61e978bb9ef9d7599769ed0 Gitweb: http://git.kernel.org/tip/88cd622f9299c4c9e61e978bb9ef9d7599769ed0 Author: Andy Lutomirski AuthorDate: Fri, 31 Jul 2015 14:41:10 -0700 Committer: Ingo Molnar CommitDate: Wed, 5 Aug 2015 10:54:35 +0200 x86/entry: Remove

Re: [PATCH] acpi, property: Export acpi_dev_prop_read_single call.

2015-08-05 Thread David Daney
On 08/05/2015 10:26 AM, David Daney wrote: On 08/05/2015 06:43 AM, Tomasz Nowicki wrote: On 05.08.2015 15:48, Rafael J. Wysocki wrote: On Tuesday, August 04, 2015 04:01:59 PM David Daney wrote: From: Tomasz Nowicki Fixes the following build error when building drivers as modules: ERROR:

[tip:x86/urgent] x86/cpu/cacheinfo: Fix teardown path

2015-08-05 Thread tip-bot for Borislav Petkov
Commit-ID: 680ac028240f8747f31c03986fbcf18b2b521e93 Gitweb: http://git.kernel.org/tip/680ac028240f8747f31c03986fbcf18b2b521e93 Author: Borislav Petkov AuthorDate: Mon, 27 Jul 2015 09:58:05 +0200 Committer: Ingo Molnar CommitDate: Wed, 5 Aug 2015 10:08:17 +0200 x86/cpu/cacheinfo: Fix

Re: [PATCH v3 5/9] VMware balloon: Show capabilities of balloon and resulting capabilities in the debug-fs node.

2015-08-05 Thread Greg KH
On Fri, Jun 12, 2015 at 11:43:26AM -0700, Philip P. Moltmann wrote: > This helps with debugging vmw_balloon behavior, as it is clear what > functionality is enabled. > > Acked-by: Andy King > Signed-off-by: Xavier Deguillard > --- > drivers/misc/vmw_balloon.c | 8 +++- > 1 file changed, 7

[tip:locking/core] locking/static_keys: Make verify_keys() static

2015-08-05 Thread tip-bot for kbuild test robot
Commit-ID: 20f9ed1568c00bbd9e6af31341d25e06bc3d4a16 Gitweb: http://git.kernel.org/tip/20f9ed1568c00bbd9e6af31341d25e06bc3d4a16 Author: kbuild test robot AuthorDate: Tue, 4 Aug 2015 02:47:48 +0800 Committer: Ingo Molnar CommitDate: Wed, 5 Aug 2015 09:53:40 +0200 locking/static_keys:

[tip:core/types] jiffies: Force inlining of {m,u}msecs_to_jiffies ()

2015-08-05 Thread tip-bot for Denys Vlasenko
Commit-ID: accd0b9ec015d611eb7783dd86f1bb31bf8d62ab Gitweb: http://git.kernel.org/tip/accd0b9ec015d611eb7783dd86f1bb31bf8d62ab Author: Denys Vlasenko AuthorDate: Tue, 4 Aug 2015 16:15:16 +0200 Committer: Ingo Molnar CommitDate: Wed, 5 Aug 2015 09:38:09 +0200 jiffies: Force inlining of

Re: [PATCH 3/3] zswap: change zpool/compressor at runtime

2015-08-05 Thread Andrew Morton
On Wed, 5 Aug 2015 09:46:43 -0400 Dan Streetman wrote: > Update the zpool and compressor parameters to be changeable at runtime. > When changed, a new pool is created with the requested zpool/compressor, > and added as the current pool at the front of the pool list. Previous > pools remain in

[tip:core/types] x86/hweight: Force inlining of __arch_hweight{32 ,64}()

2015-08-05 Thread tip-bot for Denys Vlasenko
Commit-ID: d14edb1648221e59fc9fd47127fcc57bf26d759f Gitweb: http://git.kernel.org/tip/d14edb1648221e59fc9fd47127fcc57bf26d759f Author: Denys Vlasenko AuthorDate: Tue, 4 Aug 2015 16:15:15 +0200 Committer: Ingo Molnar CommitDate: Wed, 5 Aug 2015 09:38:09 +0200 x86/hweight: Force

[tip:core/types] linux/bitmap: Force inlining of bitmap weight functions

2015-08-05 Thread tip-bot for Denys Vlasenko
Commit-ID: 1a1d48a4a8fde49aedc045d894efe67173d59fe0 Gitweb: http://git.kernel.org/tip/1a1d48a4a8fde49aedc045d894efe67173d59fe0 Author: Denys Vlasenko AuthorDate: Tue, 4 Aug 2015 16:15:14 +0200 Committer: Ingo Molnar CommitDate: Wed, 5 Aug 2015 09:38:08 +0200 linux/bitmap: Force

[PATCH 12/12] perf tools: Fix build errors with mipsel-linux-uclibc compiler

2015-08-05 Thread Arnaldo Carvalho de Melo
From: Petri Gynther linux/tools$ make ARCH=mips CROSS_COMPILE=mipsel-linux- perf ... config/Makefile:256: *** No gnu/libc-version.h found, please install glibc-dev[el]. Stop. make[1]: *** [all] Error 2 make: *** [perf] Error 2 ... In file included from builtin-sched.c:13:0:

[PATCH] staging: octeon: fix coding style warnings for block comments

2015-08-05 Thread Okash Khawaja
The Linux kernel coding style suggests starting every line in a block comment with an asterisk and finishing the block comment with */ on a separate line. This patch fixes those warnings, clearing all warnings and errors in this file, as reported by the checkpatch script. Signed-off-by: Okash

[PATCH 07/12] perf tools: Per-event time support

2015-08-05 Thread Arnaldo Carvalho de Melo
From: Kan Liang This patchkit adds the ability to turn off time stamps per event. One usaful case for partial time is to work with per-event callgraph to enable "PEBS threshold > 1" (https://lkml.org/lkml/2015/5/10/196), which can significantly reduce the sampling overhead. The event samples

[PATCH 02/12] perf trace: Do not show syscall tracepoint filter in the --no-syscalls case

2015-08-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We were accessing trace->syscalls.events members even when that struct wasn't initialized, i.e. --no-syscalls was specified on the command line, fix it to show that, still in debug mode, when we have an event qualifier list, i.e. when we actually are doing subset

[PATCH 09/12] perf tools: Remove trail argument to color vsprintf

2015-08-05 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Seems like it's always '\n' through color_fprintf_ln, which is not used at all, removing.. ;-) Signed-off-by: Jiri Olsa Cc: Andi Kleen Cc: Stephane Eranian Link: http://lkml.kernel.org/r/1438649408-20807-2-git-send-email-a...@firstfloor.org Signed-off-by: Andi Kleen

[PATCH 08/12] perf tools: Refine parse/config callchain functions

2015-08-05 Thread Arnaldo Carvalho de Melo
From: Kan Liang Pass global callchain_param into parse_callchain_record_opt and perf_evsel__config_callgraph as parameter. So we can reuse these functions to parse/config local param for callchain. Signed-off-by: Kan Liang Acked-by: Jiri Olsa Cc: Andi Kleen Cc: Namhyung Kim Link:

Re: [PATCH 0/3] VME bus error handling overhaul

2015-08-05 Thread Greg Kroah-Hartman
On Mon, Jul 06, 2015 at 01:31:47PM +0100, Martyn Welch wrote: > Hi Dmitry, > > These are looking good to me. Can I get an "Acked-by:" or something so that I know it's ok to apply these? thanks, greg k-h- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

[GIT PULL 00/12] perf/core improvements and fixes

2015-08-05 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling, way more to process in the next days, with the patchkit for eBPF looking good, perf stat stuff from Jiri and some new hardware stuff from Andi. - Arnaldo The following changes since commit 75f80859b130a1cc84e59e71295ce2dd51fe1c81:

Re: kdbus: to merge or not to merge?

2015-08-05 Thread Andy Lutomirski
On Wed, Aug 5, 2015 at 12:10 AM, David Herrmann wrote: > Hi > > On Tue, Aug 4, 2015 at 4:47 PM, Andy Lutomirski wrote: >> On Tue, Aug 4, 2015 at 7:09 AM, David Herrmann wrote: >>> This is a bug in the proxy (which is already fixed). >> >> Should I expect to see it in Rawhide soon? > > Use this

[PATCH 01/12] perf script: No tracepoints? Don't call libtraceevent.

2015-08-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo The libtraceevent handler (session->tevent) is only initialized when there are tracepoints in a perf.data event list, so do not call pevent_set_function_resolve() in those cases, fixing a segfault. Reported-by: Jiri Olsa Tested-by: Jiri Olsa Cc: Adrian Hunter

[PATCH 06/12] perf trace: Use vfs_getname syscall arg beautifier in more syscalls

2015-08-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Those were covered and tested in this cset: access, chdir, chmod, chown, chroot, creat, getxattr, inotify_add_watch, lchown, lgetxattr, listxattr, lsetxattr, mkdir, mkdirat, mknod, rmdir, faccessat, newfstatat, openat, readlink, readlinkat, removexattr,

[PATCH 05/12] perf trace: Deref sys_enter pointer args with contents from probe:vfs_getname

2015-08-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To work like strace and dereference syscall pointer args we need to insert probes (or tracepoints) right after we copy those bytes from userspace. Since we're formatting the syscall args at raw_syscalls:sys_enter time, we need to have a formatter that just stores

Re: [PATCH v8 1/3] sysfs: added sysfs_link_entry_to_kobj()

2015-08-05 Thread Greg Kroah-Hartman
On Fri, Jul 03, 2015 at 05:27:18PM +0300, Jarkko Sakkinen wrote: > Added a new function sysfs_link_group_to_kobj() that adds a symlink > from attribute or group to a kobject. Exported kernfs_remove_by_name_ns > in order to provide a way to remove such symlinks. This text doesn't match the

Re: [PATCH v2 1/2] debugfs: Export bool read/write functions

2015-08-05 Thread Greg KH
On Tue, Jun 23, 2015 at 02:32:54PM +0100, Richard Fitzgerald wrote: > The file read/write functions for bools have no special dependencies > on debugfs internals and are sufficiently non-trivial to be worth > exporting so clients can re-use the implementation. > > Signed-off-by: Richard

Re: [PATCH 1/3] zpool: add zpool_has_pool()

2015-08-05 Thread Andrew Morton
On Wed, 5 Aug 2015 09:46:41 -0400 Dan Streetman wrote: > Add zpool_has_pool() function, indicating if the specified type of zpool > is available (i.e. zsmalloc or zbud). This allows checking if a pool is > available, without actually trying to allocate it, similar to > crypto_has_alg(). > >

Re: [PATCHv5 3/5] Staging: most: hdm-usb/hdm_usb.c. Fix "missing static keyword" warnings

2015-08-05 Thread Christian Gromm
On Tue, 4 Aug 2015 20:44:53 +0200 Adrian Remonda wrote: > This is a patch to the most/hdm-usb/hdm_usb.c file. It > makes several local functions and structures static to prevent global > visibility. > > Signed-off-by: Adrian Remonda > --- > drivers/staging/most/hdm-usb/hdm_usb.c | 16

Re: [PATCH V4 (was V6)] audit: use macros for unset inode and device values

2015-08-05 Thread Steve Grubb
On Wednesday, August 05, 2015 03:16:58 PM Paul Moore wrote: > On Wednesday, August 05, 2015 02:30:14 AM Richard Guy Briggs wrote: > > On 15/08/04, Paul Moore wrote: > > > On Saturday, August 01, 2015 03:42:23 PM Richard Guy Briggs wrote: > > > > Signed-off-by: Richard Guy Briggs > > > > --- > > >

Re: [PATCH] can: xilinx: fix RX FIFO overflow error handling

2015-08-05 Thread Andrea Scian - DAVE Embedded Systems
Michal, Kedar, Any feedback regarding my patch? Have you ever experienced such a problem? Andrea SCIAN *DAVE Embedded Systems* via Talponedo 29/A 33080 Porcia (PN) - Italy Telephone: +39.0434.921215 Telefax: +39.0434.1994030 web: www.dave.eu Il 24/07/2015 06:15, Michal

Re: [PATCH v2] ioatdma: fix overflow of u16 in ring_reshape

2015-08-05 Thread Dan Williams
On Wed, Aug 5, 2015 at 7:55 AM, Allen Hubbe wrote: > If the allocation order is 16, then the u16 index will overflow and wrap > to zero instead of being equal or greater than 1 << 16. The loop > condition will always be true, and the loop will run until all the > memory resources are depleted. >

Re: [RFC 0/8] Allow GFP_NOFS allocation to fail

2015-08-05 Thread Andreas Dilger
On Aug 5, 2015, at 3:51 AM, mho...@kernel.org wrote: > Hi, > small GFP_NOFS, like GFP_KERNEL, allocations have not been not failing > traditionally even though their reclaim capabilities are restricted > because the VM code cannot recurse into filesystems to clean dirty > pages. At the same time

[PATCH v2] ioatdma: fix overflow of u16 in ring_reshape

2015-08-05 Thread Allen Hubbe
If the allocation order is 16, then the u16 index will overflow and wrap to zero instead of being equal or greater than 1 << 16. The loop condition will always be true, and the loop will run until all the memory resources are depleted. Change the type of index 'i' to u32, so that it is large

Re: [PATCH 0/8] watchdog: Add support for keepalives triggered by infrastructure

2015-08-05 Thread David Teigland
On Wed, Aug 05, 2015 at 12:01:38PM -0700, Guenter Roeck wrote: > I think I can understand why Wim was reluctant to accept your patch; > I must admit I don't understand your use case either. Very breifly, sanlock is a shared storage based lease manager, and the expiration of a lease is tied to the

Re: [RFC PATCH] timer: Improve itimers scalability

2015-08-05 Thread Jason Low
On Wed, 2015-08-05 at 11:37 +0200, Peter Zijlstra wrote: > On Tue, Aug 04, 2015 at 05:29:44PM -0700, Jason Low wrote: > > > @@ -1137,6 +1148,13 @@ static inline int fastpath_timer_check(struct > > task_struct *tsk) > > if (READ_ONCE(sig->cputimer.running)) { > > Maybe make that: > >

Re: [GIT PULL] nfsd bugfixes for 4.2

2015-08-05 Thread J. Bruce Fields
On Wed, Aug 05, 2015 at 11:01:53AM +0200, Linus Torvalds wrote: > On Tue, Aug 4, 2015 at 11:09 PM, J. Bruce Fields wrote: > > Please pull a few nfsd bugfixes for 4.2 from: > > Pulled. However, I wonder if you could start making signed tag pull > requests. I don't know how linux-nfs.org is

Re: [PATCH] intel_pstate: append more Oracle OEM table id to vendor bypass list

2015-08-05 Thread Kristen Carlson Accardi
On Wed, 5 Aug 2015 09:28:50 +0900 Ethan Zhao wrote: > Append more Oracle X86 servers that have their own power management, > > SUN FIRE X4275 M3 > SUN FIRE X4170 M3 > and > SUN FIRE X6-2 > > Signed-off-by: Ethan Zhao > --- > drivers/cpufreq/intel_pstate.c | 4 > 1 file changed, 4

Re: [PATCH 2/2] gpio/mxc: implement reading output gpio value

2015-08-05 Thread Eduardo Valentin
On Wed, Aug 05, 2015 at 03:11:40PM -0300, Fabio Estevam wrote: > Hi Eduardo, > > On Wed, Aug 5, 2015 at 3:02 PM, Eduardo Valentin wrote: > > > > Hello Fabio, > > > > On Wed, Aug 05, 2015 at 02:43:05PM -0300, Fabio Estevam wrote: > >> Hi Eduardo, > >> > >> On Wed, Aug 5, 2015 at 2:23 PM, Eduardo

Re: [RFCv3 1/4] docs: dts: Added documentation for Xilinx Zynq Reset Controller bindings.

2015-08-05 Thread Moritz Fischer
Michal, On Tue, Aug 4, 2015 at 8:10 AM, Philipp Zabel wrote: > Hi Moritz, > > Am Dienstag, den 04.08.2015, 08:05 -0700 schrieb Moritz Fischer: >> Hi Philip, >> >> On Tue, Aug 4, 2015 at 1:09 AM, Philipp Zabel wrote: >> > Hi Moritz, >> > >> > Am Donnerstag, den 30.07.2015, 18:13 -0700 schrieb

Re: [PATCH] user_ns: use correct check for single-threadedness

2015-08-05 Thread Kees Cook
On Wed, Aug 5, 2015 at 11:13 AM, Eric W. Biederman wrote: > Kees Cook writes: > >> On Tue, Jul 28, 2015 at 1:55 PM, Ricky Zhou wrote: >>> On Tue, Jul 28, 2015 at 11:17 AM, Eric W. Biederman >>> wrote: Kees Cook writes: > From: Ricky Zhou > > Checking mm_users > 1 does

Re: [PATCH V4 (was V6)] audit: use macros for unset inode and device values

2015-08-05 Thread Richard Guy Briggs
On 15/08/05, William Roberts wrote: > On Aug 1, 2015 12:44 PM, "Richard Guy Briggs" wrote: > > > > Signed-off-by: Richard Guy Briggs > > --- > > include/uapi/linux/audit.h |2 ++ > > kernel/audit.c |2 +- > > kernel/audit_watch.c |8 > > kernel/auditsc.c

Re: [Intel-gfx] [PATCH 3/3] drm/i915: Support DDI lane reversal for DP

2015-08-05 Thread Benjamin Tissoires
On Jul 30 2015 or thereabouts, Sivakumar Thulasimani wrote: > > > On 7/29/2015 8:52 PM, Benjamin Tissoires wrote: > >On Jul 29 2015 or thereabouts, Sivakumar Thulasimani wrote: > >>why not detect reverse in intel_dp_detect/intel_hpd_pulse ? that way you can > >>identify both lane count and

[PATCH] drm/msm/mdp: Clear pending interrupt status before enable interrupt

2015-08-05 Thread Jilai Wang
Pending interrupt status needs to be cleared before enable the interrupt. Otherwise it's possible to get a pending interrupt instead of an incoming interrupt. Signed-off-by: Jilai Wang --- drivers/gpu/drm/msm/mdp/mdp4/mdp4_irq.c | 10 +++--- drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h | 3 ++-

[PATCH V6] audit: save signal match info in case entry passed in is the one deleted

2015-08-05 Thread Richard Guy Briggs
Move the access to the entry for audit_match_signal() to earlier in the function in case the entry found is the same one passed in. This will enable it to be used by audit_remove_mark_rule(). Signed-off-by: Richard Guy Briggs --- Revision history: v6: Fix a rebase manual merge error that

Re: [PATCH 2/7] tty: core: Add tty_debug() for printk(KERN_DEBUG) messages

2015-08-05 Thread Greg Kroah-Hartman
On Wed, Aug 05, 2015 at 02:33:37PM -0400, Peter Hurley wrote: > On 07/23/2015 09:35 PM, Greg Kroah-Hartman wrote: > > On Sun, Jul 12, 2015 at 10:49:08PM -0400, Peter Hurley wrote: > >> Introduce tty_debug() macro to output uniform debug information for > >> tty core debug messages (function name

Re: [PATCH V5] audit: save signal match info in case entry passed in is the one deleted

2015-08-05 Thread Richard Guy Briggs
On 15/08/05, Paul Moore wrote: > On Wednesday, August 05, 2015 05:23:10 AM Richard Guy Briggs wrote: > > Move the access to the entry for audit_match_signal() to the beginning of > > the function in case the entry found is the same one passed in. This will > > enable it to be used by

RE: [PATCH] sb_edac: fix TAD presence check for sbridge_mci_bind_devs()

2015-08-05 Thread Luck, Tony
> In 7d375bff, NUM_CHANNELS was changed to 8 and the channel space was > renumerated to handle EN, EP, and EX configurations. > > The *_mci_bind_devs functions, except for sbridge_mci_bind_devs(), got a > new device presence check in the form of saw_chan_mask. However, > sbridge_mci_bind_devs()

Re: [PATCH] tty: serial: men_z135_uart.c: Fix race between IRQ and set_termios()

2015-08-05 Thread Peter Hurley
On 08/05/2015 04:06 AM, Johannes Thumshirn wrote: > Peter Hurley writes: > >> On 08/04/2015 03:02 AM, Johannes Thumshirn wrote: >>> Peter Hurley writes: On 08/03/2015 09:58 AM, Johannes Thumshirn wrote: > Fix panic caused by a race between men_z135_intr() and >

Re: [PATCH V4 (was V6)] audit: use macros for unset inode and device values

2015-08-05 Thread Paul Moore
On Wednesday, August 05, 2015 02:30:14 AM Richard Guy Briggs wrote: > On 15/08/04, Paul Moore wrote: > > On Saturday, August 01, 2015 03:42:23 PM Richard Guy Briggs wrote: > > > Signed-off-by: Richard Guy Briggs > > > --- > > > > > > include/uapi/linux/audit.h |2 ++ > > > kernel/audit.c

<    1   2   3   4   5   6   7   8   9   10   >