Re: d63e2e1f3df breaks sparc/T5-8

2015-03-27 Thread Yinghai Lu
On Fri, Mar 27, 2015 at 8:45 PM, David Ahern wrote: > On 3/27/15 9:19 PM, Yinghai Lu wrote: >> >> Good. But we still have annoying warning about "no compatible window". >> >> Please try attached patch that support 64bit pci mem space for sparc. >> >> BTW, looks like you still do not have

Re: [RFC] vmstat: Avoid waking up idle-cpu to service shepherd work

2015-03-27 Thread Viresh Kumar
On 27 March 2015 at 19:49, Michal Hocko wrote: > Wouldn't something like I was suggesting few months back > (http://article.gmane.org/gmane.linux.kernel.mm/127569) solve this > problem as well? Scheduler should be idle aware, no? I mean it shouldn't > wake up an idle CPU if the task might run on

Re: [RFC] vmstat: Avoid waking up idle-cpu to service shepherd work

2015-03-27 Thread Viresh Kumar
On 27 March 2015 at 17:32, Peter Zijlstra wrote: > What's not clear to me is why that thing is allocated at all, AFAICT > something like: > > static DEFINE_PER_CPU(struct tvec_base, tvec_bases); > > Should do the right thing and be much simpler. Does this comment from timers.c answers your query

Re: [PATCH 00/16 v2] iommu: Move domain allocation into drivers

2015-03-27 Thread Alex Williamson
On Thu, 2015-03-26 at 13:43 +0100, Joerg Roedel wrote: > Changes v1-v2: > > * Rebased to v4.0-rc5 > * Converted domain-types to a bit-field > > Hi, > > here is patch-set to replace the existing domain_init and > domain_destroy iommu-ops with the new domain_alloc and > domain_free

Re: [RFC] vmstat: Avoid waking up idle-cpu to service shepherd work

2015-03-27 Thread Viresh Kumar
On Fri, Mar 27, 2015 at 3:00 PM, Peter Zijlstra wrote: > On Fri, Mar 27, 2015 at 10:16:13AM +0100, Peter Zijlstra wrote: >> So the issue seems to be that we need base->running_timer in order to >> tell if a callback is running, right? >> >> We could align the base on 8 bytes to gain an extra bit

Re: [PATCH 2/2] show nohz_full cpus in sysfs

2015-03-27 Thread Mike Galbraith
On Fri, 2015-03-27 at 17:50 -0400, r...@redhat.com wrote: > From: Rik van Riel > > Currently there is no way to query which CPUs are in nohz_full > mode from userspace. Hm, they're both (as of your last set) invariant. Is this so an HPC app can automatically bind itself or something? You

Re: [PATCH 3/5] dmaengine: bcm2835-dma: Fix memory leak when stopping a running transfer

2015-03-27 Thread Stephen Warren
On 03/27/2015 05:35 AM, Peter Ujfalusi wrote: > The vd->node is removed from the lists when the transfer started so the > vchan_get_all_descriptors() will not find it. This results memory leak. Acked-by: Stephen Warren (I'm just assuming the explanation makes sense and is correct; more of a

Re: d63e2e1f3df breaks sparc/T5-8

2015-03-27 Thread David Ahern
On 3/27/15 9:19 PM, Yinghai Lu wrote: Good. But we still have annoying warning about "no compatible window". Please try attached patch that support 64bit pci mem space for sparc. BTW, looks like you still do not have CONFIG_PCI_DEBUG=y in your .config. otherwise we should more verbose print

Re: [PATCH] Input: ALPS - Detect trackstick presence for v7 protocol

2015-03-27 Thread Dmitry Torokhov
On Sat, Mar 28, 2015 at 01:30:58AM +, Santiago Gala wrote: > The behaviour is the same with 3.19.1 as with 4.0.0-rc5 + the patched > psmouse you give me. The difference in lsinput is just name and current > position: > > $ diff -u alps06.txt alps11-new.txt > --- alps06.txt 2015-03-18

[PATCH] pstore/ram: verify ramoops header before saving record

2015-03-27 Thread Ben Zhang
On some devices the persistent memory contains junk after a cold boot, and /dev/pstore/dmesg-ramoops-* are created with random data which is not the result of a kernel crash. This patch adds a ramoops header check and skips any persistent_ram_zone that does not have a valid header.

Re: d63e2e1f3df breaks sparc/T5-8

2015-03-27 Thread Yinghai Lu
On Fri, Mar 27, 2015 at 8:22 PM, David Ahern wrote: > On 3/27/15 9:19 PM, Yinghai Lu wrote: >> >> Good. But we still have annoying warning about "no compatible window". >> >> Please try attached patch that support 64bit pci mem space for sparc. > > > in place of or on top of the previous patch?

Re: arm/ksm: Unable to handle kernel paging request in get_ksm_page() and ksm_scan_thread()

2015-03-27 Thread Xishi Qiu
On 2015/3/26 21:23, Xishi Qiu wrote: > Here are two panic logs from smart phone test, and the kernel version is > v3.10. > > log1 is "Unable to handle kernel paging request at virtual address > c0704da020", it should be ffc0704da020, right? > and log2 is "Unable to handle kernel paging

Re: [PATCH] cpufreq: exynos: remove dead ->need_apll_change method

2015-03-27 Thread Viresh Kumar
On 27 March 2015 at 22:02, Bartlomiej Zolnierkiewicz wrote: > Commit 26ab1c62b6e1 ("cpufreq: exynos5250: Set APLL rate > using CCF API") removed the last user of ->need_apll_change > method. Remove it and then cleanup exynos_cpufreq_scale() > accordingly. > > This patch was tested on Exynos4412

Re: d63e2e1f3df breaks sparc/T5-8

2015-03-27 Thread David Ahern
On 3/27/15 9:19 PM, Yinghai Lu wrote: Good. But we still have annoying warning about "no compatible window". Please try attached patch that support 64bit pci mem space for sparc. in place of or on top of the previous patch? BTW, looks like you still do not have CONFIG_PCI_DEBUG=y in your

Re: d63e2e1f3df breaks sparc/T5-8

2015-03-27 Thread Yinghai Lu
On Fri, Mar 27, 2015 at 5:36 PM, David Ahern wrote: >>> Also please make sure your config have CONFIG_PCI_DEBUG=y and capture serial console with "debug ignore_loglevel", so we check if pci :00:01.0 really have resource assigned. >>> >>> >>> Please check attached

Re: [PATCH 3/3] Documentation/ABI: Update sysfs-driver-toshiba_acpi entry

2015-03-27 Thread Darren Hart
On Fri, Mar 27, 2015 at 03:10:29PM -0600, Azael Avalos wrote: > This patch updates the sysfs-driver-toshiba_acpi entry, adding the > missing entries for USB Sleep functions. > > And also, while at the neighborhood, fix some typos and add a note > that some features require a reboot. > >

Re: [PATCH 2/3] toshiba_acpi: Fix typos in pr_* messages from USB Fleep Functions

2015-03-27 Thread Darren Hart
On Fri, Mar 27, 2015 at 03:09:25PM -0600, Azael Avalos wrote: > This patch fixes typos in the pr_* messages from the USB Sleep > Functions. > > Signed-off-by: Azael Avalos > --- > drivers/platform/x86/toshiba_acpi.c | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) > >

Re: [PATCH 1/3] toshiba_acpi: Update and fix USB Sleep and Charge modes

2015-03-27 Thread Darren Hart
On Fri, Mar 27, 2015 at 03:09:24PM -0600, Azael Avalos wrote: > This patch fixes the USB Sleep and Charge mode on certain models > where the value returned by the BIOS is different, and thus, making > this feature not to work for those models. > > Also, the "Typical" charging mode was added as a

Re: [PATCH v4 2/4] mfd: lubbock_cplds: add lubbock IO board

2015-03-27 Thread Arnd Bergmann
On Thursday 26 March 2015, Robert Jarzmik wrote: > > Greg Kroah-Hartman writes: > > > On Fri, Feb 20, 2015 at 05:02:57PM +0100, Robert Jarzmik wrote: > >> If there is no solution, I'll fallback through arch/arm/plat-pxa, not very > >> nice, > >> but it has to land somewhere, I don't want

Re: [PATCH 1/2] spi: fsl-dspi: Fix clock rate scale values

2015-03-27 Thread Mark Brown
On Fri, Mar 27, 2015 at 02:51:42PM -0700, Aaron Brice wrote: > Update baud rate scaling algorithm to get better scaling values. Can we have a better changelog please? What is better about the new algorithm? signature.asc Description: Digital signature

Re: [PATCH] regulator: Ensure unique regulator debugfs directory names

2015-03-27 Thread Mark Brown
On Fri, Oct 17, 2014 at 08:17:03AM -0700, Guenter Roeck wrote: > If multiple regulator devices of the same type exist in a system, > the regulator driver assigns generic names for the regulators it > provides, and debugfs is enabled, the regulator subsystem attempts > to create multiple entries

Re: d63e2e1f3df breaks sparc/T5-8

2015-03-27 Thread Yinghai Lu
On Fri, Mar 27, 2015 at 6:05 PM, Sam Ravnborg wrote: >> >> Index: linux-2.6/arch/alpha/Kconfig >> === >> --- linux-2.6.orig/arch/alpha/Kconfig >> +++ linux-2.6/arch/alpha/Kconfig >> @@ -66,6 +66,9 @@ config ZONE_DMA >> config

[PATCH] selftests/mount: Make git ignore all binaries in mount test suite

2015-03-27 Thread Zhang Zhen
This patch includes the mount test binaries into the .gitignore file listing in their respective directories. This will make sure that git ignores all of these test binaries when displaying status. Signed-off-by: Zhang Zhen --- tools/testing/selftests/mount/.gitignore | 1 + 1 file changed, 1

Re: [PATCH v3 1/7] dmaengine: of_dma: Support for DMA routers

2015-03-27 Thread Arnd Bergmann
On Friday 27 March 2015, Peter Ujfalusi wrote: > +Required property: > +- dma-device: phandle of the DMA controller. The router is modifying > + the DMA requests for this controller. This property seems rather specific to the case at hand, I would expect that one

Re: [patch 1/2] mm, doc: cleanup and clarify munmap behavior for hugetlb memory

2015-03-27 Thread David Rientjes
On Fri, 27 Mar 2015, Eric B Munson wrote: > > munmap(2) of hugetlb memory requires a length that is hugepage aligned, > > otherwise it may fail. Add this to the documentation. > > > > This also cleans up the documentation and separates it into logical > > units: one part refers to MAP_HUGETLB

Re: [PATCH] mm: Move zone lock to a different cache line than order-0 free page lists

2015-03-27 Thread David Rientjes
On Fri, 27 Mar 2015, Mel Gorman wrote: > Huang Ying reported the following problem due to commit 3484b2de9499 > ("mm: rearrange zone fields into read-only, page alloc, statistics and > page reclaim lines") from the Intel performance tests > > 24b7e5819ad5cbef 3484b2de9499df23c4604a513b >

Re: [Bugfix v2] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-03-27 Thread Rafael J. Wysocki
On Wednesday, March 25, 2015 03:17:23 PM Jiang Liu wrote: > Before commit 593669c2ac0f ("x86/PCI/ACPI: Use common ACPI resource > interfaces to simplify implementation"), arch/x86/pci/acpi.c applies > following rules when parsing ACPI resources for PCI host bridge: > 1) Ignore IO port resources

Re: [PATCH v3] led/led-class: Handle LEDs with the same name

2015-03-27 Thread Fengguang Wu
+ Kees Cook On Fri, Mar 27, 2015 at 10:24:53AM -0700, Bryan Wu wrote: > On Fri, Mar 27, 2015 at 1:09 AM, Ricardo Ribalda Delgado > wrote: > > Hi Sakari > > > > cc: adding Greg (core and FormatGuard) and Chistopher (sparse) > >> > >> I just realised there was another issue --- the name is now

Re: d63e2e1f3df breaks sparc/T5-8

2015-03-27 Thread Sam Ravnborg
> > Index: linux-2.6/arch/alpha/Kconfig > === > --- linux-2.6.orig/arch/alpha/Kconfig > +++ linux-2.6/arch/alpha/Kconfig > @@ -66,6 +66,9 @@ config ZONE_DMA > config ARCH_DMA_ADDR_T_64BIT > def_bool y > > +config

Re: [PATCH v1 1/2] thermal: hisilicon: add new hisilicon thermal sensor driver

2015-03-27 Thread YiPing Xu
在 2015/3/27 16:30, Xinwei Kong 写道: On 2015/3/26 17:14, YiPing Xu wrote: 在 2015/3/25 15:50, Xinwei Kong 写道: From: kongxinwei This patch adds the support for hisilicon thermal sensor, within hisilicon SoC. there will register sensors for thermal framework and use device tree to bind cooling

Re: [PATCH 2/2] xen/grant: introduce func gnttab_unmap_refs_async_wait_completion()

2015-03-27 Thread Konrad Rzeszutek Wilk
On Thu, Mar 26, 2015 at 04:32:45PM +0100, Roger Pau Monné wrote: > El 26/03/15 a les 13.16, Bob Liu ha escrit: > > There are several place using gnttab async unmap and wait for > > completion, so move the common code to a function > > gnttab_unmap_refs_async_wait_completion(). > > > >

[PATCH 1/2] Input: Add binding document for a generic ADC keypad

2015-03-27 Thread Andrew Bresticker
Add a binding document for a generic ADC keypad. Buttons on an ADC keypad are connected in a resistor ladder to an ADC. The binding describes the mapping of ADC channel and voltage ranges to buttons. Signed-off-by: Andrew Bresticker Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian

[PATCH 2/2] Input: Add driver for a generic ADC keypad

2015-03-27 Thread Andrew Bresticker
Add a polled input driver for a keypad in which the buttons are connected in resistor ladders to an ADC. The IIO framework is used to claim and read the ADC channels. Signed-off-by: Andrew Bresticker --- drivers/input/keyboard/Kconfig| 13 ++ drivers/input/keyboard/Makefile | 1 +

Re: [PATCH 00/16 v2] iommu: Move domain allocation into drivers

2015-03-27 Thread Heiko Stuebner
Am Donnerstag, 26. März 2015, 13:43:03 schrieb Joerg Roedel: > Changes v1-v2: > > * Rebased to v4.0-rc5 > * Converted domain-types to a bit-field > > Hi, > > here is patch-set to replace the existing domain_init and > domain_destroy iommu-ops with the new domain_alloc and >

Re: d63e2e1f3df breaks sparc/T5-8

2015-03-27 Thread David Ahern
On 3/27/15 6:32 PM, David Ahern wrote: On 3/27/15 5:57 PM, Yinghai Lu wrote: On Fri, Mar 27, 2015 at 2:01 PM, Yinghai Lu wrote: On Thu, Mar 26, 2015 at 4:27 PM, David Ahern wrote: Also please make sure your config have CONFIG_PCI_DEBUG=y and capture serial console with "debug

Re: ia32_sysenter_target does not preserve EFLAGS

2015-03-27 Thread Denys Vlasenko
On Fri, Mar 27, 2015 at 9:00 PM, Linus Torvalds wrote: > On Fri, Mar 27, 2015 at 7:25 AM, Denys Vlasenko wrote: >> >> Apparently, users *don't* depend on arithmetic flags >> to survive over syscall. They also okay with DF flag >> being cleared. > > Generally, users probably dont' care about many

Re: [PATCH v2 1/3] vt: add cursor blink interval escape sequence

2015-03-27 Thread Mike Frysinger
On 26 Mar 2015 13:54, Scot Doyle wrote: > Add an escape sequence to specify the current console's cursor blink > interval. The interval is specified as a number of milliseconds until > the next cursor display state toggle, from 50 to 65535. /proc/loadavg > did not show a difference with a one msec

Re: d63e2e1f3df breaks sparc/T5-8

2015-03-27 Thread David Ahern
On 3/27/15 5:57 PM, Yinghai Lu wrote: On Fri, Mar 27, 2015 at 2:01 PM, Yinghai Lu wrote: On Thu, Mar 26, 2015 at 4:27 PM, David Ahern wrote: Also please make sure your config have CONFIG_PCI_DEBUG=y and capture serial console with "debug ignore_loglevel", so we check if pci :00:01.0

Re: [PATCH 1/3] perf/e6500: Make event translations available in sysfs

2015-03-27 Thread Andi Kleen
Thanks for supporting the JSON format too. > (c) If not, given we don't know how to get us out of the current > status quo, can this patchseries still be applied, given the > original complaint was the size of our events-list.h (whereas The Intel core event lists are far larger even (and will

Re: [PATCH v1 09/47] vidoe: fbdev: atyfb: remove and fix MTRR MMIO "hole" work around

2015-03-27 Thread Luis R. Rodriguez
On Fri, Mar 27, 2015 at 03:02:10PM -0700, Andy Lutomirski wrote: > On Fri, Mar 27, 2015 at 2:56 PM, Ville Syrjälä wrote: > > On Fri, Mar 27, 2015 at 08:57:59PM +0100, Luis R. Rodriguez wrote: > >> On Fri, Mar 27, 2015 at 12:43:55PM -0700, Andy Lutomirski wrote: > >> > On Fri, Mar 27, 2015 at

Re: [PATCH 4/5] phy: add Broadcom SATA3 PHY driver for Broadcom STB SoCs

2015-03-27 Thread Brian Norris
Hi Kishon, On Thu, Mar 26, 2015 at 03:29:44AM +0530, Kishon Vijay Abraham I wrote: > On Thursday 19 March 2015 06:53 AM, Brian Norris wrote: > > Supports up to two ports which can each be powered on/off and configured > > independently. > > > > Signed-off-by: Brian Norris > > --- > >

Re: [PATCH v1 09/47] vidoe: fbdev: atyfb: remove and fix MTRR MMIO "hole" work around

2015-03-27 Thread Luis R. Rodriguez
On Fri, Mar 27, 2015 at 11:56:55PM +0200, Ville Syrjälä wrote: > On Fri, Mar 27, 2015 at 08:57:59PM +0100, Luis R. Rodriguez wrote: > > On Fri, Mar 27, 2015 at 12:43:55PM -0700, Andy Lutomirski wrote: > > > On Fri, Mar 27, 2015 at 12:38 PM, Luis R. Rodriguez > > > wrote: > > > > On Sat, Mar 21,

Re: d63e2e1f3df breaks sparc/T5-8

2015-03-27 Thread Yinghai Lu
On Fri, Mar 27, 2015 at 2:01 PM, Yinghai Lu wrote: > On Thu, Mar 26, 2015 at 4:27 PM, David Ahern wrote: > Also please make sure your config have > > CONFIG_PCI_DEBUG=y > > and capture serial console with "debug ignore_loglevel", so we check if > pci :00:01.0 really have resource assigned.

Re: [PATCH v1 02/47] x86: mtrr: generalize run time disabling of MTRR

2015-03-27 Thread Luis R. Rodriguez
On Fri, Mar 27, 2015 at 02:40:17PM -0600, Toshi Kani wrote: > On Fri, 2015-03-20 at 16:17 -0700, Luis R. Rodriguez wrote: > : > > @@ -734,6 +742,7 @@ void __init mtrr_bp_init(void) > > } > > > > if (mtrr_if) { > > + mtrr_enabled = true; > > set_num_var_ranges(); >

Re: [PATCH v1 06/47] mtrr: add __arch_phys_wc_add()

2015-03-27 Thread Luis R. Rodriguez
On Fri, Mar 27, 2015 at 04:10:03PM -0700, Andy Lutomirski wrote: > On Fri, Mar 27, 2015 at 4:04 PM, Luis R. Rodriguez wrote: > > On Fri, Mar 27, 2015 at 02:23:16PM -0700, Andy Lutomirski wrote: > >> On Fri, Mar 27, 2015 at 1:30 PM, Luis R. Rodriguez wrote: > >> > On Fri, Mar 27, 2015 at

Re: [PATCH v1 09/47] vidoe: fbdev: atyfb: remove and fix MTRR MMIO "hole" work around

2015-03-27 Thread Luis R. Rodriguez
On Fri, Mar 27, 2015 at 02:21:34PM -0700, Andy Lutomirski wrote: > On Fri, Mar 27, 2015 at 1:12 PM, Luis R. Rodriguez wrote: > > On Fri, Mar 20, 2015 at 04:52:18PM -0700, Andy Lutomirski wrote: > >> On Fri, Mar 20, 2015 at 4:17 PM, Luis R. Rodriguez > >> wrote: > >> > diff --git

Re: [PATCH V2 1/3] i2c: busses: add SLIMpro I2C device driver on APM X-Gene platform

2015-03-27 Thread Feng Kan
On Mon, Mar 23, 2015 at 11:31 AM, Wolfram Sang wrote: > On Wed, Feb 18, 2015 at 11:34:01AM -0800, Feng Kan wrote: >> Add SLIMpro I2C device driver on APM X-Gene platform. This I2C >> device driver use the SLIMpro Mailbox driver to tunnel message to >> the SLIMpro coprocessor to do the work of

[PATCH v2 16/20] crypto: mark NEON bit sliced AES helper ciphers

2015-03-27 Thread Stephan Mueller
Flag all NEON bit sliced AES helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/arm/crypto/aesbs-glue.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm/crypto/aesbs-glue.c

[PATCH v2 17/20] crypto: mark ARMv8 AES helper ciphers

2015-03-27 Thread Stephan Mueller
Flag all ARMv8 AES helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/arm/crypto/aes-ce-glue.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm/crypto/aes-ce-glue.c

[PATCH v2 20/20] crypto: mark Multi buffer SHA1 helper cipher

2015-03-27 Thread Stephan Mueller
Flag all Multi buffer SHA1 helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/sha-mb/sha1_mb.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/x86/crypto/sha-mb/sha1_mb.c

Re: [PATCH v1 06/47] mtrr: add __arch_phys_wc_add()

2015-03-27 Thread Andy Lutomirski
On Fri, Mar 27, 2015 at 4:04 PM, Luis R. Rodriguez wrote: > On Fri, Mar 27, 2015 at 02:23:16PM -0700, Andy Lutomirski wrote: >> On Fri, Mar 27, 2015 at 1:30 PM, Luis R. Rodriguez wrote: >> > On Fri, Mar 27, 2015 at 12:58:02PM -0700, Andy Lutomirski wrote: >> >> On Fri, Mar 27, 2015 at 12:53 PM,

[PATCH v2 18/20] crypto: mark 64 bit ARMv8 AES helper ciphers

2015-03-27 Thread Stephan Mueller
Flag all 64 bit ARMv8 AES helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/arm64/crypto/aes-glue.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm64/crypto/aes-glue.c

[PATCH v2 09/20] crypto: mark CAST5 helper ciphers

2015-03-27 Thread Stephan Mueller
Flag all CAST5 helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/cast5_avx_glue.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/x86/crypto/cast5_avx_glue.c

[PATCH v2 15/20] crypto: mark Twofish AVX helper ciphers

2015-03-27 Thread Stephan Mueller
Flag all Twofish AVX helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/twofish_avx_glue.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git

[PATCH v2 11/20] crypto: mark CAST6 helper ciphers

2015-03-27 Thread Stephan Mueller
Flag all CAST6 helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/cast6_avx_glue.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/x86/crypto/cast6_avx_glue.c

Re: [PATCH 5/5] kselftest: Add exit code defines

2015-03-27 Thread Darren Hart
On 3/27/15 3:59 PM, Michael Ellerman wrote: > On Fri, 2015-03-27 at 15:17 -0700, Darren Hart wrote: >> Define the exit codes with KSFT_PASS and similar so tests can use these >> directly if they choose. Also enable harnesses and other tooling to use >> the defines instead of hardcoding the

[PATCH v2 19/20] crypto: mcryptd to process CRYPTO_ALG_INTERNAL

2015-03-27 Thread Stephan Mueller
The mcryptd is used as a wrapper around internal ciphers. Therefore, the mcryptd must process the internal cipher by marking mcryptd as internal if the underlying cipher is an internal cipher. Signed-off-by: Stephan Mueller --- crypto/mcryptd.c | 25 +++-- 1 file changed, 23

[PATCH v2 10/20] crypto: mark AVX Camellia helper ciphers

2015-03-27 Thread Stephan Mueller
Flag all AVX Camellia helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/camellia_aesni_avx_glue.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git

[PATCH v2 07/20] crypto: mark GHASH ARMv8 vmull.p64 helper ciphers

2015-03-27 Thread Stephan Mueller
Flag all GHASH ARMv8 vmull.p64 helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/arm/crypto/ghash-ce-glue.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/crypto/ghash-ce-glue.c

[PATCH v2 08/20] crypto: mark AES-NI Camellia helper ciphers

2015-03-27 Thread Stephan Mueller
Flag all AES-NI Camellia helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/camellia_aesni_avx2_glue.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git

[PATCH v2 06/20] crypto: mark ghash clmulni helper ciphers

2015-03-27 Thread Stephan Mueller
Flag all ash clmulni helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/ghash-clmulni-intel_glue.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[PATCH v2 12/20] crypto: mark Serpent AVX2 helper ciphers

2015-03-27 Thread Stephan Mueller
Flag all Serpent AVX2 helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/serpent_avx2_glue.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git

[PATCH v2 13/20] crypto: mark Serpent AVX helper ciphers

2015-03-27 Thread Stephan Mueller
Flag all Serpent AVX helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/serpent_avx_glue.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git

[PATCH v2 03/20] crypto: cryptd to process CRYPTO_ALG_INTERNAL

2015-03-27 Thread Stephan Mueller
The cryptd is used as a wrapper around internal ciphers. Therefore, the cryptd must process the internal cipher by marking cryptd as internal if the underlying cipher is an internal cipher. Signed-off-by: Stephan Mueller --- crypto/ablk_helper.c | 3 ++- crypto/cryptd.c | 49

Re: [PATCH] perf, record: Add clockid parameter

2015-03-27 Thread Stephane Eranian
On Fri, Mar 27, 2015 at 1:15 PM, Arnaldo Carvalho de Melo wrote: > Em Fri, Mar 27, 2015 at 11:35:25AM -0600, David Ahern escreveu: >> On 3/27/15 11:20 AM, Peter Zijlstra wrote: >> >>This is a new feature which means use_clockid on older kernels will fail. >> >>So >> >>need to catch that and

[PATCH v2 14/20] crypto: mark Serpent SSE2 helper ciphers

2015-03-27 Thread Stephan Mueller
Flag all Serpent SSE2 helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/serpent_sse2_glue.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git

[PATCH v2 05/20] crypto: mark AES-NI helper ciphers

2015-03-27 Thread Stephan Mueller
Flag all AES-NI helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/aesni-intel_glue.c | 23 +++ 1 file changed, 15 insertions(+), 8 deletions(-) diff --git

[PATCH v2 02/20] crypto: testmgr to use CRYPTO_ALG_INTERNAL

2015-03-27 Thread Stephan Mueller
If a cipher allocation fails with -ENOENT, the testmgr now retries to allocate the cipher with CRYPTO_ALG_INTERNAL flag. As all ciphers, including the internal ciphers will be processed by the testmgr, it needs to be able to allocate those ciphers. Signed-off-by: Stephan Mueller ---

[PATCH v2 00/20] crypto: restrict usage of helper ciphers

2015-03-27 Thread Stephan Mueller
Hi, Based on the discussion in the thread [1], a flag is added to the kernel crypto API to allow ciphers to be marked as internal. The patch set is tested in FIPS and non-FIPS mode. In addition, the enforcement that the helper cipher of __driver-gcm-aes-aesni cannot be loaded, but the wrapper of

[PATCH v2 04/20] crypto: /proc/crypto: identify internal ciphers

2015-03-27 Thread Stephan Mueller
With ciphers that now cannot be accessed via the kernel crypto API, callers shall be able to identify the ciphers that are not callable. The /proc/crypto file is added a boolean field identifying that such internal ciphers. Signed-off-by: Stephan Mueller --- crypto/proc.c | 3 +++ 1 file

[PATCH v2 01/20] crypto: prevent helper ciphers from being used

2015-03-27 Thread Stephan Mueller
Several hardware related cipher implementations are implemented as follows: a "helper" cipher implementation is registered with the kernel crypto API. Such helper ciphers are never intended to be called by normal users. In some cases, calling them via the normal crypto API may even cause failures

Re: [PATCH v1 06/47] mtrr: add __arch_phys_wc_add()

2015-03-27 Thread Luis R. Rodriguez
On Fri, Mar 27, 2015 at 02:23:16PM -0700, Andy Lutomirski wrote: > On Fri, Mar 27, 2015 at 1:30 PM, Luis R. Rodriguez wrote: > > On Fri, Mar 27, 2015 at 12:58:02PM -0700, Andy Lutomirski wrote: > >> On Fri, Mar 27, 2015 at 12:53 PM, Luis R. Rodriguez > >> wrote: > >> > On Fri, Mar 20, 2015 at

Re: [RFC PATCH] perf tui: Annotate entries in callchains

2015-03-27 Thread Stephane Eranian
On Mon, Mar 23, 2015 at 9:56 AM, Arnaldo Carvalho de Melo wrote: > > > Le 23 mars 2015 13:49:24 GMT-03:00, Stephane Eranian a > écrit : >>On Sun, Mar 22, 2015 at 5:27 PM, Namhyung Kim >>wrote:(). >>> >>> Did you play with acme/perf/core not tip/perf/core? I got same >>> problem but then I

[net] Intel Wired LAN Driver Updates

2015-03-27 Thread Jeff Kirsher
The veil has been lifted... No more having patches submitted against Intel wired Ethernet drivers to be applied to a mysterious queue and not knowing what the status or how many patches are in the queue. We have created a new mailing list (intel-wired-...@lists.osuosl.org) for all Linux kernel

Re: [Ocfs2-devel] [PATCH 2/2] ocfs2: Neaten do_error, ocfs2_error and ocfs2_abort

2015-03-27 Thread Joe Perches
On Fri, 2015-03-27 at 15:16 -0700, Andrew Morton wrote: > On Thu, 26 Mar 2015 20:07:08 -0700 Joe Perches wrote: > > > These uses sometimes do and sometimes don't have '\n' terminations. > > Make the uses consistently use '\n' terminations and remove the > > newline from the functions. > > This

[net] MAINTAINERS: Update Intel Wired Ethernet Driver info

2015-03-27 Thread Jeff Kirsher
Update the git tree info with a recent change in tree names. Also add our new mailing list created solely for Linux kernel patches and kernel development, as well as the new patchwork project for tracking patches. Lastly update the list of "reviewers" since a couple of developers have moved on

Re: [PATCH 3/4] net/macb: fix capabilities configuration

2015-03-27 Thread Boris Brezillon
Hi Nicolas, On Fri, 27 Mar 2015 16:34:11 +0100 Nicolas Ferre wrote: > Capabilities configuration by macb_configure_caps() was moved far too late by > 421d9df0628b (net/macb: merge at91_ether driver into macb driver) which would > lead to badly configured hardware. Indeed, the

Re: [PATCH 5/5] kselftest: Add exit code defines

2015-03-27 Thread Michael Ellerman
On Fri, 2015-03-27 at 15:17 -0700, Darren Hart wrote: > Define the exit codes with KSFT_PASS and similar so tests can use these > directly if they choose. Also enable harnesses and other tooling to use > the defines instead of hardcoding the return codes. +1 > diff --git

Re: d63e2e1f3df breaks sparc/T5-8

2015-03-27 Thread Yinghai Lu
On Fri, Mar 27, 2015 at 2:50 PM, David Miller wrote: > All DMA occurs behind an IOMMU and these IOMMUs only > support 32-bit addressing, therefore dma_addr_t is > 32-bit on sparc64. > > If you want to represent PCI address in some way, you > absolutely cannot use dma_addr_t as your data type.

Re: [PATCH] fs: show locked and lock_ro options in mountinfo

2015-03-27 Thread Richard Weinberger
Hi! Am 27.03.2015 um 23:35 schrieb Andrey Wagin: > 2015-03-28 0:42 GMT+03:00 Richard Weinberger : >> On Fri, Mar 27, 2015 at 9:39 PM, Andrey Vagin wrote: >>> I don't see any reasons to hide them. This information can help to >>> understand errors. >> >> Because these flags are set/read only

Re: [PATCH] perf, record: Add clockid parameter

2015-03-27 Thread Arnaldo Carvalho de Melo
Em Fri, Mar 27, 2015 at 11:35:25AM -0600, David Ahern escreveu: > On 3/27/15 11:20 AM, Peter Zijlstra wrote: > >>This is a new feature which means use_clockid on older kernels will fail. So > >>need to catch that and throw an error -- perhaps yet another probe function. > >How does that work?

[PATCH] [media] usbvision: fix leak of usb_dev on failure paths in usbvision_probe()

2015-03-27 Thread Alexey Khoroshilov
There is no usb_put_dev() on failure paths in usbvision_probe(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/media/usb/usbvision/usbvision-video.c | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-)

Re: [PATCH] perf, record: Add clockid parameter

2015-03-27 Thread Stephane Eranian
On Fri, Mar 27, 2015 at 2:59 PM, Peter Zijlstra wrote: > On Fri, Mar 27, 2015 at 05:15:34PM -0300, Arnaldo Carvalho de Melo wrote: >> I.e. we're back to the sys_perf_event_open() error reporting suckz rockz >> thing, this time with PeterZ trying to find a way to avoid getting back >> to that

Re: [PATCH 1/4] net/macb: only probe queues once and use stored values

2015-03-27 Thread Boris Brezillon
Hi Nicolas, On Fri, 27 Mar 2015 16:34:09 +0100 Nicolas Ferre wrote: > When merging at91_ether and macb driver during 421d9df0628b (net/macb: merge > at91_ether driver into macb driver) the probe function has been split. The > code > dealing with initialization of queues is now moved in

Re: [PATCH] fs: show locked and lock_ro options in mountinfo

2015-03-27 Thread Andrey Wagin
2015-03-28 0:42 GMT+03:00 Richard Weinberger : > On Fri, Mar 27, 2015 at 9:39 PM, Andrey Vagin wrote: >> I don't see any reasons to hide them. This information can help to >> understand errors. > > Because these flags are set/read only internally by the VFS. In contrast > to the other flags shown

Re: [PATCH 0/2] Drivers: hv: hv_balloon: two additional corner cases in balloon_up()

2015-03-27 Thread Laszlo Ersek
On 03/27/15 17:02, Vitaly Kuznetsov wrote: > PATCH 1/2 addresses a real issue introduced by the 'Drivers: hv: hv_balloon: > refuse to balloon below the floor' fix, > > PATCH 2/2 addresses a currently impossible issue (as Hyper-V host never asks > to balloon more than INT_MAX pages) and is rather

[PATCH v2] mm: vmscan: do not throttle based on pfmemalloc reserves if node has no reclaimable pages

2015-03-27 Thread Nishanth Aravamudan
On 27.03.2015 [13:17:59 -0700], Dave Hansen wrote: > On 03/27/2015 12:28 PM, Nishanth Aravamudan wrote: > > @@ -2585,7 +2585,7 @@ static bool pfmemalloc_watermark_ok(pg_data_t *pgdat) > > > > for (i = 0; i <= ZONE_NORMAL; i++) { > > zone = >node_zones[i]; > > -

[GIT PULL] parisc fixes for v4.0

2015-03-27 Thread Helge Deller
Hi Linus, Please pull three patches for kernel-4.0 for the parisc architecture from git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-4.0-1 One patch from Mikulas fixes a bug on parisc by artifically incrementing the counter in pmd_free when the kernel tries to

[PATCH 4/5] selftest: Add futex tests to the top-level Makefile

2015-03-27 Thread Darren Hart
Enable futex tests to be built and run with the make kselftest and associated targets. Most of the tests require escalated privileges. These return ERROR, and run.sh continues. Cc: Shuah Khan Cc: linux-...@vger.kernel.org Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Davidlohr

[PATCH 1/5] selftests: Add futex functional tests

2015-03-27 Thread Darren Hart
The futextest testsuite [1] provides functional, stress, and performance tests for the various futex op codes. Those tests will be of more use to futex developers if they are included with the kernel source. Copy the core infrastructure and the functional tests into selftests. Remove reference to

[PATCH 3/5] selftest/futex: Increment ksft pass and fail counters

2015-03-27 Thread Darren Hart
Add kselftest.h to logging.h and increment the pass and fail counters as part of the print_result routine which is called by all futex tests. Cc: Shuah Khan Cc: linux-...@vger.kernel.org Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Davidlohr Bueso Cc: KOSAKI Motohiro

[PATCH 5/5] kselftest: Add exit code defines

2015-03-27 Thread Darren Hart
Define the exit codes with KSFT_PASS and similar so tests can use these directly if they choose. Also enable harnesses and other tooling to use the defines instead of hardcoding the return codes. Cc: Shuah Khan Cc: linux-...@vger.kernel.org Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Thomas

[PATCH 2/5] selftest/futex: Update Makefile to use lib.mk

2015-03-27 Thread Darren Hart
Adapt the futextest Makefiles to use lib.mk macros for RUN_TESTS and EMIT_TESTS. For now, we reuse the run.sh mechanism provided by futextest. This doesn't provide the standard selftests: [PASS|FAIL] format, but the tests provide very similar output already. This results in the run_kselftest.sh

[GIT PULL] selftest: Add futex functional tests

2015-03-27 Thread Darren Hart
Hi Shuah, This series begins the process of migrating my futextest tests into kselftest. I've started with only the functional tests, as the performance and stress may not be appropriate for kselftest as they stand. I cleaned up various complaints from checkpatch, but I ignored others that would

Re: [PATCH] ring-buffer: More precise time stamps for nested writes

2015-03-27 Thread Steven Rostedt
On Sat, 28 Mar 2015 09:14:30 +1100 Paul Mackerras wrote: > > It can be done cleanly if you encapsulate it properly. > > Sure, but what is the advantage to using a static branch? When would > you ever want a single kernel image that could run either way > depending on what machine it was

Re: [Ocfs2-devel] [PATCH 2/2] ocfs2: Neaten do_error, ocfs2_error and ocfs2_abort

2015-03-27 Thread Andrew Morton
On Thu, 26 Mar 2015 20:07:08 -0700 Joe Perches wrote: > These uses sometimes do and sometimes don't have '\n' terminations. > Make the uses consistently use '\n' terminations and remove the > newline from the functions. This is going to take a while to merge, as it's backed up behind a pile of

Re: [PATCH] ring-buffer: More precise time stamps for nested writes

2015-03-27 Thread Paul Mackerras
On Fri, Mar 27, 2015 at 12:04:15PM -0400, Steven Rostedt wrote: > On Fri, 27 Mar 2015 00:38:43 -0500 > "Suresh E. Warrier" wrote: > > > > But for now, what can be done is to have > > > a flag that is set that will implement this or not. Using > > > static_branch() to implement it such that when

[GIT PULL] KVM fixes for 4.0-rc5

2015-03-27 Thread Marcelo Tosatti
Linus, Please pull from git://git.kernel.org/pub/scm/virt/kvm/kvm.git master To receive the following PPC KVM bug fixes Marcelo Tosatti (1): Merge tag 'signed-for-4.0' of git://github.com/agraf/linux-2.6 Paul Mackerras (3): KVM: PPC: Book3S HV: Fix spinlock/mutex ordering issue

Re: [PATCH v1 09/47] vidoe: fbdev: atyfb: remove and fix MTRR MMIO "hole" work around

2015-03-27 Thread Andy Lutomirski
On Fri, Mar 27, 2015 at 2:56 PM, Ville Syrjälä wrote: > On Fri, Mar 27, 2015 at 08:57:59PM +0100, Luis R. Rodriguez wrote: >> On Fri, Mar 27, 2015 at 12:43:55PM -0700, Andy Lutomirski wrote: >> > On Fri, Mar 27, 2015 at 12:38 PM, Luis R. Rodriguez >> > wrote: >> > > On Sat, Mar 21, 2015 at

Re: [PATCH] perf, record: Add clockid parameter

2015-03-27 Thread Peter Zijlstra
On Fri, Mar 27, 2015 at 05:15:34PM -0300, Arnaldo Carvalho de Melo wrote: > I.e. we're back to the sys_perf_event_open() error reporting suckz rockz > thing, this time with PeterZ trying to find a way to avoid getting back > to that discussion... /me runz... ;-P :-) Not entirely, its just that

  1   2   3   4   5   6   7   8   9   10   >