Re: [PATCH 2/3] NILFS2: support NFSv2 export

2015-05-11 Thread NeilBrown
On Mon, 11 May 2015 01:31:43 +0900 (JST) Ryusuke Konishi wrote: > On Fri, 08 May 2015 10:16:23 +1000, NeilBrown wrote: > > The "fh_len" passed to ->fh_to_* is not guaranteed to be that same as > > that returned by encode_fh - it may be larger. > > > > With NFSv2, the filehandle is fixed length,

linux-next: Tree for May 11

2015-05-11 Thread Stephen Rothwell
Hi all, Changes since 20150508: The ext4 tree lost its build failure. The vfs tree gained conflicts against the ext4 and f2fs trees. The wireless-drivers-next tree gained conflicts against the net-next tree. The drm tree gained a conflict againste Linus' tree. The tty tree gained a build fail

Re: [v2 2/5] arm64: kdump: implement machine_crash_shutdown()

2015-05-11 Thread AKASHI Takahiro
On 04/24/2015 07:39 PM, Mark Rutland wrote: On Fri, Apr 24, 2015 at 08:53:05AM +0100, AKASHI Takahiro wrote: kdump calls machine_crash_shutdown() to shut down non-boot cpus and save per-cpu general-purpose registers before restarting the crash dump kernel. See kernel_kexec(). ipi_cpu_stop() is u

Re: [PATCH] sched: Introduce TASK_NOLOAD and TASK_IDLE

2015-05-11 Thread NeilBrown
On Sat, 9 May 2015 11:49:01 +0300 (EEST) Julian Anastasov wrote: > > Hello, > > On Fri, 8 May 2015, Peter Zijlstra wrote: > > > Subject: sched: Introduce TASK_NOLOAD and TASK_IDLE > > From: Peter Zijlstra > > Date: Fri May 8 14:23:45 CEST 2015 > > > > Currently people use TASK_INTERRUP

Re: [PATCH RESEND] mtrr:Remove unnessary included header for the file,main.c

2015-05-11 Thread Ingo Molnar
* Nicholas Krause wrote: > Removes the no longer needed include statement to include the > header file,linux/types.h due to the header file,kvm_para.h > no needing this secondary header in order to build successfully > when being included in other files. > > Signed-off-by: Nicholas Krause > --

Re: [PATCH v3 1/4] fs: kiocb: introduce IOCB_DONT_DIRTY_PAGE flag for direct IO

2015-05-11 Thread Christoph Hellwig
On Thu, May 07, 2015 at 08:12:31PM +0800, Ming Lei wrote: > In case of loop, it is quite specific about dirtying READ pages in > direct IO because fs over loop has considered dirtying these pages > already. > > For other cases of ITER_BVEC or ITER_KVEC, if the page is > anonymous or mapped, dirtyi

Re: [PATCH v3 3/4] block: loop: use kthread_work

2015-05-11 Thread Christoph Hellwig
On Thu, May 07, 2015 at 06:32:03PM +0800, Ming Lei wrote: > > I can't really parse this, what's the specific advantage here? > > Patch 4's commit log provides the test data. > > >From the data, it is observed that one thread is enough to get > similar throughput with previous one which submits IO

Re: [PATCHv3 00/10] add 842 hw compression for PowerNV platform

2015-05-11 Thread Herbert Xu
On Thu, May 07, 2015 at 01:49:11PM -0400, Dan Streetman wrote: > > v3 changes the sw and hw crypto drivers to use the same alg name "842", > and different driver names, "842-generic" and "842-nx" All applied. Thanks a lot! -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP

Re: [PATCH 2/6] pinctrl: sunxi: add allwinner A33 PIO controller support

2015-05-11 Thread Paul Bolle
On Sun, 2015-05-10 at 12:16 +0530, Vishnu Patekar wrote: > --- a/drivers/pinctrl/sunxi/Kconfig > +++ b/drivers/pinctrl/sunxi/Kconfig > + (Unneeded white line.) > +config PINCTRL_SUN8I_A33 > + def_bool MACH_SUN8I > + select PINCTRL_SUNXI_COMMON > --- a/drivers/pinctrl/sunxi/Makefile > ++

Re: [PATCH 2/2 v4] x86/earlyprintk: setup earlyprintk as early as possible

2015-05-11 Thread Andy Shevchenko
On Mon, 2015-05-11 at 01:14 +0600, Alexander Kuleshov wrote: > As setup_early_printk passed to the early_param, it will be usable only after > 'parse_early_param' function will be called from the 'setup_arch'. So we have > earlyprintk during early boot and decompression. Next point after > decompr

Re: rtc: mc13xxx: fix obfuscated and wrong format string

2015-05-11 Thread Alexandre Belloni
On 20/02/2015 at 14:47:30 +0100, Rasmus Villemoes wrote : > According to C99, %2.s means 'print two spaces' (a precision of > . without following digits or * means 0). The kernel's printf > implementation, however, treats that case as if no precision was > given, but relying on that quirk is rather

Re: [PATCH 0/2] x86/earlyprintk: setup earlyprintk as early as possible

2015-05-11 Thread Andy Shevchenko
On Mon, 2015-05-11 at 01:13 +0600, Alexander Kuleshov wrote: > As setup_early_printk passed to the early_param, it will be usable only after > 'parse_early_param' function will be called from the 'setup_arch'. So we have > earlyprintk during early boot and decompression. Next point after > decompr

Re: [PATCH v5 1/5] random: Async and sync API for accessing nonblocking_pool

2015-05-11 Thread Stephan Mueller
Am Montag, 11. Mai 2015, 14:57:14 schrieb Herbert Xu: Hi Herbert, > >There are two problems with this patch: > >1) The interface is way too complicated for a once off wait used >only during boot. Really there is no need for cancellations. I will remove that in the next installment. But that mean

Re: [PATCH v2] clocksource: exynos_mct: fix for sleeping in atomic ctx handling cpu hotplug notif.

2015-05-11 Thread Daniel Lezcano
On 05/11/2015 03:33 AM, Krzysztof Kozlowski wrote: 2015-03-12 18:11 GMT+09:00 Damian Eppel : This is to fix an issue of sleeping in atomic context when processing hotplug notifications in Exynos MCT(Multi-Core Timer). The issue was reproducible on Exynos 3250 (Rinato board) and Exynos 5420 (Arnd

Re: [PATCH RFC] vfs: add a O_NOMTIME flag

2015-05-11 Thread Dave Chinner
On Sun, May 10, 2015 at 07:13:24PM -0400, Trond Myklebust wrote: > On Fri, May 8, 2015 at 6:24 PM, Sage Weil wrote: > > I'm sure you realize what we're try to achieve is the same "invisible IO" > > that the XFS open by handle ioctls do by default. Would you be more > > comfortable if this option

Re: [PATCH v6 0/4] Add initial configfs support for IIO

2015-05-11 Thread Daniel Baluta
On Fri, May 8, 2015 at 9:41 PM, Jonathan Cameron wrote: > On 08/05/15 09:33, Daniel Baluta wrote: >> This patchset introduces IIO software triggers, offers a way of configuring >> them via configfs and adds the IIO hrtimer based interrupt source to be used >> with software triggers. >> >> The arhi

[PATCH 0/2 v2] mmc: cast to avoid unexpected error

2015-05-11 Thread Kuninori Morimoto
Hi Ulf These are v2 of mmc data cast patches which were posted in Subject: [PATCH 0/2][RFC] mmc: cast to avoid unexpected error Date: Wed, 8 Apr 2015 07:32:35 + These 2 patches adds cast to avoid unexpected error. It tries copy to u64 without cast. The data will be 0xfff... if last bit was 1.

[PATCH 1/2 v2] mmc: cast u8 to unsigned long long to avoid unexpected error

2015-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto card->ext_csd.enhanced_area_offset is defined as "unsigned long long", and, ext_csd[] is defined as u8. unsigned long long data might have strange data if first bit of ext_csd[] was 1. this patch cast it to (unsigned long long) Special thanks to coverity

[PATCH 2/2 v2] mmc: cast unsigned int to typeof(sector_t) to avoid unexpected error

2015-05-11 Thread Kuninori Morimoto
From: Kuninori Morimoto card->csd.capacity is defined as "unsigned int", and sector_t is defined as "u64" or "unsigned long" (depends on CONFIG_LBDAF). Thus, sector_t data might have strange data (see below). This patch cast it to typeof(sector_t) Special thanks to coverity

Re: [PATCH 3.19 016/175] ksoftirqd: Enable IRQs and call cond_resched() before poking RCU

2015-05-11 Thread Michal Kubecek
On Sat, May 02, 2015 at 05:14:50AM +0200, Mike Galbraith wrote: > On Fri, 2015-05-01 at 22:52 +0200, Greg Kroah-Hartman wrote: > > On Fri, May 01, 2015 at 03:00:00PM -0500, Josh Hunt wrote: > > > On Wed, Mar 4, 2015 at 12:13 AM, Greg Kroah-Hartman > > > wrote: > > > > 3.19-stable review patch. If

Re: [v2 1/5] arm64: kdump: reserve memory for crash dump kernel

2015-05-11 Thread AKASHI Takahiro
Hi Baoquan, On 04/28/2015 06:19 PM, Baoquan He wrote: +#ifdef CONFIG_CRASH_DUMP +/* + * reserve_elfcorehdr() - reserves memory for elf core header + * + * This function reserves memory area given in "elfcorehdr=" kernel command + * line parameter. The memory reserved is used by a dump capture ke

locking/pvqspinlock, x86: undefined CONFIG_QUEUED_SPINLOCKS

2015-05-11 Thread Valentin Rothberg
Hi Peter, your commit f233f7f1581e ("locking/pvqspinlock, x86: Implement the paravirt qspinlock call patching") is in today's linux-next tree (i.e., next-20150511). The two #ifdef blocks listed below cannot be compiled at the current state since CONFIG_QUEUED_SPINLOCKS does n

Re: [net-next PATCH v3 1/4] devicetree: Add compatible string for Zynq Ultrascale+ MPSoC

2015-05-11 Thread Nicolas Ferre
Le 06/05/2015 18:57, Harini Katakam a écrit : > Add "cdns,zynqmp-gem" to be used for Zynq Ultrascale+ MPSoC. > > Signed-off-by: Harini Katakam > Reviewed-by: Punnaiah Choudary Kalluri I know it's too late, but for the record: Acked-by: Nicolas Ferre Thanks for having re-spinned this series Ha

RE: [PATCH] mtd: fix: avoid race condition when accessing mtd->usecount

2015-05-11 Thread Cantavenera, Giuseppe (EXT-Other - DE/Ulm)
> -Original Message- > From: ext Brian Norris [mailto:computersforpe...@gmail.com] > Sent: Friday, May 08, 2015 2:27 AM > To: Cantavenera, Giuseppe (EXT-Other - DE/Ulm) > Cc: linux-...@lists.infradead.org; Restelli, Lorenzo (EXT-Other - > DE/Ulm); dw...@infradead.org; sta...@vger.kernel.org

Re: [PATCH v2] staging: unisys: remove unused functions

2015-05-11 Thread Sudip Mukherjee
On Sun, May 10, 2015 at 03:01:30PM +0200, Greg Kroah-Hartman wrote: > On Fri, May 08, 2015 at 01:06:19PM +0530, Sudip Mukherjee wrote: > > these functions were just defined and never used. after removing the > > functions the variable visorchipset_cache_buffers_in_use is becoming > > unused, so rem

Re: [PATCH V3] powerpc/thp: Serialize pmd clear against a linux page table walk.

2015-05-11 Thread Kirill A. Shutemov
On Mon, May 11, 2015 at 11:56:01AM +0530, Aneesh Kumar K.V wrote: > Serialize against find_linux_pte_or_hugepte which does lock-less > lookup in page tables with local interrupts disabled. For huge pages > it casts pmd_t to pte_t. Since format of pte_t is different from > pmd_t we want to prevent t

Re: [RFC PATCH] PM, freezer: Don't thaw when it's intended frozen processes

2015-05-11 Thread Kyungmin Park
On Mon, May 11, 2015 at 1:28 PM, Kyungmin Park wrote: > On Sat, May 9, 2015 at 12:25 AM, Tejun Heo wrote: >> Hello, Kyungmin. >> >> On Fri, May 08, 2015 at 09:04:26AM +0900, Kyungmin Park wrote: >>> > I need to think more about it but as an *optimization* we can add >>> > freezing() test before a

Re: [v2 4/5] arm64: add kdump support

2015-05-11 Thread Dave Young
On 05/08/15 at 08:19pm, Dave Young wrote: > Hi, > > On 04/24/15 at 04:53pm, AKASHI Takahiro wrote: > > Please read the following commits for arm64-specific constraints: > > arm64: kdump: reserve memory for crash dump kernel > > arm64: kdump: do not go into EL2 before starting a crash dump

[RFC] rmap: fix "race" between do_wp_page and shrink_active_list

2015-05-11 Thread Vladimir Davydov
Hi, I've been arguing with Minchan for a while about whether store-tearing is possible while setting page->mapping in __page_set_anon_rmap and friends, see http://thread.gmane.org/gmane.linux.kernel.mm/131949/focus=132132 This patch is intended to draw attention to this discussion. It fixes a

[GIT PULL] RAS queue for 4.2

2015-05-11 Thread Borislav Petkov
Hi Ingo, please pull, thanks. --- The following changes since commit 5ebe6afaf0057ac3eaeb98defd5456894b446d22: Linux 4.1-rc2 (2015-05-03 19:22:23 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git tags/ras_for_4.2 for you to fetch chan

Re: [PATCH 3.19 016/175] ksoftirqd: Enable IRQs and call cond_resched() before poking RCU

2015-05-11 Thread Jiri Slaby
On 05/11/2015, 09:37 AM, Michal Kubecek wrote: > On Sat, May 02, 2015 at 05:14:50AM +0200, Mike Galbraith wrote: >> On Fri, 2015-05-01 at 22:52 +0200, Greg Kroah-Hartman wrote: >>> On Fri, May 01, 2015 at 03:00:00PM -0500, Josh Hunt wrote: On Wed, Mar 4, 2015 at 12:13 AM, Greg Kroah-Hartman >>

Re: [v2 1/5] arm64: kdump: reserve memory for crash dump kernel

2015-05-11 Thread Baoquan He
On 05/11/15 at 04:38pm, AKASHI Takahiro wrote: > Hi Baoquan, > > On 04/28/2015 06:19 PM, Baoquan He wrote: > >>+#ifdef CONFIG_CRASH_DUMP > >>+/* > >>+ * reserve_elfcorehdr() - reserves memory for elf core header > >>+ * > >>+ * This function reserves memory area given in "elfcorehdr=" kernel comma

Re: [Intel-gfx] Commit 0e32b39c ("drm/i915: add DP 1.2 MST support (v0.7)") breaking DP audio on T440s

2015-05-11 Thread Jani Nikula
On Fri, 08 May 2015, Paul Moore wrote: > On Fri, Mar 13, 2015 at 11:19 PM, Paul Moore wrote: >> Ever since v3.17 I've had a problem with displayport audio on my >> system, but until lately I haven't had a chance to bisect the problem. >> After a few rounds I've isolated the buggy commit to 0e32b3

Re: [v2 4/5] arm64: add kdump support

2015-05-11 Thread AKASHI Takahiro
Dave, On 05/11/2015 04:47 PM, Dave Young wrote: On 05/08/15 at 08:19pm, Dave Young wrote: Hi, On 04/24/15 at 04:53pm, AKASHI Takahiro wrote: Please read the following commits for arm64-specific constraints: arm64: kdump: reserve memory for crash dump kernel arm64: kdump: do not go i

Re: [Intel-gfx] Commit 0e32b39c ("drm/i915: add DP 1.2 MST support (v0.7)") breaking DP audio on T440s

2015-05-11 Thread Jani Nikula
On Mon, 11 May 2015, Jani Nikula wrote: > On Fri, 08 May 2015, Paul Moore wrote: >> On Fri, Mar 13, 2015 at 11:19 PM, Paul Moore wrote: >>> Ever since v3.17 I've had a problem with displayport audio on my >>> system, but until lately I haven't had a chance to bisect the problem. >>> After a few

Re: [PATCH v3 2/4] PM / Hibernate: prepare for SANITIZE_FREED_PAGES

2015-05-11 Thread Anisse Astier
Hi Pavel, Thanks a lot for taking the time to review this. On Sat, May 9, 2015 at 5:44 PM, Pavel Machek wrote: >> +#ifdef CONFIG_SANITIZE_FREED_PAGES >> + clear_free_pages(); >> + printk(KERN_INFO "PM: free pages cleared after restore\n"); >> +#endif >> + } >> p

staging: unisys:

2015-05-11 Thread Valentin Rothberg
Hi Erik, your commit 53490b545cb0 ("staging: unisys: move periodic_work.c into the visorbus directory") is in today's linux-next tree (i.e., next-20150511). The commit removes the Kconfig option UNISYS_VISORUTIL but leaves one select untouched turning it into a nop, see: drivers

Re: [PATCH V3] mm/thp: Split out pmd collpase flush into a separate functions

2015-05-11 Thread Kirill A. Shutemov
On Mon, May 11, 2015 at 12:09:30PM +0530, Aneesh Kumar K.V wrote: > Architectures like ppc64 [1] need to do special things while clearing > pmd before a collapse. For them this operation is largely different > from a normal hugepage pte clear. Hence add a separate function > to clear pmd before col

Re: [Intel-gfx] Commit 0e32b39c ("drm/i915: add DP 1.2 MST support (v0.7)") breaking DP audio on T440s

2015-05-11 Thread David Airlie
- Original Message - > From: "Jani Nikula" > To: "Paul Moore" , "Dave Airlie" , > intel-...@lists.freedesktop.org > Cc: "Daniel Gultsch" , linux-kernel@vger.kernel.org > Sent: Monday, 11 May, 2015 6:01:49 PM > Subject: Re: [Intel-gfx] Commit 0e32b39c ("drm/i915: add DP 1.2 MST support

Re: [RESEND PATCH] Smack: ignore private inode for smack_file_receive

2015-05-11 Thread Seung-Woo Kim
Ping? On 2015년 04월 17일 15:25, Seung-Woo Kim wrote: > The dmabuf fd can be shared between processes via unix domain > socket. The file of dmabuf fd is came from anon_inode. The inode > has no set and get xattr operations, so it can not be shared > between processes with smack. This patch fixes just

Re: [PATCH 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-05-11 Thread Chen-Yu Tsai
On Sat, May 9, 2015 at 7:44 PM, Maxime Ripard wrote: > On Wed, May 06, 2015 at 10:47:33PM +0200, Jens Kuske wrote: >> >> + * You should have received a copy of the GNU General Public >> >> + * License along with this file; if not, write to the Free >> >> + * Software Foundation, Inc.,

Re: [PATCH 1/3] BTRFS: support NFSv2 export

2015-05-11 Thread David Sterba
On Fri, May 08, 2015 at 10:16:23AM +1000, NeilBrown wrote: > The "fh_len" passed to ->fh_to_* is not guaranteed to be that same as > that returned by encode_fh - it may be larger. > > With NFSv2, the filehandle is fixed length, so it may appear longer > than expected and be zero-padded. > > So we

Re: [PATCH v5 1/2] sysfs: added sysfs_link_entry_to_kobj()

2015-05-11 Thread Jarkko Sakkinen
On Sun, May 10, 2015 at 04:11:54PM +0200, Greg Kroah-Hartman wrote: > On Wed, May 06, 2015 at 09:00:19AM +0300, Jarkko Sakkinen wrote: > > On Mon, May 04, 2015 at 09:42:25AM +0200, Greg Kroah-Hartman wrote: > > > On Mon, May 04, 2015 at 09:57:13AM +0300, Jarkko Sakkinen wrote: > > > > On Sun, 2015-

[PATCH] x86/kaslr: Fix typo in KASLR_FLAG documentation

2015-05-11 Thread Borislav Petkov
From: Miroslav Benes Documentation/x86/boot.txt labels the bit in boot_params.hdr.loadflags as ALSR_FLAG while it should be KASLR_FLAG. Signed-off-by: Miroslav Benes Cc: H. Peter Anvin Cc: Thomas Gleixner Cc: Jiri Kosina Cc: cor...@lwn.net Link: http://lkml.kernel.org/r/1429011324-7170-1-git

[0/8] tip queue 2015-05-11

2015-05-11 Thread Borislav Petkov
From: Borislav Petkov Hi Ingo, 8 patches this time. 2015-05-11/ ├── cleanups │ └── 0001-x86-kaslr-Fix-typo-in-KASLR_FLAG-documentation.patch ├── cpu │ └── 0001-x86-alternatives-Switch-AMD-F15h-and-later-to-the-P6.patch ├── microcode │ └── 0001-x86-cpu-microcode-Zap-changelog.patch ├── mm

[PATCH] x86/cpu/microcode: Zap changelog

2015-05-11 Thread Borislav Petkov
From: Borislav Petkov It is useless at best and git history has it all detailed anyway. Update copyright while at it. Signed-off-by: Borislav Petkov --- arch/x86/kernel/cpu/microcode/core.c | 76 +-- arch/x86/kernel/cpu/microcode/intel.c | 75 --

[PATCH 4/5] x86/mm: Add ioremap_uc() helper to map memory uncacheable (not UC-)

2015-05-11 Thread Borislav Petkov
From: "Luis R. Rodriguez" ioremap_nocache() currently uses UC- by default. Our goal is to eventually make UC the default. Linux maps UC- to PCD=1, PWT=0 page attributes on non-PAT systems. Linux maps UC to PCD=1, PWT=1 page attributes on non-PAT systems. On non-PAT and PAT systems a WC MTRR has d

[PATCH 1/5] x86/mm: Do not flush last cacheline twice in clflush_cache_range()

2015-05-11 Thread Borislav Petkov
From: Ross Zwisler The current algorithm used in clflush_cache_range() can cause the last cache line of the buffer to be flushed twice. Fix that algorithm so that each cache line will only be flushed once. Signed-off-by: Ross Zwisler Reported-by: H. Peter Anvin Cc: Thomas Gleixner Cc: Ingo Mo

[PATCH] x86/vdso: Add arch/x86/include/uapi include path to HOST_EXTRACFLAGS

2015-05-11 Thread Borislav Petkov
From: Oleg Nesterov Change HOST_EXTRACFLAGS to include arch/x86/include/uapi along with include/uapi. This looks more consistent, and this fixes "make bzImage" on my old distro which doesn't have asm/bitsperlong.h in /usr/include/. Signed-off-by: Oleg Nesterov Acked-by: Andy Lutomirski Cc: C

[PATCH 2/5] x86/mm: Add kerneldoc comments for pcommit_sfence()

2015-05-11 Thread Borislav Petkov
From: Ross Zwisler Add kerneldoc comments for pcommit_sfence() describing the purpose of the PCOMMIT instruction and demonstrating its usage with an example. Signed-off-by: Ross Zwisler Cc: H Peter Anvin Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Borislav Petkov Link: http://lkml.kernel.org/r

[PATCH 3/5] x86/MTRR: Remove wrong address check in __mtrr_type_lookup()

2015-05-11 Thread Borislav Petkov
From: Toshi Kani __mtrr_type_lookup() checks MTRR fixed ranges when mtrr_state.have_fixed is set and start is less than 0x10. However, the 'else if (start < 0x100)' in the code checks with a wrong address as it has an extra-zero in the address. The code still runs correctly as this check

Re: [v2 1/5] arm64: kdump: reserve memory for crash dump kernel

2015-05-11 Thread AKASHI Takahiro
On 05/11/2015 04:54 PM, Baoquan He wrote: On 05/11/15 at 04:38pm, AKASHI Takahiro wrote: Hi Baoquan, On 04/28/2015 06:19 PM, Baoquan He wrote: +#ifdef CONFIG_CRASH_DUMP +/* + * reserve_elfcorehdr() - reserves memory for elf core header + * + * This function reserves memory area given in "elfco

[PATCH] x86/alternatives: Switch AMD F15h and later to the P6 NOPs

2015-05-11 Thread Borislav Petkov
From: Borislav Petkov Software optimization guides for both F15h and F16h cite those NOPs as the optimal ones. A microbenchmark confirms that actually even older families are better with the single-insn NOPs so switch to them for the alternatives. Cycles count below includes the loop overhead of

Re: arm/arm64 perf build issue with mainline

2015-05-11 Thread Ingo Molnar
* David Ahern wrote: > On 4/23/15 5:29 AM, Will Deacon wrote: > >Hi all, > > > >Commit 6428c59a97de ("perf tools: Set JOBS based on CPU or processor") > >causes weird behaviour on arm/arm64 platforms because we use the "CPU" > >prefix for things like: > > > >CPU implementer : 0x41 > >CPU archite

Re: [PATCH] gma500:Remove functions that are now deprecated and move to the newer functions in drm_dp_helper.c

2015-05-11 Thread Patrik Jakobsson
On Sun, May 10, 2015 at 9:50 PM, Nicholas Krause wrote: > > > On May 10, 2015 3:45:36 PM EDT, patrik.r.jakobs...@gmail.com wrote: >>On Sun, May 10, 2015 at 02:40:40PM -0400, nick wrote: >>> >>> >>> On 2015-05-10 02:35 PM, patrik.r.jakobs...@gmail.com wrote: >>> > On Sun, May 10, 2015 at 01:48:14PM

Re: [PATCH] livepatch: match return value to function signature

2015-05-11 Thread Jiri Slaby
On 05/11/2015, 07:52 AM, Nicholas Mc Guire wrote: > klp_initialized() should return bool but is actually returning > struct kobject * - convert it to a boolean explicitly. > > Signed-off-by: Nicholas Mc Guire Reviewed-by: Jiri Slaby Thanks. > --- > > static code checking was not happy with

Re: "Directly mapped persistent memory page cache"

2015-05-11 Thread Dave Chinner
On Sat, May 09, 2015 at 10:45:10AM +0200, Ingo Molnar wrote: > > * Rik van Riel wrote: > > > On 05/08/2015 11:54 AM, Linus Torvalds wrote: > > > On Fri, May 8, 2015 at 7:40 AM, John Stoffel wrote: > > >> > > >> Now go and look at your /home or /data/ or /work areas, where the > > >> endusers ar

Re: [PATCH v3 03/33] staging: rtl8192e: Mark unaligned memcpy()

2015-05-11 Thread Dan Carpenter
On Sat, May 09, 2015 at 11:18:51PM +0200, Mateusz Kulikowski wrote: > Comment unaligned memcpy() that trigger PREFER_ETHER_ADDR_COPY > checkpatch.pl warning. > It will prevent accidential "Fix" to ether_addr_copy(). > > Signed-off-by: Mateusz Kulikowski > --- > drivers/staging/rtl8192e/rtllib_rx

Re: [net-next PATCH v3 1/4] devicetree: Add compatible string for Zynq Ultrascale+ MPSoC

2015-05-11 Thread Harini Katakam
On Mon, May 11, 2015 at 1:11 PM, Nicolas Ferre wrote: > Le 06/05/2015 18:57, Harini Katakam a écrit : >> Add "cdns,zynqmp-gem" to be used for Zynq Ultrascale+ MPSoC. >> >> Signed-off-by: Harini Katakam >> Reviewed-by: Punnaiah Choudary Kalluri > > I know it's too late, but for the record: > Acke

[PATCH v3] arm64: dts: qcom: Add msm8916 CoreSight components

2015-05-11 Thread Ivan T. Ivanov
Add initial set of CoreSight components found on Qualcomm's 8x16 chipset. Signed-off-by: Ivan T. Ivanov --- Changes since v2 [1]: * Added "1x" to "qcom,coresight-replicator" compatible string, to match what devicetree bindings documentations says. [1] http://www.spinics.net/lists/devicetree/m

Re: [v2 4/5] arm64: add kdump support

2015-05-11 Thread Dave Young
On 05/11/15 at 04:58pm, AKASHI Takahiro wrote: > Dave, > > On 05/11/2015 04:47 PM, Dave Young wrote: > >On 05/08/15 at 08:19pm, Dave Young wrote: > >>Hi, > >> > >>On 04/24/15 at 04:53pm, AKASHI Takahiro wrote: > >>>Please read the following commits for arm64-specific constraints: > >>> arm64:

Re: [PATCH 02/12] clocksource: sti: Provide support for the ST LPC Clocksource IP

2015-05-11 Thread Daniel Lezcano
On 05/07/2015 03:38 PM, Lee Jones wrote: This IP is shared with Watchdog and RTC functionality. Only one of these IPs can be used at the same time. We use the device-driver model combined with a DT 'mode' property to enforce this. The ST LPC Clocksource IP can be used as the system (tick) time

[PATCH 0/2] clk: si5351: Multisynth 6-7 fixes

2015-05-11 Thread Sergej Sawazki
The second synthesis stage in the Si5351 clock generator consists of six *fractional* multisynth dividers (MS0 .. MS5) and two *even-integer* dividers (MS6 and MS7). The current si5351 driver implementation does not handle MS6 and MS7 correctly, this leads to wrong rates on output 6 and 7. This p

Re: [PATCH] hid:Change vendor id for USB_DEVICE_ID_MS_TYPE_COVER_3 to correct id in hid-ids.h

2015-05-11 Thread Jiri Kosina
On Fri, 8 May 2015, Nicholas Krause wrote: > This fixes the bug,https://bugzilla.kernel.org/show_bug.cgi?id=97951 > related to incorrecting using 0x07dc for the vendor id for > USB_DEVICE_ID_MS_TYPE_COVER_3 devices and instead changing in > to the correct vendor id of 0x07de. Adding Alan Wu, w

[PATCH 2/2] clk: si5351: fix .recalc_rate for multisynth 6-7

2015-05-11 Thread Sergej Sawazki
MS6 and MS7 do not have the MSx_P3 field. Do the 'params.p3 == 0' check for MS0-M5 only. See [AN619, p. 6] for details. Referenced document: [AN619] Manually Generating an Si5351 Register Map, Rev. 0.4 Signed-off-by: Sergej Sawazki --- drivers/clk/clk-si5351.c | 5 ++--- 1 file changed, 2 inser

[PATCH 1/2] clk: si5351: fix .round_rate for multisynth 6-7

2015-05-11 Thread Sergej Sawazki
The divider calculation for multisynth 6 and 7 differs from the calculation for multisynth 0-5. For MS6 and MS7, set MSx_P1 directly, MSx_P1=divide value [AN619, p. 6]. Referenced document: [AN619] Manually Generating an Si5351 Register Map, Rev. 0.4 Signed-off-by: Sergej Sawazki --- drivers/c

Re: [PATCH 03/12] clocksource: sti: Provide 'use timer as sched clock' capability

2015-05-11 Thread Daniel Lezcano
On 05/08/2015 01:47 PM, Paul Bolle wrote: On Fri, 2015-05-08 at 11:29 +0100, Lee Jones wrote: Ah, you mean from menuconfig. I almost forgot what that was. ;) I can add a menu option, no problem. It's not just menuconfig: $ grep -e CONFIG_ARCH_STI -e CONFIG_CLKSRC_ST_LPC .config CON

Re: [PATCH 2/2] adm8211: fix the possible pci cache line sizes inside switch-case

2015-05-11 Thread Okash Khawaja
> On 11 May 2015, at 07:30, Kalle Valo wrote: > > Okash Khawaja writes: > >>> On Wed, May 06, 2015 at 07:59:04AM +0300, Kalle Valo wrote: >>> Okash Khawaja writes: >>> The PCI cache line size value was being compared against decimal values prefixed with 0x. Fixed the literals

Re: [PATCH 1/6] ARM: sunxi: Add Machine support for A33

2015-05-11 Thread Vishnu Patekar
Hi, On Sun, May 10, 2015 at 4:03 PM, Maxime Ripard wrote: > Hi, > > On Sun, May 10, 2015 at 12:16:18PM +0530, Vishnu Patekar wrote: >> Allwinnner A33 quad core cortex-a7 based SOC. > > There's one n to many in Allwinner, and having a verb in that sentence > would help Yes, Correct. > >> It is sim

Re: [PATCH 3/6] clk: sunxi: Add A33 clock for compilation

2015-05-11 Thread Vishnu Patekar
Hi, On Sun, May 10, 2015 at 3:47 PM, Maxime Ripard wrote: > Hi, > > On Sun, May 10, 2015 at 12:16:20PM +0530, Vishnu Patekar wrote: >> A33 clock control unit is similar to A23. >> >> A33 specific clocks are not yet implemented, added CLK_OF_DECLARE >> to get it compiled for A33. > > That commit l

Re: [PATCH V3] powerpc/thp: Serialize pmd clear against a linux page table walk.

2015-05-11 Thread Aneesh Kumar K.V
"Kirill A. Shutemov" writes: > On Mon, May 11, 2015 at 11:56:01AM +0530, Aneesh Kumar K.V wrote: >> Serialize against find_linux_pte_or_hugepte which does lock-less >> lookup in page tables with local interrupts disabled. For huge pages >> it casts pmd_t to pte_t. Since format of pte_t is differe

[PATCH] genirq: devres: Fix testing return value of request_any_context_irq()

2015-05-11 Thread Axel Lin
request_any_context_irq() returns a negative value on failure. It returns either IRQC_IS_HARDIRQ or IRQC_IS_NESTED on success. So fix testing return value of request_any_context_irq(). Fixes: 0668d3065128 ("genirq: Add devm_request_any_context_irq()") Signed-off-by: Axel Lin --- kernel/irq/devre

Re: [PATCH V3] mm/thp: Split out pmd collpase flush into a separate functions

2015-05-11 Thread Aneesh Kumar K.V
"Kirill A. Shutemov" writes: > On Mon, May 11, 2015 at 12:09:30PM +0530, Aneesh Kumar K.V wrote: >> Architectures like ppc64 [1] need to do special things while clearing >> pmd before a collapse. For them this operation is largely different >> from a normal hugepage pte clear. Hence add a separat

Re: [PATCH 3/3] UDF: support NFSv2 export

2015-05-11 Thread Jan Kara
On Fri 08-05-15 10:16:23, NeilBrown wrote: > The "fh_len" passed to ->fh_to_* is not guaranteed to be that same as > that returned by encode_fh - it may be larger. > > With NFSv2, the filehandle is fixed length, so it may appear longer > than expected and be zero-padded. > > So we must test that

Re: [RFC] rmap: fix "race" between do_wp_page and shrink_active_list

2015-05-11 Thread yalin wang
2015-05-11 15:51 GMT+08:00 Vladimir Davydov : > Hi, > > I've been arguing with Minchan for a while about whether store-tearing > is possible while setting page->mapping in __page_set_anon_rmap and > friends, see > > http://thread.gmane.org/gmane.linux.kernel.mm/131949/focus=132132 > > This patch

RE: [PATCH V5 1/1] hv_netvsc: Use the xmit_more skb flag to optimize signaling the host

2015-05-11 Thread KY Srinivasan
> -Original Message- > From: Joe Perches [mailto:j...@perches.com] > Sent: Sunday, May 10, 2015 10:58 PM > To: KY Srinivasan > Cc: da...@davemloft.net; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; jasow...@red

Re: vsprintf: Add support for userspace strings

2015-05-11 Thread Richard Weinberger
Am 11.05.2015 um 02:24 schrieb Masami Hiramatsu: > On 2015/05/11 4:42, Richard Weinberger wrote: >> While debugging issues I often add (trace_)printks to strategic positions. >> Dealing with user provided string is complicated as an extra buffer a >> copy_from_user() is needed. >> This adds a new f

[PATCH] rcu: change function declaration to bool

2015-05-11 Thread Nicholas Mc Guire
gainst 4.1-rc3 (localversion-next is -next-20150511) kernel/rcu/tree.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index bcc5943..599550c 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -3516,7 +3516,7 @@ static int rcu_pe

[PATCH v2] genirq: devres: Fix testing return value of request_any_context_irq()

2015-05-11 Thread Axel Lin
request_any_context_irq() returns a negative value on failure. It returns either IRQC_IS_HARDIRQ or IRQC_IS_NESTED on success. So fix testing return value of request_any_context_irq(). Also fixup the return value of devm_request_any_context_irq() to make it consistent with request_any_context_irq(

[PATCH v2] arm, imx6, dts: add DT for aristainetos2 board

2015-05-11 Thread Heiko Schocher
This patch add support for the imx6dl based aristainetos2 board with following configuration: CPU: Freescale i.MX6DL rev1.1 at 792 MHz MReset cause: POR MBoard: aristaitenos2 DRAM: 1 GiB NAND: 1024 MiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 SF: Detected N25Q128A with page size 256 Bytes, erase size 6

[PATCH v2] kmemleak: record accurate early log buffer count and report when exceeded

2015-05-11 Thread Wang Kai
In log_early function, crt_early_log should also count once when 'crt_early_log >= ARRAY_SIZE(early_log)'. Otherwise the reported count from kmemleak_init is one less than 'actual number'. Then, in kmemleak_init, if early_log buffer size equal actual number, kmemleak will init sucessful, so change

Re: [PATCH 2/2] Regulator: add driver for Freescale MC34708

2015-05-11 Thread Martin Fuzzey
Thank you for the review. On 30/04/15 21:45, Mark Brown wrote: On Tue, Apr 28, 2015 at 04:17:40PM +0200, Martin Fuzzey wrote: Signed-off-by: Martin Fuzzey Please use subject lines reflecting the style for the subsystem. You mean regulator: mc34708: Add driver? I ommitted the mc34708 part b

Re: [PATCH 1/1] scsi: storvsc: Set the SRB flags correctly when no data transfer is needed

2015-05-11 Thread Christoph Hellwig
On Fri, Apr 24, 2015 at 05:23:23PM -0700, K. Y. Srinivasan wrote: > Set the SRB flags correctly when there is no data transfer. Looks good, Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.

Re: Possible RAID6 regression with ASYNC_TX_DMA enabled in 4.1

2015-05-11 Thread Maxime Ripard
Hi Markus, On Thu, May 07, 2015 at 02:39:07PM +, Markus Stockhausen wrote: > Hi Maxime, > > > Von: linux-raid-ow...@vger.kernel.org > > [linux-raid-ow...@vger.kernel.org]" im Auftrag von "Maxime Ripard > > [maxime.rip...@free-electrons.com] > > Gesendet: Donnerstag, 7. Mai 2015 14:57 > > An

Re: [PATCH v4] ARM: at91/dt: add support for kizbox2

2015-05-11 Thread Nicolas Ferre
Le 04/05/2015 17:59, Gaël PORTAY a écrit : > Add DT file for Kizbox 2 board. > This board is based on Atmel's SAMA5D31 Cortex-A5 SoC. > > Signed-off-by: Gaël PORTAY > Acked-by: Boris Brezillon > Acked-by: Alexandre Belloni Acked-by: Nicolas Ferre (little fix applied: see below). > --- > Cha

Re: [v3, 5/8] powernv/opal: Convert opal message events to opal irq domain

2015-05-11 Thread Michael Ellerman
On Thu, 2015-07-05 at 03:16:15 UTC, Alistair Popple wrote: > diff --git a/arch/powerpc/platforms/powernv/opal.c > b/arch/powerpc/platforms/powernv/opal.c > index 4399ff2..0196220 100644 > --- a/arch/powerpc/platforms/powernv/opal.c > +++ b/arch/powerpc/platforms/powernv/opal.c > @@ -362,33 +362,34

Build regressions/improvements in v4.1-rc3

2015-05-11 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.1-rc3[1] compared to v4.0[2]. Summarized: - build errors: +23/-11 - build warnings: +148/-180 JFYI, when comparing v4.1-rc3[1] to v4.1-rc2[3], the summaries are: - build errors: +4/-8 - build warnings: +50/-140 Note

Re: "Directly mapped persistent memory page cache"

2015-05-11 Thread Ingo Molnar
* Dave Chinner wrote: > On Sat, May 09, 2015 at 10:45:10AM +0200, Ingo Molnar wrote: > > > > * Rik van Riel wrote: > > > > > On 05/08/2015 11:54 AM, Linus Torvalds wrote: > > > > On Fri, May 8, 2015 at 7:40 AM, John Stoffel wrote: > > > >> > > > >> Now go and look at your /home or /data/ or

Re: [PATCH v5 2/2] ARM: at91/dt: add support for kizboxmini

2015-05-11 Thread Nicolas Ferre
Le 04/05/2015 17:59, Gaël PORTAY a écrit : > Add DT file for Kizbox mini board. > This board is based on Atmel's AT91SAM9G25 SoC. > > Signed-off-by: Gaël PORTAY > Acked-by: Boris Brezillon > Acked-by: Alexandre Belloni Acked-by: Nicolas Ferre Nitpicking below... > --- > arch/arm/boot/dts/Ma

Re: [Intel-gfx] [WARNING 4.1-rc2] i915: Unclaimed register detected before writing to register 0xc4040

2015-05-11 Thread Daniel Vetter
On Fri, May 08, 2015 at 12:57:01PM -0400, Steven Rostedt wrote: > On Fri, 8 May 2015 12:18:10 -0400 > Steven Rostedt wrote: > > > On Fri, 8 May 2015 12:08:31 -0400 > > Steven Rostedt wrote: > > > > > > > Maybe it's my bios still (it is an older box). I'll just block out > > > compiling in SND_

Re: [PATCH] ARM: at91/dt: drop deprecated mainck node from pmc

2015-05-11 Thread Nicolas Ferre
Le 16/04/2015 14:25, Gaël PORTAY a écrit : > The clock-frequency property became obsolete since the rework of the main > clock driver in 3.16 (see commit 27cb1c2083373a44130d50d4d2fb64cf7eff2d90). > > It now get and uses the clock-frequency from the main_xtal node. > > Signed-off-by: Gaël PORTAY

Re: [PATCH 03/12] clocksource: sti: Provide 'use timer as sched clock' capability

2015-05-11 Thread Paul Bolle
On Mon, 2015-05-11 at 10:47 +0200, Daniel Lezcano wrote: > The general policy is to have non-prompted options in the clocksource's > Kconfig and let the platform's config to select the right components. If you want to stick to that policy here there's no reason to add CLKSRC_ST_LPC_TIMER_SCHED_CL

Re: [PATCH] drm/i915: Fix typo in intel_runtime_pm.c

2015-05-11 Thread Daniel Vetter
On Sun, May 10, 2015 at 01:00:23AM +0900, Masanari Iida wrote: > This patch fix spelling typo in intel_runtime_pm.c > > Signed-off-by: Masanari Iida Queued for -next, thanks for the patch. -Daniel > --- > drivers/gpu/drm/i915/intel_runtime_pm.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 de

[PATCH v3 3/3] perf probe: Show better error message when failed to find variable

2015-05-11 Thread He Kuang
Indicate to check variable location range in error message when we got failed to find the variable. Before this patch: $ perf probe --add 'generic_perform_write+118 bytes' Failed to find the location of bytes at this address. Perhaps, it has been optimized out. Error: Failed to add eve

[PATCH v3 1/3] perf probe: Remove length limitation for showing available variables

2015-05-11 Thread He Kuang
Use struct strbuf instead of bare char[] to remove the length limitation of variables in variable_list, so they will not disappear due to overlength, and make preparation for adding more description for variables. Signed-off-by: He Kuang Acked-by: Masami Hiramatsu --- tools/perf/util/dwarf-aux.

[PATCH v3 2/3] perf probe: Add --range option to show variable location range

2015-05-11 Thread He Kuang
It is not easy for users to get the accurate byte offset or the line number where a local variable can be probed. With '--range' option, local variables in scope of the probe point are showed with byte offset range, and can be added according to this range information. For example, there are some

[PATCH 0/2] Add Mediatek display PWM driver

2015-05-11 Thread YH Huang
This patch series add the use of display PWM driver and documentation for Mediatek SoCs. The driver is used to support the backlight of the panel. This is based on v4.1-rc1. YH Huang (2): dt-bindings: pwm: add Mediatek display PWM bindings pwm: add Mediatek display PWM driver support .../

[PATCH 2/2] pwm: add Mediatek display PWM driver support

2015-05-11 Thread YH Huang
Add display PWM driver support to modify backlight for MT8173/MT6595. Signed-off-by: YH Huang --- drivers/pwm/Kconfig | 9 ++ drivers/pwm/Makefile| 1 + drivers/pwm/pwm-disp-mediatek.c | 225 3 files changed, 235 insertions(+)

[PATCH 1/2] dt-bindings: pwm: add Mediatek display PWM bindings

2015-05-11 Thread YH Huang
Document the device-tree binding of Mediatek display PWM. Signed-off-by: YH Huang --- .../devicetree/bindings/pwm/pwm-disp-mediatek.txt | 25 ++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/pwm-disp-mediatek.txt diff --git a/Doc

Re: [PATCH v5 1/5] random: Async and sync API for accessing nonblocking_pool

2015-05-11 Thread Herbert Xu
On Mon, May 11, 2015 at 09:30:11AM +0200, Stephan Mueller wrote: > > I will remove that in the next installment. But that means that the DRBG > kernel module (or any other module) cannot be unloaded until the work > completes. I don't think that's a big deal. > Are you suggesting to only leave

  1   2   3   4   5   6   7   8   9   10   >