Re: [rfc 0/3] Cleaning up soft-dirty bit usage

2014-04-07 Thread Kirill A. Shutemov
On Thu, Apr 03, 2014 at 10:48:44PM +0400, Cyrill Gorcunov wrote: Hi! I've been trying to clean up soft-dirty bit usage. I can't cleanup ridiculous macros in pgtable-2level.h completely because I need to define _PAGE_FILE,_PAGE_PROTNONE,_PAGE_NUMA bits in sequence manner like #define

Re: [PATCH] spi: qup: Depend on ARCH_QCOM

2014-04-07 Thread Mark Brown
On Sun, Apr 06, 2014 at 01:45:33PM +0200, Paul Bolle wrote: Commit 8fc1b0f87d9f (ARM: qcom: Split Qualcomm support into legacy and multiplatform) removed Kconfig symbol ARCH_MSM_DT. But that commit left one (optional) dependency on ARCH_MSM_DT untouched. Three Kconfig symbols used to depend

Re: [PATCH] sdhci: Forward EPROBE_DEFER on vmmc and vqmmc regulators

2014-04-07 Thread Mike Looijmans
On 04/07/2014 02:51 PM, Arnd Bergmann wrote: On Monday 07 April 2014 14:32:20 Mike Looijmans wrote: On 04/07/2014 02:25 PM, Arnd Bergmann wrote: Judging from the kernel output, regulator_get_optional returns -ENODEV if the supply wasn't found. Maybe the API is confusing (or wrong?) here. If

RE: 3.0 - 3.10 regression? poweroff instead of reboot?

2014-04-07 Thread Winkler, Tomas
Hello Tomas, I would need the devices ids of the MEI device on your platform (lspci will do the job), is this same platform as you tested before? You should not get to requesting the HW readiness w/ my patch. yes, it's the same box. here are the IDs: 00:16.0 Communication

Re: [RFC/PATCH] mtd: ubi: Test return value of __wl_get_peb

2014-04-07 Thread Richard Weinberger
On Tue, Apr 1, 2014 at 10:01 AM, Tanya Brokhman tlin...@codeaurora.org wrote: In case of an error (if there are not free PEB's for example), __wl_get_peb will return a negative value. In order to prevent access violation we need to test the returned value prior to using it later on.

Re: [GIT PULL] ext4 changes for 3.15

2014-04-07 Thread Miklos Szeredi
On Sat, Apr 5, 2014 at 1:43 AM, Theodore Ts'o ty...@mit.edu wrote: On Fri, Apr 04, 2014 at 07:16:25PM +0200, Miklos Szeredi wrote: http://marc.info/?l=linux-kernelm=139523745403081w=2 I tried applying this patch on top of xfstests commit 3948694eb1, but running on ext4.git's test branch,

Re: [RFC/PATCH] mtd: ubi: Fix ubi free PEBs count calculation

2014-04-07 Thread Richard Weinberger
On Tue, Apr 1, 2014 at 10:02 AM, Tanya Brokhman tlin...@codeaurora.org wrote: The ubi-free_count should be updated with every insert/remove to/from the ubi-free list. Signed-off-by: Tanya Brokhman tlin...@codeaurora.org diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c index

Re: [PATCH 3/5] efi: x86: Improve cmdline conversion

2014-04-07 Thread Matt Fleming
On Fri, 04 Apr, at 01:25:48PM, Leif Lindholm wrote: From: H. Peter Anvin h...@zytor.com Improve the conversion of the UTF-16 EFI command line to UTF-8 for passing to the kernel. Signed-off-by: Roy Franz roy.fr...@linaro.org Signed-off-by: H. Peter Anvin h...@zytor.com Signed-off-by: Leif

Re: [PATCH 0/5] Non-ARM-specific EFI patches needed for ARM ports

2014-04-07 Thread Matt Fleming
On Fri, 04 Apr, at 01:25:45PM, Leif Lindholm wrote: This is the set of patches from the arm/arm64 UEFI support that are not in fact architecture specific. This set depends on other EFI patches already in linux-next. H. Peter Anvin (1): efi: x86: Improve cmdline conversion Leif Lindholm

Re: [rfc 0/3] Cleaning up soft-dirty bit usage

2014-04-07 Thread Cyrill Gorcunov
On Mon, Apr 07, 2014 at 04:07:01PM +0300, Kirill A. Shutemov wrote: On Thu, Apr 03, 2014 at 10:48:44PM +0400, Cyrill Gorcunov wrote: Hi! I've been trying to clean up soft-dirty bit usage. I can't cleanup ridiculous macros in pgtable-2level.h completely because I need to define

Re: 3.0 - 3.10 regression? poweroff instead of reboot?

2014-04-07 Thread Nikola Ciprich
Hi Tomas, yes, I just checked source rpm and it's applied.. here are the dumps: [root@k310test ~]# hexdump -s 0x48 -n 4 /proc/bus/pci/00/16.0 048 a301 3900 04c [root@k310test ~]# hexdump -s 0x40 -n 4 /proc/bus/pci/00/16.0 040 0345 000f

Re: [GIT PULL] please pull file locking changes for 3.15

2014-04-07 Thread Jeff Layton
On Mon, 7 Apr 2014 22:27:02 +1000 Stephen Rothwell s...@canb.auug.org.au wrote: Hi Jeff, On Mon, 7 Apr 2014 07:11:30 -0400 Jeff Layton jlay...@redhat.com wrote: On Mon, 7 Apr 2014 11:37:06 +1000 Stephen Rothwell s...@canb.auug.org.au wrote: On Fri, 4 Apr 2014 20:56:24 -0400 Jeff

Re: bdi: lockdep warning in bdi_queue_work

2014-04-07 Thread Sasha Levin
On 04/07/2014 06:21 AM, Jan Kara wrote: Hello, On Fri 04-04-14 18:06:37, Sasha Levin wrote: While fuzzing with trinity inside a KVM tools guest running the latest -next kernel I've stumbled on the following: [ 323.192041] INFO: trying to register non-static key. [ 323.193083] the code

Re: [PATCH v7 1/6] pci: Introduce pci_register_io_range() helper function.

2014-04-07 Thread Liviu Dudau
On Mon, Apr 07, 2014 at 12:36:15PM +0100, Arnd Bergmann wrote: On Monday 07 April 2014 09:31:20 Liviu Dudau wrote: On Sat, Apr 05, 2014 at 01:19:53AM +0100, Bjorn Helgaas wrote: Host bridges on x86 could have MMIO apertures that turn CPU memory accesses into PCI port accesses. We

Re: [PATCH 3.2 17/18] cifs: ensure that uncached writes handle unmapped areas correctly

2014-04-07 Thread Raphael Geissert
Hi, On 7 April 2014 03:41, Ben Hutchings b...@decadent.org.uk wrote: On Mon, 2014-04-07 at 00:35 +0100, Ben Hutchings wrote: 3.2.57-rc1 review patch. If anyone has any objections, please let me know. [...] --- a/fs/cifs/file.c +++ b/fs/cifs/file.c [...] + /* +

Re: [PATCH] imx-drm: imx-drm-core: Fix imx_drm_encoder_get_mux_id

2014-04-07 Thread Shawn Guo
On Mon, Apr 07, 2014 at 10:22:36AM +0200, Philipp Zabel wrote: The decoder mux id is equal to the port id of the encoder's input port that is connected to the given crtc, not to the endpoint id (which is arbitrary and usually zero). Signed-off-by: Philipp Zabel p.za...@pengutronix.de It

Re: [PATCH] GenWQE: Fix email address and update copyright notice

2014-04-07 Thread Frank Haverkamp
Hi Greg, Am Donnerstag, den 03.04.2014, 11:05 -0700 schrieb Greg KH: On Thu, Apr 03, 2014 at 08:25:27AM +0200, Frank Haverkamp wrote: Updated email address of co-author and updated the copyright notice with the current year. Why update the copyright notice, it doesn't mean anything, as

Re: [RFC PATCH 00/28] ktap: A lightweight dynamic tracing tool for Linux

2014-04-07 Thread Peter Zijlstra
On Wed, Apr 02, 2014 at 09:42:03AM +0200, Ingo Molnar wrote: I'd suggest using C syntax instead initially, because that's what the kernel is using. The overwhelming majority of people probing the kernel are programmers, so there's no point in inventing new syntax, we should reuse

Re: [PATCH 2/2] arm: use fixmap for text patching when text is RO

2014-04-07 Thread Jon Medhurst (Tixy)
On Fri, 2014-04-04 at 23:27 +0200, Rabin Vincent wrote: Use fixmaps for text patching when the kernel text is read-only, inspired by x86. This makes jump labels and kprobes work with the currently available CONFIG_DEBUG_SET_MODULE_RONX and the upcoming CONFIG_DEBUG_RODATA options.

Re: [PATCH] mips: export icache_flush_range

2014-04-07 Thread Paul Gortmaker
On 14-03-22 03:05 PM, Kees Cook wrote: On Sat, Mar 22, 2014 at 9:47 AM, Kees Cook keesc...@chromium.org wrote: The lkdtm module performs tests against executable memory ranges, so it needs to flush the icache for proper behaviors. Other architectures already export this, so do the same for

Re: [PATCH] drivers: mcb: fix memory leak in chameleon_parse_cells() error path

2014-04-07 Thread Johannes Thumshirn
On Fri, Apr 04, 2014 at 09:04:58PM +0200, Christoph Jaeger wrote: chameleon_parse_cells() bails out if chameleon descriptor type is invalid but does not free the storage 'header' points to. Signed-off-by: Christoph Jaeger christophjae...@linux.com --- drivers/mcb/mcb-parse.c | 1 + 1 file

Re: [visorchipset] invalid opcode: 0000 [#1] PREEMPT SMP

2014-04-07 Thread Ken Cox
On 04/07/2014 06:17 AM, Fengguang Wu wrote: Hi Ken, I got the below dmesg and the first bad commit is git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 12e364b9f08aa335dc7716ce74113e834c993765 Author: Ken Cox j...@redhat.com AuthorDate: Tue Mar 4 07:58:07

Re: [visorchipset] invalid opcode: 0000 [#1] PREEMPT SMP

2014-04-07 Thread Greg Kroah-Hartman
On Mon, Apr 07, 2014 at 07:17:25PM +0800, Fengguang Wu wrote: Hi Ken, I got the below dmesg and the first bad commit is git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 12e364b9f08aa335dc7716ce74113e834c993765 Author: Ken Cox j...@redhat.com

Re: [GIT PULL] ext4 changes for 3.15

2014-04-07 Thread Theodore Ts'o
On Mon, Apr 07, 2014 at 03:15:36PM +0200, Miklos Szeredi wrote: Is there anything obvious that I might be doing wrong? I only wired up the syscall for x86_64. Who's responsible for adding all the syscall tables for the various architectures? Ah, and I was testing with i386, not x86_64,

Re: [PATCH v8 01/10] qspinlock: A generic 4-byte queue spinlock implementation

2014-04-07 Thread Peter Zijlstra
On Fri, Apr 04, 2014 at 01:08:16PM -0400, Waiman Long wrote: Peter's patch is a rewrite of my patches 1-4, there is no PV or unfair lock support in there. Yes, because your patches were unreadable and entirely non obvious. And while I appreciate that its not entirely your fault; the subject is

Re: [PATCH] staging: cxt1e1: hwprobe: fix incorrect type in assignment

2014-04-07 Thread Greg KH
On Mon, Apr 07, 2014 at 03:38:27PM +0300, Matei Oprea wrote: Any comments on this ? You got an email from me about this, on the 23rd, saying that I can't do anything with it until 3.15-rc1 is out. thanks, greg k-h -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH 2/3] xfs: Add support FALLOC_FL_INSERT_RANGE for fallocate

2014-04-07 Thread Namjae Jeon
+ +int +xfs_bmap_split_extent( +struct xfs_inode*ip, +xfs_fileoff_t split_fsb, +xfs_extnum_t*split_ext) +{ +struct xfs_mount*mp = ip-i_mount; +struct xfs_trans*tp; +struct xfs_bmap_freefree_list; +

Re: [RFC] w1: fixes and bundling replies

2014-04-07 Thread David Fries
Evgeniy, Could you review this set of patches in this thread? Thanks. On Sat, Mar 22, 2014 at 08:27:44PM -0500, David Fries wrote: On Fri, Feb 21, 2014 at 01:07:28AM +0400, Evgeniy Polyakov wrote: Your approach and patch seem correct, but I worry about how old commands are processed. Do I

Re: [PATCH v8 01/10] qspinlock: A generic 4-byte queue spinlock implementation

2014-04-07 Thread Peter Zijlstra
On Fri, Apr 04, 2014 at 12:57:27PM -0400, Konrad Rzeszutek Wilk wrote: On Fri, Apr 04, 2014 at 03:00:12PM +0200, Peter Zijlstra wrote: So I'm just not ever going to pick up this patch; I spend a week trying to reverse engineer this; I posted a 7 patch series creating the equivalent, but

[PATCH] [RESEND] spi: qup: Depend on ARCH_QCOM

2014-04-07 Thread Paul Bolle
Commit 8fc1b0f87d9f (ARM: qcom: Split Qualcomm support into legacy and multiplatform) removed Kconfig symbol ARCH_MSM_DT. But that commit left one (optional) dependency on ARCH_MSM_DT untouched. Three Kconfig symbols used to depend on ARCH_MSM_DT: ARCH_MSM8X60, ARCH_MSM8960, and ARCH_MSM8974.

1.5 Million Has Been Granted To You

2014-04-07 Thread Adrian Gillian Bayford
1.5 Million Pounds Has been Granted to you send,Name,Country,Mobile to our email .for more visit http://www.bbc.com/news/uk-england-19254228 -- 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

Re: [PATCH v8 01/10] qspinlock: A generic 4-byte queue spinlock implementation

2014-04-07 Thread Peter Zijlstra
On Fri, Apr 04, 2014 at 10:59:09AM -0400, Waiman Long wrote: I am really sorry if you have bad feeling about it. I do not mean to discredit you on your effort to make the qspinlock patch better. I really appreciate your input and would like to work with you on this patch as well as other

Re: ext4 performance falloff

2014-04-07 Thread Jan Kara
On Sat 05-04-14 11:28:17, Daniel J Blueman wrote: On 04/05/2014 04:56 AM, Theodore Ts'o wrote: On Sat, Apr 05, 2014 at 01:00:55AM +0800, Daniel J Blueman wrote: On a larger system 1728 cores/4.5TB memory and 3.13.9, I'm seeing very low 600KB/s cached write performance to a local ext4

Re: [PATCH v7 5/6] pci: Export find_pci_host_bridge() function.

2014-04-07 Thread Liviu Dudau
On Sat, Apr 05, 2014 at 12:39:48AM +0100, Bjorn Helgaas wrote: On Fri, Mar 14, 2014 at 03:34:31PM +, Liviu Dudau wrote: This is a useful function and we should make it visible outside the generic PCI code. Export it as a GPL symbol. Signed-off-by: Liviu Dudau liviu.du...@arm.com

Re: [visorchipset] invalid opcode: 0000 [#1] PREEMPT SMP

2014-04-07 Thread Ken Cox
On 04/07/2014 09:09 AM, Greg Kroah-Hartman wrote: On Mon, Apr 07, 2014 at 07:17:25PM +0800, Fengguang Wu wrote: Hi Ken, I got the below dmesg and the first bad commit is git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 12e364b9f08aa335dc7716ce74113e834c993765

Re: [PATCH] ASoC: dapm: Add support for multi register mux

2014-04-07 Thread Takashi Iwai
At Mon, 07 Apr 2014 14:54:11 +0200, Lars-Peter Clausen wrote: On 04/05/2014 02:12 AM, Arun Shamanna Lakshmi wrote: 1. Modify soc_enum struct to handle pointers for reg and mask 2. Add dapm get and put APIs for multi register one hot encoded mux 3. Update snd_soc_dapm_update struct to

Re: [PATCH v2 1/3] clk: tegra: Fix PLLE programming

2014-04-07 Thread Peter De Schrijver
On Fri, Apr 04, 2014 at 03:55:13PM +0200, Thierry Reding wrote: PLLE has M, N and P divider shift and width parameters that differ from the defaults. Furthermore, when clearing the M, N and P divider fields the corresponding masks were never shifted, thereby clearing only the lowest bits of

[RFC PATCH v2 5/6] uprobes/x86: Emulate rip-relative conditional short jmp's

2014-04-07 Thread Oleg Nesterov
On 04/06, Oleg Nesterov wrote: Incomplete, lacks jcxz. Simple to fix. Anything else? Please see v2 below. Simplify the preprocessor hacks. --- Subject: [RFC PATCH v2 5/6] uprobes/x86: Emulate rip-relative conditional

Re: [PATCH] staging: cxt1e1: hwprobe: fix incorrect type in assignment

2014-04-07 Thread Matei Oprea
Sorry, I thought that it's out. ᐧ On Mon, Apr 7, 2014 at 5:14 PM, Greg KH gre...@linuxfoundation.org wrote: On Mon, Apr 07, 2014 at 03:38:27PM +0300, Matei Oprea wrote: Any comments on this ? You got an email from me about this, on the 23rd, saying that I can't do anything with it until

Re: [RFC PATCH 6/6] uprobes/x86: Emulate rip-relative conditional near jmp's

2014-04-07 Thread Oleg Nesterov
On 04/06, Oleg Nesterov wrote: But I'll try to cleanup this patch... See v2 below. --- Subject: [RFC PATCH v2 6/6] uprobes/x86: Emulate rip-relative conditional near jmp's It seems that 16bit condi jmp is just 0x0f +

Re: [PATCH v8 01/10] qspinlock: A generic 4-byte queue spinlock implementation

2014-04-07 Thread Konrad Rzeszutek Wilk
On Mon, Apr 07, 2014 at 04:12:58PM +0200, Peter Zijlstra wrote: On Fri, Apr 04, 2014 at 12:57:27PM -0400, Konrad Rzeszutek Wilk wrote: On Fri, Apr 04, 2014 at 03:00:12PM +0200, Peter Zijlstra wrote: So I'm just not ever going to pick up this patch; I spend a week trying to reverse

Re: [PATCH v4] ext4: initialize multi-block allocator before checking block descriptors

2014-04-07 Thread Theodore Ts'o
On Sat, Apr 05, 2014 at 07:48:36PM +0400, Azat Khuzhin wrote: With EXT4FS_DEBUG ext4_count_free_clusters() will call ext4_read_block_bitmap() without s_group_info initialized, so we need to initialize multi-block allocator before. And dependencies that must be solved, to allow this: -

Re: [PATCH v7 5/6] pci: Export find_pci_host_bridge() function.

2014-04-07 Thread One Thousand Gnomes
If we *do* export it, I'd like it to have a more conventional name, e.g., something starting with pci_. Understood. pci_find_host_bridge() ? pci_get_host_bridge() and take a reference IMHO ? If your primary bus is not PCI then your PCI host bridge could be hot swappable so the API at least

Re: [PATCH 1/2] mm/compaction: clean up unused code lines

2014-04-07 Thread Vlastimil Babka
On 04/03/2014 10:57 AM, Heesub Shin wrote: This commit removes code lines currently not in use or never called. Signed-off-by: Heesub Shin heesub.s...@samsung.com Cc: Dongjun Shin d.j.s...@samsung.com Cc: Sunghwan Yun sunghwan@samsung.com Acked-by: Vlastimil Babka vba...@suse.cz ---

Re: [PATCH v2 2/2] dma: Add Xilinx AXI Direct Memory Access Engine driver support

2014-04-07 Thread Srikanth Thokala
Hi, Kindly review this driver patch and please let me know if you have any comments. Srikanth On Tue, Apr 1, 2014 at 5:57 PM, Srikanth Thokala stho...@xilinx.com wrote: This is the driver for the AXI Direct Memory Access (AXI DMA) core, which is a soft Xilinx IP core that provides high-

Re: [PATCH] i2c-designware: Mask interrupts during i2c controller enable

2014-04-07 Thread One Thousand Gnomes
I had to check BYT specs about that and I couldn't find if it does posted-writes. Then I would assume it does unless you can find a hardware engineer to sign a statement in blood to that effect 8) Actually the following patch should fix the problem as well. Just move the HW enable to happen

Re: [PATCH] staging: rtl8187se: Fix warning symbol should be static

2014-04-07 Thread Jonas Hahnfeld
Am Montag, den 07.04.2014, 01:34 + schrieb Stefan Lippers-Hollmann: Hi On Sunday 06 April 2014, Josh Triplett wrote: On Sun, Apr 06, 2014 at 05:46:04PM +0200, Jonas Hahnfeld wrote: This patch solves some sparse warnings about symbol [...] was not declared. Should it be static? by

Re: [PATCH 2/2] mm/compaction: fix to initialize free scanner properly

2014-04-07 Thread Vlastimil Babka
On 04/03/2014 10:57 AM, Heesub Shin wrote: Free scanner does not works well on systems having zones which do not span to pageblock-aligned boundary. zone-compact_cached_free_pfn is reset when the migration and free scanner across or compaction restarts. After the reset, if end_pfn of the zone

Re: mm: BUG in do_huge_pmd_wp_page

2014-04-07 Thread Kirill A. Shutemov
On Fri, Apr 04, 2014 at 03:37:20PM -0400, Sasha Levin wrote: And another ping exactly a year later :) I think we could fix this false positive with the patch below (untested), but it's ugly and doesn't add much value. diff --git a/mm/huge_memory.c b/mm/huge_memory.c index

[PATCH RFC] x86:Improve memset with general 64bit instruction

2014-04-07 Thread ling . ma . program
From: Ling Ma ling...@alibaba-inc.com In this patch we manage to reduce miss branch prediction by avoiding using branch instructions and force destination to be aligned with general 64bit instruction. Below compared results shows we improve performance up to 1.8x (We modified test suit from

Re: [PATCH] [RFC] netfilter: ct: flush net_gre-keymap_list only in nf_conntrack_proto_gre

2014-04-07 Thread Pablo Neira Ayuso
On Mon, Mar 31, 2014 at 06:14:18PM +0400, Andrey Vagin wrote: nf_ct_gre_keymap_flush() removes a nf_ct_gre_keymap object from net_gre-keymap_list and frees the object. But it doesn't clean a reference on this object from ct_pptp_info-keymap[dir]. Then nf_ct_gre_keymap_destroy() may release the

Re: [PATCH 2/2] dma: Add Xilinx AXI Central Direct Memory Access Engine driver support

2014-04-07 Thread Srikanth Thokala
Hi, Kindly review this driver and please let me know if you have any comments. Thanks Srikanth On Mon, Mar 31, 2014 at 7:24 PM, Srikanth Thokala stho...@xilinx.com wrote: This is the driver for the AXI Central Direct Memory Access (AXI CDMA) core, which is a soft Xilinx IP core that provides

Re: [PATCH RFC] x86:Improve memset with general 64bit instruction

2014-04-07 Thread Ling Ma
Append test suit after tar, run ./test command please. thanks 2014-04-07 22:50 GMT+08:00, ling.ma.prog...@gmail.com ling.ma.prog...@gmail.com: From: Ling Ma ling...@alibaba-inc.com In this patch we manage to reduce miss branch prediction by avoiding using branch instructions and force

Re: mm: BUG in do_huge_pmd_wp_page

2014-04-07 Thread Sasha Levin
On 04/07/2014 10:48 AM, Kirill A. Shutemov wrote: On Fri, Apr 04, 2014 at 03:37:20PM -0400, Sasha Levin wrote: And another ping exactly a year later :) I think we could fix this false positive with the patch below (untested), but it's ugly and doesn't add much value. I could carry that patch

Re: [PATCH v2] clk: qcom: Add support for IPQ8064's global clock controller (GCC)

2014-04-07 Thread Ivan T. Ivanov
Hi Kumar, On Fri, 2014-04-04 at 15:19 -0500, Kumar Gala wrote: Add a driver for the global clock controller found on IPQ8064 based platforms. This should allow most non-multimedia device drivers to probe and control their clocks. This is currently missing clocks for SATA, USB, and

Re: Bisected KVM hang on x86-32 between v3.12 and v3.13

2014-04-07 Thread Peter Zijlstra
On Sun, Apr 06, 2014 at 05:19:27PM +0200, Michele Ballabio wrote: Toralf Förster reported this in http://article.gmane.org/gmane.linux.kernel/1662567 http://article.gmane.org/gmane.linux.kernel/1658422 http://article.gmane.org/gmane.linux.kernel/1657962 The issue happens here at a

[PATCH v4 00/16] perf, persistent: Add persistent events

2014-04-07 Thread Jean Pihet
Jean Pihet jean.pi...@linaro.org: - In order to restart the discussion on the topic, here is a rebased version of Robert's latest patches (v3) on acme/perf/core. It has been compiled and lightly tested on ARM64. - From the latest discussion on ML the ioctls are renamed from

[PATCH 02/16] perf, mmap: Factor out try_get_event()/put_event()

2014-04-07 Thread Jean Pihet
From: Robert Richter robert.rich...@linaro.org Implement try_get_event() as counter part to put_event(). Put both in internal.h to make it available to other perf files. Signed-off-by: Robert Richter robert.rich...@linaro.org Signed-off-by: Robert Richter r...@kernel.org Signed-off-by: Jean

[PATCH 14/16] perf tools: Modify event parser to update event attribute by index

2014-04-07 Thread Jean Pihet
From: Robert Richter robert.rich...@linaro.org In a later patch we want to introduce a syntax that allows updating attribute fields by an index pointing to a certain u64 entry of struct perf_event_attr. We need this to expose any event via sysfs that is available in the system where especially

[PATCH 11/16] perf, persistent: Dynamically resize list of sysfs entries

2014-04-07 Thread Jean Pihet
From: Robert Richter robert.rich...@linaro.org There was a limitation of the total number of persistent events to be registered in sysfs due to the lack of dynamically list allocation. This patch implements memory reallocation in case an event is added or removed from the list. While at this

[PATCH 16/16] perf tools: Retry mapping buffers readonly on EACCES

2014-04-07 Thread Jean Pihet
From: Robert Richter robert.rich...@linaro.org Persistent event buffers may only be mmapped readonly. Thus, retry mapping it readonly if mmap returns EACCES after trying to mmap writable. [ namhyung: Don't write to readonly mmap'ed buffers. ] Signed-off-by: Robert Richter

Re: [PATCH] i2c-designware: Mask interrupts during i2c controller enable

2014-04-07 Thread Westerberg, Mika
On Mon, Apr 07, 2014 at 03:42:52PM +0100, One Thousand Gnomes wrote: I had to check BYT specs about that and I couldn't find if it does posted-writes. Then I would assume it does unless you can find a hardware engineer to sign a statement in blood to that effect 8) Fair enough.

[PATCH 15/16] perf tools: Add attrnum syntax to event parser

2014-04-07 Thread Jean Pihet
From: Robert Richter robert.rich...@linaro.org The event parser is limited to update only a subset of all fields in struct perf_event_attr (config*, period, branch_type). We are not able to set other attr fields, esp. flags. Introducing a new syntax to set any field of the event attribute by

[PATCH 13/16] perf tools: Rename flex conditions to avoid name conflicts

2014-04-07 Thread Jean Pihet
From: Robert Richter robert.rich...@linaro.org These define's may cause conflicts with other definitions: #define INITIAL 0 #define mem 1 #define config 2 #define event 3 Prefix them with cond_* to avoid this. Signed-off-by: Robert Richter robert.rich...@linaro.org Signed-off-by: Robert

[PATCH 12/16] perf, persistent: ioctl functions to control persistency

2014-04-07 Thread Jean Pihet
From: Robert Richter robert.rich...@linaro.org Implementing ioctl functions to control persistent events. There are functions to unclaim or claim an event to or from a process. The PERF_EVENT_IOC_UNCLAIM ioctl call makes an event persistent. After closing the event's fd it runs then in the

Re: Bisected KVM hang on x86-32 between v3.12 and v3.13

2014-04-07 Thread Peter Zijlstra
On Mon, Apr 07, 2014 at 05:03:37PM +0200, Peter Zijlstra wrote: So what I suspect at this point is that because i386 and x86_64 have a difference in current_thread_info() (i386 is stack based), we end up setting the TIF_NEED_RESCHED bit on the wrong stack. Now I have some vague memories of

[PATCH 06/16] mce, x86: Enable persistent events

2014-04-07 Thread Jean Pihet
From: Borislav Petkov b...@suse.de ... for MCEs collection. Signed-off-by: Borislav Petkov b...@suse.de [ rric: Fix build error for no-tracepoints configs ] [ rric: Return proper error code. ] [ rric: No error message if perf is disabled. ] Signed-off-by: Robert Richter r...@kernel.org ---

[PATCH 08/16] perf, persistent: Exposing persistent events using sysfs

2014-04-07 Thread Jean Pihet
From: Robert Richter robert.rich...@linaro.org Expose persistent events in the system to userland using sysfs. Perf tools are able to read existing pmu events from sysfs. Now we use a persistent pmu as an event container containing all registered persistent events of the system. This patch adds

[PATCH 09/16] perf, persistent: Use unique event ids

2014-04-07 Thread Jean Pihet
From: Robert Richter robert.rich...@linaro.org Tracepoints have a unique attr.config value. But, this is not sufficient to support all event types. For this we need to generate unique event ids. Signed-off-by: Robert Richter robert.rich...@linaro.org Signed-off-by: Robert Richter r...@kernel.org

[PATCH 10/16] perf, persistent: Implement reference counter for events

2014-04-07 Thread Jean Pihet
From: Robert Richter robert.rich...@linaro.org We need this later for proper event removal. Signed-off-by: Robert Richter robert.rich...@linaro.org Signed-off-by: Robert Richter r...@kernel.org Signed-off-by: Jean Pihet jean.pi...@linaro.org --- kernel/events/persistent.c | 27

[PATCH 07/16] perf, persistent: Implementing a persistent pmu

2014-04-07 Thread Jean Pihet
From: Robert Richter robert.rich...@linaro.org We want to use the kernel's pmu design to later expose persistent events via sysfs to userland. Initially implement a persistent pmu. The format syntax is introduced allowing to set bits anywhere in struct perf_event_attr. This is used in this case

Re: [PATCH v2] clk: qcom: Add support for IPQ8064's global clock controller (GCC)

2014-04-07 Thread Kumar Gala
On Apr 7, 2014, at 10:01 AM, Ivan T. Ivanov iiva...@mm-sol.com wrote: Hi Kumar, On Fri, 2014-04-04 at 15:19 -0500, Kumar Gala wrote: Add a driver for the global clock controller found on IPQ8064 based platforms. This should allow most non-multimedia device drivers to probe and control

[PATCH 05/16] perf: Add persistent events

2014-04-07 Thread Jean Pihet
From: Robert Richter robert.rich...@linaro.org Add the needed pieces for persistent events which makes them process-agnostic. Also, make their buffers read-only when mmaping them from userspace. Add a barebones implementation for registering persistent events with perf. For that, we don't

[PATCH 04/16] perf, mmap: Factor out perf_get_fd()

2014-04-07 Thread Jean Pihet
From: Robert Richter robert.rich...@linaro.org This new function creates a new fd for an event. We need this later to get a fd from a persistent event. Signed-off-by: Robert Richter robert.rich...@linaro.org Signed-off-by: Robert Richter r...@kernel.org Signed-off-by: Jean Pihet

[PATCH 03/16] perf, mmap: Factor out perf_alloc/free_rb()

2014-04-07 Thread Jean Pihet
From: Robert Richter robert.rich...@linaro.org Factor out code to allocate and deallocate ringbuffers. We need this later to setup the sampling buffer for persistent events. While at this, replacing get_current_user() with get_uid(user). Signed-off-by: Robert Richter robert.rich...@linaro.org

[PATCH 2/3] x86: Define _PAGE_NUMA with unused physical address bits PMD and PTE levels

2014-04-07 Thread Mel Gorman
_PAGE_NUMA is currently an alias of _PROT_PROTNONE to trap NUMA hinting faults. As the bit is shared care is taken that _PAGE_NUMA is only used in places where _PAGE_PROTNONE could not reach but this still causes problems on Xen and conceptually difficult. Fundamentally, we only need the

[RFC PATCH 0/3] Use an alternative to _PAGE_PROTNONE for _PAGE_NUMA

2014-04-07 Thread Mel Gorman
Aliasing _PAGE_NUMA and _PAGE_PROTNONE had some convenient properties but it ultimately gave Xen a headache and pisses almost everybody off that looks closely at it. Two discussions on why this makes sense is one discussion too many so rather than having a third there is this series. Conceptually

[PATCH 1/3] x86: Require x86-64 for automatic NUMA balancing

2014-04-07 Thread Mel Gorman
Automatic NUMA balancing currently depends on reusing the PROT_NONE bit which has caused problems on Xen. In preparation for using one of the unused physical address bits this patch requires x86-64 for automatic NUMA balancing. 32-bit support for NUMA on x86 is no longer interesting and the loss

[PATCH 3/3] mm: Allow FOLL_NUMA on FOLL_FORCE

2014-04-07 Thread Mel Gorman
As _PAGE_NUMA is no longer aliased to _PAGE_PROTNONE there should be no confusion between them. It should be possible to kick away the special casing in __get_user_pages. Signed-off-by: Mel Gorman mgor...@suse.de --- mm/memory.c | 12 1 file changed, 12 deletions(-) diff --git

[PATCH 01/16] perf, mmap: Factor out ring_buffer_detach_all()

2014-04-07 Thread Jean Pihet
From: Robert Richter robert.rich...@linaro.org Factor out a function to detach all events from a ringbuffer. No functional changes. Signed-off-by: Robert Richter robert.rich...@linaro.org Signed-off-by: Robert Richter r...@kernel.org Signed-off-by: Jean Pihet jean.pi...@linaro.org ---

Re: [RFC] QR encoding for Oops messages

2014-04-07 Thread Jason Cooper
On Sat, Apr 05, 2014 at 11:11:02AM +0200, Levente Kurusa wrote: Or, we could use core_param and simply have 'oops_qr' or 'qr_oops'. In my humble opinion the latter sounds better. Ack. My original suggestion was focused on 0=disable, 0 is scale. I literally pulled the name from my

Re: [PATCH v2] clk: qcom: Add support for IPQ8064's global clock controller (GCC)

2014-04-07 Thread Ivan T. Ivanov
On Mon, 2014-04-07 at 10:10 -0500, Kumar Gala wrote: On Apr 7, 2014, at 10:01 AM, Ivan T. Ivanov iiva...@mm-sol.com wrote: Hi Kumar, snip --- /dev/null +++ b/drivers/clk/qcom/gcc-ipq806x.c @@ -0,0 +1,1957 @@ +/* snip +#include dt-bindings/clock/qcom,gcc-ipq806x.h +#include

Re: [PATCH 2/3] x86: Define _PAGE_NUMA with unused physical address bits PMD and PTE levels

2014-04-07 Thread David Vrabel
On 07/04/14 16:10, Mel Gorman wrote: _PAGE_NUMA is currently an alias of _PROT_PROTNONE to trap NUMA hinting faults. As the bit is shared care is taken that _PAGE_NUMA is only used in places where _PAGE_PROTNONE could not reach but this still causes problems on Xen and conceptually difficult.

[PATCH] sched: remove sleep_on() and friends

2014-04-07 Thread Arnd Bergmann
This is the final piece in the puzzle, as all patches to remove the last users of \(interruptible_\|\)sleep_on\(_timeout\|\) have made it into the 3.15 merge window. The work was long overdue, and this interface in particular should not have survived the BKL removal that was done a couple of years

Re: cscope: issue with symlinks in tools/testing/selftests/powerpc/copyloops/

2014-04-07 Thread Neil Horman
On Mon, Apr 07, 2014 at 02:42:59PM +0200, Gerhard Sittig wrote: On Mon, 2014-04-07 at 06:42 -0400, Neil Horman wrote: On Thu, Apr 03, 2014 at 03:16:15PM +0200, Yann Droneaud wrote: [ ... ] cscope reports error when generating the cross-reference database: $ make

[PATCH] KVM: x86: Fix CR3 and LDT sel should not be saved in TSS

2014-04-07 Thread Nadav Amit
According to Intel specifications, only general purpose registers and segment selectors should are saved in the old TSS during 32-bit task-switch. Signed-off-by: Nadav Amit na...@cs.technion.ac.il --- arch/x86/kvm/emulate.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff

Re: [PATCH v2 2/5] ARM: zynq: dt: Convert to preprocessor includes

2014-04-07 Thread Sören Brinkmann
On Mon, 2014-04-07 at 02:17PM +0200, Mike Looijmans wrote: On 04/07/2014 07:58 AM, Michal Simek wrote: Hi Soren, On 04/05/2014 01:14 AM, Soren Brinkmann wrote: Convert all Zynq DT files to the dtc preprocessor include syntax. This allows to include header files in the devicetrees like other

RE: [PATCH 1/1] x86/platform/hyperv: When on Hyper-v use NULL legacy PIC

2014-04-07 Thread KY Srinivasan
-Original Message- From: Olaf Hering [mailto:o...@aepfle.de] Sent: Monday, April 7, 2014 12:06 AM To: KY Srinivasan Cc: x...@kernel.org; linux-kernel@vger.kernel.org; a...@canonical.com; jasow...@redhat.com; h...@zytor.com; sta...@vger.kernel.org Subject: Re: [PATCH 1/1]

Re: [tip:x86/reboot] [PATCH] x86: Try the BIOS reboot method before the PCI reboot method

2014-04-07 Thread Steven Rostedt
On Fri, 4 Apr 2014 10:00:07 +0200 Ingo Molnar mi...@kernel.org wrote: * tip-bot for Ingo Molnar tip...@zytor.com wrote: Commit-ID: d122ab8d224a59aa0c3e4ba3540c6ab99556c3e3 Gitweb: http://git.kernel.org/tip/d122ab8d224a59aa0c3e4ba3540c6ab99556c3e3 Author: Ingo Molnar

Re: [PATCH 2/3] x86: Define _PAGE_NUMA with unused physical address bits PMD and PTE levels

2014-04-07 Thread Mel Gorman
On Mon, Apr 07, 2014 at 04:32:39PM +0100, David Vrabel wrote: On 07/04/14 16:10, Mel Gorman wrote: _PAGE_NUMA is currently an alias of _PROT_PROTNONE to trap NUMA hinting faults. As the bit is shared care is taken that _PAGE_NUMA is only used in places where _PAGE_PROTNONE could not reach

[PATCH v4 2/5] ARM: ep93xx: Enable DEBUG_LL_UART_PL01X

2014-04-07 Thread Daniel Thompson
This defconfig already enables DEBUG_LL and by default DEBUG_LL_UART_NONE will be selected (but due to some back compability magic I'd like to remove is not actually honoured). DEBUG_LL_UART_PL01X is a much saner default. Signed-off-by: Daniel Thompson daniel.thomp...@linaro.org ---

[PATCH v4 0/5] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X)

2014-04-07 Thread Daniel Thompson
This patchset removes some single-platform compatibility tricks related to DEBUG_LL and, as a result, allows multi_v7_defconfig derived builds to enable DEBUG_LL without forcing the selection of the PL01X implementation. - Tidy a couple of existing defconfig's so they continue to issue DEBUG_LL

[PATCH v4 1/5] ARM: versatile: Enable DEBUG_LL_UART_PL01X

2014-04-07 Thread Daniel Thompson
This defconfig already enables DEBUG_LL and by default DEBUG_LL_UART_NONE will be selected (but due to some back compability magic I'd like to remove is not actually honoured). DEBUG_LL_UART_PL01X is a much saner default. Signed-off-by: Daniel Thompson daniel.thomp...@linaro.org ---

[PATCH v4 3/5] ARM: Conceal DEBUG_LL_UART_NONE from unsupported platforms

2014-04-07 Thread Daniel Thompson
Only a small handful of platforms support DEBUG_LL_UART_NONE but it lurks in the menus of every single platform config ready to break the build. This is an especial problem for defconfigs since it is often selected by default. This patch limit this choice only to platforms capable of supporting

[PATCH v4 5/5] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X)

2014-04-07 Thread Daniel Thompson
When building a multi_v7_defconfig kernel it is not possible to configure DEBUG_LL to use any serial device except a ARM Primecell PL01X, or more accurately and worse, it is possible to configure a different serial device but KConfig does not honour this request. In fact this also overrides the

[PATCH v4 4/5] arm: Seperate DEBUG_UART_PHYS from DEBUG_LL on EP93XX

2014-04-07 Thread Daniel Thompson
On EP93XX uncompress.h uses CONFIG_DEBUG_UART_PHYS instead of a hard coded serial port. This means the build breaks when DEBUG_LL (and DEBUG_LL_UART_PL01X) is not enabled. This is fixed by adding a new dependancy. Signed-off-by: Daniel Thompson daniel.thomp...@linaro.org --- Notes: Having

Re: [RFC/PATCH] mtd: ubi: Free peb's synchronously for fastmap

2014-04-07 Thread Tanya Brokhman
On 4/7/2014 4:02 PM, Richard Weinberger wrote: On Tue, Apr 1, 2014 at 10:01 AM, Tanya Brokhman tlin...@codeaurora.org wrote: At first mount it's possible that there are not enough free PEBs since there are PEB's pending to be erased. In such scenario, fm_pool (which is the pool from which user

Re: [PATCH 2/3] x86: Define _PAGE_NUMA with unused physical address bits PMD and PTE levels

2014-04-07 Thread Cyrill Gorcunov
On Mon, Apr 07, 2014 at 04:49:35PM +0100, Mel Gorman wrote: On Mon, Apr 07, 2014 at 04:32:39PM +0100, David Vrabel wrote: On 07/04/14 16:10, Mel Gorman wrote: _PAGE_NUMA is currently an alias of _PROT_PROTNONE to trap NUMA hinting faults. As the bit is shared care is taken that _PAGE_NUMA

Re: [PATCH] drivers: mcb: fix memory leak in chameleon_parse_cells() error path

2014-04-07 Thread Greg Kroah-Hartman
On Mon, Apr 07, 2014 at 04:02:06PM +0200, Johannes Thumshirn wrote: On Fri, Apr 04, 2014 at 09:04:58PM +0200, Christoph Jaeger wrote: chameleon_parse_cells() bails out if chameleon descriptor type is invalid but does not free the storage 'header' points to. Signed-off-by: Christoph Jaeger

Re: [PATCH] arm64: Add missing Kconfig for CONFIG_STRICT_DEVMEM

2014-04-07 Thread Catalin Marinas
On Sat, Apr 05, 2014 at 01:30:50AM +0100, Laura Abbott wrote: The Kconfig for CONFIG_STRICT_DEVMEM is missing despite being used in mmap.c. Add it. Signed-off-by: Laura Abbott lau...@codeaurora.org Thanks. Applied. -- Catalin -- To unsubscribe from this list: send the line unsubscribe

<    2   3   4   5   6   7   8   9   10   >