Re: [PATCH] mm: Fix Coding style

2014-03-09 Thread Choi
Please run your suggested patches through checkpatch. @@ -715,7 +715,7 @@ static void __percpu *pcpu_alloc(size_t size, size_t align, bool reserved) if (unlikely(!size || size PCPU_MIN_UNIT_SIZE || align PAGE_SIZE)) { WARN(true, illegal size (%zu) or align (%zu) for

Re: [lm-sensors] Tachometer speed returned rather than absolute fan speed?

2014-03-09 Thread Guenter Roeck
On 03/08/2014 10:36 PM, Laszlo Papp wrote: On Sat, Mar 8, 2014 at 11:50 PM, Guenter Roeck li...@roeck-us.net wrote: On 03/07/2014 10:17 AM, Guenter Roeck wrote: On Fri, Mar 07, 2014 at 03:47:08PM +, Laszlo Papp wrote: On Fri, Mar 7, 2014 at 3:37 PM, Jean Delvare jdelv...@suse.de wrote:

Re: [PATCH] ASoC: tlv320aic23: add missing EXPORT_SYMBOLs

2014-03-09 Thread Mark Brown
On Sat, Mar 08, 2014 at 01:31:06PM +0400, Max Filippov wrote: This fixes the following build errors when aic23 is configured as module: Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v2 2/2] i2c designware add support of I2C standard mode

2014-03-09 Thread Wolfram Sang
+ /* fast mode by default */ Please add because of legacy reasons since the usual default is 100kHz. + clk_freq = 40; + /* Only standard mode at 100kHz and fast mode at 400kHz + * are supported. + */ + if (clk_freq != 10

Re: [x86, vdso] BUG: unable to handle kernel paging request at d34bd000

2014-03-09 Thread Stefani Seibold
Am Samstag, den 08.03.2014, 07:44 +0800 schrieb Fengguang Wu: Hi Stefani, So i tried my best, but without support it is impossible to find all issues. But mostly what i get was bureaucracy afflictions I complied, but now it is time to help finding the issues. And not only do a

Re: [PATCH 0/7] KVM: x86: Let the guest write to multiple debug registers with one vmexit

2014-03-09 Thread Jan Kiszka
On 2014-03-07 12:42, Paolo Bonzini wrote: Alex Williamson reported that a Windows game does something weird that makes the guest save and restore debug registers on each context switch. This cause several hundred thousands vmexits per second, and basically cuts performance in half when running

Re: [PATCH 0/7] KVM: x86: Let the guest write to multiple debug registers with one vmexit

2014-03-09 Thread Jan Kiszka
On 2014-03-09 09:11, Jan Kiszka wrote: On 2014-03-07 12:42, Paolo Bonzini wrote: Alex Williamson reported that a Windows game does something weird that makes the guest save and restore debug registers on each context switch. This cause several hundred thousands vmexits per second, and

[PATCH 2/2] mm: Changed pr_warning() to pr_warn()

2014-03-09 Thread Choi Gi-yong
Signed-off-by: Choi Gi-yong y...@gnoy.org --- mm/percpu.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/mm/percpu.c b/mm/percpu.c index ff6cce2..061f312 100644 --- a/mm/percpu.c +++ b/mm/percpu.c @@ -812,8 +812,8 @@ fail_unlock: fail_unlock_mutex:

Re: [PATCH v2 1/2] i2c designware make SCL and SDA falling time configurable

2014-03-09 Thread Wolfram Sang
On Mon, Jan 20, 2014 at 05:43:43PM +0100, Romain Baeriswyl wrote: This patch allows to set independantly SCL and SDA falling times. The tLOW period is computed by taking into account the SCL falling time. The tHIGH period is computed by taking into account the SDA falling time. For instance

[PATCH] KEYS: Make the keyring cycle detector ignore other keyrings of the same name

2014-03-09 Thread David Howells
This fixes CVE-2014-0102. The following command sequence produces an oops: keyctl new_session i=`keyctl newring _ses @s` keyctl link @s $i The problem is that search_nested_keyrings() sees two keyrings that have matching type and description, so keyring_compare_object()

Re: [PATCH] i2c: designware-pci: Cleanup driver power management

2014-03-09 Thread Wolfram Sang
On Tue, Feb 04, 2014 at 02:37:07PM +0200, Mika Westerberg wrote: The PCI part of the DesignWare I2C driver does a lot of things that are not required anymore. For example drivers aren't supposed to handle PCI state transitions themselves. This is all provided by the PCI bus core already. In

Re: [PATCH 0/7] KVM: x86: Let the guest write to multiple debug registers with one vmexit

2014-03-09 Thread Paolo Bonzini
Il 09/03/2014 09:15, Jan Kiszka ha scritto: This looks good now to me from KVM perspective. I was just wondering how the case is handled that the host used debug registers on the thread the runs a VCPU? What if I set a hw breakpoint on its userspace path e.g.? What if I debug the kernel side

Re: [PATCH v2] i2c: designware-pci: Add Baytrail PCI IDs

2014-03-09 Thread Wolfram Sang
On Wed, Feb 19, 2014 at 04:10:29PM +0200, Mika Westerberg wrote: Intel Baytrail I2C controllers can be enumerated from PCI as well as from ACPI. In order to support this add the Baytrail PCI IDs to the driver. Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com Applied to

Re: [PATCH] spi/s3c64xx: Update DT binding documentation to match code

2014-03-09 Thread Mark Brown
On Fri, Mar 07, 2014 at 09:19:08AM +, Charles Keepax wrote: On Fri, Mar 07, 2014 at 10:48:41AM +0800, Mark Brown wrote: On Thu, Mar 06, 2014 at 05:05:39PM +, Charles Keepax wrote: It updated the device tree binding to require a cs-gpio property to be specified on the spi

Re: Re: [PATCH] spi/s3c64xx: Update DT binding documentation to match code

2014-03-09 Thread Mark Brown
On Fri, Mar 07, 2014 at 10:04:54AM +, GIRISH K S wrote: HTMLHEADTITLESamsung Enterprise Portal mySingle/TITLE META content=text/html; charset=windows-1252 http-equiv=Content-Type STYLE id=mysingle_style type=text/cssP { Please fix your mailer to send text mails, this is illegible.

Re: [PATCH RFT] regulator: pbias: Convert to use regmap helper functions

2014-03-09 Thread Mark Brown
On Fri, Mar 07, 2014 at 11:57:03PM +0800, Axel Lin wrote: 2014-03-07 23:25 GMT+08:00 Balaji T K balaj...@ti.com: The intention was to set vmode to 0 for any voltage request lesser than 1.8V. This statement sounds wrong to me. For example, If the request voltage range is 1.0V ~ 1.5V. We

Re: [x86, vdso] BUG: unable to handle kernel paging request at d34bd000

2014-03-09 Thread Stefani Seibold
Am Freitag, den 07.03.2014, 15:07 -0800 schrieb Andy Lutomirski: On Fri, Mar 7, 2014 at 1:53 PM, Stefani Seibold stef...@seibold.net wrote: Am Freitag, den 07.03.2014, 10:56 -0800 schrieb Andy Lutomirski: On Thu, Mar 6, 2014 at 11:21 PM, Stefani Seibold stef...@seibold.net wrote: Hi

Re: [PATCH 1/2] i2c: designware-pci: add 10-bit addressing mode functionality for BYT I2C

2014-03-09 Thread Wolfram Sang
On Fri, Mar 07, 2014 at 10:12:50PM +0800, Chew Chiau Ee wrote: From: Chew, Chiau Ee chiau.ee.c...@intel.com All the I2C controllers on Intel BayTrail LPSS subsystem able to support 10-bit addressing mode functionality. Signed-off-by: Chew, Chiau Ee chiau.ee.c...@intel.com Signed-off-by:

[GIT PULL] spi fixes for v3.14

2014-03-09 Thread Mark Brown
The following changes since commit 0414855fdc4a40da05221fc6062cccbc0c30f169: Linux 3.14-rc5 (2014-03-02 18:56:16 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-v3.14-rc5 for you to fetch changes up to

Re: [PATCH 2/2] i2c: designware-pci: set ideal HCNT, LCNT and SDA hold time value

2014-03-09 Thread Wolfram Sang
On Fri, Mar 07, 2014 at 10:12:51PM +0800, Chew Chiau Ee wrote: From: Chew, Chiau Ee chiau.ee.c...@intel.com On Intel BayTrail, there was case whereby the resulting fast mode bus speed becomes slower (~20% slower compared to expected speed) if using the HCNT/LCNT calculated in the core layer.

[GIT PULL] spi fixes for v3.14

2014-03-09 Thread Mark Brown
The following changes since commit 0414855fdc4a40da05221fc6062cccbc0c30f169: Linux 3.14-rc5 (2014-03-02 18:56:16 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-v3.14-rc5 for you to fetch changes up to

linux-next: build failure after merge of the arm-soc tree

2014-03-09 Thread Mark Brown
Hi all, After merging the arm-soc tree, today's linux-next build (20140309) failed for multi_v7_defconfig like this: ERROR (phandle_references): Reference to non-existent node or label sysmgr ERROR (phandle_references): Reference to non-existent node or label sysmgr ERROR: Input tree has

Congrat

2014-03-09 Thread INFO
c.docx Description: Binary data

linux-next: build failure after merge of the arm-soc tree

2014-03-09 Thread Mark Brown
Hi all, After merging the arm-soc tree, today's linux-next build (20140309) failed for arm64 defconfig like this: /home/broonie/next/next/drivers/irqchip/irq-gic.c: In function 'gic_raise_softirq': /home/broonie/next/next/drivers/irqchip/irq-gic.c:666:2: error: implicit declaration of function

linux-next: manual merge of the bcm2835 tree with the arm-soc tree

2014-03-09 Thread Mark Brown
Hi Stephen/Rob, Today's linux-next merge of the bcm2835 tree got a conflict in between commit ddb902cc34593ecb (ARM: centralize common multi-platform kconfig options) from the arm-soc tree and commit d30fe6272183f3cc8b (ARM: bcm2835: Move to mach-bcm directory) from the bcm2835 tree. Commit

Re: [PATCH v7 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-09 Thread Daniel Borkmann
On 03/09/2014 12:15 AM, Alexei Starovoitov wrote: Extended BPF extends old BPF in the following ways: - from 2 to 10 registers Original BPF has two registers (A and X) and hidden frame pointer. Extended BPF has ten registers and read-only frame pointer. - from 32-bit registers to 64-bit

Re: [lm-sensors] Tachometer speed returned rather than absolute fan speed?

2014-03-09 Thread Laszlo Papp
On Sun, Mar 9, 2014 at 8:04 AM, Guenter Roeck li...@roeck-us.net wrote: On 03/08/2014 10:36 PM, Laszlo Papp wrote: On Sat, Mar 8, 2014 at 11:50 PM, Guenter Roeck li...@roeck-us.net wrote: On 03/07/2014 10:17 AM, Guenter Roeck wrote: On Fri, Mar 07, 2014 at 03:47:08PM +, Laszlo Papp

[RESEND] [PATCH] xhci: Switch Intel Lynx Point ports to EHCI on shutdown.

2014-03-09 Thread Denis Turischev
The same issue like with Panther Point chipsets. If the USB ports are switched to xHCI on shutdown, the xHCI host will send a spurious interrupt, which will wake the system. Some BIOS have work around for this, but not all. One example is Compulab's mini-desktop, the Intense-PC2. The bug can be

Re: [PATCH v4] mm: per-thread vma caching

2014-03-09 Thread Oleg Nesterov
On 03/08, Linus Torvalds wrote: On Sat, Mar 8, 2014 at 11:44 AM, Oleg Nesterov o...@redhat.com wrote: Sure. But another thread or CLONE_VM task can do vmacache_invalidate(), hit vmacache_seqnum == 0 and call vmacache_flush_all() to solve the problem with potential overflow. How? Any

I NEED YOUR URGENT SUPPORT

2014-03-09 Thread JOHN HUI
-- Hello my dear friend, I am sorry for intruding, my name is John Hui and i have an urgent financial transaction that i could use your support in concluding for a sizeable profit/reward.My contact with you is based on my understanding that with trust,commitment and mutual respect we will

Re: [PATCH 3/4] staging: cxtie1: remove unneeded mkret() calls

2014-03-09 Thread DaeSeok Youn
Ok. I will check and send it again. Thanks. Daeseok Youn. 2014-03-09 15:38 GMT+09:00, Greg KH gre...@linuxfoundation.org: On Fri, Mar 07, 2014 at 09:03:04AM +0900, Daeseok Youn wrote: The mkret() change a value of error from positive to negative. This patch is modified to return negative

Re: [PATCH 3/3] perf trace: Decode architecture-specific signal numbers

2014-03-09 Thread Ben Hutchings
What's happening with this patch? perf fails to build on alpha or sparc since 3.13. Ben. On Thu, 2014-02-06 at 01:00 +, Ben Hutchings wrote: SIGSTKFLT is not defined on alpha, mips or sparc. SIGEMT and SIGSWI are defined on some architectures and should be decoded here if so. Fixes:

[PATCH 1/3] ktest: add 2nd parameter of run_command() to set the redirect target file

2014-03-09 Thread Satoru Takeuchi
From: Satoru Takeuchi satoru.takeu...@gmail.com If we'd like to set the redirect target file of run_command(), we should define $redirect before this function and should undef it after this function. Since it's user-unfriendly, add 2nd parameter of run_command() for this purpose. Signed-off-by:

[PATCH 2/3] ktest: Some cleanup for improving readability

2014-03-09 Thread Satoru Takeuchi
From: Satoru Takeuchi satoru.takeu...@gmail.com Some cleanup for improving readability as follows. - Initialize $ktest_config at its definition. - Put parentheses around the `config-file' argument in the usage message because it's a optional one. - Rename get_ktest_config{,s} to more

[PATCH 3/3] ktest: remove the misleading $buildonly and introduce $laststep.

2014-03-09 Thread Satoru Takeuchi
From: Satoru Takeuchi satoru.takeu...@gmail.com Each test of ktest consists of the following steps. build - install - boot - run user defined tests. $buildonly means not whether the test is build onlyor not. Actually this variable mean the last step of the test as follows. 0: boot or more

Re: [PATCH v7 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-09 Thread Eric Dumazet
On Sat, 2014-03-08 at 15:15 -0800, Alexei Starovoitov wrote: +/** + * sk_run_filter_ext - run an extended filter + * @ctx: buffer to run the filter on + * @insn: filter to apply + * + * Decode and execute extended BPF instructions. + * @ctx is the data we are operating on. + *

Re: [PATCH v7 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-09 Thread Eric Dumazet
On Sat, 2014-03-08 at 15:15 -0800, Alexei Starovoitov wrote: + if (BPF_SRC(fp-code) == BPF_K + (int)fp-k 0) { + /* extended BPF immediates are signed, + * zero extend immediate into tmp

Re: [Suggestion] Makefile: about allmodconfig issue.

2014-03-09 Thread Chen Gang
On 03/09/2014 05:58 AM, Randy Dunlap wrote: On 03/08/2014 01:44 PM, Chen Gang wrote: On 03/08/2014 11:04 PM, Randy Dunlap wrote: On 03/08/2014 05:07 AM, Chen Gang wrote: [...] Welcome any suggestions, discussions and completions. Thanks. A patch has already been submitted and applied by

Re: [PATCH] arch/avr32/mm/cache.c: export symbol flush_icache_range() for module using

2014-03-09 Thread Chen Gang
On 03/09/2014 06:17 AM, Hans-Christian Egtvedt wrote: Around Sun 09 Mar 2014 05:47:04 +0800 or thereabout, Chen Gang wrote: After this patch, our linux kernel can pass avr32-linux- allmodconfig (it contents quite a few of warnings, but after check, I guess they are not kernel's issue).

Re: [RFC PATCH 6/8] ACPI: use platform bus as the default bus for _HID enumeration

2014-03-09 Thread Zhang Rui
On Wed, 2014-02-26 at 17:11 +0800, Zhang Rui wrote: Because of the growing demand for enumerating ACPI devices to platform bus, this patch changes the code to enumerate ACPI devices with _HID/_CID to platform bus by default, unless the device already has a scan handler attached.

Re: [PATCH 00/18] Resend of usbip-utils migration patches and various other fixes

2014-03-09 Thread Valentina Manea
I was notified that one of the patches in the series (staging: usbip: claim ports used by shared devices) breaks the build. I take full responsability for this as I haven't compiled the kernel with allyesconfig and I am sorry. This can be fixed by moving struct dev_state, usb_hub_claim_port() and

Re: [PATCH v4] mm: per-thread vma caching

2014-03-09 Thread Linus Torvalds
On Sun, Mar 9, 2014 at 5:57 AM, Oleg Nesterov o...@redhat.com wrote: No, dup_task_struct() is obviously lockless. And the new child is not yet visible to for_each_process_thread(). Ok, then the siimple approach is to just do /* Did we miss an invalidate event? * if (mm-seqcount

[regression] linux-3.14.0-rc5-.. kernel does not switch power off

2014-03-09 Thread Jörg Otte
On shutdown power is not switched off. The harddisk is already down. Reboot is working. Last known good kernel is: 3.14.0-rc5-00265-gb01d4e6 First known bad kernel is: 3.14.0-rc5-00287-gca62eec FUJITSU LIFEBOOK AH532/FJNBB1C, BIOS Version 1.09 05/22/2012 Jörg -- To unsubscribe from this list:

[GIT PULL] Please pull NFS client updates

2014-03-09 Thread Trond Myklebust
Hi Linus, The following changes since commit 146d70caaa1b87f64597743429d7da4b8073d0c9: NFS fix error return in nfs4_select_rw_stateid (2014-02-19 09:31:56 -0500) are available in the git repository at: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.14-5 for you to

[PATCH 2/2] Staging: comedi: Validate early to flatten code

2014-03-09 Thread Conrad Meyer
Take advantage of -EINVAL returns to flatten code structure and hopefully reduce the number of 80+ character lines. Signed-off-by: Conrad Meyer cse@gmail.com --- .../comedi/drivers/addi-data/hwdrv_apci1500.c | 621 ++--- 1 file changed, 303 insertions(+), 318

Re: [Suggestion] Makefile: about allmodconfig issue.

2014-03-09 Thread Randy Dunlap
On 03/09/2014 08:02 AM, Chen Gang wrote: On 03/09/2014 05:58 AM, Randy Dunlap wrote: On 03/08/2014 01:44 PM, Chen Gang wrote: On 03/08/2014 11:04 PM, Randy Dunlap wrote: On 03/08/2014 05:07 AM, Chen Gang wrote: [...] Welcome any suggestions, discussions and completions. Thanks. A patch

[GIT PULL] Thermal Management fixes for v3.14-rc6

2014-03-09 Thread Zhang Rui
Hi, Linus, Please pull from the git repository at git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git for-rc6 to receive thermal management fixes for v3.14-rc6 with top-most commit f2234bcd03ad031225d7dc37dd18852a2f2ff2bf: Thermal: thermal zone governor fix (2014-03-03 23:15:57

Re: [regression] linux-3.14.0-rc5-.. kernel does not switch power off

2014-03-09 Thread Rafael J. Wysocki
On Sunday, March 09, 2014 05:12:56 PM Jörg Otte wrote: On shutdown power is not switched off. The harddisk is already down. Reboot is working. Last known good kernel is: 3.14.0-rc5-00265-gb01d4e6 First known bad kernel is: 3.14.0-rc5-00287-gca62eec Can you please tell me which commits those

Re: [regression] linux-3.14.0-rc5-.. kernel does not switch power off

2014-03-09 Thread Rafael J. Wysocki
On Sunday, March 09, 2014 05:55:28 PM Rafael J. Wysocki wrote: On Sunday, March 09, 2014 05:12:56 PM Jörg Otte wrote: On shutdown power is not switched off. The harddisk is already down. Reboot is working. Last known good kernel is: 3.14.0-rc5-00265-gb01d4e6 First known bad kernel is:

Re: [GIT PULL 00/28] PHY for 3.15

2014-03-09 Thread Greg KH
On Sun, Mar 09, 2014 at 01:05:36PM +0530, Kishon Vijay Abraham I wrote: Hi Greg, On Saturday 08 March 2014 10:12 PM, Greg KH wrote: On Sat, Mar 08, 2014 at 02:59:01PM +0530, Kishon Vijay Abraham I wrote: Hi Greg, Here's the PULL REQUEST for 3.15 merge window. More users are starting

Re: [PATCH 00/18] Resend of usbip-utils migration patches and various other fixes

2014-03-09 Thread Greg KH
On Sun, Mar 09, 2014 at 05:53:51PM +0200, Valentina Manea wrote: I was notified that one of the patches in the series (staging: usbip: claim ports used by shared devices) breaks the build. I take full responsability for this as I haven't compiled the kernel with allyesconfig and I am sorry.

[PATCH v6 1/6] x86/mm: sparse warning fix for early_memremap

2014-03-09 Thread Mark Salter
From: Dave Young dyo...@redhat.com There's a lot of sparse warnings for code like below: void *a = early_memremap(phys_addr, size); early_memremap intend to map kernel memory with ioremap facility, the return pointer should be a kernel ram pointer instead of iomem one. For making the function

Re: [regression] linux-3.14.0-rc5-.. kernel does not switch power off

2014-03-09 Thread Rafael J. Wysocki
On Sunday, March 09, 2014 05:58:59 PM Rafael J. Wysocki wrote: On Sunday, March 09, 2014 05:55:28 PM Rafael J. Wysocki wrote: On Sunday, March 09, 2014 05:12:56 PM Jörg Otte wrote: On shutdown power is not switched off. The harddisk is already down. Reboot is working. Last known

[PATCH v6 0/6] mm: generic early_ioremap support

2014-03-09 Thread Mark Salter
This patch series takes the common bits from the x86 early ioremap implementation and creates a generic implementation which may be used by other architectures. The early ioremap interfaces are intended for situations where boot code needs to make temporary virtual mappings before the normal

[PATCH v6 2/6] mm: create generic early_ioremap() support

2014-03-09 Thread Mark Salter
This patch creates a generic implementation of early_ioremap() support based on the existing x86 implementation. early_ioremp() is useful for early boot code which needs to temporarily map I/O or memory regions before normal mapping functions such as ioremap() are available. Some architectures

[PATCH v6 3/6] x86: use generic early_ioremap

2014-03-09 Thread Mark Salter
Move x86 over to the generic early ioremap implementation. Signed-off-by: Mark Salter msal...@redhat.com Acked-by: H. Peter Anvin h...@zytor.com --- arch/x86/Kconfig | 1 + arch/x86/include/asm/Kbuild | 1 + arch/x86/include/asm/fixmap.h | 6 ++ arch/x86/include/asm/io.h

[PATCH v6 5/6] arm64: add early_ioremap support

2014-03-09 Thread Mark Salter
Add support for early IO or memory mappings which are needed before the normal ioremap() is usable. This also adds fixmap support for permanent fixed mappings such as that used by the earlyprintk device register region. Signed-off-by: Mark Salter msal...@redhat.com Acked-by: Catalin Marinas

[PATCH v6 4/6] arm64: initialize pgprot info earlier in boot

2014-03-09 Thread Mark Salter
Presently, paging_init() calls init_mem_pgprot() to initialize pgprot values used by macros such as PAGE_KERNEL, PAGE_KERNEL_EXEC, etc. The new fixmap and early_ioremap support also needs to use these macros before paging_init() is called. This patch moves the init_mem_pgprot() call out of

[PATCH v6 6/6] doc/kernel-parameters.txt: add early_ioremap_debug

2014-03-09 Thread Mark Salter
Add description of early_ioremap_debug kernel parameter. Signed-off-by: Mark Salter msal...@redhat.com --- Documentation/kernel-parameters.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index

Re: [PATCH] zram: propagate error to user

2014-03-09 Thread Sergey Senozhatsky
Hello Minchan, On (03/07/14 18:51), Minchan Kim wrote: Hello Sergey! On Fri, Mar 07, 2014 at 12:20:45PM +0300, Sergey Senozhatsky wrote: On (03/07/14 10:56), Minchan Kim wrote: When we initialized zcomp with single, we couldn't change max_comp_streams without zram reset but current

[PATCH 3/3] x86, Intel: Convert to the new MSR accessors

2014-03-09 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de ... and save some lines of code. Signed-off-by: Borislav Petkov b...@suse.de --- arch/x86/include/uapi/asm/msr-index.h | 9 ++--- arch/x86/kernel/cpu/intel.c | 30 +++--- 2 files changed, 13 insertions(+), 26 deletions(-)

[PATCH 2/3] x86, AMD: Convert to the new MSR accessors

2014-03-09 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de ... and save us a bunch of code. Signed-off-by: Borislav Petkov b...@suse.de --- arch/x86/kernel/cpu/amd.c | 48 --- 1 file changed, 12 insertions(+), 36 deletions(-) diff --git a/arch/x86/kernel/cpu/amd.c

[PATCH 1/3] x86: Add another set of MSR accessor functions

2014-03-09 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de We very often need to set or clear a bit in an MSR as a result of doing some sort of a hardware configuration. Add generic versions of that repeated functionality in order to save us a bunch of duplicated code in the early CPU vendor detection/config code.

[PATCH 0/3] MSR cleanups, v2

2014-03-09 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de Here's v2, all feedback from last time should be addressed. Patches boot fine on an Intel and AMD box. I've also got them in a nice pullable form, if that is preferred: -- The following changes since commit b01d4e68933ec23e43b1046fa35d593cefcf37d1: x86: fix

Re: [PATCH v7 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-09 Thread Alexei Starovoitov
On Sun, Mar 9, 2014 at 5:29 AM, Daniel Borkmann borkm...@iogearbox.net wrote: On 03/09/2014 12:15 AM, Alexei Starovoitov wrote: Extended BPF extends old BPF in the following ways: - from 2 to 10 registers Original BPF has two registers (A and X) and hidden frame pointer. Extended BPF

Re: linux-next: build failure after merge of the arm-soc tree

2014-03-09 Thread Olof Johansson
On Sun, Mar 9, 2014 at 4:41 AM, Mark Brown broo...@kernel.org wrote: Hi all, After merging the arm-soc tree, today's linux-next build (20140309) failed for multi_v7_defconfig like this: ERROR (phandle_references): Reference to non-existent node or label sysmgr ERROR (phandle_references

[PATCH] Revert ACPI / sleep: pm_power_off needs more sanity checks to be installed

2014-03-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Revert commit 3130497f5bab (ACPI / sleep: pm_power_off needs more sanity checks to be installed) that breaks power ACPI power off on a lot of systems, because it checks wrong registers. Fixes: 3130497f5bab (ACPI / sleep: pm_power_off needs more

Re: [PATCH v4] mm: per-thread vma caching

2014-03-09 Thread Oleg Nesterov
On 03/09, Linus Torvalds wrote: On Sun, Mar 9, 2014 at 5:57 AM, Oleg Nesterov o...@redhat.com wrote: No, dup_task_struct() is obviously lockless. And the new child is not yet visible to for_each_process_thread(). Ok, then the siimple approach is to just do /* Did we miss an

Re: [PATCH v4] mm: per-thread vma caching

2014-03-09 Thread Linus Torvalds
On Sun, Mar 9, 2014 at 10:09 AM, Oleg Nesterov o...@redhat.com wrote: But it's not the while we're setting up a new thread, it is since vmacache_valid() was called list time. And the cloning task can just sleep(A_LOT) and then do CLONE_VM. Of course, of course, this race is pute theoretical

[GIT PULL] ARM: SoC fixes for 3.14-rc

2014-03-09 Thread Olof Johansson
Hi Linus, The following changes since commit cfbf8d4857c26a8a307fb7cd258074c9dcd8c691: Linux 3.14-rc4 (2014-02-23 17:40:03 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/fixes-for-linus for you to fetch changes up to

Re: 3.13.?: Strange / dangerous fan policy...

2014-03-09 Thread Guenter Roeck
On 03/08/2014 04:10 PM, Manuel Krause wrote: On 2014-03-08 16:59, Guenter Roeck wrote: On 03/08/2014 03:08 AM, Jean Delvare wrote: On Fri, 7 Mar 2014 14:52:30 -0800, Guenter Roeck wrote: On Fri, Mar 07, 2014 at 11:04:29PM +0100, Manuel Krause wrote: Hi, and thanks for the quick response! No

Re: [regression] linux-3.14.0-rc5-.. kernel does not switch power off

2014-03-09 Thread Jörg Otte
2014-03-09 18:15 GMT+01:00 Rafael J. Wysocki r...@rjwysocki.net: On Sunday, March 09, 2014 05:58:59 PM Rafael J. Wysocki wrote: On Sunday, March 09, 2014 05:55:28 PM Rafael J. Wysocki wrote: On Sunday, March 09, 2014 05:12:56 PM Jörg Otte wrote: On shutdown power is not switched off. The

Re: [RFC PATCH 6/8] ACPI: use platform bus as the default bus for _HID enumeration

2014-03-09 Thread Rafael J. Wysocki
On Sunday, March 09, 2014 01:33:27 PM Zhang Rui wrote: On Fri, 2014-03-07 at 02:46 +0100, Rafael J. Wysocki wrote: On Tuesday, March 04, 2014 01:35:00 AM Rafael J. Wysocki wrote: On 3/4/2014 1:27 AM, Zhang, Rui wrote: -Original Message- From: Rafael J. Wysocki

Re: [RFC PATCH 2/8] PNPACPI: use whilte list for pnpacpi device enumeration

2014-03-09 Thread Rafael J. Wysocki
On Sunday, March 09, 2014 01:29:30 PM Zhang Rui wrote: On Fri, 2014-03-07 at 02:44 +0100, Rafael J. Wysocki wrote: On Wednesday, February 26, 2014 05:11:08 PM Zhang Rui wrote: + +static int __init acpi_pnp_scan_handler_attach(struct acpi_device *adev, This can't be __init. +

Re: [PATCH v7 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-09 Thread Alexei Starovoitov
On Sun, Mar 9, 2014 at 7:45 AM, Eric Dumazet eric.duma...@gmail.com wrote: On Sat, 2014-03-08 at 15:15 -0800, Alexei Starovoitov wrote: +/** + * sk_run_filter_ext - run an extended filter + * @ctx: buffer to run the filter on + * @insn: filter to apply + * + * Decode and execute

Re: 3.13.?: Strange / dangerous fan policy...

2014-03-09 Thread Rafael J. Wysocki
On Sunday, March 09, 2014 01:10:25 AM Manuel Krause wrote: On 2014-03-08 16:59, Guenter Roeck wrote: On 03/08/2014 03:08 AM, Jean Delvare wrote: On Fri, 7 Mar 2014 14:52:30 -0800, Guenter Roeck wrote: On Fri, Mar 07, 2014 at 11:04:29PM +0100, Manuel Krause wrote: Hi, and thanks for the

[GIT PULL] PHY for 3.15

2014-03-09 Thread Kishon Vijay Abraham I
Hi Greg, Pls find the updated PULL request. It contains new PHY drivers (SATA, USB) adapted to generic PHY framework for a couple of platforms and a bunch of cleanups and fixes. The Documentation problem with the old PULL request has been fixed in this. Pls let me know If I have to make any

Re: [RFC PATCH 6/8] ACPI: use platform bus as the default bus for _HID enumeration

2014-03-09 Thread Rafael J. Wysocki
On Sunday, March 09, 2014 11:50:37 PM Zhang Rui wrote: On Wed, 2014-02-26 at 17:11 +0800, Zhang Rui wrote: Because of the growing demand for enumerating ACPI devices to platform bus, this patch changes the code to enumerate ACPI devices with _HID/_CID to platform bus by default, unless the

Re: [PATCH v7 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-09 Thread Alexei Starovoitov
On Sun, Mar 9, 2014 at 7:49 AM, Eric Dumazet eric.duma...@gmail.com wrote: On Sat, 2014-03-08 at 15:15 -0800, Alexei Starovoitov wrote: + if (BPF_SRC(fp-code) == BPF_K + (int)fp-k 0) { + /* extended BPF immediates are

Re: [qemu64,+smep,+smap] WARNING: CPU: 1 PID: 0 at arch/x86/kernel/cpu/amd.c:220 init_amd()

2014-03-09 Thread Paolo Bonzini
Il 07/03/2014 22:38, Borislav Petkov ha scritto: + Paolo. (drop Andreas' old, invalid now email). On Fri, Mar 07, 2014 at 01:01:22PM -0800, H. Peter Anvin wrote: qemu64 triggers this ? That spew comes from amd_k7_smp_check() which should only run on family 6, which was all 32bit. [

Re: [PATCH v7 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-09 Thread Eric Dumazet
On Sun, 2014-03-09 at 10:38 -0700, Alexei Starovoitov wrote: On Sun, Mar 9, 2014 at 7:45 AM, Eric Dumazet eric.duma...@gmail.com wrote: On Sat, 2014-03-08 at 15:15 -0800, Alexei Starovoitov wrote: +/** + * sk_run_filter_ext - run an extended filter + * @ctx: buffer to run the filter

Re: [GIT PULL] PHY for 3.15

2014-03-09 Thread gre...@linuxfoundation.org
On Sun, Mar 09, 2014 at 11:15:46PM +0530, Kishon Vijay Abraham I wrote: Hi Greg, Pls find the updated PULL request. It contains new PHY drivers (SATA, USB) adapted to generic PHY framework for a couple of platforms and a bunch of cleanups and fixes. The Documentation problem with the

Re: [PATCH 4/7] KVM: vmx: Allow the guest to run with dirty debug registers

2014-03-09 Thread Radim Krčmář
2014-03-07 12:42+0100, Paolo Bonzini: When not running in guest-debug mode (i.e. the guest controls the debug registers, having to take an exit for each DR access is a waste of time. If the guest gets into a state where each context switch causes DR to be saved and restored, this can take away

Re: [PATCH 3/7] KVM: x86: Allow the guest to run with dirty debug registers

2014-03-09 Thread Radim Krčmář
2014-03-07 12:42+0100, Paolo Bonzini: When not running in guest-debug mode, the guest controls the debug registers and having to take an exit for each DR access is a waste of time. If the guest gets into a state where each context switch causes DR to be saved and restored, this can take away

Re: [GIT PULL] PHY for 3.15

2014-03-09 Thread Kishon Vijay Abraham I
On Sunday 09 March 2014 11:49 PM, gre...@linuxfoundation.org wrote: On Sun, Mar 09, 2014 at 11:15:46PM +0530, Kishon Vijay Abraham I wrote: Hi Greg, Pls find the updated PULL request. It contains new PHY drivers (SATA, USB) adapted to generic PHY framework for a couple of platforms and a

Re: [qemu64,+smep,+smap] WARNING: CPU: 1 PID: 0 at arch/x86/kernel/cpu/amd.c:220 init_amd()

2014-03-09 Thread Borislav Petkov
On Sun, Mar 09, 2014 at 07:07:02PM +0100, Paolo Bonzini wrote: tl;dr: do not use qemu64, especially in system emulation mode. In user mode it should work, user mode programs are less susceptible to bogus family/member/stepping. When using dynamic translation in system emulation mode, use

[PATCH v2] affs: mount option to avoid name truncates

2014-03-09 Thread Fabian Frederick
Filename truncate process is defined in affs.h This patch adds 'nofilenametruncate' mount option and removes AFFS_MAX_PREALLOC which is never used. Signed-off-by: Fabian Frederick f...@skynet.be --- fs/affs/affs.h | 20 fs/affs/amigaffs.c | 23 +++

Re: [PATCH 5/6] Drivers: net: hyperv: Enable send side checksum offload

2014-03-09 Thread Ben Hutchings
On Thu, 2014-03-06 at 03:13 -0800, K. Y. Srinivasan wrote: [...] @@ -593,8 +658,9 @@ static int netvsc_probe(struct hv_device *dev, net-netdev_ops = device_ops; /* TODO: Add GSO and Checksum offload */ - net-hw_features = NETIF_F_RXCSUM | NETIF_F_SG; - net-features =

Re: [PATCH v7 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-09 Thread Alexei Starovoitov
On Sun, Mar 9, 2014 at 11:11 AM, Eric Dumazet eric.duma...@gmail.com wrote: On Sun, 2014-03-09 at 10:38 -0700, Alexei Starovoitov wrote: On Sun, Mar 9, 2014 at 7:45 AM, Eric Dumazet eric.duma...@gmail.com wrote: On Sat, 2014-03-08 at 15:15 -0800, Alexei Starovoitov wrote: +/** + *

Re: linux-next: build failure after merge of the arm-soc tree

2014-03-09 Thread Mark Brown
On Sun, Mar 09, 2014 at 10:08:58AM -0700, Olof Johansson wrote: On Sun, Mar 9, 2014 at 4:41 AM, Mark Brown broo...@kernel.org wrote: ERROR: Input tree has errors, aborting (use -f to force output) make[2]: *** [arch/arm/boot/dts/socfpga_arria5_socdk.dtb] Error 2 Known issue, I unmerged the

Re: [PATCH] net: sched: dev_deactivate_many(): use msleep(1) instead of yield() to wait for outstanding qdisc_run calls

2014-03-09 Thread Ben Hutchings
On Thu, 2014-03-06 at 16:06 -0500, David Miller wrote: From: Marc Kleine-Budde m...@pengutronix.de Date: Wed, 5 Mar 2014 00:49:47 +0100 @@ -839,7 +839,7 @@ void dev_deactivate_many(struct list_head *head) /* Wait for outstanding qdisc_run calls. */ list_for_each_entry(dev,

Re: [PATCH v7 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-09 Thread Eric Dumazet
On Sun, 2014-03-09 at 11:57 -0700, Alexei Starovoitov wrote: In sk_run_filter_ext() I used u64 stack[64];, but u64 stack[60]; is safe too, but I didn't want to go into extensive explanation of 'magic' 60 number in the first patch, so I just rounded it to 64. Since now you understand, I can

linux-next: manual merge of the drm-intel tree with the tree

2014-03-09 Thread Mark Brown
Hi all, Today's linux-next merge of the drm-intel tree got a conflict in between commit 27d50c82714f6 (ACPI / i915: Fix incorrect acpi/acpi.h inclusions via linux/acpi_io.h) from tree and commit 2fae6a860ca9 (drm/i915: Go OCD on the Makefile) from the drm-intel tree. I fixed it up (see

Re: [PATCH v7 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-09 Thread Alexei Starovoitov
On Sun, Mar 9, 2014 at 12:11 PM, Eric Dumazet eric.duma...@gmail.com wrote: On Sun, 2014-03-09 at 11:57 -0700, Alexei Starovoitov wrote: In sk_run_filter_ext() I used u64 stack[64];, but u64 stack[60]; is safe too, but I didn't want to go into extensive explanation of 'magic' 60 number in the

Re: [PATCH v6 6/8] of: Implement simplified graph binding for single port devices

2014-03-09 Thread Philipp Zabel
On Fri, Mar 07, 2014 at 06:38:02PM +, Grant Likely wrote: On Wed, 5 Mar 2014 10:20:40 +0100, Philipp Zabel p.za...@pengutronix.de wrote: For simple devices with only one port, it can be made implicit. The endpoint node can be a direct child of the device node. Signed-off-by:

[PATCH] zram: use scnprintf() in attrs show() methods

2014-03-09 Thread Sergey Senozhatsky
sysfs.txt documentation lists the following requirements: - The buffer will always be PAGE_SIZE bytes in length. On i386, this is 4096. - show() methods should return the number of bytes printed into the buffer. This is the return value of scnprintf(). - show() should always use

Re: [PATCH net-next v2 10/13] r8152: support IPv6

2014-03-09 Thread Ben Hutchings
On Wed, 2014-03-05 at 14:49 +0800, Hayes Wang wrote: Support hw IPv6 checksum for TCP and UDP packets. Note that the hw has the limitation of the range of the transport offset. Besides, the TCP Pseudo Header of the IPv6 TSO of the hw bases on the Microsoft document which excludes the packet

Re: [PATCH 3/7] KVM: x86: Allow the guest to run with dirty debug registers

2014-03-09 Thread Paolo Bonzini
Il 09/03/2014 19:28, Radim Krčmář ha scritto: /* + * Do this here before restoring debug registers on the host. And + * since we do this before handling the vmexit, a DR access vmexit + * can (a) read the correct value of the debug registers, (b) set + * KVM_DEBUGREG_WONT_EXIT

[PATCH 1/2] brcmsmac: fix deadlock on missing firmware

2014-03-09 Thread Emil Goode
When brcm80211 firmware is not installed networking hangs. A deadlock happens because we call ieee80211_unregister_hw() from the .start callback of struct ieee80211_ops. When .start is called we are under rtnl lock and ieee80211_unregister_hw() tries to take it again. Function call stack:

[PATCH 2/2] brcmsmac: update comment to reflect the code

2014-03-09 Thread Emil Goode
The brcms_attach function is defined as static but the comment is saying that it should not be static or gcc will issue a warning. I believe we can remove the comment as I don't se a problem with this function being defined as static. Signed-off-by: Emil Goode emilgo...@gmail.com ---

  1   2   3   4   5   >