Re: [PATCH V3 1/8] cpufreq: cpufreq-cpu0: remove dependency on thermal

2014-05-22 Thread Eduardo Valentin
Hello Viresh, On Thu, May 22, 2014 at 11:07:25AM +0530, Viresh Kumar wrote: > cpufreq-cpu0 uses thermal framework to register a cooling device, but doesn't > depend on it as there are dummy calls provided by thermal layer when > CONFIG_THERMAL=n. So, we don't really need to mention thermal as a de

Re: [PATCH 09/19] mm: page_alloc: Use word-based accesses for get/set pageblock bitmaps

2014-05-22 Thread Andrew Morton
On Thu, 22 May 2014 11:24:23 +0200 Vlastimil Babka wrote: > > In a test running dd onto tmpfs the overhead of the pageblock-related > > functions went from 1.27% in profiles to 0.5%. > > > > Signed-off-by: Mel Gorman > > Acked-by: Vlastimil Babka > > Hi, I've tested if this closes the race I'

Re: [Patch v6 4/7] power: reset: add bindings for keystone reset driver

2014-05-22 Thread Ivan Khoronzhuk
On 05/22/2014 09:03 PM, Sergei Shtylyov wrote: Hello. On 05/22/2014 08:44 PM, Ivan Khoronzhuk wrote: This node is intended to allow SoC reset in case of software reset or appropriate watchdogs. The Keystone SoCs can contain up to 4 watchdog timers to reset SoC. Each watchdog timer event in

Re: [RFC PATCH 2/5] clk: Introduce 'clk_round_rate_nearest()'

2014-05-22 Thread Uwe Kleine-König
Hello Sören, On Thu, May 22, 2014 at 11:03:00AM -0700, Sören Brinkmann wrote: > On Wed, 2014-05-21 at 01:33PM -0700, Mike Turquette wrote: > > Quoting Uwe Kleine-König (2014-05-21 11:23:08) > > > Hello Sören, > > > > > > On Wed, May 21, 2014 at 08:58:10AM -0700, Sören Brinkmann wrote: > > > > On

Re: [PATCH 1/2] ASoC: max98090: Add master clock handling

2014-05-22 Thread Mark Brown
On Thu, May 22, 2014 at 11:50:55AM -0600, Stephen Warren wrote: > I think we should nail down exactly what set_sysclk() means. Since it > takes an explicit MCLK clock rate (rather than e.g. sample rate) right > now, surely it's a notification of what the clock /is/, not a request > for the CODEC t

Re: [PATCH v2 14/18] sparc: io: implement dummy relaxed accessor macros for writes

2014-05-22 Thread Sam Ravnborg
On Thu, May 22, 2014 at 05:47:26PM +0100, Will Deacon wrote: > write{b,w,l,q}_relaxed are implemented by some architectures in order to > permit memory-mapped I/O accesses with weaker barrier semantics than the > non-relaxed variants. > > This patch adds dummy macros for the write accessors to spa

Re: [PATCH v2 05/18] alpha: io: implement relaxed accessor macros for writes

2014-05-22 Thread Richard Henderson
On 05/22/2014 09:47 AM, Will Deacon wrote: > write{b,w,l,q}_relaxed are implemented by some architectures in order to > permit memory-mapped I/O writes with weaker barrier semantics than the > non-relaxed variants. > > This patch implements these write macros for Alpha, in the same vein as > the r

Re: [PATCH V7 02/11] PNPACPI: use whilte list for pnpacpi device enumeration

2014-05-22 Thread Bjorn Helgaas
"white" is misspelled in the subject line. I mentioned this before. On Thu, May 22, 2014 at 12:02 PM, Zhang Rui wrote: > ACPI can be used to enumerate PNP devices, but the code does not > handle this in a good manner. > ... -- To unsubscribe from this list: send the line "unsubscribe linux-kerne

Re: Runtime PM workqueue killing system performance with USB

2014-05-22 Thread Alan Stern
On Thu, 22 May 2014, Will Deacon wrote: > > Anyway, there are two possible ways of handling this. One is to avoid > > changing the error code to -EBUSY when the device in question is a root > > hub. Just let it go into a runtime-PM error state; it won't matter > > since the controller doesn't

Re: [PATCH 3/3] crypto: Add Allwinner Security System crypto accelerator

2014-05-22 Thread Corentin LABBE
Le 22/05/2014 17:28, Arnd Bergmann a écrit : > On Thursday 22 May 2014 17:09:56 LABBE Corentin wrote: >> Signed-off-by: LABBE Corentin >> --- >> drivers/crypto/Kconfig| 49 ++ >> drivers/crypto/Makefile |1 + >> drivers/crypto/sunxi-ss.c | 1476 >>

Re: [PATCH] ARM: imx: introduce function imx_free_mx3_camera

2014-05-22 Thread Uwe Kleine-König
Hello Emil, On Thu, May 22, 2014 at 07:51:19PM +0200, Emil Goode wrote: > We forgot to free pdev->dev.dma_mask on error after > having called the imx_alloc_mx3_camera function. > This patch introduces the imx_free_mx3_camera function > that adds the missing kfree call and is practical for > future

[PATCH] spi: rspi: Round up division to avoid slave overclocking

2014-05-22 Thread Geert Uytterhoeven
The calculation of the bit rate divider used a standard C division, which rounds down the quotient. This may lead to a higher bitrate than requested. Round up to avoid this. E.g. on Koelsch, the SPI flash (configured for 30 MHz) was driven at 48.75 MHz. After this patch it's driven at a safe 24.37

[PATCH V7 03/11] ACPI: remove ids that does not comply with the ACPI PNP id rule

2014-05-22 Thread Zhang Rui
The acpi pnp scan handler id list just copies all the ids from all the struct pnp_device_id instances, but some of them do not comply with the ACPI PNP id rule (3 Alpha Charactors + 4 Hex numbers). For those ids, the coressponding devices will never be enumerated via ACPI, so it is safe to remove

RE: [PATCH 04/47] mtd: nand: adding ST's BCH NAND Controller driver

2014-05-22 Thread Gupta, Pekon
>From: Lee Jones > >First introduction of the driver. Includes the basic device struct >(some functionality isn't utilised as of yet) and supplies some of the >important resources required for basic running of the Controller. > >Signed-off-by: Lee Jones >--- >--- /dev/null >+++ b/drivers/mtd/nand/

RE: [PATCH 02/47] mtd: nand: stm_nand_bch: provide Device Tree documentation

2014-05-22 Thread Gupta, Pekon
>From: linux-mtd [mailto:linux-mtd-boun...@lists.infradead.org] On Behalf Of >Lee Jones > >This is where we describe the different new and generic options used by >the ST BCH driver. > >Cc: devicet...@vger.kernel.org >Signed-off-by: Lee Jones >--- > Documentation/devicetree/bindings/mtd/stm-nand.

Re: [RFC PATCH 2/5] clk: Introduce 'clk_round_rate_nearest()'

2014-05-22 Thread Sören Brinkmann
On Wed, 2014-05-21 at 01:33PM -0700, Mike Turquette wrote: > Quoting Uwe Kleine-König (2014-05-21 11:23:08) > > Hello Sören, > > > > On Wed, May 21, 2014 at 08:58:10AM -0700, Sören Brinkmann wrote: > > > On Wed, 2014-05-21 at 09:34AM +0200, Uwe Kleine-König wrote: > > > > On Tue, May 20, 2014 at 0

[PATCH V7 04/11] ACPI: remove unsupported serial PNP ids from acpi pnp scan handler id lsit

2014-05-22 Thread Zhang Rui
The "serial" pnp driver supports some unknown PNP modems (PNPCXXX/PNPDXXX) by matching magic strings in the pnp device name or the pnp device card name. ACPI enumerated PNP device neither supports pnp card, nor supports those magic strings in its device name, which means this mechamism never works

[PATCH V7 08/11] ACPI: always register memory hotplug scan handler even if CONFIG_X86_INTEL_LPSS is cleared

2014-05-22 Thread Zhang Rui
The new ACPI device enumeration mechanism, which will be introduced in a later patch, will enumerate the _HID devices w/o any scan handler attached to platform bus. This means that, for the devices that are attached to a configurable scan handler, we should make sure no platform devices would be cr

[PATCH V7 09/11] ACPI: introduce platform_id flag

2014-05-22 Thread Zhang Rui
Only certain kind of ACPI device objects can be enumerated to platform bus. These ACPI device objects include 1. ACPI device objects that have _HID control method. 2. some ACPI device objects that have Linux specified HID strings. In order to distinguish those device objects from the others, a new

[PATCH V7 10/11] ACPI: use platform bus as the default bus for _HID enumeration

2014-05-22 Thread Zhang Rui
Because of the growing demand for enumerating ACPI devices to platform bus, this patch changes the code to enumerate ACPI devices to platform bus by default, if the device 1. has _HID. 2. does not have a scan handler attached. 3. is not SPB slave device, which should be enumerated by its parent. S

[PATCH V7 11/11] ACPI: introduce acpi platform exclude id list

2014-05-22 Thread Zhang Rui
For ACPI PIC (PNP), Timer (PNP0100) and DMA controller (PNP0200) device objects, although they have _HID control method, but they should not be enumerated to platform bus, because there will never be any platform drivers for them. Thus an exclude id list is introduced in this patch to prevent

[PATCH V7 07/11] ACPI: always register memory hotplug scan handler even if CONFIG_ACPI_HOTPLUG_MEMORY is cleared

2014-05-22 Thread Zhang Rui
The new ACPI device enumeration mechanism, which will be introduced in a later patch, will enumerate the _HID devices w/o any scan handler attached to platform bus. This means that, for the devices that are attached to a configurable scan handler, we should make sure no platform devices would be cr

[PATCH V7 06/11] ACPI: always register container scan handler even if CONFIG_ACPI_CONTAINER is cleared

2014-05-22 Thread Zhang Rui
The new ACPI device enumeration mechanism, which will be introduced in a later patch, will enumerate the _HID devices w/o any scan handler attached to platform bus. This means that, for the devices that are attached to a configurable scan handler, we should make sure no platform devices would be cr

[PATCH V7 02/11] PNPACPI: use whilte list for pnpacpi device enumeration

2014-05-22 Thread Zhang Rui
ACPI can be used to enumerate PNP devices, but the code does not handle this in a good manner. Currently, if an ACPI device 1. has _CRS method, 2. has an identifications of "three capital charactors followed by four hex numbers", 3. is not in the excluded id list, it is enumerated to PNP bus.

[PATCH V7 05/11] ACPI: allow scan handlers without .attach() callback

2014-05-22 Thread Zhang Rui
Devices that can be attached to scan handlers, are kind of different from the others, because they are known that some special actions should be taken. But we do not mark this difference when the configurable scan handlers are compiled out. This is harmless currently, but it will be when we want t

Re: [Patch v6 4/7] power: reset: add bindings for keystone reset driver

2014-05-22 Thread Sergei Shtylyov
Hello. On 05/22/2014 08:44 PM, Ivan Khoronzhuk wrote: This node is intended to allow SoC reset in case of software reset or appropriate watchdogs. The Keystone SoCs can contain up to 4 watchdog timers to reset SoC. Each watchdog timer event input is connected to the Reset Mux block. The Rese

[PATCH V7 00/11] ACPI: ACPI enumeration rework

2014-05-22 Thread Zhang Rui
Hi, all, Currently, PNP bus is used as the default bus for for enumerating ACPI devices with _HID/_CID. For a device that needs to be enumerated to platform bus, we need to add its id string to the platform scan handler white list explicitly. This becomes a problem as more and more _HID devices n

[PATCH V7 01/11] ACPI: introduce .match() callback for ACPI scan handler

2014-05-22 Thread Zhang Rui
Currently, ACPI scan handler uses strcmp() to match device ids and scan handler ids. When converting PNPACPI enumeration into a scan handler, which I will do later in this patch set, the current code becomes not flexible enough because ACPI pnp scan handler requires wildcase and case insensitive s

[PATCH v3] clk: shmobile: mstp: Fix the is_enabled() operation

2014-05-22 Thread Geert Uytterhoeven
From: Laurent Pinchart The MSTP[SC]R registers have clock stop bits, not clock enable bits. The bit value should thus be inverted in the is_enabled() operation. Signed-off-by: Laurent Pinchart Signed-off-by: Geert Uytterhoeven Cc: Mike Turquette --- v3: - This depends on commit 3c90c55dcde7

Re: [PATCH] i8k: increase fan limit to 3

2014-05-22 Thread Guenter Roeck
On Thu, May 22, 2014 at 12:54:58PM -0300, Flavio Leitner wrote: > On Thu, May 22, 2014 at 08:10:48AM -0700, Guenter Roeck wrote: > > On Wed, May 21, 2014 at 11:19:28PM -0300, Flavio Leitner wrote: > > > From: Flavio Leitner > > > > > > It is possible to increase left fan speed on a > > > DELL Pre

[PATCH 1/1 linux-next] FS/HFSPLUS: fix pr_foo() and hfs_dbg formats

2014-05-22 Thread Fabian Frederick
Suggested-By: Vyacheslav Dubeyko Cc: Vyacheslav Dubeyko Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/hfsplus/extents.c | 7 +++ fs/hfsplus/super.c | 3 ++- fs/hfsplus/xattr.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/hfsplus/extents.c b/fs/h

Re: pci: kernel crash in bus_find_device

2014-05-22 Thread Guenter Roeck
On Thu, May 22, 2014 at 09:19:40AM -0700, Francesco Ruggeri wrote: > Aborting a search does not sound like a correct solution. > How does a higher level user (eg for_each_pci_dev) know that a search > was aborted and decide whether it should try again, assuming it would > be ok repeating the action

Re: [PATCH V5 3/4] x86/PCI: Stop enabling ECS for AMD CPUs after Fam16h

2014-05-22 Thread Bjorn Helgaas
On Wed, May 21, 2014 at 5:38 PM, Borislav Petkov wrote: > On Wed, May 21, 2014 at 05:18:17PM -0600, Bjorn Helgaas wrote: >> ECS is an AMD mechanism that allows access to extended PCI config space >> (offsets 256-4096) via I/O ports CF8/CFCh. We normally use ECAM, i.e., >> MMCONFIG, to access that

[PATCH] micrel: Use time_before_eq()

2014-05-22 Thread Manuel Schölling
To be future-proof and for better readability the time comparisons are modified to use time_before_eq() instead of plain, error-prone math. Signed-off-by: Manuel Schölling --- drivers/net/ethernet/micrel/ksz884x.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net

Re: [PATCH 1/2] ASoC: max98090: Add master clock handling

2014-05-22 Thread Stephen Warren
On 05/22/2014 11:34 AM, Mark Brown wrote: > On Thu, May 22, 2014 at 09:51:38AM -0600, Stephen Warren wrote: >> On 05/22/2014 03:17 AM, Tushar Behera wrote: > >>> + if (!IS_ERR(max98090->mclk)) { >>> + freq = clk_round_rate(max98090->mclk, freq); >>> + clk_set_rate(max98090->m

[PATCH] ARM: imx: introduce function imx_free_mx3_camera

2014-05-22 Thread Emil Goode
We forgot to free pdev->dev.dma_mask on error after having called the imx_alloc_mx3_camera function. This patch introduces the imx_free_mx3_camera function that adds the missing kfree call and is practical for future usage with imx_alloc_mx3_camera(). Signed-off-by: Emil Goode --- arch/arm/mach-

Re: [PATCH] mm: filemap: Avoid unnecessary barries and waitqueue lookups in unlock_page fastpath v5

2014-05-22 Thread Andrew Morton
On Thu, 22 May 2014 09:46:43 +0100 Mel Gorman wrote: > > > If I'm still on track here, what happens if we switch to wake-all so we > > > can avoid the dangling flag? I doubt if there are many collisions on > > > that hash table? > > > > Wake-all will be ugly and loose a herd of waiters, all rac

[PATCH] sched: Use time_after()

2014-05-22 Thread Manuel Schölling
To be future-proof and for better readability the time comparisons are modified to use time_after() instead of plain, error-prone math. Signed-off-by: Manuel Schölling --- kernel/sched/fair.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sche

[PATCH 1/1] lib/nlattr.c: move EXPORT_SYMBOL after functions

2014-05-22 Thread Fabian Frederick
Fix some checkpatch warnings: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable Cc: Pablo Neira Cc: Andrew Morton Signed-off-by: Fabian Frederick --- lib/nlattr.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/lib/nlattr.c b/lib

Re: Runtime PM workqueue killing system performance with USB

2014-05-22 Thread Will Deacon
Hi Alan, On Thu, May 22, 2014 at 04:02:06PM +0100, Alan Stern wrote: > On Thu, 22 May 2014, Will Deacon wrote: > > Consequently, I see a kworker thread on each CPU consuming a significant > > amount of the system resources. Worse, if I enable something like kmemleak > > (which adds more work to th

Re: Linux 3.15-rc6

2014-05-22 Thread Guenter Roeck
On Thu, May 22, 2014 at 07:47:35AM +0900, Linus Torvalds wrote: > Due to travels and related lack of internet access, the rc releases > haven't been following the normal Sunday release cycle, and since I > caught up with what happened while I was off-line, rather than wait > until next Sunday to re

[PATCH 1/1] lib/digsig.c: kernel-doc warning fixes

2014-05-22 Thread Fabian Frederick
Small typo and @return: -> Returns ... Cc: Duan Jiong Cc: Andrew Morton Signed-off-by: Fabian Frederick --- lib/digsig.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/digsig.c b/lib/digsig.c index 8793aed..ae05ea3 100644 --- a/lib/digsig.c +++ b/lib/digsig.c @@ -

[PATCH 1/1] lib/devres.c: use dev in devm_request_and_ioremap

2014-05-22 Thread Fabian Frederick
devm_request_and_ioremap was the only function to use device instead of dev(this fixes kernel-doc warning). Also fix some checkpatch warnings. Cc: Greg Kroah-Hartman Cc: Andrew Morton Signed-off-by: Fabian Frederick --- lib/devres.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletio

[GIT PULL] at91: fixes for 3.15 #2

2014-05-22 Thread Nicolas Ferre
Arnd, Olof, Kevin, Two more fixes for AT91 dealing with iio ADC triggers on at91sam9260/at91sam9g20. These fixes are not critical as the option is not widely used. But as they are pretty tiny, it might be interesting to include them now. Thanks, best regards, The following changes since commit 3

Re: [PATCH 1/2] ASoC: max98090: Add master clock handling

2014-05-22 Thread Mark Brown
On Thu, May 22, 2014 at 09:51:38AM -0600, Stephen Warren wrote: > On 05/22/2014 03:17 AM, Tushar Behera wrote: > > + if (!IS_ERR(max98090->mclk)) { > > + freq = clk_round_rate(max98090->mclk, freq); > > + clk_set_rate(max98090->mclk, freq); > > + } > What are the intended

Re: [PATCH RESEND net-next 4/9] net: systemport: use the new fixed PHY helpers

2014-05-22 Thread Sergei Shtylyov
Hello. On 05/22/2014 02:02 AM, Florian Fainelli wrote: of_phy_connect_fixed_link() is becoming obsolete, and also required platform code to register the fixed PHYs at the specified addresses for those to be usable. Get rid of it and use the new of_phy_is_fixed_link() plus of_phy_register_fixed_

Re: [PATCH 0/3] Shrinkers and proportional reclaim

2014-05-22 Thread Tim Chen
On Thu, 2014-05-22 at 10:09 +0100, Mel Gorman wrote: > This series is aimed at regressions noticed during reclaim activity. The > first two patches are shrinker patches that were posted ages ago but never > merged for reasons that are unclear to me. I'm posting them again to see if > there was a re

Re: [PATCH v1 3/5] clk: gcc: Add APQ8084 Global Clock Controller support

2014-05-22 Thread Stephen Boyd
On 05/22/14 09:24, Georgi Djakov wrote: > diff --git a/drivers/clk/qcom/gcc-msm8974.c b/drivers/clk/qcom/gcc-msm8974.c > index 58cb2f5..c2a8d77 100644 > --- a/drivers/clk/qcom/gcc-msm8974.c > +++ b/drivers/clk/qcom/gcc-msm8974.c > @@ -204,6 +204,12 @@ static const struct freq_tbl > ftbl_gcc_blsp1_

Re: [Patch v6 3/7] mfd: ti-keystone-devctrl: add bindings for device state control

2014-05-22 Thread Lee Jones
On Thu, 22 May 2014, Ivan Khoronzhuk wrote: > The Keystone II devices have a set of registers that are used to control > the status of its peripherals. This node is intended to allow access to > this functionality. > > Reviewed-by: Arnd Bergmann > Signed-off-by: Ivan Khoronzhuk > --- > .../dev

Re: [Patch v6 3/7] mfd: ti-keystone-devctrl: add bindings for device state control

2014-05-22 Thread Ivan Khoronzhuk
On 05/22/2014 08:11 PM, Lee Jones wrote: On Thu, 22 May 2014, Ivan Khoronzhuk wrote: The Keystone II devices have a set of registers that are used to control the status of its peripherals. This node is intended to allow access to this functionality. Reviewed-by: Arnd Bergmann Signed-off-by:

Re: [PATCH v2 16/18] x86: io: implement dummy relaxed accessor macros for writes

2014-05-22 Thread H. Peter Anvin
On 05/22/2014 09:47 AM, Will Deacon wrote: > write{b,w,l,q}_relaxed are implemented by some architectures in order to > permit memory-mapped I/O accesses with weaker barrier semantics than the > non-relaxed variants. > > This patch adds dummy macros for the read and write accessors to x86, > which

[PATCH RESEND] sysfs: fix attribute_group bin file path on removal

2014-05-22 Thread Robert ABEL
Cody Schafer already fixed binary file creation for attribute groups, see [1]. This patch makes the appropriate changes for binary file removal of attribute groups. [1]: http://lkml.org/lkml/2014/2/27/832 Signed-off-by: Robert ABEL --- fs/sysfs/group.c | 10 +- 1 file changed, 5 insertio

[PATCH RESEND] sysfs: fix attribute_group bin file path on removal

2014-05-22 Thread Robert ABEL
I sent this patch to the list on 15 Apr 14. However, no activity since. Should I have sent this patch somewhere else? Regards, Robert -- 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://vge

Re: [PATCH 1/1] powerpc/perf: Adjust callchain based on DWARF debug

2014-05-22 Thread Sukadev Bhattiprolu
Jiri Olsa [jo...@redhat.com] wrote: | | yep, that sounds more clear to me.. something like below? | | calling callchain_dup from within arch_adjust_callchain in case | you want to change it and returning != 0 in this case, so | we could free the new callchain Agree. | | but it might be to much

Re: [PATCH v2] mutex: Documentation rewrite

2014-05-22 Thread Randy Dunlap
On 05/22/2014 09:41 AM, Davidlohr Bueso wrote: > From: Davidlohr Bueso > > Our mutexes have gone a long ways since the original implementation > back in 2005/2006. However, the mutex-design.txt document is still > stuck in the past, to the point where most of the information there > is practicall

Re: [PATCH 0/3] staging/skein: more cleanup

2014-05-22 Thread Jason Cooper
On Thu, May 22, 2014 at 10:52:06AM -0600, Jake Edge wrote: > On Wed, 21 May 2014 01:52:17 +0400 Anton Saraev wrote: > > On Tue, May 20, 2014 at 10:24:11AM -0600, Jake Edge wrote: > > > On Tue, 20 May 2014 10:47:57 -0400 Jason Cooper wrote: > > > > > > but some kind of tests are needed to ensure not

[PATCH] mm: filemap: Avoid unnecessary barriers and waitqueue lookups in unlock_page fastpath v8

2014-05-22 Thread Mel Gorman
Changelog since v7 o Further optimisation when PG_waiters is not available (peterz) o Catch all opportunities to ClearPageWaiters (peterz) Changelog since v6 o Optimisation when PG_waiters is not available (peterz) o Documentation Changelog since v5 o __always_inline where appro

[PATCH net-next v2 1/9] Documentation: devicetree: add old and deprecated 'fixed-link'

2014-05-22 Thread Florian Fainelli
Update the fixed-link Device Tree binding documentation to contain information about the old and deprecated 5-digit 'fixed-link' property. Signed-off-by: Florian Fainelli --- Changes in v2: - fixed typos and spelling mistakes as spotted by Sergei Documentation/devicetree/bindings/net/fixed-link

[PATCH v2 12/18] parisc: io: implement dummy relaxed accessor macros for writes

2014-05-22 Thread Will Deacon
write{b,w,l,q}_relaxed are implemented by some architectures in order to permit memory-mapped I/O accesses with weaker barrier semantics than the non-relaxed variants. This patch adds dummy macros for the write accessors to parisc, in the same vein as the dummy definitions for the relaxed read acc

[PATCH v2 03/18] s390: io: remove dummy relaxed accessor macros for reads

2014-05-22 Thread Will Deacon
These are now defined by asm-generic/io.h, so we don't need the private definitions anymore. Cc: Heiko Carstens Cc: Martin Schwidefsky Signed-off-by: Will Deacon --- arch/s390/include/asm/io.h | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/s390/include/asm/io.h b/arch/s390/includ

[PATCH v2 02/18] microblaze: io: remove dummy relaxed accessor macros

2014-05-22 Thread Will Deacon
These are now defined by asm-generic/io.h, so we don't need the private definitions anymore. Acked-by: Michal Simek Signed-off-by: Will Deacon --- arch/microblaze/include/asm/io.h | 8 1 file changed, 8 deletions(-) diff --git a/arch/microblaze/include/asm/io.h b/arch/microblaze/inclu

Re: [LSM] Kernel panic - not syncing: Could not register MntRestrict security module

2014-05-22 Thread Kees Cook
On Wed, May 21, 2014 at 8:09 PM, Jet Chen wrote: > [0.02] Security Framework initialized > [0.02] AppArmor: AppArmor initialized > [0.02] Kernel panic - not syncing: Could not register MntRestrict > security module This was originally "by design", but I've changed it to ch

[PATCH v2 01/18] asm-generic: io: implement relaxed accessor macros as conditional wrappers

2014-05-22 Thread Will Deacon
{read,write}{b,w,l,q}_relaxed are implemented by some architectures in order to permit memory-mapped I/O accesses with weaker barrier semantics than the non-relaxed variants. This patch adds wrappers to asm-generic so that drivers can rely on the relaxed accessors being available, even if they don

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

2014-05-22 Thread Bjorn Helgaas
On Thu, May 22, 2014 at 12:49 AM, Sebastian Ott wrote: > Hello, > > On Thu, 22 May 2014, Stephen Rothwell wrote: >> Hi Bjorn, >> >> After merging the pci tree, today's linux-next build (arm >> multi_v7_defconfig) failed like this: >> >> drivers/pci/pci-sysfs.c: In function 'devspec_show': >> drive

[PATCH net-next v2 0/9] net: of_phy_connect_fixed_link removal

2014-05-22 Thread Florian Fainelli
Hi all, This patch set removes of_phy_connect_fixed_link() from the tree now that we have a better solution for dealing with fixed PHY (emulated PHY) devices for drivers that require them. First two patches update the 'fixed-link' Device Tree binding and drivers to refere to it. Patches 3 to 7 u

[PATCH v2 04/18] xtensa: io: remove dummy relaxed accessor macros for reads

2014-05-22 Thread Will Deacon
These are now defined by asm-generic/io.h, so we don't need the private definitions anymore. Cc: Chris Zankel Cc: Max Filippov Signed-off-by: Will Deacon --- arch/xtensa/include/asm/io.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/xtensa/include/asm/io.h b/arch/xtensa/includ

[PATCH net-next v2 3/9] net: bcmgenet: use the new fixed PHY helpers

2014-05-22 Thread Florian Fainelli
of_phy_connect_fixed_link() is becoming obsolete, and also required platform code to register the fixed PHYs at the specified addresses for those to be usable. Get rid of it and use the new of_phy_is_fixed_link() plus of_phy_register_fixed_link() helpers to transition over the new scheme. Signed-o

[PATCH v2 11/18] mn10300: io: implement dummy relaxed accessor macros for writes

2014-05-22 Thread Will Deacon
write{b,w,l}_relaxed are implemented by some architectures in order to permit memory-mapped I/O accesses with weaker barrier semantics than the non-relaxed variants. This patch adds dummy macros for the write accessors to mn10300, in the same vein as the dummy definitions for the relaxed read acce

[PATCH v2 00/18] Cross-architecture definitions of relaxed MMIO accessors

2014-05-22 Thread Will Deacon
Hi all, This is version 2 of the series I originally posted here: https://lkml.org/lkml/2014/4/17/269 Changes since v1 include: - Added relevant acks from arch maintainers - Fixed potential compiler re-ordering issue for x86 definitions I'd *really* appreciate some feedback on the proposed

[PATCH v2 14/18] sparc: io: implement dummy relaxed accessor macros for writes

2014-05-22 Thread Will Deacon
write{b,w,l,q}_relaxed are implemented by some architectures in order to permit memory-mapped I/O accesses with weaker barrier semantics than the non-relaxed variants. This patch adds dummy macros for the write accessors to sparc, in the same vein as the dummy definitions for the relaxed read acce

[PATCH net-next v2 2/9] Documentation: devicetree: net: refer to fixed-link.txt

2014-05-22 Thread Florian Fainelli
Update the Freescale TSEC PHY, Broadcom GENET & SYSTEMPORT Device Tree binding documentation to refer to the fixed-link Device Tree binding in fixed-link.txt. Reviewed-by: Thomas Petazzoni Signed-off-by: Florian Fainelli --- No changes in v2 Documentation/devicetree/bindings/net/broadcom-bcmge

[PATCH v2 09/18] m32r: io: implement dummy relaxed accessor macros for writes

2014-05-22 Thread Will Deacon
write{b,w,l}_relaxed are implemented by some architectures in order to permit memory-mapped I/O accesses with weaker barrier semantics than the non-relaxed variants. This patch adds dummy macros for the write accessors to m32r, in the same vein as the dummy definitions for the relaxed read accesso

[PATCH v2 06/18] frv: io: implement dummy relaxed accessor macros for writes

2014-05-22 Thread Will Deacon
write{b,w,l}_relaxed are implemented by some architectures in order to permit memory-mapped I/O accesses with weaker barrier semantics than the non-relaxed variants. This patch adds dummy macros for the write accessors to frv, in the same vein as the dummy definitions for the relaxed read accessor

[PATCH net-next v2 5/9] fs_enet: use the new fixed PHY helpers

2014-05-22 Thread Florian Fainelli
of_phy_connect_fixed_link() is becoming obsolete, and also required platform code to register the fixed PHYs at the specified addresses for those to be usable. Get rid of it and use the new of_phy_is_fixed_link() plus of_phy_register_fixed_link() helpers to transition over the new scheme. Signed-o

[PATCH v2 17/18] documentation: memory-barriers: clarify relaxed io accessor semantics

2014-05-22 Thread Will Deacon
This patch extends the paragraph describing the relaxed read io accessors so that the relaxed accessors are defined to be: - Ordered with respect to each other if accessing the same peripheral - Unordered with respect to normal memory accesses - Unordered with respect to LOCK/UNLOCK operation

[PATCH v2 08/18] ia64: io: implement dummy relaxed accessor macros for writes

2014-05-22 Thread Will Deacon
write{b,w,l,q}_relaxed are implemented by some architectures in order to permit memory-mapped I/O accesses with weaker barrier semantics than the non-relaxed variants. This patch adds dummy macros for the write accessors to ia64, which may be able to be optimised in a similar manner to the relaxed

[PATCH net-next v2 4/9] net: systemport: use the new fixed PHY helpers

2014-05-22 Thread Florian Fainelli
of_phy_connect_fixed_link() is becoming obsolete, and also required platform code to register the fixed PHYs at the specified addresses for those to be usable. Get rid of it and use the new of_phy_is_fixed_link() plus of_phy_register_fixed_link() helpers to transition over the new scheme. Signed-o

[PATCH v2 10/18] m68k: io: implement dummy relaxed accessor macros for writes

2014-05-22 Thread Will Deacon
write{b,w,l}_relaxed are implemented by some architectures in order to permit memory-mapped I/O accesses with weaker barrier semantics than the non-relaxed variants. This patch adds dummy macros for the write accessors to m68k, in the same vein as the dummy definitions for the relaxed read accesso

Re: [PATCH 0/3] staging/skein: more cleanup

2014-05-22 Thread Jake Edge
On Wed, 21 May 2014 01:52:17 +0400 Anton Saraev wrote: > On Tue, May 20, 2014 at 10:24:11AM -0600, Jake Edge wrote: > > On Tue, 20 May 2014 10:47:57 -0400 Jason Cooper wrote: > > > > but some kind of tests are needed to ensure nothing breaks before > > digging into that ... > > I have some test: s

[PATCH v2 18/18] asm-generic: io: define relaxed accessor macros unconditionally

2014-05-22 Thread Will Deacon
Now that no architectures using asm-generic/io.h define their own relaxed accessors, the dummy definitions can be used unconditionally. Cc: Arnd Bergmann Signed-off-by: Will Deacon --- include/asm-generic/io.h | 16 1 file changed, 16 deletions(-) diff --git a/include/asm-gene

[PATCH v2 13/18] powerpc: io: implement dummy relaxed accessor macros for writes

2014-05-22 Thread Will Deacon
write{b,w,l,q}_relaxed are implemented by some architectures in order to permit memory-mapped I/O accesses with weaker barrier semantics than the non-relaxed variants. This patch adds dummy macros for the write accessors to powerpc, in the same vein as the dummy definitions for the relaxed read ac

[PATCH net-next v2 7/9] ucc_geth: use the new fixed PHY helpers

2014-05-22 Thread Florian Fainelli
of_phy_connect_fixed_link() is becoming obsolete, and also required platform code to register the fixed PHYs at the specified addresses for those to be usable. Get rid of it and use the new of_phy_is_fixed_link() plus of_phy_register_fixed_link() helpers to transition over the new scheme. Signed-o

[PATCH net-next v2 6/9] gianfar: use the new fixed PHY helpers

2014-05-22 Thread Florian Fainelli
of_phy_connect_fixed_link() is becoming obsolete, and also required platform code to register the fixed PHYs at the specified addresses for those to be usable. Get rid of it and use the new of_phy_is_fixed_link() plus of_phy_register_fixed_link() helpers to transition over the new scheme. Signed-o

Re: [PATCH 1/8] mmc: sdhci-st: Intial support for ST SDHCI controller

2014-05-22 Thread Lee Jones
> This platform driver adds initial support for the SDHCI host controller > found on STMicroelectronics SoCs. > > It has been tested on STiH41x b2020 platforms currently. > > Signed-off-by: Peter Griffin > Signed-off-by: Giuseppe Cavallaro > --- > drivers/mmc/host/Kconfig| 12 +++ > driv

[PATCH v2 16/18] x86: io: implement dummy relaxed accessor macros for writes

2014-05-22 Thread Will Deacon
write{b,w,l,q}_relaxed are implemented by some architectures in order to permit memory-mapped I/O accesses with weaker barrier semantics than the non-relaxed variants. This patch adds dummy macros for the read and write accessors to x86, which simply expand to the non-relaxed variants. Note that t

[PATCH v2 07/18] cris: io: implement dummy relaxed accessor macros for writes

2014-05-22 Thread Will Deacon
write{b,w,l}_relaxed are implemented by some architectures in order to permit memory-mapped I/O accesses with weaker barrier semantics than the non-relaxed variants. This patch adds dummy macros for the write accessors to Cris, in the same vein as the dummy definitions for the relaxed read accesso

[PATCH v2 05/18] alpha: io: implement relaxed accessor macros for writes

2014-05-22 Thread Will Deacon
write{b,w,l,q}_relaxed are implemented by some architectures in order to permit memory-mapped I/O writes with weaker barrier semantics than the non-relaxed variants. This patch implements these write macros for Alpha, in the same vein as the relaxed read macros, which are already implemented. Cc:

[PATCH net-next v2 8/9] of: mdio: remove of_phy_connect_fixed_link

2014-05-22 Thread Florian Fainelli
All in-tree drivers have been converted to use the new pair of functions: of_is_fixed_phy_link() plus of_phy_register_fixed_link(), we can now safely remove of_phy_connect_fixed_link. Signed-off-by: Florian Fainelli --- No changes in v2 drivers/of/of_mdio.c| 38 -

[PATCH v2 15/18] tile: io: implement dummy relaxed accessor macros for writes

2014-05-22 Thread Will Deacon
write{b,w,l,q}_relaxed are implemented by some architectures in order to permit memory-mapped I/O accesses with weaker barrier semantics than the non-relaxed variants. This patch adds dummy macros for the write accessors to tile, in the same vein as the dummy definitions for the relaxed read acces

[PATCH net-next v2 9/9] powerpc/fsl: fsl_soc: remove 'fixed-link' parsing code

2014-05-22 Thread Florian Fainelli
Parsing and registration of fixed PHY devices was needed with the use of of_phy_connect_fixed_link() because this function was using the designated PHY address identifier (first cell of the property) as the address to bind the PHY on the emulated bus. Since commit 3be2a49e5c08d268f8af0dd4fe89a24ea

Re: [PATCH] powerpc: fix typo 'CONFIG_PMAC'

2014-05-22 Thread Andreas Schwab
Paul Bolle writes: > Do you want to know how to test this patch on a 32 bit powermac? Ie, see > if it has any effect, and whether that effect improves things or make > things worse. Yes. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D

[Patch v6 4/7] power: reset: add bindings for keystone reset driver

2014-05-22 Thread Ivan Khoronzhuk
This node is intended to allow SoC reset in case of software reset or appropriate watchdogs. The Keystone SoCs can contain up to 4 watchdog timers to reset SoC. Each watchdog timer event input is connected to the Reset Mux block. The Reset Mux block can be configured to cause reset or not. Additi

[Patch v6 2/7] clock: keystone-pllctrl: add bindings for keystone pll controller

2014-05-22 Thread Ivan Khoronzhuk
The main pll controller used to drive theC66x CorePacs, the switch fabric, and a majority of the peripheral clocks (all but the ARM CorePacs, DDR3 and the NETCP modules) requires a PLL Controller to manage the various clock divisions, gating, and synchronization. Reviewed-by: Arnd Bergmann Signed

[Patch v6 6/7] ARM: dts: keystone: update reset node to work with reset driver

2014-05-22 Thread Ivan Khoronzhuk
The pll controller register set and device state control registers include sets of registers with different purposes, so it's logically to add syscon entry to be able to access them from appropriate places. So added pll controller and device state control syscon entries. The keystone driver requi

[Patch v6 7/7] ARM: keystone: enable reset driver support

2014-05-22 Thread Ivan Khoronzhuk
Enable reset driver support in order to have opportunity to reboot SoC by watchdog and by software. Reviewed-by: Arnd Bergmann Signed-off-by: Ivan Khoronzhuk --- arch/arm/configs/keystone_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/keystone_defconfig b/arc

[Patch v6 3/7] mfd: ti-keystone-devctrl: add bindings for device state control

2014-05-22 Thread Ivan Khoronzhuk
The Keystone II devices have a set of registers that are used to control the status of its peripherals. This node is intended to allow access to this functionality. Reviewed-by: Arnd Bergmann Signed-off-by: Ivan Khoronzhuk --- .../devicetree/bindings/mfd/ti-keystone-devctrl.txt | 19 +

[Patch v6 1/7] power: reset: keystone-reset: introduce keystone reset driver

2014-05-22 Thread Ivan Khoronzhuk
The keystone SoC can be rebooted in several ways. By external reset pin, by soft and by watchdogs. To allow keystone SoC reset if watchdog is triggered we have to enable it in reset mux configuration register regarding of watchdog configuration. Also we need to set soft/hard reset we are going to u

[Patch v6 5/7] ARM: keystone: remove redundant reset stuff

2014-05-22 Thread Ivan Khoronzhuk
Remove reset stuff in flavour of using keystone reset driver: driver/power/reset/keystone-reset.c Reviewed-by: Arnd Bergmann Signed-off-by: Ivan Khoronzhuk --- arch/arm/mach-keystone/keystone.c | 34 -- 1 file changed, 34 deletions(-) diff --git a/arch/arm/mach-

Re: [PATCH] mfd: axp20x: Remove unnecessary const qualifier from axp20x_supplies[]

2014-05-22 Thread Joe Perches
On Thu, 2014-05-22 at 17:08 +0100, Lee Jones wrote: > To be frank, I've never known what the double const means. Care to > enlighten? There's a nice table here: http://stackoverflow.com/questions/14562845/why-does-passing-char-as-const-char-generate-a-warning -- To unsubscribe from this list:

[Patch v6 0/7] Introduce keystone reset driver

2014-05-22 Thread Ivan Khoronzhuk
These patches introduce keystone reset driver. The keystone SoC can be rebooted in several ways. By external reset pin, by soft and by watchdogs. This driver allows software reset and reset by one of the watchdogs. Also added opportunity to set soft/hard reset type. Based on linux-next/master v6

<    1   2   3   4   5   6   7   8   >