Re: [PATCH v3 4/4] scsi: provide UAPI version of scsi/sg.h and scsi/scsi_ioctl.h

2015-09-27 Thread Douglas Gilbert
On 15-09-25 11:27 AM, Paolo Bonzini wrote: Provide a UAPI version of the header in the kernel, making it easier for interested projects to use an up-to-date version of the header. The new headers are placed under uapi/linux/ so as not to conflict with the glibc-provided headers in /usr/include/s

Re: [PATCH v3 3/4] scsi: move all obsolete ioctls to scsi_ioctl.h

2015-09-27 Thread Douglas Gilbert
On 15-09-25 11:27 AM, Paolo Bonzini wrote: Some are in scsi.h. Keep them together in preparation for exposing them in UAPI headers. Cc: James Bottomley Cc: Christoph Hellwig Cc: linux-s...@vger.kernel.org Reviewed-by: Bart Van Assche Signed-off-by: Paolo Bonzini Acked-by: Douglas Gilbert

Re: Build regressions/improvements in v4.3-rc3

2015-09-27 Thread Geert Uytterhoeven
On Sun, Sep 27, 2015 at 9:34 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.3-rc3[1] to v4.3-rc2[3], the summaries are: > - build errors: +8/-12 + error: No rule to make target include/config/auto.conf: => N/A arm-randconfig > [1] http://kisskb.ellerman.id.au/kisskb/head/9404/ (25

Build regressions/improvements in v4.3-rc3

2015-09-27 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.3-rc3[1] compared to v4.2[2]. Summarized: - build errors: +8/-8 - build warnings: +161/-97 JFYI, when comparing v4.3-rc3[1] to v4.3-rc2[3], the summaries are: - build errors: +8/-12 - build warnings: +49/-181 Note th

Re: First kernel patch (optimization)

2015-09-27 Thread Thiago Farina
On Sat, Sep 19, 2015 at 2:18 AM, Greg KH wrote: > On Fri, Sep 18, 2015 at 10:26:24PM -0400, Theodore Ts'o wrote: >> On Fri, Sep 18, 2015 at 12:42:48AM -0700, Greg KH wrote: >> > So don't take cleanup patches for your code, that's fine, and I totally >> > understand why _you_ don't want to do that.

Re: [PATCH v3 2/4] scsi: cleanup scsi/scsi_ioctl.h

2015-09-27 Thread Douglas Gilbert
On 15-09-25 11:27 AM, Paolo Bonzini wrote: SCSI_REMOVAL_* goes together with other SCSI command constants in include/scsi/scsi.h. It is also used outside the implementation of the ioctls (and it is not part of the user API). scsi_fctargaddress/Scsi_FCTargAddress has had no in-tree use since com

Re: [PATCH v3 1/4] scsi: remove old-style type names from sg.h

2015-09-27 Thread Douglas Gilbert
On 15-09-25 11:27 AM, Paolo Bonzini wrote: These will not be exported by the new linux/sg.h header, and scsi/sg.h will not have any user API after linux/sg.h is created. Since they have no user in the kernel, they can be zapped. Cc: James Bottomley Cc: Christoph Hellwig Cc: linux-s...@vger.ke

[lkp] [Btrfs] 9476e6cfdf: BUG: unable to handle kernel NULL pointer dereference at 0000000000000058

2015-09-27 Thread kernel test robot
FYI, we noticed the below changes on https://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git pending-ordered-fix commit 9476e6cfdffdb9d57f22cded973e7a0bf84c7dbe ("Btrfs: use btrfs_get_fs_root in resolve_indirect_ref") [ 18.687436] BTRFS: selftest: Running outstanding_extents tes

Re: [PATCH] fs/buffer: simplify the code flow of LRU management algorithm

2015-09-27 Thread yalin wang
why not change like this: diff --git a/fs/buffer.c b/fs/buffer.c index 82283ab..d6769f1 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -1287,40 +1287,31 @@ static inline void check_irqs_on(void) */ static void bh_lru_install(struct buffer_head *bh) { - struct buffer_head *evictee = NULL;

Re: [Linux v4.2] workqueue: llvmlinux: acpid: BUG: sleeping function called from invalid context at kernel/workqueue.c:2680

2015-09-27 Thread Sedat Dilek
[ CC only relevant people plus Paul as he took care in another thread ] First of all, sorry for flooding anybody or any mailing-list. Of course, using LLVM/Clang for the Linux-kernel is still WIP, but this does not mean using a different compiler does not find any bugs... Fascinated somehow of t

[lkp] [nfsd] 4aac1bf05b: -2.9% fsmark.files_per_sec

2015-09-27 Thread kernel test robot
FYI, we noticed the below changes on = tbox_group/testcase/rootfs/kconfig/compiler/cpufreq_governor/iterations/nr_threads/disk/fs/fs2/filesize/test_size/sync_method/nr_directories/nr_files_per_directory: lkp

Re: [PATCH] Patch to integrate RapidDisk and RapidCache RAM Drive / Caching modules into the kernel

2015-09-27 Thread Christoph Hellwig
On Sun, Sep 27, 2015 at 12:17:24PM -0500, Petros Koutoupis wrote: > Attached is a patch for two modules: RapidDisk & RapidCache. RapidDisk is a > Linux RAM drive module which allows the user to dynamically create, remove, > and resize RAM-based block devices. RapidDisk is designed to work with both

Re: [PATCH 1/2] x86/efi: Map EFI memmap entries in-order at runtime

2015-09-27 Thread Ard Biesheuvel
On 27 September 2015 at 08:03, Ingo Molnar wrote: > > * Matt Fleming wrote: > [...] >> [...] The actual virtual addresses we pick are exactly the same with the two >> patches. > > So I'm NAK-ing this for now: > > - The code is it reads today pretends to be an 'allocator'. It is _NOT_ an >all

Re: [PATCH v2] driver-core: platform: Provide helpers for multi-driver modules

2015-09-27 Thread Andy Shevchenko
On Fri, Sep 25, 2015 at 6:29 PM, Thierry Reding wrote: > From: Thierry Reding > > Some modules register several sub-drivers. Provide a helper that makes > it easy to register and unregister a list of sub-drivers, as well as > unwind properly on error. > > Cc: Greg Kroah-Hartman > Signed-off-by:

Re: [PATCH] tile: fix build failure

2015-09-27 Thread Sudip Mukherjee
On Tue, Sep 08, 2015 at 01:44:26PM -0400, Chris Metcalf wrote: > On 09/07/2015 10:36 AM, Sudip Mukherjee wrote: > >When building with allmodconfig the build was failing with the error: > > > >arch/tile/kernel/usb.c:70:1: warning: data definition has no type or storage > >class [enabled by default]

[PATCH] kexec: fix out of the ELF headers buffer issue in syscall kexec_file_load()

2015-09-27 Thread Lee, Chun-Yi
On big machines have CPU number that's very nearly to consume whole ELF headers buffer that's page aligned, 4096, 8192... Then the page fault error randomly happened. This patch modified the code in fill_up_crash_elf_data() by using walk_system_ram_res() instead of walk_system_ram_range() to count

Re: [PATCH 4/5] kernel/cpu.c: eliminate cpu_*_mask

2015-09-27 Thread Rasmus Villemoes
On Mon, Sep 28 2015, kbuild test robot wrote: > Hi Rasmus, > > [auto build test results on v4.3-rc2 -- if it's inappropriate base, please > ignore] > > config: powerpc-allyesconfig (attached as .config) > reproduce: > wget > https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain

[lkp] [drm/i915] e1f123257a:

2015-09-27 Thread kernel test robot
FYI, we noticed the below changes on git://anongit.freedesktop.org/drm-intel for-linux-next commit e1f123257a1f7d3af36a31a0fb2d4c6f40039fed ("drm/i915: Expand error state's address width to 64b") = tbox_group

[PATCH 1/1] ASoC: dwc: fix dma stop transferring issue

2015-09-27 Thread yitian
Designware I2S uses tx empty and rx available signals as the DMA handshaking signals. during music playing, if XRUN occurs, i2s_stop() function will be executed and both tx and rx irq are masked, when music contintes to be played, i2s_start() is executed but both tx and rx irq are not unmasked whic

Re: [PATCH 1/6] driver-core: platform: Provide helpers for multi-driver modules

2015-09-27 Thread Jani Nikula
On Fri, 25 Sep 2015, Thierry Reding wrote: > On Fri, Sep 25, 2015 at 01:27:28PM +0300, Jani Nikula wrote: >> On Thu, 24 Sep 2015, Thierry Reding wrote: > [...] >> > diff --git a/drivers/base/platform.c b/drivers/base/platform.c > [...] >> > +/** >> > + * platform_register_drivers - register an ar

Re: [PATCH v3 4/4] scsi: provide UAPI version of scsi/sg.h and scsi/scsi_ioctl.h

2015-09-27 Thread kbuild test robot
Hi Paolo, [auto build test results on v4.3-rc2 -- if it's inappropriate base, please ignore] config: i386-randconfig-a0-201538 (attached as .config) reproduce: git checkout d88f2083643f6dfacba14b2e95217dc6e0a4be37 # save the attached .config to linux build tree make ARCH=i386 All warning

Re: [GIT PULL rcu/urgent] Fix two more 4.3 regressions

2015-09-27 Thread Sedat Dilek
On Mon, Sep 28, 2015 at 8:03 AM, Ingo Molnar wrote: > > * Sedat Dilek wrote: > >> [ 23.874836] BUG: sleeping function called from invalid context at >> kernel/workqueue.c:2678 >> [ 23.874902] in_atomic(): 0, irqs_disabled(): 1, pid: 1411, name: acpid >> >> $ grep LOCKDEP /boot/config-4.3.0-rc

Re: [PATCH 3/4] remoteproc: qcom: Introduce WCNSS peripheral image loader

2015-09-27 Thread kbuild test robot
Hi Bjorn, [auto build test results on v4.3-rc2 -- if it's inappropriate base, please ignore] config: arm64-allmodconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross

Re: [PATCH 0/5] kernel/cpu.c: eliminate some indirection

2015-09-27 Thread Rasmus Villemoes
On Sun, Sep 27 2015, Rusty Russell wrote: > But to be clear, it has outlived its usefulness, but it was not useless. > > In particular, there used to be a debug config where 'struct cpumask' > wasn't defined, so we could catch people declaring 'struct cpumask' on > the stack (or passing by value)

[PATCH 1/1] ASoc: dwc: correct irq clear method

2015-09-27 Thread yitian
from Designware I2S datasheet, irq is cleared by reading from TOR/ROR registers, rather than by writing into them. Signed-off-by: Yitian Bu --- sound/soc/dwc/designware_i2s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/dwc/designware_i2s.c b/sound/soc/dwc/de

Re: [PATCH 2/2] arm64/efi: Don't pad between EFI_MEMORY_RUNTIME regions

2015-09-27 Thread Ingo Molnar
* Borislav Petkov wrote: > On Sun, Sep 27, 2015 at 09:06:44AM +0200, Ingo Molnar wrote: > > > Could we please re-list all the arguments pro and contra of 1:1 physical > > mappings, in a post that also explains the background so that more people > > can > > chime in, not just people versed in

[PATCH] rtc: fix platform_no_drv_owner.cocci warnings

2015-09-27 Thread kbuild test robot
drivers/rtc/rtc-rv8803.c:494:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Alexandre Belloni Signed-off-by: Fengguang Wu --- rtc-rv8803.c |1 -

Re: [PATCH] rtc: Add a driver for Micro Crystal RV8803

2015-09-27 Thread kbuild test robot
Hi Alexandre, [auto build test results on v4.3-rc2 -- if it's inappropriate base, please ignore] coccinelle warnings: (new ones prefixed by >>) >> drivers/rtc/rtc-rv8803.c:494:3-8: No need to set .owner here. The core will >> do it. -- >> drivers/rtc/rtc-rv8803.c:350:2-5: WARNING: end returns

Re: [PATCH 1/2] x86/efi: Map EFI memmap entries in-order at runtime

2015-09-27 Thread Ingo Molnar
* Matthew Garrett wrote: > On Sun, Sep 27, 2015 at 09:30:48AM -0700, Andy Lutomirski wrote: > > On Sep 26, 2015 1:19 PM, "H. Peter Anvin" wrote: > > > > > > Sadly a lot of firmware is known to fail in that configuration :( That > > > was very much our guest choice. > > > > > > > Why can't we

[lkp] [genirq] 755d119a62: 2.7% unixbench.score

2015-09-27 Thread kernel test robot
FYI, we noticed the below changes on https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 755d119a6204974b2005a98549a48a75a7f5010b ("genirq: Simplify irq_data_to_desc()") = tbox_g

Re: [GIT PULL rcu/urgent] Fix two more 4.3 regressions

2015-09-27 Thread Ingo Molnar
* Paul E. McKenney wrote: > Hello, Ingo, > > This series contains two small fixes for regressions introduced during > the past merge window: > > 1.Recent versions of gcc are fatally confused by use of a const > int variable for array bounds in inline functions, one of which > w

Re: [GIT PULL rcu/urgent] Fix two more 4.3 regressions

2015-09-27 Thread Ingo Molnar
* Sedat Dilek wrote: > [ 23.874836] BUG: sleeping function called from invalid context at > kernel/workqueue.c:2678 > [ 23.874902] in_atomic(): 0, irqs_disabled(): 1, pid: 1411, name: acpid > > $ grep LOCKDEP /boot/config-4.3.0-rc2-438.1-llvmlinux-amd64 Was this kernel built with LLVM? If

Re: [PATCH 4/5] kernel/cpu.c: eliminate cpu_*_mask

2015-09-27 Thread kbuild test robot
Hi Rasmus, [auto build test results on v4.3-rc2 -- if it's inappropriate base, please ignore] config: powerpc-allyesconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cros

Re: [PATCH 10/26] x86, pkeys: notify userspace about protection key faults

2015-09-27 Thread Ingo Molnar
* Dave Hansen wrote: > On 09/25/2015 11:20 PM, Ingo Molnar wrote: > > * Dave Hansen wrote: > ... > >> Since follow_pte() fails for all huge > >> pages, it just falls back to pulling the protection key out of the VMA, > >> which _does_ work for huge pages. > > > > That might be true for explici

Re: [PATCH 4.2 000/134] 4.2.2-stable review

2015-09-27 Thread Sudip Mukherjee
On Sat, Sep 26, 2015 at 01:54:12PM -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.2.2 release. > There are 134 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know.

Re: [PATCH v7 5/6] Documentation: dt-bindings: pci: altera pcie device tree binding

2015-09-27 Thread Ley Foon Tan
On Sat, Sep 26, 2015 at 11:55 AM, Rob Herring wrote: > > On 09/20/2015 09:13 PM, Ley Foon Tan wrote: > > This patch adds the bindings for Altera PCIe host controller driver and > > Altera PCIe MSI driver. > > > > Signed-off-by: Ley Foon Tan > > --- > > .../devicetree/bindings/pci/altera-pcie-msi

[PATCH 02/12] KVM: x86: Add a common TSC scaling ratio field in kvm_vcpu_arch

2015-09-27 Thread Haozhong Zhang
This patch moves the field of TSC scaling ratio from the architecture struct vcpu_svm to the common struct kvm_vcpu_arch. Signed-off-by: Haozhong Zhang --- arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kvm/svm.c | 23 +-- arch/x86/kvm/x86.c | 3 +

[PATCH 08/12] KVM: x86: Use the correct vcpu's TSC rate to compute time scale

2015-09-27 Thread Haozhong Zhang
This patch makes KVM use virtual_tsc_khz rather than the host TSC rate as vcpu's TSC rate to compute the time scale if TSC scaling is enabled. Signed-off-by: Haozhong Zhang --- arch/x86/kvm/x86.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/

[PATCH 05/12] KVM: x86: Replace call-back compute_tsc_offset() with a common function

2015-09-27 Thread Haozhong Zhang
Both VMX and SVM calculate the tsc-offset in the same way, so this patch removes the call-back compute_tsc_offset() and replaces it with a common function kvm_compute_tsc_offset(). Signed-off-by: Haozhong Zhang --- arch/x86/include/asm/kvm_host.h | 1 - arch/x86/kvm/svm.c | 10

[PATCH 04/12] KVM: x86: Replace call-back set_tsc_khz() with a common function

2015-09-27 Thread Haozhong Zhang
Both VMX and SVM propagate virtual_tsc_khz in the same way, so this patch removes the call-back set_tsc_khz() and replaces it with a common function. Signed-off-by: Haozhong Zhang --- arch/x86/include/asm/kvm_host.h | 1 - arch/x86/kvm/svm.c | 36 ---

Re: [PATCH 1/5] mtd: nand: add basic stuff to support power-cut emulation

2015-09-27 Thread kbuild test robot
Hi Boris, [auto build test results on v4.3-rc2 -- if it's inappropriate base, please ignore] config: i386-allnoconfig (attached as .config) reproduce: git checkout f3924c26b426d59134751b046f403f3f66e16ed7 # save the attached .config to linux build tree make ARCH=i386 All warnings (new on

[PATCH 03/12] KVM: x86: Add a common TSC scaling function

2015-09-27 Thread Haozhong Zhang
VMX and SVM calculate the TSC scaling ratio in a similar logic, so this patch generalizes it to a common TSC scaling function. Signed-off-by: Haozhong Zhang --- arch/x86/kvm/svm.c | 48 +++-- arch/x86/kvm/x86.c | 70

[PATCH 10/12] KVM: VMX: Setup TSC scaling ratio when a vcpu is loaded

2015-09-27 Thread Haozhong Zhang
This patch makes kvm-intel module to load TSC scaling ratio into TSC multiplier field of VMCS when a vcpu is loaded, so that TSC scaling ratio can take effect if VMX TSC scaling is enabled. Signed-off-by: Haozhong Zhang --- arch/x86/kvm/vmx.c | 6 ++ 1 file changed, 6 insertions(+) diff --g

[PATCH 12/12] KVM: VMX: Dump TSC multiplier in dump_vmcs()

2015-09-27 Thread Haozhong Zhang
This patch enhances dump_vmcs() to dump the value of TSC multiplier field in VMCS. Signed-off-by: Haozhong Zhang --- arch/x86/kvm/vmx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index d0a2928..b19cdbe 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch

[PATCH 09/12] KVM: VMX: Enable and initialize VMX TSC scaling

2015-09-27 Thread Haozhong Zhang
This patch exhances kvm-intel module to enable VMX TSC scaling and collects information of TSC scaling ratio during initialization. Signed-off-by: Haozhong Zhang --- arch/x86/include/asm/vmx.h | 4 +++- arch/x86/kvm/vmx.c | 20 +++- 2 files changed, 22 insertions(+), 2 d

[PATCH 11/12] KVM: VMX: Use a scaled host TSC for guest readings of MSR_IA32_TSC

2015-09-27 Thread Haozhong Zhang
This patch makes kvm-intel to return a scaled host TSC plus the TSC offset when handling guest readings to MSR_IA32_TSC. Signed-off-by: Haozhong Zhang --- arch/x86/kvm/vmx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index

[PATCH 07/12] KVM: x86: Move TSC scaling logic out of call-back read_l1_tsc()

2015-09-27 Thread Haozhong Zhang
Both VMX and SVM scales the host TSC in the same way in call-back read_l1_tsc(), so this patch moves the scaling logic from call-back read_l1_tsc() to a common function kvm_read_l1_tsc(). Signed-off-by: Haozhong Zhang --- arch/x86/kvm/lapic.c | 5 ++--- arch/x86/kvm/svm.c | 3 +-- ar

[PATCH 06/12] KVM: x86: Move TSC scaling logic out of call-back adjust_tsc_offset()

2015-09-27 Thread Haozhong Zhang
For both VMX and SVM, if the 2nd argument of call-back adjust_tsc_offset() is the host TSC, then adjust_tsc_offset() will scale it first. This patch moves this common TSC scaling logic to its caller adjust_tsc_offset_host(). Signed-off-by: Haozhong Zhang --- arch/x86/include/asm/kvm_host.h | 13

[PATCH 01/12] KVM: x86: Collect information for setting TSC scaling ratio

2015-09-27 Thread Haozhong Zhang
The number of bits of the fractional part of the 64-bit TSC scaling ratio in VMX and SVM is different. This patch makes the architecture code to collect the number of fractional bits and other related information into variables that can be accessed in the common code. Signed-off-by: Haozhong Zhang

[PATCH 00/12] KVM: x86: add support for VMX TSC scaling

2015-09-27 Thread Haozhong Zhang
This patchset adds support for VMX TSC scaling feature which is available on Intel Skylake CPU. The specification of VMX TSC scaling can be found at http://www.intel.com/content/www/us/en/processors/timestamp-counter-scaling-virtualization-white-paper.html VMX TSC scaling allows guest TSC which is

[PATCH 2/2] arm64: to allow EFI_RTC can be selected on ARM64

2015-09-27 Thread Zhen Lei
Now, ARM64 is also support EFI startup. We hope use EFI runtime services to get/set current time and date. RTC_LIB only controls some configs in drivers/char/Kconfig(included EFI_RTC), and will be automatically selected when RTC_CLASS opened. So this patch have no functional change but give an opp

[PATCH 1/2] char/rtc: to allow EFI_RTC can be selected on ARM64

2015-09-27 Thread Zhen Lei
Now, ARM64 is also support EFI startup. We hope use EFI runtime services to get/set current time and date. Slightly adjust to keep a line not exceed 80 characters. Signed-off-by: Zhen Lei --- drivers/char/Kconfig | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drive

Re: [PATCH] fs/buffer: simplify the code flow of LRU management algorithm

2015-09-27 Thread Minfei Huang
Ping, Could you someone help to review this patch? Thanks Minfei On 09/10/15 at 04:09pm, Minfei Huang wrote: > From: Minfei Huang > > There is a buffer_head lru list cache in local cpu to accelerate the > speed. The LRU management algorithm is simple enough in > bh_lru_install(). > > There are

[PATCH 0/2] to allow EFI_RTC can be selected on ARM64

2015-09-27 Thread Zhen Lei
I apart the modification into two parts, and use the same title and main description for each part. Zhen Lei (2): char/rtc: to allow EFI_RTC can be selected on ARM64 arm64: to allow EFI_RTC can be selected on ARM64 arch/arm64/Kconfig | 2 +- drivers/char/Kconfig | 9 ++--- 2 files chan

Re: [PATCH] kselftest: replace $(RM) with rm -f command

2015-09-27 Thread Cam Hutchison
Mathieu Desnoyers writes: >- On Sep 27, 2015, at 10:10 PM, Wang Long long.wangl...@huawei.com wrote: >> Some test's Makefile using "$(RM)" while the other's >> using "rm -f". It is better to use one of them in all >> tests. >I agree that this disparity appears to be unwanted. We >should set

[RESEND PATCH v2 1/2] ASoC: atmel-classd: add the Audio Class D Amplifier

2015-09-27 Thread Songjun Wu
Add driver for the digital imput to PWM output stereo class D amplifier. It comes with filter, digitally controlled gain, an equalizer and a dmphase filter. Signed-off-by: Songjun Wu --- Changes in v2: - Change the "Mono", "Swap" and "Deemphasis" controls to "Mono Switch", "Swap Switch" and "D

[RESEND PATCH v2 0/2] ASoC: atmel-classd: add driver for Atmel CLASSD

2015-09-27 Thread Songjun Wu
The Audio Class D Amplifier driver includes two parts. 1) Driver code to implement the Audio Class D Amplifier function. 2) Device tree binding document, it describes how to add the Audio Class D Amplifier in device tree. Changes in v2: - Change the "Mono", "Swap" and "Deemphasis" controls to

[RESEND PATCH v2 2/2] SoC: atmel-classd: DT binding for Class D audio amplifier driver

2015-09-27 Thread Songjun Wu
DT binding documentation for this new ASoC driver. Signed-off-by: Songjun Wu --- Changes in v2: - Delete the device node "Sound" in dts. .../devicetree/bindings/sound/atmel-classd.txt | 52 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree

Re: [PATCH 4.1 000/159] 4.1.9-stable review

2015-09-27 Thread Sudip Mukherjee
On Sat, Sep 26, 2015 at 01:54:06PM -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.1.9 release. > There are 159 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know.

Subject: [PATCH] ver_linux: uniform output across various linux distros

2015-09-27 Thread Alexander Kapshuk
Hello, Having run 'scripts/ver_linux' on my Gentoo system, as well as having looked through some recent bug reports on the kernel bugzilla website showing the output of the script in question, I have observed that the output is not accurate across various distros. While the current implementation

RE: Re: [V4 PATCH 3/4] kexec: Fix race between panic() and crash_kexec() called directly

2015-09-27 Thread 河合英宏 / KAWAI,HIDEHIRO
> Hi Hidehiro, > > [auto build test results on v4.3-rc2 -- if it's inappropriate base, please > ignore] > > config: x86_64-allnoconfig (attached as .config) > reproduce: > git checkout 0077681103150af584e5e592c0238fd010654c26 > # save the attached .config to linux build tree > make ARCH=x8

Re: [PATCH RFC v3 2/2] pidns: introduce syscall getvpid

2015-09-27 Thread kbuild test robot
Hi Konstantin, [auto build test results on next-20150925 -- if it's inappropriate base, please ignore] config: openrisc-or1ksim_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x

regmap-spmi.c:undefined reference to `spmi_register_read'

2015-09-27 Thread Fengguang Wu
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 9ffecb10283508260936b96022d4ee43a7798b4c commit: cb7fb4d342023d03070fcc1ed73fcd43682973d7 thermal: qcom_spmi: allow compile test date: 2 weeks ago config: i386-randconfig-h0-09280929 (attached as .config)

Re: [V4 PATCH 3/4] kexec: Fix race between panic() and crash_kexec() called directly

2015-09-27 Thread kbuild test robot
Hi Hidehiro, [auto build test results on v4.3-rc2 -- if it's inappropriate base, please ignore] config: x86_64-allnoconfig (attached as .config) reproduce: git checkout 0077681103150af584e5e592c0238fd010654c26 # save the attached .config to linux build tree make ARCH=x86_64 All error/war

Re: [V4 PATCH 3/4] kexec: Fix race between panic() and crash_kexec() called directly

2015-09-27 Thread kbuild test robot
Hi Hidehiro, [auto build test results on v4.3-rc2 -- if it's inappropriate base, please ignore] config: ia64-allyesconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross

[PATCH v3 4/4] perf tools: Enable event_config terms to tracepoint events

2015-09-27 Thread He Kuang
This patch enable config terms for tracepoint perf events. Valid terms for tracepoint events are call-graph and stack-size, so we can use different callgraph settings for each event and eliminate unnecessary overhead. Here is an example for using different call-graph config for each tracepoint.

[PATCH v3 2/4] perf tools: Prompt proper error message for wrong terms of hw/sw events

2015-09-27 Thread He Kuang
Prompt proper error message and show valid terms when wrong config terms is specificed for hw/sw type perf events. This patch makes the original error prompt function formats_error_string() more generic, which only outputs the static config terms for hw/sw perf events, and prepends pmu formats for

[PATCH v3 3/4] perf tools: Adds the tracepoint name parsing support

2015-09-27 Thread He Kuang
Adds rules for parsing tracepoint names. Change rules of tracepoint which derives of PE_NAMEs into tracepoint names directly, so adding more rules based on tracepoint names will be easier. Signed-off-by: He Kuang --- Changes v2-v3: - Change __event_legacy_tracepoint label in bison file to tra

[PATCH v3 1/4] perf tools: Adds the config_term callback for different type events

2015-09-27 Thread He Kuang
Currently, function config_term() is used for checking config terms of all types of events, while unknown terms is not reported as an error because pmu events have valid terms in sysfs. But this is wrong when unknown terms are specificed to hw/sw events. This patch Adds the config_term callback so

Re: [PATCH v2 1/8] spi: imx: Fix DMA transfer

2015-09-27 Thread kbuild test robot
Hi Anton, [auto build test results on v4.3-rc2 -- if it's inappropriate base, please ignore] config: arm-arm5 (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git check

Re: [PATCH v8 3/5] usb: phy: add usb3.0 phy driver for mt65xx SoCs

2015-09-27 Thread chunfeng yun
hi, On Fri, 2015-09-18 at 12:12 +0530, Kishon Vijay Abraham I wrote: > Hi, > > On Wednesday 16 September 2015 12:14 PM, Chunfeng Yun wrote: > > support usb3.0 phy of mt65xx SoCs > few nitpicks: > > change $subject. This driver is no longer in usb directory. > > It can be just "phy: add usb3.0 ph

Re: [PATCH] KVM: x86: fix bogus warning about reserved bits

2015-09-27 Thread Xiao Guangrong
On 09/25/2015 03:49 PM, Paolo Bonzini wrote: On 24/09/2015 12:12, Borislav Petkov wrote: On Thu, Sep 24, 2015 at 11:23:08AM +0800, Xiao Guangrong wrote: +static inline bool +boot_cpu_is_amd(void) +{ + WARN_ON_ONCE(!tdp_enabled); + return shadow_x_mask != 0; shadow_x_mask != 0

Re: [PATCH 1/1] dmaengine: dw: resolve recursion lock when audio playback

2015-09-27 Thread Viresh Kumar
On 26 September 2015 at 05:38, yitian wrote: > when audio playback is running, user space will call > snd_pcm_lib_write1() function, it will first get pcm stream lock, > after that it may call function snd_pcm_update_hw_ptr(), the call > stack will be as below: > snd_pcm_lib_write1 <-- got pcm

Re: [PATCH] kselftest: replace $(RM) with rm -f command

2015-09-27 Thread Mathieu Desnoyers
- On Sep 27, 2015, at 10:10 PM, Wang Long long.wangl...@huawei.com wrote: > Some test's Makefile using "$(RM)" while the other's > using "rm -f". It is better to use one of them in all > tests. I agree that this disparity appears to be unwanted. We should settle on one or the other. > > "rm

Re: [PATCH] rtc: Add a driver for Micro Crystal RV8803

2015-09-27 Thread Josh Cartwright
Hello Alexandre- Few comments below. On Sat, Sep 26, 2015 at 03:54:39PM +0200, Alexandre Belloni wrote: > This driver supports the following functions: > - reading and settings time > - alarms when connected to an IRQ > - reading and clearing the voltage low flags > - nvram > > Signed-off-by

Re: [PATCH 1/1] dmaengine: dw: fix nollp issue

2015-09-27 Thread Viresh Kumar
On Sun, Sep 27, 2015 at 7:55 PM, yitian wrote: > when channel number is less than maximum number, the register > address of all channels is wrong, which causes the "nollp" flag > is set for all channels even if HW supports llp. > > Signed-off-by: Yitian Bu > --- > drivers/dma/dw/core.c | 2 +- >

[PATCH 1/1] dmaengine: dw: fix nollp issue

2015-09-27 Thread yitian
when channel number is less than maximum number, the register address of all channels is wrong, which causes the "nollp" flag is set for all channels even if HW supports llp. Signed-off-by: Yitian Bu --- drivers/dma/dw/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dr

Re: [PATCH v3 5/5] gpio: tps65912: Add GPIO driver for the TPS65912 PMIC

2015-09-27 Thread Alexandre Courbot
On Thu, Sep 24, 2015 at 11:52 PM, Andrew F. Davis wrote: > This patch adds support for the TPS65912 PMIC GPIOs. > > TPS65912 has five configurable GPIOs that can be used for several > purposes. > > Signed-off-by: Andrew F. Davis > --- > drivers/gpio/Kconfig | 6 ++ > drivers/gpio/Makef

DO YOU NEED A LOAN AT 3% RATE ANNUALLY.

2015-09-27 Thread
DO YOU NEED A LOAN AT 3% RATE ANNUALLY,IF YES CONTACT US FOR MORE INFO -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://w

linux-next: no release today

2015-09-27 Thread Stephen Rothwell
Hi all, There will be no linux-next release today. Normal service should resume tomorrow. -- Cheers, Stephen Rothwells...@canb.auug.org.au -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More ma

Re: v4.3-rc2, fault in sock_release via nfs_put_client

2015-09-27 Thread J. R. Okajima
Trond Myklebust: > On Sun, Sep 27, 2015 at 8:47 AM, J. R. Okajima wrote: > > I don't know whether this is a known issue or not (since I was off from > > development for a few months), but I've got a "general protection fault: > > " message from linux-4.3-rc2. ::: > There is a fix for

Re: Can you give me a suggestion for how to compile size kselftest?

2015-09-27 Thread long.wanglong
On 2015/9/25 4:02, Bird, Tim wrote: > On Wednesday, September 23, 2015 8:26 PM, long.wanglong > [long.wangl...@huawei.com] wrote: >> >> Hi, tim >> >> Could you help me with the following problem? >> >> On my x86_64 system, I can not compile the size kselftest, the output is: >> >> for TARGET in si

[v4.2+ regression] fd7a4bed sched, rt: Convert switched_{from, to}_rt() / prio_changed_rt() to balance callbacks

2015-09-27 Thread Mike Galbraith
Hi Peter, I bumped into an odd futextest regression, and finally bisected it to $subject. I haven't poked at it yet, chasing down and confirming the little bugger munched the day. #!/bin/sh cd /home/git/futextest/functional trap "killall -KILL -q cpuhog;exit;" INT for i in `seq 0 7`; do taskse

[PATCH] kselftest: replace $(RM) with rm -f command

2015-09-27 Thread Wang Long
Some test's Makefile using "$(RM)" while the other's using "rm -f". It is better to use one of them in all tests. "rm -f" is better, because it is less magic, and everyone konws what is does. Signed-off-by: Wang Long --- tools/testing/selftests/capabilities/Makefile | 2 +- tools/testing/selfte

Re: [PATCH 0/3] mailbox: rockchip: Add mailbox driver for Rockchip platform

2015-09-27 Thread Caesar Wang
Hello Jassi, Friendly Ping! Could you review this series patchs if you have free time? 在 2015年09月14日 19:06, Caesar Wang 写道: Mailbox is used by the Rockchip CPU cores to communicate requests to MCU processorm. This driver is found on RK3368 SoCs. The Mailbox module is a simple APB peripheral

Re: [PATCH] kselftest: using built-in rule when delete file

2015-09-27 Thread long.wanglong
On 2015/9/25 23:44, Darren Hart wrote: > On Thu, Sep 24, 2015 at 12:07:47PM +1000, Michael Ellerman wrote: >> On Thu, 2015-09-24 at 10:05 +0800, long.wanglong wrote: >>> On 2015/9/24 9:46, Michael Ellerman wrote: On Wed, 2015-09-23 at 09:40 +, Wang Long wrote: > Use make's built-in rul

Re: [PATCH v5 0/10] Fix broken DMAFLUSHP on Rockchips platform

2015-09-27 Thread Shawn Lin
Hi Vinod, Is there any chance for this patchset to be applied? :) On 2015/9/14 7:45, Shawn Lin wrote: The purpose of the DMAFLUSHP instruction: - Tell the peripheral to clear its status and control registers. - Send a message to the peripheral to resend its level status. There are 3 ti

Re: [PATCH v2 5/7] x86, acpi, cpu-hotplug: Introduce apicid_to_cpuid[] array to store persistent cpuid <-> apicid mapping.

2015-09-27 Thread Tang Chen
On 09/27/2015 01:56 AM, Tejun Heo wrote: On Sat, Sep 26, 2015 at 05:52:09PM +0800, Tang Chen wrote: +static int allocate_logical_cpuid(int apicid) +{ + int i; + + /* +* cpuid <-> apicid mapping is persistent, so when a cpu is up, +* check if the kernel has allocated

Re: [PATCH v2 3/7] x86, gfp: Cache best near node for memory allocation.

2015-09-27 Thread Tang Chen
Hi, tj, On 09/27/2015 01:53 AM, Tejun Heo wrote: Hello, Tang. On Sat, Sep 26, 2015 at 05:31:07PM +0800, Tang Chen wrote: @@ -307,13 +307,19 @@ static inline struct page *alloc_pages_node(int nid, gfp_t gfp_mask, if (nid < 0) nid = numa_node_id(); + if (!node_onli

RE: [PATCH][RFC] ACPI / PM: Fix incorrect wakeup irq setting before suspend-to-idle

2015-09-27 Thread Chen, Yu C
Hi, Rafael, > -Original Message- > From: linux-pm-ow...@vger.kernel.org [mailto:linux-pm- > ow...@vger.kernel.org] On Behalf Of Rafael J. Wysocki > Sent: Sunday, September 27, 2015 9:30 PM > To: Chen, Yu C > Cc: Wysocki, Rafael J; jiang@linux.intel.com; Zhang, Rui; Brown, Len; > linux

Re: [PATCH] gpio: max730x: eliminate double free

2015-09-27 Thread Alexandre Courbot
On Sun, Sep 27, 2015 at 5:18 AM, Julia Lawall wrote: > The function __max730x_remove is called from the remove functions of > drivers/gpio/gpio-max7300.c and drivers/gpio/gpio-max7301.c. In both > cases, the probe function allocates ts using devm_kzalloc. Explicitly > freeing such a value with k

Re: [PATCH v2 0/2] ASoC: atmel-classd: add driver for Atmel CLASSD

2015-09-27 Thread Wu, Songjun
On 9/26/2015 02:07, Mark Brown wrote: On Thu, Sep 24, 2015 at 01:41:25PM +0800, Songjun Wu wrote: Songjun Wu (2): ASoC: atmel-classd: add the Audio Class D Amplifier ASoC: atmel-classd: DT binding for Class D audio amplifier driver I don't seem to have the second patch with the bindin

Re: [PATCH] iio: gyro: ssp_gyro_sensor: Use devm_iio_device_register

2015-09-27 Thread Vaishali Thakkar
On Sun, Sep 27, 2015 at 7:01 PM, Jonathan Cameron wrote: > On 27/09/15 05:16, Vaishali Thakkar wrote: >> On Mon, Sep 21, 2015 at 4:48 PM, Karol Wrona wrote: >>> On 09/21/2015 11:53 AM, Jonathan Cameron wrote: On 21 September 2015 09:18:39 BST, Karol Wrona wrote: > On 09/20/201

Re: [PATCH] mm: fix cpu hangs on truncating last page of a 16t sparse file

2015-09-27 Thread Dave Chinner
On Sun, Sep 27, 2015 at 07:56:55PM -0400, Jeff Layton wrote: > On Mon, 28 Sep 2015 09:26:45 +1000 Dave Chinner wrote: > > On Sun, Sep 27, 2015 at 10:59:33AM -0700, Hugh Dickins wrote: > > > > But if s_maxbytes doesn't have to be greater than MAX_LFS_FILESIZE, > > > > i agree the issue should be fi

Re: [PATCH] dax: fix deadlock in __dax_fault

2015-09-27 Thread Dave Chinner
On Fri, Sep 25, 2015 at 09:17:45PM -0600, Ross Zwisler wrote: > On Fri, Sep 25, 2015 at 12:53:57PM +1000, Dave Chinner wrote: > > I think a bunch of reverts are in order -the code is broken, has > > stale data exposure problems and we're going to have to rip the code > > out anyway because I don't

Re: [PATCH v2] mtd: nand: pxa3xx-nand: switch to dmaengine

2015-09-27 Thread Brian Norris
On Sun, Sep 27, 2015 at 05:18:56PM -0700, Brian Norris wrote: > Sparse has one complaint, but I have no others: > > On Sun, Sep 06, 2015 at 03:12:47PM +0200, Robert Jarzmik wrote: > > diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c > > index 2f39bfe34584..1e9d462065e8

[PATCH RESEND] rtsx_usb_ms: Use msleep_interruptible() in polling loop

2015-09-27 Thread Ben Hutchings
rtsx_usb_ms creates a task that mostly sleeps, but tasks in uninterruptible sleep still contribute to the load average (for bug-compatibility with Unix). A load average of ~1 on a system that should be idle is somewhat alarming. Change the sleep to be interruptible, but still ignore signals. A b

Re: [PATCH 01/10] nbd: Fix timeout detection

2015-09-27 Thread Ben Hutchings
On Mon, 2015-08-17 at 08:20 +0200, Markus Pargmann wrote: > At the moment the nbd timeout just detects hanging tcp operations. This > is not enough to detect a hanging or bad connection as expected of a > timeout. > > This patch redesigns the timeout detection to include some more cases. > The tim

Re: [PATCH] HID: hid-input: allow input_configured callback return errors

2015-09-27 Thread Dmitry Torokhov
Hi David, On Sat, Sep 26, 2015 at 05:16:12PM +0200, David Herrmann wrote: > Hi > > On Sat, Sep 26, 2015 at 1:14 AM, Dmitry Torokhov > wrote: > > When configuring input device via input_configured callback we may > > encounter errors (for example input_mt_init_slots() may fail). Instead > > of co

Re: [PATCH v2] mtd: nand: pxa3xx-nand: switch to dmaengine

2015-09-27 Thread Brian Norris
Sparse has one complaint, but I have no others: On Sun, Sep 06, 2015 at 03:12:47PM +0200, Robert Jarzmik wrote: > diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c > index 2f39bfe34584..1e9d462065e8 100644 > --- a/drivers/mtd/nand/pxa3xx_nand.c > +++ b/drivers/mtd/nand/p

  1   2   3   >