You have received 1.5m pounds as donation see link www.bbc.co.uk/news/uk-england-19254228 send name address and phone number for info

2014-03-25 Thread Adrian Gillian Bayford
-- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

RE: New NAND driver

2014-03-25 Thread Gupta, Pekon
Hi, From: Lee Jones Hi Brian, Firstly I'd like to thank you for supporting the inclusion of ST's SPI NOR (FSM) driver. As promised I will convert it over to the new framework once it has been applied by your good self. In the meantime however, I have a NAND driver which I need to submit. I

[PATCH 1/1] mm: move FAULT_AROUND_ORDER to arch/

2014-03-25 Thread Madhavan Srinivasan
Kirill A. Shutemov with the commit 96bacfe542 introduced vm_ops-map_pages() for mapping easy accessible pages around fault address in hope to reduce number of minor page faults. Based on his workload runs, suggested FAULT_AROUND_ORDER (knob to control the numbers of pages to map) is 4. This patch

[PATCH 0/1] mm: FAULT_AROUND_ORDER patchset performance data for powerpc

2014-03-25 Thread Madhavan Srinivasan
Performance data for different FAULT_AROUND_ORDER values from 4 socket Power7 system (128 Threads and 128GB memory) is below. Fault around order (FAO) value of 3 looks more advantageous. FAULT_AROUND_ORDER Baseline1 3 4 5 7

回复: [PATCH] arch/unicore32/include/asm/ptrace.h: add generic definition for profile_pc()

2014-03-25 Thread 管雪涛
Thanks Acked-by: Xuetao Guan g...@mprc.pku.edu.cn - Chen Gang gang.chen.5...@gmail.com 写道: Add generic definition just like another architectures have done, or can not pass compiling with allmodconfig, the related error: CC kernel/profile.o kernel/profile.c: In function

Re: [PATCH 04/33] Hold threads

2014-03-25 Thread Janani Venkataraman
On 03/21/2014 12:31 AM, Pavel Emelyanov wrote: On 03/20/2014 01:39 PM, Janani Venkataraman wrote: Getting number of threads and their respective IDs through /proc/pid/stat and /proc/pid/task. The threads are then seized and interrupted. After the dump is taken they are detached.

Re: 回复: [PATCH] arch/unicore32/include/asm/ptrace.h: add generic definition for profile_pc()

2014-03-25 Thread Chen Gang
On 03/25/2014 02:53 PM, 管雪涛 wrote: Thanks Acked-by: Xuetao Guan g...@mprc.pku.edu.cn Thank you too. - Chen Gang gang.chen.5...@gmail.com 写道: Add generic definition just like another architectures have done, or can not pass compiling with allmodconfig, the related error: CC

Re: [bisected] NULL pointer dereference in acpi_gpiochip_add (on modprobe ssb)

2014-03-25 Thread Mika Westerberg
On Mon, Mar 24, 2014 at 07:31:11PM +0100, Sabrina Dubroca wrote: Actually gpiolib seems to handle -dev as optional. Can you try this patch instead? Thanks. diff --git a/drivers/gpio/gpiolib-acpi.c b/drivers/gpio/gpiolib-acpi.c index bf0f8b476696..642b2bf3360e 100644 ---

Fwd: [SMACK]Problem with user naespace

2014-03-25 Thread Jacek Pielaszkiewicz
Hi I have problem with starting lxc containers when SMACK is enabled on the host. The issue appears when systemd try start user session in the container. In such case systemd reports error that has not permissions to set SMACK label. In my test configuration lxc container has full

Re: [git pull] vfs fixes

2014-03-25 Thread Sedat Dilek
On Mon, Mar 24, 2014 at 11:58 PM, Imre Deak imre.d...@intel.com wrote: [...] Shortlog: Al Viro (6): make prepend_name() work correctly when called with negative *buflen A proper attribution for the above fix would have been nice. Tracking down the bug was the main thing after all:

Re: [RESEND: RFC PATCH 3/3] pcie: keystone: add pcie driver based on designware core driver

2014-03-25 Thread Arnd Bergmann
On Monday 24 March 2014 20:35:26 Murali Karicheri wrote: + +int k2_pcie_platform_setup(struct platform_device *pdev) +{ + struct resource *phy_base_r, *devstat_r; + void __iomem *phy_base, *devstat; + u32 val; + int i; + + devstat_r = platform_get_resource_byname(pdev,

linux-next: build failure after merge of the akpm-current tree

2014-03-25 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from include/linux/thread_info.h:11:0, from arch/x86/include/asm/preempt.h:6, from include/linux/preempt.h:18, from

Re: [PATCH 7/7] gpio: dwapb: use d-mask instead od BIT(bit)

2014-03-25 Thread Sebastian Andrzej Siewior
On 03/25/2014 03:17 AM, Alexandre Courbot wrote: diff --git a/drivers/gpio/gpio-dwapb.c b/drivers/gpio/gpio-dwapb.c index 3c9cdda..ebfcf5c 100644 --- a/drivers/gpio/gpio-dwapb.c +++ b/drivers/gpio/gpio-dwapb.c @@ -126,7 +126,7 @@ static void dwapb_irq_disable(struct irq_data *d)

Re: New NAND driver

2014-03-25 Thread Lee Jones
Morning Pekon, From: Lee Jones Hi Brian, Firstly I'd like to thank you for supporting the inclusion of ST's SPI NOR (FSM) driver. As promised I will convert it over to the new framework once it has been applied by your good self. In the meantime however, I have a NAND driver which I

Re: [bisected] NULL pointer dereference in acpi_gpiochip_add (on modprobe ssb)

2014-03-25 Thread Sabrina Dubroca
2014-03-25, 09:25:30 +0200, Mika Westerberg wrote: On Mon, Mar 24, 2014 at 07:31:11PM +0100, Sabrina Dubroca wrote: Actually gpiolib seems to handle -dev as optional. Can you try this patch instead? Thanks. diff --git a/drivers/gpio/gpiolib-acpi.c b/drivers/gpio/gpiolib-acpi.c

Re: [PATCH 0/1] mm: FAULT_AROUND_ORDER patchset performance data for powerpc

2014-03-25 Thread Ingo Molnar
* Madhavan Srinivasan ma...@linux.vnet.ibm.com wrote: Performance data for different FAULT_AROUND_ORDER values from 4 socket Power7 system (128 Threads and 128GB memory) is below. Fault around order (FAO) value of 3 looks more advantageous. FAULT_AROUND_ORDER Baseline1

Re: [PATCH v2] staging: line6: Add blank lines after declarations

2014-03-25 Thread Stefan Hajnoczi
On Mon, Mar 24, 2014 at 11:46 PM, Fabian Mewes archit...@coding4coffee.org wrote: Use the more common kernel coding style. Signed-off-by: Fabian Mewes archit...@coding4coffee.org --- applies to next-20140324 v1..v2: improve commit message as suggested by Joe drivers/staging/line6/driver.c

Re: [PATCH] NFSD, lost nfserrno() call in nfsd_setattr()

2014-03-25 Thread J. R. Okajima
J. Bruce Fields: On Wed, Feb 19, 2014 at 12:27:53AM +0900, J. R. Okajima wrote: There is a regression in 208d0ac 2014-01-07 nfsd4: break only delegations when appropriate which deletes an nfserrno() call in nfsd_setattr() (by accident, probably), and NFSD becomes ignoring an error

[RFC 20/47] mtd: nand: stm_nand_bch: initialise working buffers

2014-03-25 Thread Lee Jones
Initialise working buffers, accomodating DMA alignment constraints. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 45 + 1 file changed, 45 insertions(+) diff --git a/drivers/mtd/nand/stm_nand_bch.c

[RFC 45/47] mtd: nand: stm_nand_bch: read and write buffers (FLEX)

2014-03-25 Thread Lee Jones
read or write in 4 Byte chunks at a time until there is less than 8 Bytes remaining, at which point split down into reading the reset a single Byte at a time. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 72 + 1 file

[RFC 47/47] mtd: nand: stm_nand_bch: catch unsupported calls

2014-03-25 Thread Lee Jones
Display a BUG() message and return appropriate/expected value. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/mtd/nand/stm_nand_bch.c b/drivers/mtd/nand/stm_nand_bch.c

[RFC 40/47] mtd: nand: stm_nand_bch: MTD erase (BCH)

2014-03-25 Thread Lee Jones
Carry out the normal checks, then attempt to erase a given block. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 85 + 1 file changed, 85 insertions(+) diff --git a/drivers/mtd/nand/stm_nand_bch.c

[RFC 46/47] mtd: nand: mtd_nand_bch: add remaining FLEX functions

2014-03-25 Thread Lee Jones
Including a dummy function for selecting chips which isn't supported by our driver, the wait function as requested by the NAND sub system, a read Byte function also requested by NAND and finally a command function which provides a partial implementation of MTD/NAND Interface, based on Hamming-FLEX

Re: [PATCH] bonding: Inactive slaves should keep inactive flag's value to 1 in tlb and alb mode.

2014-03-25 Thread zheng.li
于 2014年03月25日 11:42, Ding Tianhong 写道: On 2014/3/25 11:00, Zheng Li wrote: In bond mode tlb and alb, inactive slaves should keep inactive flag to 1 to refuse to receive broadcast packets. Now, active slave send broadcast packets (for example ARP requests) which will arrive inactive slaves on

Re: Another preempt folding issue?

2014-03-25 Thread Stefan Bader
On 24.03.2014 18:39, Paolo Bonzini wrote: Il 20/02/2014 16:50, Peter Zijlstra ha scritto: One thing I likely should do is to reinstall the exact same laptop with 64bit kernel and userspace... maybe only 64bit kernel first... and make sure on my side that this does not show up on

[RFC 41/47] mtd: nand: stm_nand_bch: MTD mark and check for bad blocks (BCH)

2014-03-25 Thread Lee Jones
Use the local BBM helpers to check for and mark bad blocks. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 51 + 1 file changed, 51 insertions(+) diff --git a/drivers/mtd/nand/stm_nand_bch.c

[RFC 44/47] mtd: nand: stm_nand_bch: MTD read and write (BCH)

2014-03-25 Thread Lee Jones
MTD interfaces: Standard set of callbacks for MTD functionality. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 54 + 1 file changed, 54 insertions(+) diff --git a/drivers/mtd/nand/stm_nand_bch.c

[RFC 42/47] mtd: nand: stm_nand_bch: add read and write OOB (BCH)

2014-03-25 Thread Lee Jones
Provide functions to read and write to the Out-Of-Bounds (OOB) area. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 107 1 file changed, 107 insertions(+) diff --git a/drivers/mtd/nand/stm_nand_bch.c

[RFC 43/47] mtd: nand: stm_nand_bch: read and write functions (BCH)

2014-03-25 Thread Lee Jones
Helper function for bch_mtd_read() and bch_mtd_write() to handle multi-page or non-aligned reads and writes respectively. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 143 1 file changed, 143 insertions(+) diff

Re: [PATCH V2] mmc: sdhci: don't read cd-gpio while holding spinlock

2014-03-25 Thread Adrian Hunter
On 24.03.2014 18:18, Andrew Bresticker wrote: On Sun, Mar 23, 2014 at 11:19 PM, Adrian Hunter adrian.hun...@intel.com wrote: On 24.03.2014 03:43, Andrew Bresticker wrote: sdhci_request() and sdhci_card_event() read the cd-gpio via mmc_gpio_get_cd(), which can sleep, while holding host-lock.

[PATCH] drivers:bluetooth:ath3k.c: Fixed sparse warning for cast to restricted __le32

2014-03-25 Thread Surendra Patil
This patch fixes below Sparse warnings - drivers/bluetooth/ath3k.c:370:17: warning: cast to restricted __le32 drivers/bluetooth/ath3k.c:432:17: warning: cast to restricted __le32 Signed-off-by: Surendra Patil surendra@gmail.com --- drivers/bluetooth/ath3k.c | 4 ++-- 1 file changed, 2

Re: [PATCH] drivers:bluetooth:ath3k.c: Fixed sparse warning for cast to restricted __le32

2014-03-25 Thread Joe Perches
On Tue, 2014-03-25 at 01:25 -0700, Surendra Patil wrote: This patch fixes below Sparse warnings - drivers/bluetooth/ath3k.c:370:17: warning: cast to restricted __le32 drivers/bluetooth/ath3k.c:432:17: warning: cast to restricted __le32 You are changing output here. I suspect rom_version

Re: [PATCH v0 01/15] drivers: clk: st: Support for DIVMUX and PreDiv Clocks

2014-03-25 Thread Gabriel Fernandez
Hi Mike, I want that you take theses patches directly. Many thanks Best regards Gabriel. On 03/25/2014 06:27 AM, Mike Turquette wrote: Quoting Gabriel FERNANDEZ (2014-02-27 07:24:14) +/** + * DOC: Clock mux with a programmable divider on each of its three inputs. + * The mux has an

[PATCH] tick: Remove code duplication in tick_handle_periodic()

2014-03-25 Thread Viresh Kumar
tick_handle_periodic() is calling ktime_add() at two places, first before the infinite loop and then at the end of infinite loop. We can rearrange code a bit to fix code duplication here. It looks quite simple and shouldn't break anything, I guess :) Signed-off-by: Viresh Kumar

Re: [PATCH v5 1/7] clk: sunxi: Remove calls to clk_put

2014-03-25 Thread Maxime Ripard
Hi Mike, On Mon, Mar 24, 2014 at 02:51:20PM -0700, Mike Turquette wrote: Quoting Maxime Ripard (2014-03-13 08:14:13) Callers of clk_put must disable the clock first. This also means that as long as the clock is enabled the driver should hold a reference to that clock. Hence, the call to

Re: [PATCH] drivers:bluetooth:ath3k.c: Fixed sparse warning for cast to restricted __le32

2014-03-25 Thread Johan Hedberg
Hi, On Tue, Mar 25, 2014, Surendra Patil wrote: This patch fixes below Sparse warnings - drivers/bluetooth/ath3k.c:370:17: warning: cast to restricted __le32 drivers/bluetooth/ath3k.c:432:17: warning: cast to restricted __le32 Signed-off-by: Surendra Patil surendra@gmail.com ---

[RFC 39/47] mtd: nand: stm_nand_bch: read and write ops (FLEX)

2014-03-25 Thread Lee Jones
Helper functions for mtd_write_oob() and mtd_write_oob(). Handles multi-page transfers and mapping between BCH sectors and MTD page+OOB data. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 136 1 file changed, 136

[RFC 37/47] mtd: nand: stm_nand_bch: fetch the bit-flips threshold

2014-03-25 Thread Lee Jones
If none is provided by the platform, the default ECC mode will be used. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/mtd/nand/stm_nand_bch.c b/drivers/mtd/nand/stm_nand_bch.c

Re: Linux 3.14-rc8

2014-03-25 Thread Dave Jones
On Mon, Mar 24, 2014 at 07:40:06PM -0700, Linus Torvalds wrote: I delayed things a day from my normal schedule, hoping I'd feel more comfortable doing a 3.14 release, but that was not to be. So here's an rc8, and I expect to do the final 3.14 release next weekend. There wasn't that much

linux-next: Tree for Mar 25

2014-03-25 Thread Stephen Rothwell
Hi all, This tree still fails (more than usual) the powerpc allyesconfig build. Changes since 20140324: The keystone tree gained a conflict against the arm-soc tree. The powerpc tree still had its build failure. The net-next tree gained conflicts against the net tree. The modules tree gained

[RFC 33/47] mtd: nand: stm_nand_bch: search for and load flash-resident BBT

2014-03-25 Thread Lee Jones
If a BBT already exists in flash, it's this function's task to locate it and load it into the driver for local consumption. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 87 + 1 file changed, 87 insertions(+) diff

[RFC 38/47] mtd: nand: stm_nand_bch: check WP (FLEX)

2014-03-25 Thread Lee Jones
Return status of the Write Protect bit for the NAND device. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/mtd/nand/stm_nand_bch.c b/drivers/mtd/nand/stm_nand_bch.c index

[RFC 35/47] mtd: nand: stm_nand_bch: dump bad blocks

2014-03-25 Thread Lee Jones
Inform the user of any known bad blocks during initialisation. Conversely, if there aren't any known bad blocks, let the user know the good news. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 24 1 file changed, 24 insertions(+)

[RFC 32/47] mtd: nand: stm_nand_bch: scan for BBMs and build memory-resident BBT

2014-03-25 Thread Lee Jones
If at start-up time we can't find our own pre-built memory-resident BBT (e.g. at first run) this routine will search for factory set BBMs and duplicate them into our own BBT for local consumption. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 27

[RFC 31/47] mtd: nand: stm_nand_bch: scan block for BBM(s) according to specified BBT options

2014-03-25 Thread Lee Jones
Search the specified (first and, second or last) page in a block for the BBT. Support Hamming or Advanced Flex Mode (AFM) BBMs too. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 62 + 1 file changed, 62 insertions(+)

[RFC 36/47] mtd: nand: stm_nand_bch: parse partitions and register an MTD device

2014-03-25 Thread Lee Jones
Issue the core parse partitions and register as MTD device call. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/stm_nand_bch.c b/drivers/mtd/nand/stm_nand_bch.c index

[RFC 29/47] mtd: nand: stm_nand_bch: add Hamming-FLEX operations

2014-03-25 Thread Lee Jones
Including; a check for Ready/NotBusy (RBn) (i.e. wait for current operation to finish and a method to issue Flex commands to the controller. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 36 1 file changed, 36

[RFC 30/47] mtd: nand: stm_nand_bch: read and write raw (FLEX)

2014-03-25 Thread Lee Jones
Once the correct READ/WRITE(SEQIN) commands and address locations have been sent to the Controller, these calls are able to read/write the requested information from the FLEX_DATA register. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 77

[RFC 34/47] mtd: nand: stm_nand_bch: load flash-resident BBT

2014-03-25 Thread Lee Jones
If load of existing BBT fails (first run), scan device for factory-set BBMs (Bad-Block Markers) and create a new flash-resident. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 15 +++ 1 file changed, 15 insertions(+) diff --git

[RFC 27/47] mtd: nand: stm_nand_bch: write IBBT to Flash

2014-03-25 Thread Lee Jones
Write BBT contents to the first page of a specified block, then update the IBBT header and write it to last page of the same block. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 29 + 1 file changed, 29 insertions(+) diff --git

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

2014-03-25 Thread Hans-Christian Egtvedt
Around Sun 23 Mar 2014 07:12:46 +0800 or thereabout, Chen Gang wrote: Is this patch OK? I reread everything you said, and it looks sane. If it is necessary to continue analysing more details, please let me know, and I will/should continue. No, I will append it to my for-linus branch, and

[RFC 24/47] mtd: nand: stm_nand_bch: find IBBT signature

2014-03-25 Thread Lee Jones
Scan block for IBBT signature, either Bbt0 or 1tbB from pre-specified data block. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 91 + 1 file changed, 91 insertions(+) diff --git a/drivers/mtd/nand/stm_nand_bch.c

[RFC 23/47] mtd: nand: stm_nand_bch: read and write page (BCH)

2014-03-25 Thread Lee Jones
Use DMA to read and/or write a single page of data. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 119 1 file changed, 119 insertions(+) diff --git a/drivers/mtd/nand/stm_nand_bch.c b/drivers/mtd/nand/stm_nand_bch.c

[RFC 26/47] mtd: nand: stm_nand_bch: populate IBBT BCH Header

2014-03-25 Thread Lee Jones
The STM NAND BCH Controller driver has extended the IBBT header with some extra convenience properties. This function populates both those and the standard header specified by 'struct nand_ibbt_header'. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 17

[RFC 21/47] mtd: nand: stm_nand_bch: provide shared BCH operations

2014-03-25 Thread Lee Jones
Including one for programming the BCH sequence, taking care not to program two registers marked 'reserved' in the NANDi specification. Failing to take this precaution results in an imprecise data exception on ARM platforms. We also add an operation which waits on a completion timeout (released by

[RFC 25/47] mtd: nand: stm_nand_bch: bad block marking helpers

2014-03-25 Thread Lee Jones
Bad Block Markers (BBMs) keep track of unusable/unsuitable memory blocks which can prevent unnecessary data loss. These helpers aid in reading and writing to/from the Bad Block Tables (BBTs) where the BBMs are stored. Signed-off-by: Lee Jones lee.jo...@linaro.org ---

[RFC 28/47] mtd: nand: stm_nand_bch: update flash-resident BBT(s)

2014-03-25 Thread Lee Jones
Search for suitable block, erase and write table data to flash. If any errors occur on selected block, mark it as bad and select another one. Keep trying until both the Primary and Mirror BBTs are a) synced and b) written successfully to flash. Signed-off-by: Lee Jones lee.jo...@linaro.org ---

[RFC 16/47] mtd: nand: stm_nand_bch: derive some working variables for latter use

2014-03-25 Thread Lee Jones
A few of the working variables can either be taken or derived from existing knowledge about the connected chip. Rather than attempt to provide each specification manually, here we make assumptions based on information already obtained. Signed-off-by: Lee Jones lee.jo...@linaro.org ---

[RFC 22/47] mtd: nand: stm_nand_bch: check erased page for zeros

2014-03-25 Thread Lee Jones
Detect an erased page, tolerating and correcting up to a specified number of bits at '0'. Downgrade uncorrectable ECC error for an erased page, tolerating 'sectors_per_page' bits at '0'. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 27

[RFC 17/47] mtd: nand: stm_nand_bch: automatically set EEC mode if requested

2014-03-25 Thread Lee Jones
Here we automatically select the strongest ECC scheme compatible with the size of the OOB. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 40 1 file changed, 40 insertions(+) diff --git

[RFC 19/47] mtd: nand: stm_nand_bch: configure BCH read/write/erase programs

2014-03-25 Thread Lee Jones
Tune BCH programs according to device found and ECC mode. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 121 1 file changed, 121 insertions(+) diff --git a/drivers/mtd/nand/stm_nand_bch.c

[RFC 18/47] mtd: nand: stm_nand_bch: ensure configuration is compatible with this driver

2014-03-25 Thread Lee Jones
Some chip characteristics have known incompatibilities with the function of this driver. Here we check for this characteristics and refuse to run if they are present. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 39 ++- 1

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

2014-03-25 Thread Chen Gang
On 03/25/2014 04:48 PM, Hans-Christian Egtvedt wrote: Around Sun 23 Mar 2014 07:12:46 +0800 or thereabout, Chen Gang wrote: Is this patch OK? I reread everything you said, and it looks sane. If it is necessary to continue analysing more details, please let me know, and I will/should

[RFC 15/47] mtd: nand: stm_nand_bch: add compatible page size check

2014-03-25 Thread Lee Jones
Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/mtd/nand/stm_nand_bch.c b/drivers/mtd/nand/stm_nand_bch.c index fbcd1b9..93fe835 100644 --- a/drivers/mtd/nand/stm_nand_bch.c +++

[RFC 10/47] mtd: nand: stm_nand_bch: initialise the Hamming Controller

2014-03-25 Thread Lee Jones
Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 36 1 file changed, 36 insertions(+) diff --git a/drivers/mtd/nand/stm_nand_bch.c b/drivers/mtd/nand/stm_nand_bch.c index 7333ad6..8ab8e7b 100644 ---

[RFC 13/47] mtd: nand: stm_nand_bch: provide Device Tree support

2014-03-25 Thread Lee Jones
Fetch platform specific data from Device Tree. Any functions which are useful to other STM NAND Controllers have been separated into a separate file so they can be easily referenced by them as they appear. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/Kconfig| 7 ++

[RFC 14/47] mtd: nand: stm_nand_bch: configure BCH and FLEX by ONFI timing mode

2014-03-25 Thread Lee Jones
This patch adds support for configuring the NAND Controller timing registers according to 'nand_timing_spec' data. Since the stm_nand_bch driver falls back to Hamming FLEX mode for certain operations, it is necessary to configure the timing registers of both the Hamming Controller and the BCH

[RFC 09/47] mtd: nand: stm_nand_bch: introduce and initialise some important data structures

2014-03-25 Thread Lee Jones
Provide some more in-depth structures which will be used heavily within the driver. We also add a convenience function, used to set the default values. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 76 + 1 file

[RFC 11/47] mtd: nand: stm_nand_bch: add Power Management

2014-03-25 Thread Lee Jones
Populate the standard PM call-backs for; suspend, resume and restore. Signed-off-by: Lee Jones lee.jo...@linaro.org q --- drivers/mtd/nand/stm_nand_bch.c | 39 +++ 1 file changed, 39 insertions(+) diff --git a/drivers/mtd/nand/stm_nand_bch.c

[RFC 08/47] mtd: nand: stm_nand_bch: supply clock support

2014-03-25 Thread Lee Jones
Add support for clocks when, and only when, they are supplied. It is not yet compulsory to provide the BCH and EMI clocks, as Common Clk isn't supported Mainline yet. Until an implementation lands upstream all clocks located on STM boards default to always-on. Signed-off-by: Lee Jones

[RFC 12/47] mtd: nand: stm_nand_bch: scan for NAND devices

2014-03-25 Thread Lee Jones
Use the core nand_scan_ident() routine to locate connected NAND chips. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/mtd/nand/stm_nand_bch.c b/drivers/mtd/nand/stm_nand_bch.c index

[RFC 05/47] mtd: nand: stm_nand_bch: IRQ support for ST's BCH NAND Controller driver

2014-03-25 Thread Lee Jones
Obtain IRQ number and request IRQ resource via the usual methods. We're also registering an IRQ handler to inform us of any completed tasks. Notice that we're starting to make use of the device struct that we defined before. In keeping with the subject of the patch, we're also adding the related

[RFC 06/47] mtd: nand: stm_nand_bch: change between BCH and Hamming modes

2014-03-25 Thread Lee Jones
The EMISS is a device which, amongst other things, controls various flash memory modes. We make use of it here merely to flip the HAMMING_NOT_BCH bit dependant on whether we wish to operate in Hamming or BCH modes. The STM BCH driver makes good use of the helper introduced here. Signed-off-by:

[RFC 07/47] mtd: nand: stm_nand_bch: initialise the BCH Controller

2014-03-25 Thread Lee Jones
Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_bch.c | 56 + include/linux/mtd/stm_nand.h| 20 +++ 2 files changed, 76 insertions(+) diff --git a/drivers/mtd/nand/stm_nand_bch.c b/drivers/mtd/nand/stm_nand_bch.c

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

2014-03-25 Thread 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 lee.jo...@linaro.org --- drivers/mtd/nand/Kconfig| 6 ++

[RFC 02/47] mtd: nand: add ONFI NAND Timing Mode Specifications

2014-03-25 Thread Lee Jones
This patch adds a new structure, 'nand_timing_spec', to capture the A/C timing characteristics of NAND devices. Unfortunately, there is no universally accepted standard for defining NAND timing parameters. Different datasheets list different sets of parameters. The ONFI standard gets close, but

[RFC 03/47] mtd: nand: add shared register defines for ST's NAND Controller drivers

2014-03-25 Thread Lee Jones
Provide register and bit definitions used by STM's BCH Controller driver. We place these into a shared location as they will be used by other STM NAND Controllers as they appear. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/stm_nand_regs.h | 302

[RFC 00/47] mtd: nand: Add new driver supporting ST's BCH h/w

2014-03-25 Thread Lee Jones
All, This patch-set was written against kernel version v3.4, but applies cleanly to v3.13-rc7 which it is currently based. I understand that the core has changed significantly since and that some of the infrastructure this driver provides is now available either through the framework or similar

Re: [PATCH v5 1/4] pci: APM X-Gene PCIe controller driver

2014-03-25 Thread Phil . Edworthy
Hi Tanmay, On: 19/03/2014 23:15, Tanmay wrote: Subject: [PATCH v5 1/4] pci: APM X-Gene PCIe controller driver Sent by: linux-pci-ow...@vger.kernel.org This patch adds the AppliedMicro X-Gene SOC PCIe controller driver. X-Gene PCIe controller supports maximum up to 8 lanes and GEN3 speed.

[RFC 01/47] mtd: nand: export useful functions from core driver

2014-03-25 Thread Lee Jones
These functions are utilised by the STM BCH NAND Controller driver. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/nand_base.c | 18 +++--- include/linux/mtd/nand.h | 6 ++ 2 files changed, 17 insertions(+), 7 deletions(-) diff --git

[PATCH] arm64: Fix duplicated Kconfig entries again

2014-03-25 Thread Hanjun Guo
After commit 74397174989e5 (arm64: Fix duplicated Kconfig entries), I still get a duplicate Power management options section in linux-next git repo, may be due to some merge conflicts, anyway, fix that in this patch. Signed-off-by: Hanjun Guo hanjun@linaro.org --- Based on linux-next repo,

Re: 3.14-rc7 crashes in drm ([PATCH] a crash in mga_driver_irq_uninstall)

2014-03-25 Thread Daniel Vetter
On Tue, Mar 25, 2014 at 12:11 AM, Andreas Mohr a...@lisas.de wrote: On Mon, Mar 24, 2014 at 10:46:49PM +0100, Daniel Vetter wrote: On Mon, Mar 24, 2014 at 9:40 PM, Mikulas Patocka mpato...@redhat.com wrote: If someone understands the locking issues I pointed out above, it could be easy to

Re: [PATCH] ipv4: gre: Fix null pointer dereference in gre_cisco_err()

2014-03-25 Thread wei zhang
At 2014-03-25 03:14:17,David Miller da...@davemloft.net wrote: From: Wei Zhang asuka@163.com Date: Mon, 24 Mar 2014 15:34:31 +0800  When use the gre vport, openvswitch register a gre_cisco_protocol but  does not supply a err_handler with it. The gre_cisco_err() call the  err_handler without 

Re: [PATCH -tip v8 10/26] kprobes/x86: Allow probe on some kprobe preparation functions

2014-03-25 Thread Masami Hiramatsu
(2014/03/25 4:35), Steven Rostedt wrote: On Wed, 05 Mar 2014 20:59:53 +0900 Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: There is no need to prohibit probing on the functions used in preparation phase. Those are safely probed because those are not invoked from

Re: [PATCH v2] hung_task : check the value of sysctl_hung_task_timeout_sec

2014-03-25 Thread Liu hua
于 2014/3/24 4:50, Satoru Takeuchi 写道: At Sun, 23 Mar 2014 15:54:04 +0800, Liu Hua wrote: As sysctl_hung_task_timeout_sec is unsigned long, when this value is larger then LONG_MAX/HZ, the function schedule_timeout_interruptible in watchdog will return immediately without sleep and with print

Re: [PATCH -tip v8 11/26] kprobes: Allow probe on some kprobe functions

2014-03-25 Thread Masami Hiramatsu
(2014/03/25 4:37), Steven Rostedt wrote: On Wed, 05 Mar 2014 21:00:00 +0900 Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: There is no need to prohibit probing on the functions used for preparation, registeration, optimization, controll etc. Those are safely probed because those

Re: [PATCH -tip v8 12/26] ftrace/*probes: Allow probing on some functions

2014-03-25 Thread Masami Hiramatsu
(2014/03/25 4:38), Steven Rostedt wrote: On Wed, 05 Mar 2014 21:00:07 +0900 Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: --- a/kernel/trace/trace_kprobe.c +++ b/kernel/trace/trace_kprobe.c @@ -1209,7 +1209,7 @@ kretprobe_perf_func(struct trace_kprobe *tk, struct

Re: Re: [PATCH 3.4 93/99] iwlwifi: always copy first 16 bytes of commands

2014-03-25 Thread Andreas Sturmlechner
Original Message from: Ben Hutchings b...@decadent.org.uk One piece of my backport to 3.2.y went missing in the forward-port to 3.4.y. Can you test 3.4.83 with this patch on top? Ben. iwlwifi works with the additional patch, thanks :) -- To unsubscribe from this list: send the line

[PATCH] tick: fix spelling mistake in tick_handle_periodic()

2014-03-25 Thread Viresh Kumar
One of the comments in tick_handle_periodic() had 'when' instead of 'which' (My guess :)). Fix it. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- kernel/time/tick-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/tick-common.c

Re: [REGRESSION 3.14-rc6] Samsung N150 lid does not open after suspend to RAM.

2014-03-25 Thread Lan Tianyu
2014-03-24 19:19 GMT+08:00 Stefan Biereigel secur...@biereigel-wb.de: Hi, thank you for the suggestion. The patch resolves the issue on my N150 when applied to a clean 3.14-rc7. Anyways I'm wondering if similar problems to mine now exist on the Samsung Series 7/9 notebooks? Is any further

Re: [REGRESSION 3.14-rc6] Samsung N150 lid does not open after suspend to RAM.

2014-03-25 Thread Stefan Biereigel
Sorry, I sadly do not have any of these machines. If I get my hands on one, I will post dmidecode. Thanks for your help, Stefan Am 25.03.2014 10:34, schrieb Lan Tianyu: 2014-03-24 19:19 GMT+08:00 Stefan Biereigel secur...@biereigel-wb.de: Hi, thank you for the suggestion. The patch resolves

[PATCH 2/2] mmc: rtsx: modify error handle and remove smatch warnings

2014-03-25 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn Using non-DMA dump-regs, which would be more exactly for DMA transfer failed. More careful handle when cmd/data timeout, add stop(CMD12) cmd before go to finish request when multi-rw timeout. Remove some static checher warings. on commit: mmc: rtsx:

[PATCH 0/2] mmc: rtsx: add new cmd type handle and modify error handle

2014-03-25 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn Add new command type(R1 without CRC) handle, without this patch mmc card initialize will be failed. Using a more careful handle in request timeout, this would improve error recover capability. Debug info is printed using non DMA mode, this would help

[PATCH 1/2] mmc: rtsx: add R1-no-CRC mmc command type handle

2014-03-25 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn commit a27fbf2f067b0cd6f172c8b696b9a44c58bfaa7a mmc: add ignorance case for CMD13 CRC error produced a cmd.flags unhandled in realtek pci host driver. This will make MMC card failed initialize, this patch is used to handle the new cmd.flags condition

Re: [PATCH v5 2/5] ARM: dts: am43xx clock data

2014-03-25 Thread Roger Quadros
On 03/19/2014 12:10 PM, George Cherian wrote: Add USB and USB PHY reference clock data Signed-off-by: George Cherian george.cher...@ti.com Acked-by: Roger Quadros rog...@ti.com cheers, -roger --- arch/arm/boot/dts/am43xx-clocks.dtsi | 32 1 file changed,

RE: New NAND driver

2014-03-25 Thread Gupta, Pekon
Hello Lee, [...] I can help reviewing those patches, if you can please share your controller specs, and also share if there are any already know hardware limitations. Thanks for your kind offer. I will send it right away. Is the spec for this controller available in public domain somewhere ?

[PATCH] workqueue: add __WQ_FREEZING and remove POOL_FREEZING

2014-03-25 Thread Lai Jiangshan
freezing is nothing related to pools, but POOL_FREEZING adds a connection, and causes freeze_workqueues_begin() and thaw_workqueues() complicated. Since freezing is workqueue instance attribute, so we introduce __WQ_FREEZING to wq-flags instead and remove POOL_FREEZING. we set __WQ_FREEZING only

Re: [Linaro-acpi] [PATCH] arm64: Fix duplicated Kconfig entries again

2014-03-25 Thread Sudeep Holla
Hi Hanjun, On 25/03/14 09:00, Hanjun Guo wrote: After commit 74397174989e5 (arm64: Fix duplicated Kconfig entries), I still get a duplicate Power management options section in linux-next git repo, may be due to some merge conflicts, anyway, fix that in this patch. I reported this and Mark

[PATCH 1/3] memblock/x86: Use for_each_memblock()

2014-03-25 Thread Emil Medve
Signed-off-by: Emil Medve emilian.me...@freescale.com --- This is a minor cleanup arch/x86/mm/numa.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/mm/numa.c b/arch/x86/mm/numa.c index 27aa0455..6b5e231 100644 --- a/arch/x86/mm/numa.c +++ b/arch/x86/mm/numa.c

[PATCH 2/3] memblock: Use for_each_memblock()

2014-03-25 Thread Emil Medve
Signed-off-by: Emil Medve emilian.me...@freescale.com --- This is a small cleanup mm/memblock.c | 24 +++- mm/page_alloc.c | 10 +- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/mm/memblock.c b/mm/memblock.c index 39a31e7..2b2aaf8 100644 ---

  1   2   3   4   5   6   7   8   9   10   >