[PATCH v4 05/13] of: Document timings subnode of nvidia,tegra-mc

2014-11-11 Thread Tomeu Vizoso
The MC driver needs some timing-specific information to program the EMEM during a rate change of the EMC clock. Signed-off-by: Tomeu Vizoso --- v4: * Add more information about nvidia,emem-configuration * Remove mandatory naming of the timings subnode * Remove constraint on

[PATCH v4 04/13] of: document new emc-timings subnode in nvidia,tegra124-car

2014-11-11 Thread Tomeu Vizoso
The EMC clock needs some extra information for changing its rate. Signed-off-by: Tomeu Vizoso --- v4: * Remove comma from unit-address of CAR node in the example * Simplify reg property value in the example --- .../bindings/clock/nvidia,tegra124-car.txt | 44

[PATCH v4 03/13] soc/tegra: Add ram code reader helper

2014-11-11 Thread Tomeu Vizoso
From: Mikko Perttunen Needed for the EMC and MC drivers to know what timings from the DT to use. Signed-off-by: Mikko Perttunen Signed-off-by: Tomeu Vizoso --- v4: Replace magic number with PMC_STRAPPING_OPT_A_RAM_CODE_SHIFT --- drivers/soc/tegra/fuse/tegra-apbmisc.c | 19

[PATCH v4 01/13] clk: tegra124: Remove old emc clock

2014-11-11 Thread Tomeu Vizoso
From: Mikko Perttunen This clock has never been able to do anything. Signed-off-by: Mikko Perttunen Signed-off-by: Tomeu Vizoso --- v2: * Don't remove emc_mux as it's being used by the MC clock now --- drivers/clk/tegra/clk-tegra124.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH v4 00/13] Tegra124 EMC (external memory controller) support

2014-11-11 Thread Tomeu Vizoso
Hello, in this v4 you can find these changes: * Adapt to changes in the latest version of Thierry's IOMMU series * OF bindings don't specify any unit-address or naming for the timings and timing subnodes. This is in line with how the display timings are specified. * Misc improvements on error

[PATCH v4 02/13] of: Document long-ram-code property in nvidia,tegra20-apbmisc

2014-11-11 Thread Tomeu Vizoso
Needed to properly decode the ram code register. Signed-off-by: Tomeu Vizoso --- v3: * Clarify wording as suggested by Mikko --- Documentation/devicetree/bindings/misc/nvidia,tegra20-apbmisc.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH 1/2] perf tools: enable LBR call stack support

2014-11-11 Thread Jiri Olsa
On Thu, Nov 06, 2014 at 09:58:05AM -0500, kan.li...@intel.com wrote: SNIP > }; > > diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c > index 2f9e680..8c23607 100644 > --- a/tools/perf/util/evsel.c > +++ b/tools/perf/util/evsel.c > @@ -537,13 +537,24 @@ int

Re: [PATCH 1/2] perf tools: enable LBR call stack support

2014-11-11 Thread Jiri Olsa
On Thu, Nov 06, 2014 at 09:58:05AM -0500, kan.li...@intel.com wrote: SNIP > (sample_type & PERF_SAMPLE_STACK_USER)) > callchain_param.record_mode = CALLCHAIN_DWARF; > + else if (sample_type & PERF_SAMPLE_BRANCH_STACK) > +

Re: [PATCH RFC v2 1/2] drivers: pci: fix pci_mmap_fits() implementation for procfs mmap

2014-11-11 Thread Benjamin Herrenschmidt
On Mon, 2014-11-10 at 16:04 -0700, Bjorn Helgaas wrote: > But I'm not sure I have this right. If the procfs offset is either > the > CPU physical address or the BAR value, then pci_resource_to_user() > should be (depending on the arch) either a no-op or use > pci_resource_to_bus(). > > But

Re: [PATCHv5 2/5] arm: socfpga: Enable OCRAM ECC on startup.

2014-11-11 Thread Dinh Nguyen
On 11/11/14, 6:14 PM, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > This patch enables the ECC for On-Chip RAM on machine > startup. The ECC has to be enabled before data is > is stored in memory otherwise the ECC will fail on > reads. > > Signed-off-by: Thor Thayer > --- >

Re: [PATCH] coresight: bindings for coresight drivers

2014-11-11 Thread Greg Kroah-Hartman
On Tue, Nov 11, 2014 at 02:52:17PM -0700, Mathieu Poirier wrote: > On 11 November 2014 11:04, Rob Herring wrote: > > On Tue, Nov 11, 2014 at 11:46 AM, wrote: > >> Greg, > >> > >> Please consider this as a supplement to the coresight patchset. It should > >> have > >> been sent with the rest

Re: [PATCH 3.17 000/319] 3.17.3-stable review

2014-11-11 Thread Greg Kroah-Hartman
On Tue, Nov 11, 2014 at 10:25:39PM -0800, Guenter Roeck wrote: > On 11/11/2014 05:12 PM, Greg Kroah-Hartman wrote: > >This is the start of the stable review cycle for the 3.17.3 release. > >There are 319 patches in this series, all will be posted as a response > >to this one. If anyone has any

Re: [PATCHv5 1/5] arm: socfpga: Enable L2 Cache ECC on startup.

2014-11-11 Thread Dinh Nguyen
On 11/11/14, 6:14 PM, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > This patch enables the ECC for L2 cache on machine > startup. The ECC has to be enabled before data is > is stored in memory otherwise the ECC will fail on > reads. > > Signed-off-by: Thor Thayer > --- > v2:

Re: [PATCH v2] n_tty: Fix read_buf race condition, increment read_head after pushing data

2014-11-11 Thread Christian Riesch
On Tue, Nov 11, 2014 at 2:04 PM, Måns Rullgård wrote: > Christian Riesch writes: [...]>> diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c >> index 2e900a9..b09f326 100644 >> --- a/drivers/tty/n_tty.c >> +++ b/drivers/tty/n_tty.c >> @@ -321,7 +321,9 @@ static void

Re: [PATCH 3.14 000/203] 3.14.24-stable review

2014-11-11 Thread Greg Kroah-Hartman
On Tue, Nov 11, 2014 at 10:29:14PM -0800, Guenter Roeck wrote: > On 11/11/2014 05:14 PM, Greg Kroah-Hartman wrote: > >This is the start of the stable review cycle for the 3.14.24 release. > >There are 203 patches in this series, all will be posted as a response > >to this one. If anyone has any

[PATCH v5 1/3] mfd: max8997: use regmap to access registers

2014-11-11 Thread Robert Baldyga
This patch modifies max8997 driver and each associated function driver, to use regmap instead of operating directly on i2c bus. It will allow to simplify IRQ handling using regmap-irq. Signed-off-by: Robert Baldyga Reviewed-by: Krzysztof Kozlowski [For extcon part] Acked-by: Chanwoo Choi

[PATCH v5 3/3] mfd: max8997: change irq names to upper case

2014-11-11 Thread Robert Baldyga
This patch changes naming convention of MUIC interrupts form CamelCase to upper case. It makes names more readable and consistent with another interrupt names in max8997 driver. Signed-off-by: Robert Baldyga Reviewed-by: Krzysztof Kozlowski [For the mfd part] Acked-by: Lee Jones ---

Re: [PATCH 3.10 000/123] 3.10.60-stable review

2014-11-11 Thread Greg Kroah-Hartman
On Wed, Nov 12, 2014 at 03:22:55PM +0900, Greg Kroah-Hartman wrote: > On Tue, Nov 11, 2014 at 09:21:48PM -0800, Guenter Roeck wrote: > > On 11/11/2014 05:16 PM, Greg Kroah-Hartman wrote: > > >This is the start of the stable review cycle for the 3.10.60 release. > > >There are 123 patches in this

[PATCH v5 2/3] mfd: max8997: handle IRQs using regmap

2014-11-11 Thread Robert Baldyga
This patch modifies mfd driver to use regmap for handling interrupts. It allows to simplify irq handling process. This modifications needed to make small changes in function drivers, which use interrupts. Signed-off-by: Robert Baldyga Reviewed-by: Krzysztof Kozlowski [For extcon part]

[PATCH v5 0/3] mfd: max8997: add regmap support

2014-11-11 Thread Robert Baldyga
This patchset modifies max8997 driver and associated function drivers to use register maps instead of operating directly on i2c bus. This change allowed to simplify irq handling, and to move some initializations to individual function drivers. Hence now when some functions are not enabled, their

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

2014-11-11 Thread zhanghailiang
Hi Andrea, Is there any new about this discussion? ;) Will you plan to support 'only wrprotect fault' in the userfault API? Thanks, zhanghailiang On 2014/10/30 19:31, zhanghailiang wrote: On 2014/10/30 1:46, Andrea Arcangeli wrote: Hi Zhanghailiang, On Mon, Oct 27, 2014 at 05:32:51PM

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

2014-11-11 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 2/8] crypto: AF_ALG: user space interface for cipher info

2014-11-11 Thread Stephan Mueller
The AF_ALG interface allows normal cipher (hash, encrypt, decrypt). However, it does not allow user space to obtain the following generic information about the currently active cipher: * block size of the cipher * IV size of the cipher * for AEAD, the maximum

[PATCH 6/8] crypto: AF_ALG: make setkey optional

2014-11-11 Thread Stephan Mueller
The current AF_ALG implementation requires that a userspace interface implementation must provide a callback for setkey. Such a call is not appliable to random number generators. To prepare AF_ALG for the addition of a random number generator user space interface, this function callback

[PATCH 4/8] crypto: AF_ALG: crypto API calls to inline functions

2014-11-11 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 | 141

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

2014-11-11 Thread Stephan Mueller
AEAD requires the following data in addition to normal symmetric ciphers: * Associated authentication data of arbitrary length * Authentication tag for decryption * Length of authentication tag for encryption The authentication tag data is communicated as part of the

[PATCH 5/8] crypto: AF_ALG: add AEAD support

2014-11-11 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 0/8] crypto: AF_ALG: add AEAD and RNG support

2014-11-11 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 3/8] crypto: AF_ALG: extend data structuers for AEAD

2014-11-11 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 8/8] crypto: AF_ALG: enable RNG interface compilation

2014-11-11 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

Re: [PATCH V2 2/2] PCI: generic: Add msi_parent DT binding

2014-11-11 Thread Srikanth Thokala
Hi, On Wed, Nov 12, 2014 at 12:26 PM, Srikanth Thokala wrote: > Hi, > > On Wed, Nov 12, 2014 at 12:47 AM, wrote: >> From: Suravee Suthikulpanit >> >> This patch introduces a new DT binding, msi-parent, which can >> be used to specify MSI-parent phandle for a particular PCI >> generic host

Re: [PATCH] MAINTAINERS: Add IIO include files

2014-11-11 Thread Jingoo Han
On Tuesday, November 11, 2014 11:37 PM, Daniel Baluta wrote: > > Files under include/linux/iio were not reported as part > of the IIO subsystem. > > Reported-by: Cristina Ciocan > Signed-off-by: Daniel Baluta (+cc Hartmut Knaack, Lars-Peter Clausen, Peter Meerwald) Reviewed-by: Jingoo Han

Re: [PATCH 19/22] dt/bindings: add micrel,rmii_ref_clk_sel_25_mhz to eth-phy binding

2014-11-11 Thread Sascha Hauer
On Tue, Nov 11, 2014 at 07:18:25PM +0100, Johan Hovold wrote: > On Tue, Nov 11, 2014 at 05:57:42PM +, Mark Rutland wrote: > > On Tue, Nov 11, 2014 at 05:37:37PM +, Johan Hovold wrote: > > > Add "micrel,rmii_ref_clk_sel_25_mhz" to Micrel ethernet PHY binding > > > documentation. > > > > >

Re: [PATCH] brcmfmac: unlink URB when request timed out

2014-11-11 Thread Oliver Neukum
On Tue, 2014-11-11 at 20:02 -0500, Mathy Vanhoef wrote: > On 11/10/2014 04:08 AM, Oliver Neukum wrote: > > Which means that you are freeing memory that may still be used by DMA > > at this time. > > In addition you have no guarantee that the unlink is indeed finished > > by the time the URB is

Re: [PATCH V2 2/2] PCI: generic: Add msi_parent DT binding

2014-11-11 Thread Srikanth Thokala
Hi, On Wed, Nov 12, 2014 at 12:47 AM, wrote: > From: Suravee Suthikulpanit > > This patch introduces a new DT binding, msi-parent, which can > be used to specify MSI-parent phandle for a particular PCI > generic host controller. > > Also, it implements and registers set_msi_parent callback. >

linux-next: Tree for Nov 12

2014-11-11 Thread Stephen Rothwell
Hi all, Changes since 2014: The slave-dma tree lost its build failure. The block tree lost its build failure. The mfd tree lost its build failure. The driver-core tree gained a conflict against the hwmon-staging tree. The akpm-current tree still had its build failures for which I applied

Re: [PATCH 3/4] powernv: cpuidle: Redesign idle states management

2014-11-11 Thread Preeti U Murthy
Hi Shreyas, On 11/03/2014 09:38 PM, Shreyas B. Prabhu wrote: > diff --git a/arch/powerpc/kernel/idle_power7.S > b/arch/powerpc/kernel/idle_power7.S > index 283c603..df11acb 100644 > --- a/arch/powerpc/kernel/idle_power7.S > +++ b/arch/powerpc/kernel/idle_power7.S > _GLOBAL(power7_idle) >

Re: memblock: Refactor functions to set/clear MEMBLOCK_HOTPLUG

2014-11-11 Thread Yasuaki Ishimatsu
(2014/11/11 4:05), tony.l...@intel.com wrote: > There is a lot of duplication in the rubric around actually setting or > clearing a mem region flag. Create a new helper function to do this and > reduce each of memblock_mark_hotplug() and memblock_clear_hotplug() to > a single line. > >

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

2014-11-11 Thread Kiran Kumar Raparthy
From: Todd Poynor 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

[RFC v6 2/3] usb: phy: handle per-PHY connect and disconnect events

2014-11-11 Thread Kiran Kumar Raparthy
From: Todd Poynor usb: phy: handle per-PHY connect 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

[RFC v6 1/3] usb: phy: introduce usb_phy_set_event interface

2014-11-11 Thread Kiran Kumar Raparthy
From: Todd Poynor 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:

[PATCH] kdump, x86: report actual value of phys_base in VMCOREINFO

2014-11-11 Thread HATAYAMA Daisuke
Currently, VMCOREINFO note information reports the virtual address of phys_base that is assigned to symbol phys_base. But this doesn't make sense because to refer to value of the phys_base, it's necessary to get the value of phys_base itself we are now about to refer to. Userland tools related to

[RFC v6 0/3] usb: phy: hold wakeupsource on usb phy events.

2014-11-11 Thread Kiran Kumar 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: [PATCH net-next 2/2] r8152: adjust rtl_start_rx

2014-11-11 Thread Hayes Wang
David Miller [mailto:da...@davemloft.net] > Sent: Wednesday, November 12, 2014 1:44 PM [...] > What do other USB network drivers do in similar situations? According to the usbnet.c, it would make sure to submit the number of min(10, RX_QLEN(dev)) rx buffers. If there are not enough rx buffers,

Re: [PATCH 3.10 000/123] 3.10.60-stable review

2014-11-11 Thread Guenter Roeck
On 11/11/2014 05:16 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.60 release. There are 123 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. Responses should be

Re: [PATCH 3.14 000/203] 3.14.24-stable review

2014-11-11 Thread Guenter Roeck
On 11/11/2014 05:14 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.14.24 release. There are 203 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. Responses should be

[PATCH v2 3/3] irqchip: dw-apb-ictl: add PM support

2014-11-11 Thread Jisheng Zhang
This patch adds in support for S2R for dw-apb-ictl irqchip driver. We can used relaxed variants in the resume hook because there's no DMA at all here, the device type memory attribute can ensure the operations order and relaxed version imply compiler barrier. Signed-off-by: Jisheng Zhang ---

[PATCH v2 2/3] irqchip: dw-apb-ictl: enable IRQ_GC_MASK_CACHE_PER_TYPE

2014-11-11 Thread Jisheng Zhang
The irq_chip_type instances have separate mask registers, so we need to enable IRQ_GC_MASK_CACHE_PER_TYPE to actually handle separate mask registers. Signed-off-by: Jisheng Zhang Acked-by: Sebastian Hesselbarth --- drivers/irqchip/irq-dw-apb-ictl.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH v2 1/3] irqchip: dw-apb-ictl: always use use {readl|writel}_relaxed

2014-11-11 Thread Jisheng Zhang
There's no DMA at all, the device type memory attribute can ensure the operations order and relaxed version imply compiler barrier, so we are safe to use relaxed version to improve the performance a bit. Signed-off-by: Jisheng Zhang Acked-by: Sebastian Hesselbarth ---

RE: [PATCHv12 0/3] power_supply: Introduce power supply charging driver

2014-11-11 Thread Tc, Jenny
Sebastian, I would appreciate if you could share your plans on this patch?. As you agreed on the IRC session, can you push this patch to staging? Meanwhile we will work to close the TODOs captured in the IRC session (http://elektranox.org/battery.txt) -Jenny > v1: Introduced feature as a

linux-next: build warnings after merge of the mips tree

2014-11-11 Thread Stephen Rothwell
Hi Ralf, After merging the mips tree, today's linux-next build (powerpc64 allnoconfig) produced these warnings: In file included from fs/compat_binfmt_elf.c:145:0: fs/binfmt_elf.c: In function 'load_elf_binary': fs/binfmt_elf.c:718:13: warning: passing argument 1 of 'arch_elf_pt_proc' from

Re: [PATCH 3.17 000/319] 3.17.3-stable review

2014-11-11 Thread Guenter Roeck
On 11/11/2014 05:12 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.17.3 release. There are 319 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. Responses should be

[PATCH v2 0/3] irqchip: dw-apb-ictl: IRQ_GC_MASK_CACHE_PER_TYPE and PM support

2014-11-11 Thread Jisheng Zhang
These patches try to improve dw-apb-ictl irqchip driver a bit. The first patch improves the performance a bit -- use the relaxed version The two dw-apb-ictl's irq_chip_type instances have separate mask registers, so the second patch enables IRQ_GC_MASK_CACHE_PER_TYPE. The last patch adds

Re: [PATCH 3.10 000/123] 3.10.60-stable review

2014-11-11 Thread Greg Kroah-Hartman
On Tue, Nov 11, 2014 at 09:21:48PM -0800, Guenter Roeck wrote: > On 11/11/2014 05:16 PM, Greg Kroah-Hartman wrote: > >This is the start of the stable review cycle for the 3.10.60 release. > >There are 123 patches in this series, all will be posted as a response > >to this one. If anyone has any

✔ Alert ! Your PayPal Account Will Be limited PP1366

2014-11-11 Thread PayPal Inc
-- Reminder: We need your help -- We emailed you a little while ago to ask for your help resolving an issue with your account. What's the problem? Until this

Re: Future of NOHZ full/isolation development (was Re: [NOHZ] Remove scheduler_tick_max_deferment)

2014-11-11 Thread Viresh Kumar
On 11 November 2014 22:45, Frederic Weisbecker wrote: > Here is a summarized list: > > * Unbound workqueues affinity (to housekeeper) > * Unbound timers affinity (to housekeeper) > * 1 Hz residual scheduler tick offlining to housekeeper > * Fix some scheduler accounting that don't even work with

Re: [PATCH 10/10] PCI/MSI: Remove useless bus->msi assignment

2014-11-11 Thread Yijing Wang
On 2014/11/12 12:24, Bjorn Helgaas wrote: > On Mon, Oct 27, 2014 at 03:48:47PM +0800, Yijing Wang wrote: >> Thierry introduced MSI chip(now renamed to MSI controller) >> framework to associate MSI chip and PCI bus in arm. >> Other platforms still use its own arch MSI functions to >> support MSI

[PATCH] of/base: Fix PowerPC address parsing hack

2014-11-11 Thread Benjamin Herrenschmidt
We have a historical hack that treats missing ranges properties as the equivalent of an empty one. This is needed for ancient PowerMac "bad" device-trees, and shouldn't be enabled for any other PowerPC platform, otherwise we get some nasty layout of devices in sysfs or even duplication when a set

Re: [PATCH net-next 2/2] r8152: adjust rtl_start_rx

2014-11-11 Thread David Miller
From: Hayes Wang Date: Wed, 12 Nov 2014 05:23:03 + > David Miller [mailto:da...@davemloft.net] >> Sent: Wednesday, November 12, 2014 1:13 PM > [...] >> I really want to know why you are spending so much effort on this. >> >> Is there a real situation that happened very often, which you >>

[PULL] params fix

2014-11-11 Thread Rusty Russell
The following changes since commit 206c5f60a3d902bc4b56dab2de3e88de5eb06108: Linux 3.18-rc4 (2014-11-09 14:55:29 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git for you to fetch changes up to

Re: [PATCH] Params: Fix parse_args() return code checking

2014-11-11 Thread Rusty Russell
Richard Weinberger writes: > parse_args() returns beside of NULL also ERR_PTR(). Thanks, already queued in my fixes branch. Cheers, Rusty. -- 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

Re: [PATCHv2 0/2] ARM: dts: Fix the number of DMA channels for Exynos3250/4

2014-11-11 Thread Chanwoo Choi
Dear Kukjin, Please ignore this patchset because this patchset are wrong. Best Regards, Chanwoo Choi On 11/12/2014 11:50 AM, Chanwoo Choi wrote: > This patch fix minor issuse to correct the number of DMA channels for > Exynos3250 and Exynos4 series. The PL330 DMA of Exynos3250/Exynos4 support >

Re: [PATCH 0/4] staging: panel: Module parameters clean-up

2014-11-11 Thread Willy Tarreau
On Wed, Nov 12, 2014 at 02:08:05AM +0100, Mariusz Gorski wrote: > This small set of patches (although it also could be a single patch...) > rearranges groups of defines, redefines and module parameter declarations, > so that they always appear in the same order defined by Kconfig, which > makes it

RE: [PATCH net-next 2/2] r8152: adjust rtl_start_rx

2014-11-11 Thread Hayes Wang
David Miller [mailto:da...@davemloft.net] > Sent: Wednesday, November 12, 2014 1:13 PM [...] > I really want to know why you are spending so much effort on this. > > Is there a real situation that happened very often, which you > diagnosed in detail, and therefore you want to address? No. I

Re: [PATCH 3.10 000/123] 3.10.60-stable review

2014-11-11 Thread Guenter Roeck
On 11/11/2014 05:16 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.60 release. There are 123 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. Responses should be

Re: [PATCH net-next 2/2] r8152: adjust rtl_start_rx

2014-11-11 Thread David Miller
From: Hayes Wang Date: Wed, 12 Nov 2014 05:07:40 + > How about that when a error occurs, add the remaining rx > to the list without submission? Then, the remianing rx > could be re-submitted later, and the rtl_start_rx() could > be completed as soon as possible. I really want to know why

RE: [PATCH net-next 2/2] r8152: adjust rtl_start_rx

2014-11-11 Thread Hayes Wang
David Miller [mailto:da...@davemloft.net] > Sent: Wednesday, November 12, 2014 10:51 AM [...] > Ok, but if we are looping here in rtl_start_rx() and r8152_submit_rx() > fails due to a memory allocation failure, there is nothing which is > going to make such a memory allocation succeed in the next

[PATCH v18 4/5] ARM: dts: add main Thermal info to rk3288

2014-11-11 Thread Caesar Wang
This patch is depend on rk3288-thermal.dtsi,or it will compile error. If for some reason we are unable to shut it down in orderly fashion (kernel is stuck holding a lock or similar), then hardware TSHUT will reset it. If the temperature over a period of time High,over 95C the resulting TSHUT

[PATCH v18 3/5] ARM: dts: add RK3288 Thermal data

2014-11-11 Thread Caesar Wang
This patch changes a dtsi file to contain the thermal data on RK3288 and later SoCs. This data will enable a thermal shutdown over 90C. Signed-off-by: Caesar Wang Reviewed-by: Dmitry Torokhov --- arch/arm/boot/dts/rk3288-thermal.dtsi | 78 +++ 1 file changed, 78

[PATCH v18 2/5] thermal: rockchip: add driver for thermal

2014-11-11 Thread Caesar Wang
Thermal is TS-ADC Controller module supports user-defined mode and automatic mode. User-defined mode refers,TSADC all the control signals entirely by software writing to register for direct control. Automaic mode refers to the module automatically poll TSADC output, and the results were

[PATCH v18 0/5] Rockchip soc thermal driver

2014-11-11 Thread Caesar Wang
This series patchs tested on rk3288 SDK board and pinky-v1,v2 board. I believe the driver can be used on the rk3288-evb board. Add this driver, The system will shutdown when the thermal temperture over 100C.If for some reason we are unable to shut it down in orderly fashion (kernel is stuck

[PATCH v18 5/5] ARM: dts: enable Thermal on rk3288-evb board

2014-11-11 Thread Caesar Wang
when a thermal temperature over TSHUT.Default to via CRU reset the entire chip on rk3288-evb Board, TSHUT is low active on rk3288-evb board. Signed-off-by: Caesar Wang Reviewed-by: Dmitry Torokhov --- arch/arm/boot/dts/rk3288-evb.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH v18 1/5] dt-bindings: document Rockchip thermal

2014-11-11 Thread Caesar Wang
This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng Signed-off-by: Caesar Wang Reviewed-by: Dmitry Torokhov --- .../bindings/thermal/rockchip-thermal.txt | 68 ++ 1 file changed, 68 insertions(+) create

Re: [PATCH v4 4/6] hw_random: fix unregister race.

2014-11-11 Thread Herbert Xu
On Mon, Nov 10, 2014 at 09:47:27PM +0800, Herbert Xu wrote: > On Mon, Nov 03, 2014 at 11:56:24PM +0800, Amos Kong wrote: > > > > @@ -98,6 +99,8 @@ static inline void cleanup_rng(struct kref *kref) > > > > if (rng->cleanup) > > rng->cleanup(rng); > > You need a compiler barrier

[PATCH] Btrfs: ctree: reduce args where only fs_info used

2014-11-11 Thread Daniel Dressler
This patch is part of a larger project to cleanup btrfs's internal usage of struct btrfs_root. Many functions take btrfs_root only to grab a pointer to fs_info. This causes programmers to ponder which root can be passed. Since only the fs_info is read affected functions can accept any root,

Re: [PATCH v4 3/6] hw_random: use reference counts on each struct hwrng.

2014-11-11 Thread Rusty Russell
Amos Kong writes: > From: Rusty Russell > > current_rng holds one reference, and we bump it every time we want > to do a read from it. > > This means we only hold the rng_mutex to grab or drop a reference, > so accessing /sys/devices/virtual/misc/hw_random/rng_current doesn't > block on read of

Re: [PATCH v4 4/6] hw_random: fix unregister race.

2014-11-11 Thread Rusty Russell
Amos Kong writes: > From: Rusty Russell > > The previous patch added one potential problem: we can still be > reading from a hwrng when it's unregistered. Add a wait for zero > in the hwrng_unregister path. > > v4: add cleanup_done flag to insure that cleanup is done That's a bit weird. The

[PATCH v3 01/13] crypto: Documentation - crypto API high level spec

2014-11-11 Thread Stephan Mueller
The design of the kernel crypto API as well as hints to program with the kernel crypto API are given. The documentation contains: * design aspects of crypto API * develper specific hints * references to the API function description * source code examples CC: Marek Vasut Signed-off-by:

[PATCH v3 00/13] crypto: Documentation of kernel crypto API

2014-11-11 Thread Stephan Mueller
Hi, The following patch set adds documentation files under Documentation/crypto/ covering the high-level description of the API. In addition, it contains source code comments added to the header files of the kernel crypto API documenting the API functions. The documentation is provided in a

[PATCH v3 07/13] crypto: Documentation - SHASH API documentation

2014-11-11 Thread Stephan Mueller
The API function calls exported by the kernel crypto API for SHASHes to be used by consumers are documented. Signed-off-by: Stephan Mueller --- include/crypto/hash.h | 164 ++ 1 file changed, 164 insertions(+) diff --git a/include/crypto/hash.h

[PATCH v3 05/13] crypto: Documentation - hash data structures

2014-11-11 Thread Stephan Mueller
The hash data structures needed to be filled in by cipher developers are documented. Signed-off-by: Stephan Mueller --- include/crypto/hash.h | 95 +++ 1 file changed, 95 insertions(+) diff --git a/include/crypto/hash.h b/include/crypto/hash.h

[PATCH v3 02/13] crypto: Documentation - compile crypto API spec

2014-11-11 Thread Stephan Mueller
Add the crypto API documentation into the DocBook Makefile to allow it being compiled Signed-off-by: Stephan Mueller --- Documentation/DocBook/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile index

[PATCH v3 03/13] crypto: Documentation - userspace interface spec

2014-11-11 Thread Stephan Mueller
The userspace interface of the kernel crypto API is documented with * a general explanation * a discussion of the memory in-place operation * the description of the message digest API * the description of the symmetric cipher API The documentation refers to libkcapi as a working example on

[PATCH v3 09/13] crypto: Documentation - ABLKCIPHER API documentation

2014-11-11 Thread Stephan Mueller
The API function calls exported by the kernel crypto API for asynchronous block ciphers to be used by consumers are documented. Signed-off-by: Stephan Mueller --- include/linux/crypto.h | 206 + 1 file changed, 206 insertions(+) diff --git

[PATCH v3 06/13] crypto: Documentation - AHASH API documentation

2014-11-11 Thread Stephan Mueller
The API function calls exported by the kernel crypto API for AHASHes to be used by consumers are documented. Signed-off-by: Stephan Mueller --- include/crypto/hash.h | 228 ++ 1 file changed, 228 insertions(+) diff --git a/include/crypto/hash.h

[PATCH v3 10/13] crypto: Documentation - AEAD API documentation

2014-11-11 Thread Stephan Mueller
The API function calls exported by the kernel crypto API for AEAD ciphers to be used by consumers are documented. Signed-off-by: Stephan Mueller --- include/linux/crypto.h | 251 + 1 file changed, 251 insertions(+) diff --git

[PATCH v3 08/13] crypto: Documentation - cipher data structures

2014-11-11 Thread Stephan Mueller
The data structure of struct crypto_alg together with various other data structures needed by cipher developers is documented wit all parameters that can be set by a developer of a transformation. All parameters that are internal to the crypto API are marked as such. Signed-off-by: Stephan

[PATCH v3 04/13] crypto: Documentation - RNG API documentation

2014-11-11 Thread Stephan Mueller
The API function calls exported by the kernel crypto API for RNGs to be used by consumers are documented. Signed-off-by: Stephan Mueller --- include/crypto/rng.h | 80 1 file changed, 80 insertions(+) diff --git a/include/crypto/rng.h

[PATCH v3 13/13] crypto: Documentation - HASH API documentation

2014-11-11 Thread Stephan Mueller
The API function calls exported by the kernel crypto API for message digests to be used by consumers are documented. Signed-off-by: Stephan Mueller --- include/linux/crypto.h | 119 + 1 file changed, 119 insertions(+) diff --git

[PATCH v3 12/13] crypto: Documentation - CIPHER API documentation

2014-11-11 Thread Stephan Mueller
The API function calls exported by the kernel crypto API for signle block ciphers to be used by consumers are documented. Signed-off-by: Stephan Mueller --- include/linux/crypto.h | 89 ++ 1 file changed, 89 insertions(+) diff --git

[PATCH v3 11/13] crypto: Documentation - BLKCIPHER API documentation

2014-11-11 Thread Stephan Mueller
The API function calls exported by the kernel crypto API for synchronous block ciphers to be used by consumers are documented. Signed-off-by: Stephan Mueller --- include/linux/crypto.h | 188 + 1 file changed, 188 insertions(+) diff --git

Re: [PATCH v2 2/2] mem-hotplug: Reset node present pages when hot-adding a new pgdat.

2014-11-11 Thread Yasuaki Ishimatsu
(2014/11/11 10:27), Tang Chen wrote: > When onlining memory on node2, node2 zoneinfo and node3 meminfo corrupted: > > # for ((i = 2048; i < 2064; i++)); do echo online_movable > > /sys/devices/system/node/node2/memory$i/state; done > # cat /sys/devices/system/node/node2/meminfo > Node 2

[PATCH 3.17 013/319] net: tso: fix unaligned access to crafted TCP header in helper API

2014-11-11 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Karl Beldan [ Upstream commit a63ba13eec092b70d4e5522d692eaeb2f9747387 ] The crafted header start address is from a driver supplied buffer, which one can reasonably expect to be aligned on a

Re: [PATCH 10/10] PCI/MSI: Remove useless bus->msi assignment

2014-11-11 Thread Bjorn Helgaas
On Mon, Oct 27, 2014 at 03:48:47PM +0800, Yijing Wang wrote: > Thierry introduced MSI chip(now renamed to MSI controller) > framework to associate MSI chip and PCI bus in arm. > Other platforms still use its own arch MSI functions to > support MSI capability. Thierry introduced the bus->msi >

[PATCH 3.17 012/319] netlink: Re-add locking to netlink_lookup() and seq walker

2014-11-11 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Graf [ Upstream commit 78fd1d0ab072d4d9b5f0b7c14a1516665170b565 ] The synchronize_rcu() in netlink_release() introduces unacceptable latency. Reintroduce minimal lookup so we can drop

[PATCH 3.17 016/319] tcp: md5: do not use alloc_percpu()

2014-11-11 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 349ce993ac706869d553a1816426d3a4bfda02b1 ] percpu tcp_md5sig_pool contains memory blobs that ultimately go through sg_set_buf(). -> sg_set_page(sg,

Re: [PATCH 00/10] Save MSI chip in pci_sys_data

2014-11-11 Thread Bjorn Helgaas
On Mon, Oct 27, 2014 at 03:48:37PM +0800, Yijing Wang wrote: > Now PCI host bridge drivers in arm associate MSI chip and > PCI bus by adding .add_bus(), and assign MSI chip pointer > to every PCI bus. Associating MSI chip and every PCI bus > is not necessary. All PCI busses under same PCI host

[PATCH 3.17 017/319] macvlan: fix a race on port dismantle and possible skb leaks

2014-11-11 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit fe0ca7328d03d36aafecebb3af650e1bb2841c20 ] We need to cancel the work queue after rcu grace period, otherwise it can be rescheduled by incoming packets. We

RE: [V5 PATCH 1/1] driver:mtd:spi-nor: Add quad I/O support for Micron spi nor

2014-11-11 Thread bpqw
>I have almost verified all the micros parts for operating quad mode and the >quad enable bit is >volatile by default and no need to set it on software. >Why this code is meant for - does micron has changed this bit operation on >newly added parts? >thanks! >-- >Jagan. For Micron Spi

[PATCH 3.17 019/319] ipv4: Do not cache routing failures due to disabled forwarding.

2014-11-11 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Cavallari [ Upstream commit fa19c2b050ab5254326f5fc07096dd3c6a8d5d58 ] If we cache them, the kernel will reuse them, independently of whether forwarding is enabled or not. Which

  1   2   3   4   5   6   7   8   9   10   >