[PATCH 26/58] sound: Fix make allmodconfig on MIPS

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit d4702b189c6b951c1cb3260036ff998f719bfb62 upstream. The compile of soundcard.c is broken on MIPS when allmodconfig is used because of the missing MAX_DMA_CHANNELS defi

[PATCH 25/58] microblaze: Update microblaze defconfigs

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Michal Simek commit d0e045401f268a8de6f87d65678214748b772680 upstream. The main reason is 0-day testing system which can directly use these defconfigs for testing. Enable support for al

[PATCH 23/58] USB: keyspan: fix null-deref at disconnect and release

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit ff8a43c10f1440f07a5faca0c1556921259f7f76 upstream. Make sure to fail properly if the device is not accepted during attach in order to avoid null-pointer derefs (of mi

[PATCH 21/58] usb: add two quirky touchscreen

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit 304ab4ab079a8ed03ce39f1d274964a532db036b upstream. These devices tend to become unresponsive after S3 Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartma

[PATCH 22/58] USB: mos7720: fix broken control requests

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit ef6c8c1d733e244f0499035be0dabe1f4ed98c6f upstream. The parallel-port code of the drivers used a stack allocated control-request buffer for asynchronous (and possibly

[PATCH 27/58] sound: Fix make allmodconfig on MIPS correctly

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Paul Bolle commit a62ee234a572b4c98fe98cf5fb18e4e8b0f6e43d upstream. Commit d4702b189c ("sound: Fix make allmodconfig on MIPS") added a (negative) dependency on ISA_DMA_SUPPORT_BROKEN. S

Re: [PATCH 24/25] perf tools: Add multi file '-M' option for record command

2013-09-02 Thread Adrian Hunter
On 02/09/13 11:37, Jiri Olsa wrote: > On Mon, Sep 02, 2013 at 10:52:46AM +0300, Adrian Hunter wrote: >> On 01/09/13 13:36, Jiri Olsa wrote: >>> split event data into multiple files based on the file >>> size or time delta specified as an argument to the option. >>> >>> Adding multi file '-M' option

[PATCH 28/58] alpha: makefile: don't enforce small data model for kernel builds

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit cd8d2331756751b6aeb855a3c9cb0a92fbd9c725 upstream. Due to all of the goodness being packed into today's kernels, the resulting image isn't as slim as it once was. In

[PATCH 32/58] ARM: 7810/1: perf: Fix array out of bounds access in armpmu_map_hw_event()

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Stephen Boyd commit d9f966357b14e356dbd83b8f4a197a287ab4ff83 upstream. Vince Weaver reports an oops in the ARM perf event code while running his perf_fuzzer tool on a pandaboard running

[PATCH 35/58] zd1201: do not use stack as URB transfer_buffer

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Jussi Kivilinna commit 1206ff4ff9d2ef7468a355328bc58ac6ebf5be44 upstream. Patch fixes zd1201 not to use stack as URB transfer_buffer. URB buffers need to be DMA-able, which stack is not.

[PATCH 33/58] iwlwifi: dvm: fix calling ieee80211_chswitch_done() with NULL

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka commit 9186a1fd9ed190739423db84bc344d258ef3e3d7 upstream. If channel switch is pending and we remove interface we can crash like showed below due to passing NULL vif to

Re: 3.11-rc7:BUG: soft lockup

2013-09-02 Thread Ding Tianhong
On 2013/9/2 16:24, Baoquan He wrote: > Hi Tianhong, > > I applied your patch and execute below cmd. > Then keyboard inputting problems happened, > I can't enter user/password correctly, then reboot again, it's OK now. Thanks for your work, I don't understand that the keyboard problem is the pat

[PATCH 29/58] MIPS: Rewrite pfn_valid to work in modules, too.

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Ralf Baechle commit 8b9232141bf40788cce31f893c13f344ec31ee66 upstream. This fixes: MODPOST 393 modules ERROR: "min_low_pfn" [arch/mips/kvm/kvm.ko] undefined! make[3]: *** [__modpost]

[PATCH 38/58] drm/i915: Invalidate TLBs for the rings after a reset

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit 884020bf3d2a3787a1cc6df902e98e0eec60330b upstream. After any "soft gfx reset" we must manually invalidate the TLBs associated with each ring. Empirically, it seems th

[PATCH 34/58] iwlwifi: pcie: disable L1 Active after pci_enable_device

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit eabc4ac5d7606a57ee2b7308cb7323ea8f60183b upstream. As Arjan pointed out, we mustn't do anything related to PCI configuration until the device is properly enabled

ATTN:Manager---supply polyaluminium chloride---menjie chemicals co

2013-09-02 Thread Ffkq
Dear Sir or Madam: Good Day! Glad to learn you`re on the market of water treatment chemicals products We are a professional manufacturers of water treatment agent products with 17years experience, as well as the supplier for Kemira ,now our featured products are: Coagulant for wa

[PATCH 40/58] ARM: davinci: nand: specify ecc strength

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Sekhar Nori commit acd36357edc08649e85ff15dc4ed62353c912eff upstream. Starting with kernel v3.5, it is mandatory to specify ECC strength when using hardware ECC. Without this, kernel pan

[PATCH 43/58] xen/events: initialize local per-cpu mask for all possible events

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: David Vrabel commit 84ca7a8e45dafb49cd5ca90a343ba033e2885c17 upstream. The sizeof() argument in init_evtchn_cpu_bindings() is incorrect resulting in only the first 64 (or 32 in 32-bit gu

[PATCH 37/58] ARM: at91/DT: fix at91sam9n12ek memory node

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Ferre commit a57603ca2871ee0773b00839c1ea35c4a2d3eeb0 upstream. Signed-off-by: Nicolas Ferre Signed-off-by: Luis Henriques --- arch/arm/boot/dts/at91sam9n12ek.dts | 4 ++-- 1

[PATCH 41/58] ARM: 7816/1: CONFIG_KUSER_HELPERS: fix help text

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Pitre commit ac124504ecf6b20a2457d873d0728a8b991a5b0c upstream. Commit f6f91b0d9fd9 ("ARM: allow kuser helpers to be removed from the vector page") introduced some help text for

[PATCH 42/58] sata_fsl: save irqs while coalescing

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Anthony Foiani commit 99bbdfa6bdcb4bdf5be914a48e9b46941bf30819 upstream. Before this patch, I was seeing the following lockdep splat on my MPC8315 (PPC32) target: [9.086051] =

[PATCH 39/58] libata: apply behavioral quirks to sil3826 PMP

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Terry Suereth commit 894d20b7eb446e848e0046107d51b17a20a8 upstream. Fixing support for the Silicon Image 3826 port multiplier, by applying to it the same quirks applied to the Silico

Re: [PATCH] Kconfig.debug: Add FRAME_POINTER anti-dependency for ARC

2013-09-02 Thread Gilad Ben-Yossef
Hi, On Tue, Aug 27, 2013 at 11:31 AM, Vineet Gupta wrote: > > Frame pointer on ARC doesn't serve the conventional purpose of stack > unwinding due to the typical way ABI designates it's usage. More out of curiosity to understand the platform better than actual review - can you explain a little w

[PATCH 49/58] Bluetooth: Add support for Atheros [0cf3:3121]

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: AceLan Kao commit 1ebd0b21ab14efb75950079840eac29afea2a26e upstream. Add support for the AR3012 chip. T: Bus=03 Lev=01 Prnt=01 Port=06 Cnt=01 Dev#= 6 Spd=12 MxCh= 0 D: Ver= 1.10 Cls

[PATCH 53/58] jfs: fix readdir cookie incompatibility with NFSv4

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Dave Kleikamp commit 44512449c0ab368889dd13ae0031fba74ee7e1d2 upstream. NFSv4 reserves readdir cookie values 0-2 for special entries (. and ..), but jfs allows a value of 2 for a non-spe

[PATCH 45/58] [SCSI] zfcp: fix lock imbalance by reworking request queue locking

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Martin Peschke commit d79ff142624e1be080ad8d09101f7004d79c36e1 upstream. This patch adds wait_event_interruptible_lock_irq_timeout(), which is a straight-forward descendant of wait_event

[PATCH 48/58] nilfs2: fix issue with counting number of bio requests for BIO_EOPNOTSUPP error detection

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Vyacheslav Dubeyko commit 4bf93b50fd04118ac7f33a3c2b8a0a1f9fa80bc9 upstream. Fix the issue with improper counting number of flying bio requests for BIO_EOPNOTSUPP error detection case.

[PATCH 44/58] of: fdt: fix memory initialization for expanded DT

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Wladislav Wiebe commit 9e40127526e857fa3f29d51e83277204fbdfc6ba upstream. Already existing property flags are filled wrong for properties created from initial FDT. This could cause probl

linux-next: build failure after merge of the final tree (drm tree related)

2013-09-02 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/gpu/drm/radeon/ci_dpm.c: In function 'ci_request_link_speed_change_before_state_change': drivers/gpu/drm/radeon/ci_dpm.c:4212:4: error: implicit declaration of function 'radeon_acpi_p

[PATCH 46/58] [SCSI] zfcp: fix schedule-inside-lock in scsi_device list loops

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Martin Peschke commit 924dd584b198a58aa7cb3efefd8a03326550ce8f upstream. BUG: sleeping function called from invalid context at kernel/workqueue.c:2752 in_atomic(): 1, irqs_disabled(): 1,

[PATCH 3/4] AHCI: Conserve interrupts with pci_enable_msi_block_part() interface

2013-09-02 Thread Alexander Gordeev
Make use of the new pci_enable_msi_block_part() interface and conserve on othewise wasted interrupt resources for 10 of 16 unused MSI vectors on Intel chipsets. Signed-off-by: Alexander Gordeev --- drivers/ata/ahci.c | 48 +--- 1 files changed, 29 in

[PATCH 57/58] drivers/base/memory.c: fix show_mem_removable() to handle missing sections

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Russ Anderson commit 21ea9f5ace3a7317cc3ba1fbc749758021a83136 upstream. "cat /sys/devices/system/memory/memory*/removable" crashed the system. The problem is that show_mem_removable() i

[PATCH 4/4] PCI/MSI: Get rid of pci_enable_msi_block_auto() interface

2013-09-02 Thread Alexander Gordeev
There are no consumers of pci_enable_msi_block_auto() interface have left. Eliminate it for now. Signed-off-by: Alexander Gordeev --- Documentation/PCI/MSI-HOWTO.txt | 12 ++-- drivers/pci/msi.c | 25 - include/linux/pci.h |7

[PATCH 54/58] powerpc: Don't Oops when accessing /proc/powerpc/lparcfg without hypervisor

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Herrenschmidt commit f5f6cbb61610b7bf9d9d96db9c3979d62a424bab upstream. /proc/powerpc/lparcfg is an ancient facility (though still actively used) which allows access to some inf

[PATCH 51/58] workqueue: fix possible stall on try_to_grab_pending() of a delayed work item

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Lai Jiangshan commit 3aa62497594430ea522050b75c033f71f2c60ee6 upstream. Currently, when try_to_grab_pending() grabs a delayed work item, it leaves its linked work items alone on the dela

[PATCH 2/4] MSI/x86: Support pci_enable_msi_block_part() interface

2013-09-02 Thread Alexander Gordeev
This update is a prerequisite for the forthcoming update of the AHCI device driver to conserve 10/16 MSIs on Intel chipsets. The update makes use of 'nvec_mme' parameter for pci_enable_msi_block_part() interface. Signed-off-by: Alexander Gordeev --- drivers/iommu/irq_remapping.c | 12 ++---

[PATCH 55/58] powerpc: Work around gcc miscompilation of __pa() on 64-bit

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit bdbc29c19b2633b1d9c52638fb732bcde7a2031a upstream. On 64-bit, __pa(&static_var) gets miscompiled by recent versions of gcc as something like: addis 3,2,.LA

[PATCH 50/58] efivars: explicitly calculate length of VariableName

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Matt Fleming commit ec50bd32f1672d38ddce10fb1841cbfda89cfe9a upstream. It's not wise to assume VariableNameSize represents the length of VariableName, as not all firmware updates Variabl

Re: [PATCH 0/5] Remove ASoC-level I/O functions from cq93vc

2013-09-02 Thread Samuel Ortiz
Hi Mark, On Sun, Sep 01, 2013 at 04:08:53PM +0100, Mark Brown wrote: > On Sun, Sep 01, 2013 at 04:48:47PM +0200, Samuel Ortiz wrote: > > > As I'd prefer to carry the MFD ones (Including the twl6040 one) through > > mfd-next, I can build a branch for you to pull from. Would that be fine > > with y

Re: [PATCHv2 1/4] pwm: Add Freescale FTM PWM driver support

2013-09-02 Thread Sascha Hauer
On Mon, Sep 02, 2013 at 03:33:37AM +, Xiubo Li-B47053 wrote: > > > > +static void fsl_pwm_free(struct pwm_chip *chip, struct pwm_device > > > +*pwm) { > > > + struct fsl_pwm_chip *fpc; > > > + struct fsl_pwm_data *pwm_data; > > > + > > > + fpc = to_fsl_chip(chip); > > > + > > > + pwm_data = pw

Re: [PATCH] rbtree: Add some necessary condition checks

2013-09-02 Thread Michel Lespinasse
On Sun, Sep 1, 2013 at 11:30 PM, Zhi Yong Wu wrote: > In Tue, Aug 27, 2013 at 6:01 AM, Michel Lespinasse wrote: >> On Fri, Aug 23, 2013 at 7:45 AM, wrote: >>> From: Zhi Yong Wu >>> >>> Signed-off-by: Zhi Yong Wu >>> --- >>> include/linux/rbtree_augmented.h | 3 ++- >>> lib/rbtree.c

[PATCH 1/4] PCI/MSI: Introduce pci_enable_msi_block_part() interface

2013-09-02 Thread Alexander Gordeev
There are PCI devices that require a particular value written to the Multiple Message Enable (MME) register while aligned on power of 2 boundary value of actually used MSI vectors 'nvec' is a lesser of that MME value: roundup_pow_of_two(nvec) < 'Multiple Message Enable' However the existi

[PATCH 0/4] AHCI: Conserve interrupts with pci_enable_msi_block_part() interface

2013-09-02 Thread Alexander Gordeev
This series is aimed to conserve on othewise wasted interrupt resources for 10 of 16 unused MSI vectors for AHCI devices on Intel chipsets. Alexander Gordeev (4): PCI/MSI: Introduce pci_enable_msi_block_part() interface MSI/x86: Support pci_enable_msi_block_part() interface AHCI: Conserve in

[PATCH 58/58] x86 get_unmapped_area: Access mmap_legacy_base through mm_struct member

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Radu Caragea commit 41aacc1eea645c99edbe8fbcf78a97dc9b862adc upstream. This is the updated version of df54d6fa5427 ("x86 get_unmapped_area(): use proper mmap base for bottom-up direction

Re: [PATCH 13/25] mips: Use Kbuild infrastructure to handle asm-generic headers

2013-09-02 Thread James Hogan
On 13/10/12 03:26, Steven Rostedt wrote: > From: Steven Rostedt > > Use Kbuild infrastructure to handle the asm-generic headers > and remove the wrapper headers that call them. > > This only affects headers that do nothing but include the generic > equivalent. It does not touch any header that d

[PATCH 52/58] x86/xen: do not identity map UNUSABLE regions in the machine E820

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: David Vrabel commit 3bc38cbceb85881a8eb789ee1aa56678038b1909 upstream. If there are UNUSABLE regions in the machine memory map, dom0 will attempt to map them 1:1 which is not permitted b

[PATCH 47/58] nilfs2: remove double bio_put() in nilfs_end_bio_write() for BIO_EOPNOTSUPP error

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Vyacheslav Dubeyko commit 2df37a19c686c2d7c4e9b4ce1505b5141e3e5552 upstream. Remove double call of bio_put() in nilfs_end_bio_write() for the case of BIO_EOPNOTSUPP error detection. The

[PATCH 56/58] powerpc/hvsi: Increase handshake timeout from 200ms to 400ms.

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Eugene Surovegin commit d220980b701d838560a70de691b53be007e99e78 upstream. This solves a problem observed in kexec'ed kernel where 200ms timeout is too short and bootconsole fails to ini

[PATCH 36/58] Hostap: copying wrong data prism2_ioctl_giwaplist()

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 909bd5926d474e275599094acad986af79671ac9 upstream. We want the data stored in "addr" and "qual", but the extra ampersands mean we are copying stack data instead. Si

[PATCH V3 4/6] vhost_net: determine whether or not to use zerocopy at one time

2013-09-02 Thread Jason Wang
Currently, even if the packet length is smaller than VHOST_GOODCOPY_LEN, if upend_idx != done_idx we still set zcopy_used to true and rollback this choice later. This could be avoided by determining zerocopy once by checking all conditions at one time before. Signed-off-by: Jason Wang --- driver

[PATCH 03/58] serial: mxs: fix buffer overflow

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Wolfram Sang commit 4829e7650f8a40645e4e32b26a37fb833a5e75f0 upstream. SMATCH correctly found an off-by-one error: drivers/tty/serial/mxs-auart.c:889 auart_console_write() error: buffer

[PATCH V3 5/6] vhost_net: poll vhost queue after marking DMA is done

2013-09-02 Thread Jason Wang
We used to poll vhost queue before making DMA is done, this is racy if vhost thread were waked up before marking DMA is done which can result the signal to be missed. Fix this by always polling the vhost thread before DMA is done. Signed-off-by: Jason Wang --- - The patch is needed for stable 3.4

Re: [PATCHv2 4/4] Documentation: Add device tree bindings for Freescale FTM PWM.

2013-09-02 Thread Sascha Hauer
On Mon, Sep 02, 2013 at 02:38:53AM +, Xiubo Li-B47053 wrote: > > Subject: Re: [PATCHv2 4/4] Documentation: Add device tree bindings for > > Freescale FTM PWM. > > > ... > > > + > > > +pwm0: pwm@40038000 { > > > + compatible = "fsl,vf610-ftm-pwm"; > > > + reg = <0x40038000 0x100

[PATCH V3 6/6] vhost_net: correctly limit the max pending buffers

2013-09-02 Thread Jason Wang
As Michael point out, We used to limit the max pending DMAs to get better cache utilization. But it was not done correctly since it was one done when there's no new buffers submitted from guest. Guest can easily exceeds the limitation by keeping sending packets. So this patch moves the check into

[PATCH V3 3/6] vhost: switch to use vhost_add_used_n()

2013-09-02 Thread Jason Wang
Let vhost_add_used() to use vhost_add_used_n() to reduce the code duplication. To avoid the overhead brought by __copy_to_user(). We will use put_user() when one used need to be added. Signed-off-by: Jason Wang --- drivers/vhost/vhost.c | 54 ++-- 1

[PATCH V3 2/6] vhost_net: use vhost_add_used_and_signal_n() in vhost_zerocopy_signal_used()

2013-09-02 Thread Jason Wang
We tend to batch the used adding and signaling in vhost_zerocopy_callback() which may result more than 100 used buffers to be updated in vhost_zerocopy_signal_used() in some cases. So switch to use vhost_add_used_and_signal_n() to avoid multiple calls to vhost_add_used_and_signal(). Which means muc

Re: [PATCH 09/12] KVM: MMU: introduce pte-list lockless walker

2013-09-02 Thread Xiao Guangrong
On 08/30/2013 07:44 PM, Gleb Natapov wrote: > On Thu, Aug 29, 2013 at 08:02:30PM +0800, Xiao Guangrong wrote: >> On 08/29/2013 07:33 PM, Xiao Guangrong wrote: >>> On 08/29/2013 05:31 PM, Gleb Natapov wrote: On Thu, Aug 29, 2013 at 02:50:51PM +0800, Xiao Guangrong wrote: > After more thinki

Re: [PATCH 1/2] mfd: 88pm800: Fix the bug that pdata may be NULL

2013-09-02 Thread Samuel Ortiz
Hi Chao, On Mon, Sep 02, 2013 at 09:21:04AM +0800, Chao Xie wrote: > On Fri, Aug 30, 2013 at 8:30 PM, Samuel Ortiz wrote: > > Hi Xie, > > > > On Tue, Aug 27, 2013 at 02:11:58PM +0800, Chao Xie wrote: > >> On Tue, Aug 20, 2013 at 9:40 AM, Samuel Ortiz > >> wrote: > >> > Hi Xie, > >> > > >> > On

Re: [PATCH] Kconfig.debug: Add FRAME_POINTER anti-dependency for ARC

2013-09-02 Thread Vineet Gupta
On 08/30/2013 08:50 PM, Dave Hansen wrote: > On 08/30/2013 12:48 AM, Vineet Gupta wrote: >> If we had ARCH_FRAME_POINTER_UNAVAILABLE (def_bool n), we could potentially >> remove >> ARCH_FRAME_POINTER too: >> The issue is some (sparc, c6x...) which are neither in #1 or #2, and not >> present >> i

Re: [PATCH] mfd: twl6040: Use regmap for register cache

2013-09-02 Thread Lee Jones
On Mon, 02 Sep 2013, Samuel Ortiz wrote: > Hi Lee, > > On Mon, Sep 02, 2013 at 09:17:59AM +0100, Lee Jones wrote: > > On Sat, 31 Aug 2013, Mark Brown wrote: > > > > > From: Mark Brown > > > > > > Rather then open coding a cache of the vibra control registers use the > > > regmap cache code. A

[PATCH 1/1] dma: mv_xor: Fix incorrect error path

2013-09-02 Thread Sachin Kamat
Return directly if memory allocation fails. There is no need of dma_free_coherent(). Signed-off-by: Sachin Kamat Cc: Saeed Bishara --- drivers/dma/mv_xor.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index 856ea77..536

[PATCH 4/4] slab: make more slab management structure off the slab

2013-09-02 Thread Joonsoo Kim
Now, the size of the freelist for the slab management diminish, so that the on-slab management structure can waste large space if the object of the slab is large. Consider a 128 byte sized slab. If on-slab is used, 31 objects can be in the slab. The size of the freelist for this case would be 31 b

[PATCH 0/4] slab: implement byte sized indexes for the freelist of a slab

2013-09-02 Thread Joonsoo Kim
This patchset implements byte sized indexes for the freelist of a slab. Currently, the freelist of a slab consist of unsigned int sized indexes. Most of slabs have less number of objects than 256, so much space is wasted. To reduce this overhead, this patchset implements byte sized indexes for the

[PATCH 3/4] slab: introduce byte sized index for the freelist of a slab

2013-09-02 Thread Joonsoo Kim
Currently, the freelist of a slab consist of unsigned int sized indexes. Most of slabs have less number of objects than 256, since restriction for page order is at most 1 in default configuration. For example, consider a slab consisting of 32 byte sized objects on two continous pages. In this case,

Re: [RFC 00/24] perf tools: Add traceevent plugins support

2013-09-02 Thread Jiri Olsa
On Sun, Sep 01, 2013 at 12:48:25PM +0200, Jiri Olsa wrote: > hi, > backporting traceevent plugin support from trace-cmd. It's reachable here: git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git perf/core_plugins jirka -- To unsubscribe from this list: send the line "unsubscribe linux-ke

[PATCH 1/4] slab: factor out calculate nr objects in cache_estimate

2013-09-02 Thread Joonsoo Kim
This logic is not simple to understand so that making separate function helping readability. Additionally, we can use this change in the following patch which implement for freelist to have another sized index in according to nr objects. Signed-off-by: Joonsoo Kim diff --git a/mm/slab.c b/mm/sla

[PATCH] drivers: uio: mf624_disable_interrupt() can be static

2013-09-02 Thread Rostislav Lisovy
From: Fengguang Wu Signed-off-by: Fengguang Wu Signed-off-by: Rostislav Lisovy --- drivers/uio/uio_mf624.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/uio/uio_mf624.c b/drivers/uio/uio_mf624.c index a1768b2..92cf6a9 100644 --- a/drivers/uio/uio_mf624.c ++

Re: [PATCH 24/25] perf tools: Add multi file '-M' option for record command

2013-09-02 Thread Jiri Olsa
On Mon, Sep 02, 2013 at 10:52:46AM +0300, Adrian Hunter wrote: > On 01/09/13 13:36, Jiri Olsa wrote: > > split event data into multiple files based on the file > > size or time delta specified as an argument to the option. > > > > Adding multi file '-M' option for record command to store > > outpu

[PATCH 2/4] slab: introduce helper functions to get/set free object

2013-09-02 Thread Joonsoo Kim
In the following patches, to get/set free objects from the freelist is changed so that simple casting doesn't work for it. Therefore, introduce helper functions. Signed-off-by: Joonsoo Kim diff --git a/mm/slab.c b/mm/slab.c index 9d4bad5..a0e49bb 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -2545,9

Re: [PATCH V2 6/6] vhost_net: correctly limit the max pending buffers

2013-09-02 Thread Jason Wang
On 09/02/2013 02:30 PM, Jason Wang wrote: > On 09/02/2013 01:56 PM, Michael S. Tsirkin wrote: >> > On Fri, Aug 30, 2013 at 12:29:22PM +0800, Jason Wang wrote: >>> >> As Michael point out, We used to limit the max pending DMAs to get >>> >> better cache >>> >> utilization. But it was not done corre

[PATCH 1/2] dma: ste_dma40: Remove duplicate const

2013-09-02 Thread Sachin Kamat
'const' was added twice. Signed-off-by: Sachin Kamat --- drivers/dma/ste_dma40.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index 7bbcabb..df0a606 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c @@ -

[PATCH 2/2] dma: ste_dma40: Fix potential null pointer dereference

2013-09-02 Thread Sachin Kamat
kcalloc can return NULL. Check the pointer before dereferencing. Signed-off-by: Sachin Kamat --- drivers/dma/ste_dma40.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index df0a606..82d2b97 100644 --- a/drivers/dma/ste_dma40.c +++ b/d

Re: [PATCH] mfd: twl6040: Use regmap for register cache

2013-09-02 Thread Samuel Ortiz
Hi Lee, On Mon, Sep 02, 2013 at 09:17:59AM +0100, Lee Jones wrote: > On Sat, 31 Aug 2013, Mark Brown wrote: > > > From: Mark Brown > > > > Rather then open coding a cache of the vibra control registers use the > > regmap cache code. Also cache the interrupt mask register, providing > > a small

linux-next: build warning after merge of the scsi tree

2013-09-02 Thread Stephen Rothwell
Hi James, After merging the scsi tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/scsi/ufs/ufshcd.c: In function 'ufshcd_eh_host_reset_handler': drivers/scsi/ufs/ufshcd.c:2740:3: warning: 'flush_work_sync' is deprecated (declared at /scratch/sfr/next/include/li

Re: 3.11-rc7:BUG: soft lockup

2013-09-02 Thread Baoquan He
Hi Tianhong, I applied your patch and execute below cmd. Then keyboard inputting problems happened, I can't enter user/password correctly, then reboot again, it's OK now. The original bug still can't be reproduced. make SUBDIRS=net/bridge/netfilter/ cp /net/bridge/netfilter/ebtables.ko /lib/mo

Re: perf_event: rdpmc self-monitoring overhead issue

2013-09-02 Thread Stephane Eranian
On Mon, Sep 2, 2013 at 4:50 AM, Andi Kleen wrote: > Stephane Eranian writes: > >> I don't see a flag in mmap() to fault it in immediately. > > MAP_PRESENT > I could not find this constant defined anywhere in the kernel source tree nor in /usr/include. Are you sure of the name? -- To unsubscribe f

Re: [PATCH v3] imx-drm: Fix probe failure

2013-09-02 Thread Sascha Hauer
On Fri, Aug 30, 2013 at 02:53:12PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Since commit b5dc0d10 (drm/imx: kill firstopen callback) the following probe > failure is seen: > > [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). > [drm] No driver support for vblank timestamp

Re: [edk2] Corrupted EFI region

2013-09-02 Thread Matt Fleming
On Thu, 08 Aug, at 06:46:02AM, Andrew Fish wrote: > > On Aug 8, 2013, at 3:17 AM, Matt Fleming wrote: > > > On Wed, 07 Aug, at 02:10:28PM, Andrew Fish wrote: > >> Well the issue I see is I don't think OS X or Windows are doing this. > >> So I'm guessing there is some unique thing beings done on

Re: [PATCH 1/1] dma: imx-dma: Remove redundant NULL check

2013-09-02 Thread Sascha Hauer
On Mon, Sep 02, 2013 at 01:21:18PM +0530, Sachin Kamat wrote: > kfree on a NULL pointer is a no-op. Null pointer check is > not necessary. > > Signed-off-by: Sachin Kamat > Cc: Sascha Hauer Acked-by: Sascha Hauer Sascha > --- > drivers/dma/imx-dma.c |6 ++ > 1 file changed, 2 insert

Re: [PATCH] mfd: twl6040: Use regmap for register cache

2013-09-02 Thread Lee Jones
On Sat, 31 Aug 2013, Mark Brown wrote: > From: Mark Brown > > Rather then open coding a cache of the vibra control registers use the > regmap cache code. Also cache the interrupt mask register, providing > a small performance improvement for the interrupt code. > > Signed-off-by: Mark Brown >

Re: [PATCH 1/4] mfd: add STw481x driver

2013-09-02 Thread Lee Jones
Hi Linus, > This adds a driver for the STw481x PMICs found in the Nomadik > family of platforms. This one uses pure device tree probing. > Print some of the OTP registers on boot and register a regulator > MFD child. > > Signed-off-by: Linus Walleij > --- > Hi Sam, I'm seeking an ACK for this dr

Re: [RFC PATCH 02/14] drivers: thermal: introduce device tree parser

2013-09-02 Thread Wei Ni
On 08/30/2013 07:19 AM, Eduardo Valentin wrote: > * PGP Signed: 08/29/2013 at 04:19:46 PM > > Mark, Pawel and Stephen, > > > On 27-08-2013 14:17, Eduardo Valentin wrote: >> On 27-08-2013 12:23, Mark Rutland wrote: >>> On Tue, Aug 27, 2013 at 02:44:40PM +0100, Eduardo Valentin wrote: Hello M

[PATCH 1/1] dma: imx-dma: Remove redundant NULL check

2013-09-02 Thread Sachin Kamat
kfree on a NULL pointer is a no-op. Null pointer check is not necessary. Signed-off-by: Sachin Kamat Cc: Sascha Hauer --- drivers/dma/imx-dma.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c index ff2aab9..78f8ca5 10064

Re: [PATCHv6 1/2] ARM: sunxi: Initial support for Allwinner's Security ID fuses

2013-09-02 Thread Maxime Ripard
Hi Oliver, On Sun, Sep 01, 2013 at 01:30:18PM +0200, oliver+l...@schinagl.nl wrote: > From: Oliver Schinagl > > Allwinner has electric fuses (efuse) on their line of chips. This driver > reads those fuses, seeds the kernel entropy and exports them as a sysfs > node. > > These fuses are most lik

Re: [PATCH] drivers: misc: bmp085: remove '__init' from mp085_get_of_properties()

2013-09-02 Thread Chen Gang
It seems the "./scripts/get_maintainer.pl" is not quite precise, it lead me to send this mail to kernel mailing list, not to drivers related mailing list. [root@gchenlinux linux-next]# ./scripts/get_maintainer.pl /tmp/0001-drivers-misc-bmp085-remove-__init-from-mp085_get_of_.patch Arnd Berg

[PATCH] drivers: misc: bmp085: remove '__init' from mp085_get_of_properties()

2013-09-02 Thread Chen Gang
bmp085_get_of_properties() is called by bmp085_init_client() which is called by bmp085_probe() which is an EXPORT_SYMBOL_GPL function. bmp085_probe() is really used as a probe function by another modules (e.g. bmp085-i2c.c, bmp085-spi.c). Except bmp085_get_of_properties(), all functions have no '

Re: [PATCH 24/25] perf tools: Add multi file '-M' option for record command

2013-09-02 Thread Adrian Hunter
On 01/09/13 13:36, Jiri Olsa wrote: > split event data into multiple files based on the file > size or time delta specified as an argument to the option. > > Adding multi file '-M' option for record command to store > output perf.data into multiple files based on the size > threshold. > > The thr

Re: 3.11-rc7:BUG: soft lockup

2013-09-02 Thread Ding Tianhong
On 2013/9/2 14:06, Baoquan He wrote: > Hi both, > > Thanks for your patches. I tried to test your patches, first the 2nd > one, namely Hillf's patch, it's OK. Then when I wanted to reproduce and > test Cong's patch, it failed to happen again. > > I remember this bug happened randomly at the v

[tip:sched/core] sched: Factor out code to should_we_balance()

2013-09-02 Thread tip-bot for Joonsoo Kim
Commit-ID: 23f0d2093c789e612185180c468fa09063834e87 Gitweb: http://git.kernel.org/tip/23f0d2093c789e612185180c468fa09063834e87 Author: Joonsoo Kim AuthorDate: Tue, 6 Aug 2013 17:36:42 +0900 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:27:34 +0200 sched: Factor out code to shou

[tip:sched/core] sched/fair: Shrink sg_lb_stats and play memset games

2013-09-02 Thread tip-bot for Peter Zijlstra
Commit-ID: 147c5fc2bad780d8093b547f2baa204e78107faf Gitweb: http://git.kernel.org/tip/147c5fc2bad780d8093b547f2baa204e78107faf Author: Peter Zijlstra AuthorDate: Mon, 19 Aug 2013 15:22:57 +0200 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:27:35 +0200 sched/fair: Shrink sg_lb_s

[tip:sched/core] sched: Remove one division operation in find_busiest_queue()

2013-09-02 Thread tip-bot for Joonsoo Kim
Commit-ID: 95a79b805b935f4a7b685aa8a117d916c638323e Gitweb: http://git.kernel.org/tip/95a79b805b935f4a7b685aa8a117d916c638323e Author: Joonsoo Kim AuthorDate: Tue, 6 Aug 2013 17:36:41 +0900 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:26:59 +0200 sched: Remove one division ope

[tip:perf/core] perf: Convert kmalloc_node(...GFP_ZERO...) to kzalloc_node()

2013-09-02 Thread tip-bot for Joe Perches
Commit-ID: 7bfb7e6bdd906f11ee9e751b3fec4f4fc728e818 Gitweb: http://git.kernel.org/tip/7bfb7e6bdd906f11ee9e751b3fec4f4fc728e818 Author: Joe Perches AuthorDate: Thu, 29 Aug 2013 13:59:17 -0700 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:42:49 +0200 perf: Convert kmalloc_node(..

[tip:perf/core] perf/x86: use INTEL_UEVENT_EXTRA_REG to define MSR_OFFCORE_RSP_X

2013-09-02 Thread tip-bot for Yan, Zheng
Commit-ID: 53ad0447208d3f5897f673ca0b16c776583eedba Gitweb: http://git.kernel.org/tip/53ad0447208d3f5897f673ca0b16c776583eedba Author: Yan, Zheng AuthorDate: Thu, 18 Jul 2013 17:02:23 +0800 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:42:47 +0200 perf/x86: use INTEL_UEVENT_EXT

[tip:perf/core] perf: Export struct perf_branch_entry to userspace

2013-09-02 Thread tip-bot for Vince Weaver
Commit-ID: 274481de6cb69abdb49403ff32abb63c23743413 Gitweb: http://git.kernel.org/tip/274481de6cb69abdb49403ff32abb63c23743413 Author: Vince Weaver AuthorDate: Fri, 23 Aug 2013 15:51:03 -0400 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:42:48 +0200 perf: Export struct perf_bra

[tip:perf/core] perf: Add attr->mmap2 attribute to an event

2013-09-02 Thread tip-bot for Stephane Eranian
Commit-ID: 13d7a2410fa637f450a29ecb515ac318ee40c741 Gitweb: http://git.kernel.org/tip/13d7a2410fa637f450a29ecb515ac318ee40c741 Author: Stephane Eranian AuthorDate: Wed, 21 Aug 2013 12:10:24 +0200 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:42:48 +0200 perf: Add attr->mmap2 at

[tip:perf/core] perf/x86: Add Silvermont (22nm Atom) support

2013-09-02 Thread tip-bot for Yan, Zheng
Commit-ID: 1fa64180fbf7a33b7a30636a2f174a5cad68d48f Gitweb: http://git.kernel.org/tip/1fa64180fbf7a33b7a30636a2f174a5cad68d48f Author: Yan, Zheng AuthorDate: Thu, 18 Jul 2013 17:02:24 +0800 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:42:47 +0200 perf/x86: Add Silvermont (22nm

[tip:sched/core] sched/fair: Rework and comment the group_imb code

2013-09-02 Thread tip-bot for Peter Zijlstra
Commit-ID: 30ce5dabc92b5a349a7d9e9cf499494d230e0691 Gitweb: http://git.kernel.org/tip/30ce5dabc92b5a349a7d9e9cf499494d230e0691 Author: Peter Zijlstra AuthorDate: Thu, 15 Aug 2013 20:29:29 +0200 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:27:38 +0200 sched/fair: Rework and com

[tip:sched/core] sched: Clean-up struct sd_lb_stat

2013-09-02 Thread tip-bot for Joonsoo Kim
Commit-ID: 56cf515b4b1567c4e8fa9926175b40c66b9ec472 Gitweb: http://git.kernel.org/tip/56cf515b4b1567c4e8fa9926175b40c66b9ec472 Author: Joonsoo Kim AuthorDate: Tue, 6 Aug 2013 17:36:43 +0900 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:27:35 +0200 sched: Clean-up struct sd_lb_s

[tip:sched/core] sched/fair: Fix the sd_parent_degenerate() code

2013-09-02 Thread tip-bot for Peter Zijlstra
Commit-ID: 10866e62e8a6907d9072f10f9a0561db0c0cf50b Gitweb: http://git.kernel.org/tip/10866e62e8a6907d9072f10f9a0561db0c0cf50b Author: Peter Zijlstra AuthorDate: Mon, 19 Aug 2013 16:57:04 +0200 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:27:40 +0200 sched/fair: Fix the sd_par

[tip:perf/urgent] perf: Prevent race in unthrottling code

2013-09-02 Thread tip-bot for Jiri Olsa
Commit-ID: ae23bff1d71f8b416ed740bc458df67355c77c92 Gitweb: http://git.kernel.org/tip/ae23bff1d71f8b416ed740bc458df67355c77c92 Author: Jiri Olsa AuthorDate: Sat, 24 Aug 2013 16:45:54 +0200 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:13:24 +0200 perf: Prevent race in unthrottl

<    1   2   3   4   5   6   >