Re: [PATCH 2/2] cpufreq: qoriq: rename the driver

2014-11-20 Thread Viresh Kumar
On 21 November 2014 12:58, Tang Yuantian wrote: > This driver works on all QorIQ platforms which include > ARM-based cores and PPC-based cores. > Rename it in order to represent better. > > Signed-off-by: Tang Yuantian > --- > drivers/cpufreq/ppc-corenet-cpufreq.c | 371 >

Re: [PATCH v2 1/2] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-11-20 Thread Viresh Kumar
On 21 November 2014 12:58, Tang Yuantian wrote: > diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm > index 83a75dc..1925ae94 100644 > --- a/drivers/cpufreq/Kconfig.arm > +++ b/drivers/cpufreq/Kconfig.arm > @@ -247,3 +247,11 @@ config ARM_TEGRA_CPUFREQ > default y >

Re: [PATCH v2] gpio_wdt: Add "always_running" feature to GPIO watchdog

2014-11-20 Thread Mike Looijmans
On 11/21/2014 08:28 AM, Guenter Roeck wrote: On 11/20/2014 10:53 PM, Mike Looijmans wrote: On some chips, like the TPS386000, the trigger cannot be disabled and the CPU must keep toggling the line at all times. Add a switch "always_running" to keep toggling the GPIO line regardless of the

Re: [PATCH 3/7] pinctrl: pinconf-generic: Allow driver to specify DT params

2014-11-20 Thread Ivan T. Ivanov
On Thu, 2014-11-20 at 08:22 -0800, Sören Brinkmann wrote: > > > Also, I hope all my changes here don't break the current behavior. So, > those 27 driver should still be able to do what they currently do. But I > hope they could migrated over to use the generic bindings only in the > longer

linux-next: build failure after merge of the ftrace tree

2014-11-20 Thread Stephen Rothwell
Hi Steven, After merging the ftrace tree, today's linux-next build (powerpc allnoconfig) failed like this: In file included from include/asm-generic/percpu.h:6:0, from arch/powerpc/include/asm/percpu.h:19, from include/linux/percpu.h:11, from

Re: [PATCH v6 00/11] Kernel address sanitizer - runtime memory debugger.

2014-11-20 Thread Dmitry Vyukov
On Fri, Nov 21, 2014 at 2:00 AM, Andrew Morton wrote: > On Thu, 20 Nov 2014 20:32:30 +0400 Dmitry Vyukov wrote: > >> Let me provide some background first. > > Well that was useful. Andrey, please slurp Dmitry's info into the 0/n > changelog? > > Also, some quantitative info about the kmemleak

[PATCH 2/2] cpufreq: qoriq: rename the driver

2014-11-20 Thread Tang Yuantian
This driver works on all QorIQ platforms which include ARM-based cores and PPC-based cores. Rename it in order to represent better. Signed-off-by: Tang Yuantian --- drivers/cpufreq/ppc-corenet-cpufreq.c | 371 -- drivers/cpufreq/qoriq-cpufreq.c | 371

[PATCH v2 1/2] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-11-20 Thread Tang Yuantian
Freescale introduced new ARM core-based SoCs which support dynamic frequency switch feature. DFS on new SoCs are compatible with current PowerPC CoreNet platforms. In order to support those new platforms, this driver needs to be updated. The main changes include: 1. Changed the names of functions

Re: [PATCH v2] gpio_wdt: Add "always_running" feature to GPIO watchdog

2014-11-20 Thread Guenter Roeck
On 11/20/2014 10:53 PM, Mike Looijmans wrote: On some chips, like the TPS386000, the trigger cannot be disabled and the CPU must keep toggling the line at all times. Add a switch "always_running" to keep toggling the GPIO line regardless of the state of the soft part of the watchdog. The "armed"

Re: [PATCH 00/17] RFC: userfault v2

2014-11-20 Thread zhanghailiang
On 2014/11/21 1:38, Andrea Arcangeli wrote: Hi, On Thu, Nov 20, 2014 at 10:54:29AM +0800, zhanghailiang wrote: Yes, you are right. This is what i really want, bypass all non-present faults and only track strict wrprotect faults. ;) So, do you plan to support that in the userfault API? Yes I

Re: [PATCH 2/3] i2c: slave-eeprom: add eeprom simulator driver

2014-11-20 Thread Uwe Kleine-König
Hello Wolfram, this mail is thematically more a reply to patch 1 and maybe just serves my understanding of the slave support. On Tue, Nov 18, 2014 at 05:04:54PM +0100, Wolfram Sang wrote: > From: Wolfram Sang > > The first user of the i2c-slave interface is an eeprom simulator. It is > a

[PATCH v3 2/3] ACPI / PMIC: support PMIC operation region for XPower AXP288

2014-11-20 Thread Aaron Lu
The Baytrail-T-CR platform firmware has defined two customized operation regions for PMIC chip Dollar Cove XPower - one is for power resource handling and one is for thermal just like the CrystalCove one. This patch adds support for them on top of the common PMIC opregion region code.

[PATCH v3 0/3] Support PMIC operation region for CrystalCove and XPower

2014-11-20 Thread Aaron Lu
v3: Only some function/variable name changes, no functiona changes: - Replace the dptf/DPTF word originate from the BIOS ACPI table with more meaningful word thermal/THERMAL in all places; - Eliminate the soc part in various structure and function names to make them shorter:

[PATCH v3 1/3] ACPI / PMIC: support PMIC operation region for CrystalCove

2014-11-20 Thread Aaron Lu
The Baytrail-T platform firmware has defined two customized operation regions for PMIC chip Crystal Cove - one is for power resource handling and one is for thermal: sensor temperature reporting, trip point setting, etc. This patch adds support for them on top of the existing Crystal Cove PMIC

[PATCH v3 3/3] ACPI / PMIC: AXP288: support virtual GPIO in ACPI table

2014-11-20 Thread Aaron Lu
The same virtual GPIO strategy is also used for the AXP288 PMIC in that various control methods that are used to do power rail handling and sensor reading/setting will touch GPIO fields defined under the PMIC device. The GPIO fileds are only defined by the ACPI code while the actual hardware

Re: [PATCH] i2c: designware: prevent early stop on TX FIFO empty

2014-11-20 Thread Wolfram Sang
On Fri, Nov 07, 2014 at 12:10:44PM +, Andrew Jackson wrote: > If the Designware core is configured with IC_EMPTYFIFO_HOLD_MASTER_EN > set to zero, allowing the TX FIFO to become empty causes a STOP > condition to be generated on the I2C bus. If the transmit FIFO > threshold is set too high, an

[PATCH v2] gpio_wdt: Add "always_running" feature to GPIO watchdog

2014-11-20 Thread Mike Looijmans
On some chips, like the TPS386000, the trigger cannot be disabled and the CPU must keep toggling the line at all times. Add a switch "always_running" to keep toggling the GPIO line regardless of the state of the soft part of the watchdog. The "armed" member keeps track of whether a timeout must

Re: [PATCH] i2c: omap: fix NACK and Arbitration Lost irq handling

2014-11-20 Thread Wolfram Sang
On Tue, Nov 18, 2014 at 09:00:58PM +0400, Alexander Kochetkov wrote: > commit 1d7afc95946487945cc7f5019b41255b72224b70 (i2c: omap: ack IRQ in parts) > changed the interrupt handler to complete transfers without clearing > XRDY (AL case) and ARDY (NACK case) flags. XRDY or ARDY interrupts will be >

Re: [PATCH v4] KVM: x86: fix access memslots w/o hold srcu read lock

2014-11-20 Thread Wanpeng Li
Hi Tang, On Fri, Nov 21, 2014 at 02:41:57PM +0800, Tang Chen wrote: >Hi Wanpeng, > >Sorry, it is about this problem again. > >I booted 3.18.0-rc2, without Paolo's patch. lockdep and RCU debug >were all opened. > >Then I started a qemu vm with the following options: > >/usr/libexec/qemu-kvm -hda

Re: [RFC PATCH] mm/zsmalloc: remove unnecessary check

2014-11-20 Thread Minchan Kim
On Fri, Nov 21, 2014 at 01:33:26PM +0800, Ganesh Mahendran wrote: > Hello > > 2014-11-21 11:54 GMT+08:00 Minchan Kim : > > On Thu, Nov 20, 2014 at 09:21:56PM +0800, Mahendran Ganesh wrote: > >> ZS_SIZE_CLASSES is calc by: > >> ((ZS_MAX_ALLOC_SIZE - ZS_MIN_ALLOC_SIZE) / ZS_SIZE_CLASS_DELTA + 1)

Re: [PATCH] Fixes: 1d7afc9 i2c: omap: ack IRQ in parts

2014-11-20 Thread Wolfram Sang
> > Tested on Beagleboard XM C. > > > > Signed-off-by: Alexander Kochetkov > > Cc: # v3.7+ > > This is good, but subject is wrong. That fixes line should not be the > subject, it should be here after Cc :-) I'll take this as an Ack unless you protest. signature.asc Description: Digital

Re: Kernel support on Loognson 3B

2014-11-20 Thread Willy Tarreau
Hi, On Fri, Nov 21, 2014 at 02:31:39PM +0800, Wang Zhe wrote: > Hi, > Currently I am working on Loongson 3B CPU with modified kernel version > of linux 3.5.0. I encountered a problem when I boot up PC and it keeps > entering into emergency mode. I' ve tried many different ways to get > rid of

Re: [PATCH 06/19] mm: store mapcount for compound page separate

2014-11-20 Thread Aneesh Kumar K.V
"Kirill A. Shutemov" writes: > On Tue, Nov 18, 2014 at 08:43:00AM +, Naoya Horiguchi wrote: >> > @@ -1837,6 +1839,9 @@ static void __split_huge_page_refcount(struct page >> > *page, >> >atomic_sub(tail_count, >_count); >> >BUG_ON(atomic_read(>_count) <= 0); >> > >> > +

[PATCH v3 2/3] ARM: kprobes: collects stack consumption for store instructions

2014-11-20 Thread Wang Nan
This patch uses the previously introduced checker functionality on store instructions to record their stack consumption information to arch_probes_insn. Signed-off-by: Wang Nan Signed-off-by: Jon Medhurst Reviewed-by: Jon Medhurst --- v1 -> v2: - Bugfix and code improvements following

[PATCH v10 0/2] ARM: kprobes: enable OPTPROBES for ARM32

2014-11-20 Thread Wang Nan
This is the tenth (and final I hope) version of OPTPROBES for ARM32. Previous discussion can be found: https://lkml.org/lkml/2014/11/19/31 https://lkml.org/lkml/2014/11/18/41 https://lkml.org/lkml/2014/10/25/48 https://lkml.org/lkml/2014/10/22/254 https://lkml.org/lkml/2014/8/27/255

[PATCH v10 2/2] ARM: kprobes: enable OPTPROBES for ARM 32

2014-11-20 Thread Wang Nan
This patch introduce kprobeopt for ARM 32. Limitations: - Currently only kernel compiled with ARM ISA is supported. - Offset between probe point and optinsn slot must not larger than 32MiB. Masami Hiramatsu suggests replacing 2 words, it will make things complex. Futher patch can make

[PATCH v3 1/3] ARM: kprobes: introduces checker

2014-11-20 Thread Wang Nan
This patch introdces 'checker' to decoding phase, and calls checkers when instruction decoding. This allows further decoding for specific instructions. This patch introduces a stub call of checkers in kprobe arch_prepare_kprobe() as an example and for further expansion. Signed-off-by: Wang Nan

[PATCH v3 3/3] ARM: kprobes: disallow probing stack consuming instructions

2014-11-20 Thread Wang Nan
This patch prohibit probing instructions for which the stack requirement are unable to be determined statically. Some test cases are found not work again after the modification, this patch also removes them. Signed-off-by: Wang Nan --- v1 -> v2: - Use MAX_STACK_SIZE macro instead of hard

[PATCH v10 1/2] kprobes: Pass the original kprobe for preparing optimized kprobe

2014-11-20 Thread Wang Nan
From: Masami Hiramatsu Pass the original kprobe for preparing an optimized kprobe arch-dep part, since for some architecture (e.g. ARM32) requires the information in original kprobe. Signed-off-by: Masami Hiramatsu Cc: Wang Nan --- arch/x86/kernel/kprobes/opt.c | 3 ++-

[PATCH v3 0/3] ARM: kprobes: introduces instruction checker.

2014-11-20 Thread Wang Nan
This the third version (and the final version I hope) of instruction checker patch. It is a part of version 10 of ARM OPTPROBE patch series. Previous discussion can be found from: https://lkml.org/lkml/2014/11/18/26 https://lkml.org/lkml/2014/10/25/48 https://lkml.org/lkml/2014/10/22/254

Re: frequent lockups in 3.18rc4

2014-11-20 Thread Ingo Molnar
* Linus Torvalds wrote: > [...] > > That's *especially* true if it turns out that the 3.17 problem > you saw was actually a perf bug that has already been fixed and > is in stable. We've been looking at kernel/smp.c changes, and > looking for x86 IPI or APIC changes, and found some

Kernel support on Loognson 3B

2014-11-20 Thread Wang Zhe
Hi, Currently I am working on Loongson 3B CPU with modified kernel version of linux 3.5.0. I encountered a problem when I boot up PC and it keeps entering into emergency mode. I' ve tried many different ways to get rid of this issue and nothing worked out. I wondered it could be an issue of using

Re: [PATCH 1/3] mm: sl[aou]b: introduce kmem_cache_zalloc_node()

2014-11-20 Thread Andrey Ryabinin
On 11/21/2014 01:31 AM, David Rientjes wrote: > On Thu, 20 Nov 2014, Andrey Ryabinin wrote: > >>> Is there a reason to add this for such a specialized purpose to the slab >>> allocator? I think it can just be handled for struct irq_desc explicitly. >>> >> >> It could be used not only for

Re: Fwd: [PATCH 1/1] init:add boot option "initramfs_packnum"

2014-11-20 Thread leizhen
On 2014/11/21 12:02, Josh Triplett wrote: > On Fri, Nov 21, 2014 at 11:46:42AM +0800, leizhen wrote: >> During the development phase, we usually enlarge initrd-end to reserve more >> memory than the initfs zip exactly occupied. Then we can easily add or delete >> files in zip package, without

Re: [PATCH v3 2/5] drivers: soc: Add support for Exynos PMU driver

2014-11-20 Thread amit daniel kachhap
On Thu, Nov 20, 2014 at 3:33 PM, Russell King - ARM Linux wrote: > On Thu, Nov 20, 2014 at 11:09:25AM +0530, Amit Daniel Kachhap wrote: >> diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile >> index 063113d..44d220d 100644 >> --- a/drivers/soc/Makefile >> +++ b/drivers/soc/Makefile >> @@

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

2014-11-20 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the char-misc tree got a conflict in arch/arm/mach-omap2/Kconfig between commit 9e1e632c4846 ("ARM: OMAP2+: Drop board file for ti8168evm") from the arm-soc tree and commit 184901a06a36 ("ARM: removing support for etb/etm in "arch/arm/kernel/"") from the

Re: [PATCH v3 5/5] arm64: Add HAVE_REGS_AND_STACK_ACCESS_API feature

2014-11-20 Thread David Long
On 11/18/14 09:52, Will Deacon wrote: Hi David, On Tue, Nov 18, 2014 at 06:32:55AM +, David Long wrote: From: "David A. Long" Add HAVE_REGS_AND_STACK_ACCESS_API feature for arm64. [...] diff --git a/arch/arm64/include/asm/ptrace.h b/arch/arm64/include/asm/ptrace.h index

Re: [PATCH 06/19] mm: store mapcount for compound page separate

2014-11-20 Thread Aneesh Kumar K.V
"Kirill A. Shutemov" writes: > We're going to allow mapping of individual 4k pages of THP compound and > we need a cheap way to find out how many time the compound page is > mapped with PMD -- compound_mapcount() does this. > > page_mapcount() counts both: PTE and PMD mappings of the page. > >

[PATCH] crypto: drbg - panic on continuous self test error

2014-11-20 Thread Stephan Mueller
This patch adds a panic if the FIPS 140-2 self test error failed. Note, that entire code is only executed with fips_enabled (i.e. when the kernel is booted with fips=1. It is therefore not executed for 99.9% of all user base. As mathematically such failure cannot occur, this panic should never be

[PATCH v1 2/3] usb: phy: Handle per-PHY event for connect and disconnect events

2014-11-20 Thread Kiran Raparthy
usb: phy: Handle per-PHY event for connnect and disconnect events When usb is connected and enumerated in device mode or when usb is disconnected,call usb_phy_set_event from phy drivers to handle per-PHY event. Cc: Felipe Balbi Cc: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org Cc:

Re: [PATCH v2 00/13] Add kdbus implementation

2014-11-20 Thread Greg Kroah-Hartman
On Thu, Nov 20, 2014 at 09:02:16PM -0800, Greg Kroah-Hartman wrote: > kdbus is a kernel-level IPC implementation that aims for resemblance to > the the protocol layer with the existing userspace D-Bus daemon while > enabling some features that couldn't be implemented before in userspace. > > The

[PATCH v1 1/3] usb: phy: introduce usb_phy_set_event interface

2014-11-20 Thread Kiran Raparthy
usb: phy: introduce usb_phy_set_event interface PHY drivers require a generic interface to handle per-PHY events. usb_phy_set_event interface sets event to phy event. PHY drivers call this interface for each phy event. Cc: Felipe Balbi Cc: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org

[PATCH v1 3/3] usb: phy: hold wakeupsource when USB is enumerated in peripheral mode

2014-11-20 Thread Kiran Raparthy
usb: phy: hold wakeupsource when USB is enumerated in peripheral mode Some systems require a mechanism to prevent system to enter into suspend state when USB is connected and enumerated in peripheral mode. This patch provides an interface to hold a wakeupsource to prevent suspend. PHY drivers

[PATCH v1 0/3] usb: phy: hold wakeupsource on usb phy events

2014-11-20 Thread Kiran Raparthy
This patch set aims to hold wakeupsource per-PHY on usb connect/disconnect events. First patch introduces usb_phy_set_event which just sets event to phy event. In second patch, phy drivers call usb_phy_set_event for each phy event. In third patch, wakeupsource is held when usb is enumerated in

Re: Looking for good references for ARM driver development

2014-11-20 Thread Victor Ascroft
On Friday 21 November 2014 03:11 AM, Mason wrote: > On 19/11/2014 17:57, Victor Ascroft wrote: > >> On 11/19/2014 06:20 PM, Mason wrote: >> >>> Are there more recent technical references, as good as LDD3, that >>> cover "modern" aspects of kernel development? >> The LDD3 is one of the best there

RE: [PATCH] acpi:apd:add AMD ACPI2Platform device support for x86 system.

2014-11-20 Thread Xue, Ken
Hi Len, Rafael J & Mika, Please help to review this patch. And tell me any of your concern. Thanks. I understand it is a trend that convert a ACPI device to be a platform device. For AMD, we try to use this patch to match this trend well. The patch based on INTEL LPSS

[PATCH] crypto: user - add MODULE_ALIAS

2014-11-20 Thread Stephan Mueller
To allow automatic loading of the crypto_user kernel module, the netlink MODULE_ALIAS is added. Signed-off-by: Stephan Mueller --- crypto/crypto_user.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/crypto_user.c b/crypto/crypto_user.c index e2a34fe..255df95 100644 ---

[PATCH v3 5/7] crypto: AF_ALG: add random number generator support

2014-11-20 Thread Stephan Mueller
This patch adds the random number generator support for AF_ALG. A random number generator's purpose is to generate data without requiring the caller to provide any data. Therefore, the AF_ALG interface handler for RNGs only implements a callback handler for recvmsg. The following parameters

[PATCH v3 7/7] crypto: AF_ALG: document the user space interface

2014-11-20 Thread Stephan Mueller
The extension of the user space interface documentation covers all aspects of the patchset, including: * AEAD cipher interface * RNG cipher interface Signed-off-by: Stephan Mueller --- Documentation/crypto/crypto-API-userspace.txt | 70 ++- 1 file

[PATCH v3 4/7] crypto: AF_ALG: add AEAD support

2014-11-20 Thread Stephan Mueller
This patch adds the AEAD support for AF_ALG. The AEAD implementation uses the entire memory handling and infrastructure of the existing skcipher implementation. To use AEAD, the user space consumer has to use the salg_type named "aead". The AEAD extension only uses the bind callback as the key

[PATCH v3 3/7] crypto: AF_ALG: crypto API calls to inline functions

2014-11-20 Thread Stephan Mueller
To avoid excessive branches and cluttering the code, all kernel crypto API calls are extracted into separate inline functions. These functions invoke either the ablkcipher or the aead crypto API function calls, as necessary. Signed-off-by: Stephan Mueller --- crypto/algif_skcipher.c | 143

[PATCH v3 1/7] crypto: AF_ALG: add user space interface for AEAD

2014-11-20 Thread Stephan Mueller
AEAD requires the following data in addition to normal symmetric ciphers: * Associated authentication data of arbitrary length and length * Authentication tag for decryption and length * Length of authentication tag for encryption The memory structure for the

[PATCH v3 2/7] crypto: AF_ALG: extend data structuers for AEAD

2014-11-20 Thread Stephan Mueller
The data structure holding the state of an ongoing symmetric cipher operation is extended by the data variables needed for AEAD. The request data structures are encapsulated by a union as the symmetric cipher implementation is either exclusively used for "normal" symmetric ciphers or for AEAD

[PATCH v3 0/7] crypto: AF_ALG: add AEAD and RNG support

2014-11-20 Thread Stephan Mueller
Hi, This patch set adds AEAD and RNG support to the AF_ALG interface exported by the kernel crypto API. By extending AF_ALG with AEAD and RNG support, all cipher types the kernel crypto API allows access to are now accessible from userspace. The RNG support is stand-alone. The AEAD

[PATCH v3 6/7] crypto: AF_ALG: enable RNG interface compilation

2014-11-20 Thread Stephan Mueller
Enable compilation of the RNG AF_ALG support and provide a Kconfig option to compile the RNG AF_ALG support. Signed-off-by: Stephan Mueller --- crypto/Kconfig | 9 + crypto/Makefile | 1 + 2 files changed, 10 insertions(+) diff --git a/crypto/Kconfig b/crypto/Kconfig index

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

2014-11-20 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the driver-core tree got a conflict in drivers/bus/omap_l3_noc.c between commit 61b43d4e919e ("bus: omap_l3_noc: Add resume hook to restore context") from the arm-soc tree and commit 571b8c6adb1b ("bus: drop owner assignment from platform_drivers") from the

Re: [PATCH v6 4/6] sched: get CPU's usage statistic

2014-11-20 Thread Wanpeng Li
Hi Vincent, On 9/26/14, 8:17 PM, Vincent Guittot wrote: On 25 September 2014 21:05, Dietmar Eggemann wrote: On 23/09/14 17:08, Vincent Guittot wrote: Monitor the usage level of each group of each sched_domain level. The usage is the amount of cpu_capacity that is currently used on a CPU or

Re: [RFC PATCH] mm/zsmalloc: remove unnecessary check

2014-11-20 Thread Ganesh Mahendran
Hello 2014-11-21 11:54 GMT+08:00 Minchan Kim : > On Thu, Nov 20, 2014 at 09:21:56PM +0800, Mahendran Ganesh wrote: >> ZS_SIZE_CLASSES is calc by: >> ((ZS_MAX_ALLOC_SIZE - ZS_MIN_ALLOC_SIZE) / ZS_SIZE_CLASS_DELTA + 1) >> >> So when i is in [0, ZS_SIZE_CLASSES - 1), the size: >> size =

Re: [PATCH 03/10] mm: Convert p[te|md]_numa users to p[te|md]_protnone_numa

2014-11-20 Thread Aneesh Kumar K.V
Mel Gorman writes: > Convert existing users of pte_numa and friends to the new helper. Note > that the kernel is broken after this patch is applied until the other > page table modifiers are also altered. This patch layout is to make > review easier. > . > diff --git

Re: [PATCH net V5] virtio-net: validate features during probe

2014-11-20 Thread David Miller
From: Jason Wang Date: Thu, 20 Nov 2014 17:03:05 +0800 > We currently trigger BUG when VIRTIO_NET_F_CTRL_VQ > is not set but one of features depending on it is. > That's not a friendly way to report errors to > hypervisors. > Let's check, and fail probe instead. > > Cc: Rusty Russell > Cc:

Re: [PATCH v2 2/3] ARM: OMAP2+: hwmod: AM335x/AM43x: add hwmod support for tscadc on am43x-evm

2014-11-20 Thread Paul Walmsley
On Fri, 21 Nov 2014, Vignesh R wrote: > On 11/20/2014 12:39 PM, Paul Walmsley wrote: > > On Tue, 4 Nov 2014, Vignesh R wrote: > > > >> This patch adds hwmod support for tscadc to work on am43xx-evm. The am33xx > >> hwmod structures of tscadc has been moved to ipblock_data so that it can > >> be

Re: [PATCH] mm/zsmalloc: avoid duplicate assignment of prev_class

2014-11-20 Thread Ganesh Mahendran
Hello 2014-11-21 11:43 GMT+08:00 Minchan Kim : > On Thu, Nov 20, 2014 at 09:08:33PM +0800, Mahendran Ganesh wrote: >> In zs_create_pool(), prev_class is assigned (ZS_SIZE_CLASSES - 1) >> times. And the prev_class only references to the previous alloc >> size_class. So we do not need unnecessary

Re: [PATCH] mm/zsmalloc: avoid duplicate assignment of prev_class

2014-11-20 Thread Ganesh Mahendran
Hello 2014-11-21 11:22 GMT+08:00 Dan Streetman : > On Thu, Nov 20, 2014 at 8:08 AM, Mahendran Ganesh > wrote: >> In zs_create_pool(), prev_class is assigned (ZS_SIZE_CLASSES - 1) >> times. And the prev_class only references to the previous alloc >> size_class. So we do not need unnecessary

[GIT PULL] target fixes for v3.18-rc6

2014-11-20 Thread Nicholas A. Bellinger
Hi Linus, Here are the target-pending fixes queued for v3.18-rc6. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master The highlights include: - target-core OOPs fix with tcm_qla2xxx + vxworks FC initiators + zero length SCSI

[GIT PULL] target fixes for v3.18-rc6

2014-11-20 Thread Nicholas A. Bellinger
Hi Linus, Here are the target-pending fixes queued for v3.18-rc6. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master The highlights include: - target-core OOPs fix with tcm_qla2xxx + vxworks FC initiators + zero length SCSI

[PATCH 2/2] arm: socfpga: Set share override bit of the l2 cache controller

2014-11-20 Thread dinguyen
From: Dinh Nguyen By not having bit 22 set in the PL310 Auxiliary Control register (shared attribute override enable) has the side effect of transforming Normal Shared Non-cacheable reads into Cacheable no-allocate reads. Coherent DMA buffers in Linux always have a Cacheable alias via the

[PATCH 1/2] arm: socfpga: update l2 cache settings

2014-11-20 Thread dinguyen
From: Dinh Nguyen Enable D and I prefetch helps improve SDRAM preformance. Signed-off-by: Dinh Nguyen --- arch/arm/mach-socfpga/socfpga.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-socfpga/socfpga.c b/arch/arm/mach-socfpga/socfpga.c index

Re: pull request: wireless 2014-11-20

2014-11-20 Thread David Miller
From: "John W. Linville" Date: Thu, 20 Nov 2014 16:00:30 -0500 > Please full this little batch of fixes intended for the 3.18 stream! > > For the mac80211 patch, Johannes says: > > "Here's another last minute fix, for minstrel HT crashing > depending on the value of some uninitialised stack."

kdbus: add policy database implementation

2014-11-20 Thread Greg Kroah-Hartman
From: Daniel Mack This patch adds the policy database implementation. A policy databases restrict the possibilities of connections to own, see and talk to well-known names. It can be associated with a bus (through a policy holder connection) or a custom endpoint. By default, buses have an

kdbus: add Makefile, Kconfig and MAINTAINERS entry

2014-11-20 Thread Greg Kroah-Hartman
From: Daniel Mack This patch hooks up the build system to actually compile the files added by previous patches. It also adds an entry to MAINTAINERS to direct people to Greg KH, David Herrmann, Djalal Harouni and me for questions and patches. Signed-off-by: Daniel Mack Signed-off-by: David

kdbus: add connection pool implementation

2014-11-20 Thread Greg Kroah-Hartman
From: Daniel Mack A pool for data received from the kernel is installed for every connection of the bus, and it is used to copy data from the kernel to userspace clients, for messages and other information. It is accessed when one of the following ioctls is issued: * KDBUS_CMD_MSG_RECV, to

kdbus: add driver skeleton, ioctl entry points and utility functions

2014-11-20 Thread Greg Kroah-Hartman
From: Daniel Mack Add the basic driver structure. handle.c is the main ioctl command dispatcher that calls into other parts of the driver. main.c contains the code that creates the initial domain at startup, and util.c has utility functions such as item iterators that are shared with other

kdbus: add node and filesystem implementation

2014-11-20 Thread Greg Kroah-Hartman
From: Daniel Mack kdbusfs is a filesystem that will expose a fresh kdbus domain context each time it is mounted. Per mount point, there will be a 'control' node, which can be used to create buses. fs.c contains the implementation of that pseudo-fs. Exported inodes of 'file' type have their i_fop

kdbus: add header file

2014-11-20 Thread Greg Kroah-Hartman
From: Daniel Mack This patch adds the header file which describes the low-level transport protocol used by various ioctls. The header file is located in include/uapi/linux/ as it is shared between kernel and userspace, and it only contains data structure definitionsi, enums and #defines for

kdbus: add name registry implementation

2014-11-20 Thread Greg Kroah-Hartman
From: Daniel Mack This patch adds the name registry implementation. Each bus instantiates a name registry to resolve well-known names into unique connection IDs for message delivery. The registry will be queried when a message is sent with kdbus_msg.dst_id set to KDBUS_DST_ID_NAME, or when a

kdbus: add code to gather metadata

2014-11-20 Thread Greg Kroah-Hartman
From: Daniel Mack A connection chooses which metadata it wants to have attached to each message it receives with kdbus_cmd_hello.attach_flags. The metadata will be attached as items to the messages. All metadata refers to information about the sending task at sending time, unless otherwise

kdbus: add code for buses, domains and endpoints

2014-11-20 Thread Greg Kroah-Hartman
From: Daniel Mack Add the logic to handle the following entities: Domain: A domain is an unamed object containing a number of buses. A domain is automatically created when an instance of kdbusfs is mounted, and destroyed when it is unmounted. Every domain offers its own "control" device

kdbus: add code for notifications and matches

2014-11-20 Thread Greg Kroah-Hartman
From: Daniel Mack This patch adds code for matches and notifications. Notifications are broadcast messages generated by the kernel, which notify subscribes when connections are created or destroyed, when well-known-names have been claimed, released or changed ownership, or when reply messages

kdbus: add connection, queue handling and message validation code

2014-11-20 Thread Greg Kroah-Hartman
From: Daniel Mack This patch adds code to create and destroy connections, to validate incoming messages and to maintain the queue of messages that are associated with a connection. Note that connection and queue have a 1:1 relation, the code is only split in two parts for cleaner separation and

kdbus: add documentation

2014-11-20 Thread Greg Kroah-Hartman
From: Daniel Mack kdbus is a system for low-latency, low-overhead, easy to use interprocess communication (IPC). The interface to all functions in this driver is implemented through ioctls on files exposed through the mount point of a kdbusfs. This patch adds detailed documentation about the

[PATCH v2 00/13] Add kdbus implementation

2014-11-20 Thread Greg Kroah-Hartman
kdbus is a kernel-level IPC implementation that aims for resemblance to the the protocol layer with the existing userspace D-Bus daemon while enabling some features that couldn't be implemented before in userspace. The documentation in the first patch in this series explains the protocol and the

Re: [PATCH v2 2/3] ARM: OMAP2+: hwmod: AM335x/AM43x: add hwmod support for tscadc on am43x-evm

2014-11-20 Thread Vignesh R
On 11/20/2014 12:39 PM, Paul Walmsley wrote: > On Tue, 4 Nov 2014, Vignesh R wrote: > >> This patch adds hwmod support for tscadc to work on am43xx-evm. The am33xx >> hwmod structures of tscadc has been moved to ipblock_data so that it can >> be reused in am43xx. The clock domain names are

Re: [PATCH 3/3] intel_pstate: add module and kernel command line parameter to ignore ACPI _PPC

2014-11-20 Thread Linda Knippers
On 11/20/2014 10:07 PM, Ethan Zhao wrote: > Kristen, >Whatever I would like there is a way to load intel_pstate and give > it a try even it does not support all the PM features. >I think 'force' is OK. > Linda, > Do you like it ? if the 'intel_pstate=force' would force the driver > to

Re: [PATCH 1/3] intel_pstate: skip the driver if Sun server has ACPI _PPC method

2014-11-20 Thread Linda Knippers
On 11/20/2014 07:37 PM, ethan zhao wrote: > Dirk, > > On 2014/11/21 0:50, Dirk Brandewie wrote: >> On 11/19/2014 12:22 PM, Linda Knippers wrote: >>> On 11/18/2014 3:37 AM, Ethan Zhao wrote: Oracle Sun X86 servers have dynamic power capping capability that works via ACPI _PPC

Re: crypto: user - Allow get request with empty driver name

2014-11-20 Thread Stephan Mueller
Am Donnerstag, 20. November 2014, 14:02:21 schrieb Stephan Mueller: Hi Stephan, > Am Donnerstag, 20. November 2014, 12:46:50 schrieb Herbert Xu: > > Hi Herbert, > > > On Thu, Nov 20, 2014 at 05:23:23AM +0100, Stephan Mueller wrote: > > > Here is the code: > > > > > > static int

Re: [PATCH v3 1/5] arm64: Kprobes with single stepping support

2014-11-20 Thread David Long
On 11/18/14 08:28, Jon Medhurst (Tixy) wrote: On Tue, 2014-11-18 at 01:32 -0500, David Long wrote: From: Sandeepa Prabhu Add support for basic kernel probes(kprobes) and jump probes (jprobes) for ARM64. Kprobes will utilize software breakpoint and single step debug exceptions supported on

[PATCH] scripts/kconfig/menu.c warning for uninitialized "jump"

2014-11-20 Thread Peter Teoh
This warning was found in v3.18-rc3-68-g20f3963 of Linus git-tree. SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o In file included from scripts/kconfig/zconf.tab.c:2537:0: scripts/kconfig/menu.c: In function ‘get_symbol_str’: scripts/kconfig/menu.c:590:18: warning:

RE: [PATCH 1/1] SCSI-bfa: Deletion of an unnecessary check before the function call "vfree"

2014-11-20 Thread Anil Gurumurthy
Patch looks good. Thanks! Acked-by: Anil Gurumurthy -Original Message- From: SF Markus Elfring [mailto:elfr...@users.sourceforge.net] Sent: 21 November 2014 04:17 To: Anil Gurumurthy; James E. J. Bottomley; Sudarsana Kalluru; linux-scsi Cc: linux-kernel;

Re: [RFC] situation with csum_and_copy_... API

2014-11-20 Thread Nicholas A. Bellinger
Hi Al & Co, On Thu, 2014-11-20 at 21:47 +, Al Viro wrote: > On Wed, Nov 19, 2014 at 04:53:40PM -0500, David Miller wrote: > > > Pulled, thanks Al. > > Umm... Not in net-next.git#master... Anyway, the next portion is in > vfs.git#iov_iter-net right now; I'll post it on netdev once I get

Re: [PATCH] Staging:skein: Fix trailing whitespace error

2014-11-20 Thread Greg KH
On Fri, Nov 21, 2014 at 05:11:27AM +0530, Anjana Sasindran wrote: > This patch fixes the checkpatch.pl error: > > ERROR: trailing whitespace > > Signed-off-by: Anjana Sasindran > --- > arch/arm/boot/dts/include/dt-bindings | 1 - > arch/metag/boot/dts/include/dt-bindings | 1 - >

linux-next: manual merge of the devicetree tree with the devicetree-current tree

2014-11-20 Thread Stephen Rothwell
Hi Grant, Today's linux-next merge of the devicetree tree got a conflict in drivers/of/address.c between commit 746c9e9f92dd ("of/base: Fix PowerPC address parsing hack") from the tree and commit a0212ae0be5b ("of/address: Don't throw errors on absent ranges properties") from the devicetree

Re: Fwd: [PATCH 1/1] init:add boot option "initramfs_packnum"

2014-11-20 Thread Josh Triplett
On Fri, Nov 21, 2014 at 11:46:42AM +0800, leizhen wrote: > During the development phase, we usually enlarge initrd-end to reserve more > memory than the initfs zip exactly occupied. Then we can easily add or delete > files in zip package, without generate fdt again and again. But unfortunately, >

Re: [PATCH 6/6] pci, acpi: Share ACPI PCI config space accessors.

2014-11-20 Thread Myron Stowe
On Thu, Nov 20, 2014 at 3:26 PM, Bjorn Helgaas wrote: > On Wed, Nov 19, 2014 at 05:19:20PM +0100, Arnd Bergmann wrote: >> On Wednesday 19 November 2014 17:04:51 Tomasz Nowicki wrote: >> > +/* >> > + * raw_pci_read/write - ACPI PCI config space accessors. >> > + * >> > + * ACPI spec defines MMCFG

Re: [RFC PATCH] mm/zsmalloc: remove unnecessary check

2014-11-20 Thread Minchan Kim
On Thu, Nov 20, 2014 at 09:21:56PM +0800, Mahendran Ganesh wrote: > ZS_SIZE_CLASSES is calc by: > ((ZS_MAX_ALLOC_SIZE - ZS_MIN_ALLOC_SIZE) / ZS_SIZE_CLASS_DELTA + 1) > > So when i is in [0, ZS_SIZE_CLASSES - 1), the size: > size = ZS_MIN_ALLOC_SIZE + i * ZS_SIZE_CLASS_DELTA > will not be

Re: Question about FIX ME in cpufreq-dt.c

2014-11-20 Thread Viresh Kumar
On 20 November 2014 22:58, nick wrote: > Greetings Rafael and the other maintainers, Hi. > I am curious about the FIX ME in cpufreq-dt.c about not using a for loop or > running this part of the code on all > CPUs. In case this isn't enough then the loop should be run for any one CPU from each

Fwd: [PATCH 1/1] init:add boot option "initramfs_packnum"

2014-11-20 Thread leizhen
Hi erverbody! What about your opinion? I run "scripts/get_maintainer.pl -f init/", but it displays no maintainer. So this time, I added all people the result listed and added famous Linus Torvalds. This patch is useful and no harmful. Original Message Subject: [PATCH 1/1]

Re: Removal of bus->msi assignment breaks MSI with stacked domains

2014-11-20 Thread Yijing Wang
On 2014/11/21 10:25, Jiang Liu wrote: > On 2014/11/21 9:54, Yijing Wang wrote: Thomas, let me know if you want to do that. I suppose we could add a new patch to add it back, but that would leave bisection broken for the interval between c167caf8d174 and the patch that adds it back.

Re: [PATCH] mm/zsmalloc: avoid duplicate assignment of prev_class

2014-11-20 Thread Minchan Kim
On Thu, Nov 20, 2014 at 09:08:33PM +0800, Mahendran Ganesh wrote: > In zs_create_pool(), prev_class is assigned (ZS_SIZE_CLASSES - 1) > times. And the prev_class only references to the previous alloc > size_class. So we do not need unnecessary assignement. > > This patch modifies *prev_class* to

Re: [PATCH] mm/zsmalloc: avoid duplicate assignment of prev_class

2014-11-20 Thread Dan Streetman
On Thu, Nov 20, 2014 at 8:08 AM, Mahendran Ganesh wrote: > In zs_create_pool(), prev_class is assigned (ZS_SIZE_CLASSES - 1) > times. And the prev_class only references to the previous alloc > size_class. So we do not need unnecessary assignement. > > This patch modifies *prev_class* to

[Patch irqdomain: Enhance irq_domain_free_irqs_common() to support parentless irqdomain

2014-11-20 Thread Jiang Liu
Originally irq_domain_free_irqs_common() is designed to be used by irqdomains with parent. But there are desires to reuse for parentless irqdomains for code reduction. So check domain->parent before invoking irq_domain_free_irqs_parent(). Signed-off-by: Jiang Liu --- Hi Thomas, This

  1   2   3   4   5   6   7   8   9   10   >