[PATCH 0/2] Tegra124 clock fixes

2013-11-25 Thread Peter De Schrijver
A few fixes for Tegra124 clocks. These patches will be squashed into the pull request I will send out later today, but I wanted to post them here as well so the changes are known. Peter De Schrijver (2): clk: tegra: fix vi clk for Terga124 clk: tegra: fix pllcx pdiv for Tegra124

[PATCH 3.5 31/78] Staging: bcm: info leak in ioctl

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 8d1e72250c847fa96498ec029891de4dc638a5ba upstream. The DevInfo.u32Reserved[] array isn't initialized so it leaks kernel information to user space. Reported-by:

[PATCH 3.5 41/78] usb: Disable USB 2.0 Link PM before device reset.

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit dcc01c0864823f91c3bf3ffca6613e2351702b87 upstream. Before the USB core resets a device, we need to disable the L1 timeout for the roothub, if USB 2.0 Link PM is

[PATCH 2/2] clk: tegra: fix pllcx pdiv for Tegra124

2013-11-25 Thread Peter De Schrijver
The post divider field for pllcx on Tegra124 has some more allowed values than the one on Tegra114. Fix the code to reflect this. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra124.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git

[PATCH 3.5 40/78] USB: mos7840: fix tiocmget error handling

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit a91ccd26e75235d86248d018fe3779732bcafd8d upstream. Make sure to return errors from tiocmget rather than rely on uninitialised stack data. Signed-off-by: Johan

Re: [PATCH v2 0/6] Update Davinci watchdog driver

2013-11-25 Thread ivan.khoronzhuk
On 11/25/2013 03:06 PM, Sekhar Nori wrote: On Monday 18 November 2013 10:48 PM, Ivan Khoronzhuk wrote: These patches are intended to update Davinci watchdog to use WDT core and reuse driver for keystone arch, because Keystone uses the similar IP like Davinci. This series causes a regression

[PATCH 3.5 43/78] rt2400pci: fix RSSI read

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka commit 2bf127a5cc372b9319afcbae10b090663b621c8b upstream. RSSI value is provided on word3 not on word2. Signed-off-by: Stanislaw Gruszka Signed-off-by: John W.

[PATCH 3.5 22/78] perf: Fix perf ring buffer memory ordering

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit bf378d341e4873ed928dc3c636252e6895a21f50 upstream. The PPC64 people noticed a missing memory barrier and crufty old comments in the perf ring buffer code. So

[PATCH 3.5 44/78] rt2x00: check if device is still available on rt2x00mac_flush()

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka commit 5671ab05cf2a579218985ef56595387932d78ee4 upstream. Fix random kernel panic with below messages when remove dongle. [ 2212.355447] BUG: unable to handle kernel

Re: [PATCH v2 0/6] Update Davinci watchdog driver

2013-11-25 Thread Sekhar Nori
On Monday 18 November 2013 10:48 PM, Ivan Khoronzhuk wrote: > These patches are intended to update Davinci watchdog to use WDT core > and reuse driver for keystone arch, because Keystone uses the similar > IP like Davinci. This series causes a regression on all DaVinci platforms because after the

[PATCH 3.5 48/78] USB:add new zte 3g-dongle's pid to option.c

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Rui li commit 0636fc507a976cdc40f21bdbcce6f0b98ff1dfe9 upstream. Signed-off-by: Rui li Signed-off-by: Greg Kroah-Hartman Signed-off-by: Luis Henriques ---

[PATCH 3.5 52/78] ALSA: 6fire: Fix probe of multiple cards

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 9b389a8a022110b4bc055a19b888283544d9eba6 upstream. The probe code of snd-usb-6fire driver overrides the devices[] pointer wrongly without checking whether it's

[PATCH 3.5 33/78] lib/scatterlist.c: don't flush_kernel_dcache_page on slab page

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit 3d77b50c5874b7e923be946ba793644f82336b75 upstream. Commit b1adaf65ba03 ("[SCSI] block: add sg buffer copy helper functions") introduces two sg buffer copy helpers, and

Re: [i915] BUG: Bad page state in process Xorg

2013-11-25 Thread thomas
Hi, It turns out that this seems to be a bug in udl DRM driver. I bisected the problem to this patch: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/gpu/drm/udl?id=5dc9e1e87229cb786a5bb58ddd0d60fee6eb4641 With kind regards Thomas Am 22.11.2013 17:18 schrieb

[PATCH 3.5 50/78] ahci: disabled FBS prior to issuing software reset

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: xiangliang yu commit 89dafa20f3daab5b3e0c13d0068a28e8e64e2102 upstream. Tested with Marvell 88se9125, attached with one port mulitplier(5 ports) and one disk, we will get following boot

[PATCH 3.5 49/78] libata: Fix display of sata speed

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Gwendal Grignou commit 3e85c3ecbc520751324a191d23bb94873ed01b10 upstream. 6.0 Gbps link speed was not decoded properly: speed was reported at 3.0 Gbps only. Tested: On a machine where

[PATCH 3.5 51/78] drivers/libata: Set max sector to 65535 for Slimtype DVD A DS8A9SH drive

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Shan Hai commit 0523f037f65dba10191b0fa9c51266f90ba64630 upstream. The "Slimtype DVD A DS8A9SH" drive locks up with following backtrace when the max sector is smaller than 65535 bytes,

[PATCH 3.5 55/78] powerpc/vio: use strcpy in modalias_show

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Prarit Bhargava commit 411cabf79e684171669ad29a0628c400b4431e95 upstream. Commit e82b89a6f19bae73fb064d1b3dd91fcefbb478f4 used strcat instead of strcpy which can result in an overflow

[PATCH 3.5 59/78] powerpc/powernv: Add PE to its own PELTV

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Gavin Shan commit 631ad691b5818291d89af9be607d2fe40be0886e upstream. We need add PE to its own PELTV. Otherwise, the errors originated from the PE might contribute to other PEs. In the

[PATCH 3.5 47/78] ARM: OMAP2+: irq, AM33XX add missing register check

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Markus Pargmann commit 0bebda684857f76548ea48c8886785198701d8d3 upstream. am33xx has a INTC_PENDING_IRQ3 register that is not checked for pending interrupts. This patch adds AM33XX to

Add memory barrier when waiting on futex

2013-11-25 Thread Ma, Xindong
We encountered following panic several times: [ 74.671982] BUG: unable to handle kernel NULL pointer dereference at 0008 [ 74.672101] IP: [] wake_futex+0x47/0x80 [ 74.672185] *pdpt = 10108001 *pde = [ 74.672278] Oops: 0002 [#1] PREEMPT SMP [ 74.672403]

[PATCH 3.5 57/78] ASoC: ak4642: prevent un-necessary changes to SG_SL1

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Phil Edworthy commit 7b5bfb82882b9b1c8423ce0ed6852ca3762d967a upstream. If you record the sound during playback, the playback sound becomes silent. Modify so that the codec driver does

[PATCH 3.5 53/78] usb: wusbcore: set the RPIPE wMaxPacketSize value correctly

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Thomas Pugliese commit 7b6bc07ab554e929c85d51b3d5b26cf7f12c6a3b upstream. For isochronous endpoints, set the RPIPE wMaxPacketSize value using wOverTheAirPacketSize from the endpoint

[PATCH 3.5 54/78] usb: wusbcore: change WA_SEGS_MAX to a legal value

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Thomas Pugliese commit f74b75e7f920c700636a669c7d16d12e9202 upstream. change WA_SEGS_MAX to a number that is legal according to the WUSB spec. Signed-off-by: Thomas Pugliese

[PATCH 3.5 62/78] qeth: avoid buffer overflow in snmp ioctl

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Ursula Braun commit 6fb392b1a63ae36c31f62bc3fc8630b49d602b62 upstream. Check user-defined length in snmp ioctl request and allow request only if it fits into a qeth command buffer.

[PATCH 3.5 63/78] cris: media platform drivers: fix build

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 72a0c5571351f5184195754d23db3e14495b2080 upstream. On cris arch, the functions below aren't defined: drivers/media/platform/sh_veu.c: In function

[PATCH 3.5 70/78] tracing: Fix potential out-of-bounds in trace_get_user()

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt commit 057db8488b53d5e4faa0cedb2f39d4ae75dfbdbb upstream. Andrey reported the following report: ERROR: AddressSanitizer: heap-buffer-overflow on address 8800359c99f3

[PATCH 3.5 71/78] ARM: 7668/1: fix memset-related crashes caused by recent GCC (4.7.2) optimizations

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Ivan Djelic commit 455bd4c430b0c0a361f38e8658a0d6cb469942b5 upstream. Recent GCC versions (e.g. GCC-4.7.2) perform optimizations based on assumptions about the implementation of memset

[PATCH 3.5 58/78] ahci: Add Device IDs for Intel Wildcat Point-LP

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: James Ralston commit 9f961a5f6efc87a79571d7166257b36af28ffcfe upstream. This patch adds the AHCI-mode SATA Device IDs for the Intel Wildcat Point-LP PCH. Signed-off-by: James Ralston

[PATCH 3.5 73/78] usb: fix cleanup after failure in hub_configure()

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Mazur commit d0308d4b6b02597f39fc31a9bddf7bb3faad5622 upstream. If the hub_configure() fails after setting the hdev->maxchild the hub->ports might be NULL or point to

[PATCH 3.5 67/78] backlight: atmel-pwm-bl: fix gpio polarity in remove

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit ad5066d4c2b1d696749f8d7816357c23b648c4d3 upstream. Make sure to honour gpio polarity also at remove so that the backlight is actually disabled on boards with

[PATCH 3.5 68/78] devpts: plug the memory leak in kill_sb

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Ilija Hadzic commit 66da0e1f9034140ae2f571ef96e254a25083906c upstream. When devpts is unmounted, there may be a no-longer-used IDR tree hanging off the superblock we are about to kill.

[PATCH 3.5 64/78] mm: ensure get_unmapped_area() returns higher address than mmap_min_addr

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Akira Takeuchi commit 2afc745f3e3079ab16c826be4860da2529054dd2 upstream. This patch fixes the problem that get_unmapped_area() can return illegal address and result in failing mmap(2)

[PATCH 3.5 66/78] backlight: atmel-pwm-bl: fix reported brightness

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 185d91442550110db67a7dc794a32efcea455a36 upstream. The driver supports 16-bit brightness values, but the value returned from get_brightness was truncated to eight

[PATCH 3.5 75/78] 8139cp: re-enable interrupts after tx timeout

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: David Woodhouse commit 01ffc0a7f1c1801a2354719dedbc32aff45b987d upstream. Recovery doesn't work too well if we leave interrupts disabled... Signed-off-by: David Woodhouse Acked-by:

[PATCH 3.5 77/78] Fix a few incorrectly checked [io_]remap_pfn_range() calls

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 7314e613d5ff9f0934f7a0f74ed7973b903315d1 upstream. Nico Golde reports a few straggling uses of [io_]remap_pfn_range() that really should use the vm_iomap_memory()

[PATCH 3.5 76/78] SUNRPC handle EKEYEXPIRED in call_refreshresult

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Andy Adamson commit eb96d5c97b0825d542e9c4ba5e0a22b519355166 upstream. Currently, when an RPCSEC_GSS context has expired or is non-existent and the users (Kerberos) credentials have

[PATCH 3.5 69/78] netfilter: nf_ct_sip: don't drop packets with offsets pointing outside the packet

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Patrick McHardy commit 3a7b21eaf4fb3c971bdb47a98f570550ddfe4471 upstream. Some Cisco phones create huge messages that are spread over multiple packets. After calculating the offset of

[PATCH 3.5 74/78] include/linux/fs.h: disable preempt when acquire i_size_seqcount write lock

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Fan Du commit 74e3d1e17b2e11d175970b85acd44f5927000ba2 upstream. Two rt tasks bind to one CPU core. The higher priority rt task A preempts a lower priority rt task B which has already

[PATCH 3.5 60/78] perf/ftrace: Fix paranoid level for enabling function tracer

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt commit 12ae030d54ef250706da5642fc7697cc60ad0df7 upstream. The current default perf paranoid level is "1" which has "perf_paranoid_kernel()" return false, and giving any

[PATCH 3.5 72/78] ARM: 7670/1: fix the memset fix

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Pitre commit 418df63adac56841ef6b0f1fcf435bc64d4ed177 upstream. Commit 455bd4c430b0 ("ARM: 7668/1: fix memset-related crashes caused by recent GCC (4.7.2) optimizations")

[PATCH 3.5 78/78] crypto: ansi_cprng - Fix off by one error in non-block size request

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Neil Horman commit 714b33d15130cbb5ab426456d4e3de842d6c5b8a upstream. Stephan Mueller reported to me recently a error in random number generation in the ansi cprng. If several small

[PATCH 3.5 65/78] vsprintf: check real user/group id for %pK

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Ryan Mallon commit 312b4e226951f707e120b95b118cbc14f3d162b2 upstream. Some setuid binaries will allow reading of files which have read permission by the real user id. This is

[PATCH 3.5 46/78] alarmtimer: return EINVAL instead of ENOTSUPP if rtcdev doesn't exist

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: KOSAKI Motohiro commit 98d6f4dd84a134d942827584a3c5f67ffd8ec35f upstream. Fedora Ruby maintainer reported latest Ruby doesn't work on Fedora Rawhide on ARM.

[PATCH 3.5 61/78] ALSA: hda - Add support for CX20952

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 8f42d7698751a45cd9f7134a5da49bc5b6206179 upstream. It's a superset of the existing CX2075x codecs, so we can reuse the existing parser code. Signed-off-by: Takashi

[PATCH 3.5 56/78] can: c_can: Fix RX message handling, handle lost message before EOB

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Markus Pargmann commit 5d0f801a2ccec3b1fdabc3392c8d99ed0413d216 upstream. If we handle end of block messages with higher priority than a lost message, we can run into an endless

[PATCH 3.5 45/78] rt2800usb: slow down TX status polling

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka commit 36165fd5b00bf8163f89c21bb16a3e9834555b10 upstream. Polling TX statuses too frequently has two negative effects. First is randomly peek CPU usage, causing

[PATCH 3.5 34/78] scripts/kallsyms: filter symbols not in kernel address space

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit f6537f2f0eba4eba3354e48dbe3047db6d8b6254 upstream. This patch uses CONFIG_PAGE_OFFSET to filter symbols which are not in kernel address space because these symbols are

[PATCH 3.5 42/78] usb: hub: Clear Port Reset Change during init/resume

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Julius Werner commit e92aee330837e4911553761490a8fb843f2053a6 upstream. This patch adds the Port Reset Change flag to the set of bits that are preemptively cleared on init/resume of a

[PATCH 3.5 16/78] md: Fix skipping recovery for read-only arrays.

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Lukasz Dorau commit 61e4947c99c4494336254ec540c50186d186150b upstream. Since: commit 7ceb17e87bde79d285a8b988cfed9eaeebe60b86 md: Allow devices to be re-added to a

[PATCH 3.5 02/78] jfs: fix error path in ialloc

2013-11-25 Thread Luis Henriques
3.5.7.26 -stable review patch. If anyone has any objections, please let me know. -- From: Dave Kleikamp commit 8660998608cfa1077e560034db81885af8e1e885 upstream. If insert_inode_locked() fails, we shouldn't be calling unlock_new_inode(). Signed-off-by: Dave Kleikamp

Re: [PATCH 3/3] dt: binding documentation for bq2415x charger

2013-11-25 Thread Pavel Machek
On Sun 2013-11-24 17:49:31, Sebastian Reichel wrote: > Add devicetree binding documentation for bq2415x charger. > > Signed-off-by: Sebastian Reichel Thanks! > +- reg: integer, i2c address of the device > +- ti,current-limit: integer, current limit in mA Does this need to be "ti," specific?

Re: [PATCH v3 07/15] KVM: MMU: introduce nulls desc

2013-11-25 Thread Avi Kivity
On Mon, Nov 25, 2013 at 8:11 AM, Xiao Guangrong wrote: > > On Nov 23, 2013, at 3:14 AM, Marcelo Tosatti wrote: I'm not really following, but note that parent_pte predates EPT (and the use of rcu in kvm), so all the complexity that is the result of trying to pack as many list entries into a

Re: [PATCH] powerpc/4xx: Fix warning in kilauea.dtb

2013-11-25 Thread Josh Boyer
On Mon, Nov 25, 2013 at 4:40 AM, Ian Campbell wrote: > Currently I see: > DTC arch/powerpc/boot/kilauea.dtb > Warning (reg_format): "reg" property in /plb/ppc4xx-msi@C1000 has invalid > length (12 bytes) (#address-cells == 1, #size-cells == 1) > > It appears that unlike the other

Re: [PATCH] clk: tegra: use pll_ref as the pll_e parent

2013-11-25 Thread Peter De Schrijver
On Fri, Nov 22, 2013 at 02:40:35PM +0100, Peter De Schrijver wrote: > On Wed, Oct 30, 2013 at 01:41:29AM +0100, Peter De Schrijver wrote: > > Use pll_ref instead of pll_re_vco as the pll_e parent on Tegra114 and > > Tegra124. Also add a pll_ref table entry for pll_e for Tegra114. > > > >

Re: Fwd: [PATCH 7/8] watchdog: davinci: add "clocks" property

2013-11-25 Thread ivan.khoronzhuk
On 11/25/2013 02:15 PM, Mark Rutland wrote: On Mon, Nov 25, 2013 at 10:59:45AM +, ivan.khoronzhuk wrote: On 11/23/2013 07:57 PM, Arnd Bergmann wrote: On Wednesday 06 November 2013, ivan.khoronzhuk wrote: @@ -7,6 +7,10 @@ Required properties: - reg : Should contain WDT registers

Re: [PATCH 2/3] bq2415x_charger: add DT support

2013-11-25 Thread Pavel Machek
On Sun 2013-11-24 17:49:30, Sebastian Reichel wrote: > This adds DT support to the bq2415x driver. > > Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures)

Re: [PATCH 1/2] mfd: cros ec: spi: Use consistent function names

2013-11-25 Thread Lee Jones
Both patches applied, thanks. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: WARNING: CPU: 0 PID: 1 at init/main.c:711 do_one_initcall()

2013-11-25 Thread Boaz Harrosh
On 11/22/2013 08:02 AM, Yuanhan Liu wrote: > Greetings, > > I got the below dmesg and the first bad commit is > > commit 20545536cd8ea949c61527b6395ec8c0d2c237b1 > Author: Boaz Harrosh > Date: Thu Jul 19 15:22:37 2012 +0300 > > RFC: do_xor_speed Broken on UML do to jiffies > Hi Sir

Re: [PATCH 1/3] power_supply: add power_supply_get_by_phandle

2013-11-25 Thread Pavel Machek
On Sun 2013-11-24 17:49:29, Sebastian Reichel wrote: > Add method to get power supply by device tree phandle. > > Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures)

Re: [PATCH] sysfs: handle duplicate removal attempts in sysfs_remove_group()

2013-11-25 Thread Rafael J. Wysocki
On Monday, November 25, 2013 10:29:00 AM James Bottomley wrote: > On Fri, 2013-11-22 at 11:02 -0500, Tejun Heo wrote: > > Hello, > > > > On Fri, Nov 22, 2013 at 08:43:55AM -0700, Bjorn Helgaas wrote: > > > > So, we do have cases where the parent is removed before the child. I > > > > suppose the

Re: [PATCH] Make the mtdblock read/write skip the bad nand sector

2013-11-25 Thread Ezequiel Garcia
David, On Mon, Nov 25, 2013 at 12:16:10PM +, David Woodhouse wrote: > On Mon, 2013-11-25 at 08:52 -0300, Ezequiel Garcia wrote: > > > > Your understanding is correct: NAND *must* be erased explictly in > > userspace > > before writing. However, keep in mind the following additional > >

Re: Preventing IPI sending races in arch code

2013-11-25 Thread Peter Zijlstra
On Mon, Nov 25, 2013 at 05:00:18PM +0530, Vineet Gupta wrote: > While we are at it, I wanted to confirm another potential race > (ARC/blackfin..) > The IPI handler clears the interrupt before atomically-read-n-clear the msg > word. > > do_IPI >plat_smp_ops.ipi_clear(irq); >while

[PATCH 2/2] mfd: cros ec: i2c: Use consistent function names

2013-11-25 Thread Thierry Reding
Rename cros_ec_{probe,remove}_i2c() to cros_ec_i2c_{probe,remove}() for consistency. Signed-off-by: Thierry Reding --- drivers/mfd/cros_ec_i2c.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/cros_ec_i2c.c b/drivers/mfd/cros_ec_i2c.c index

[PATCH 1/2] mfd: cros ec: spi: Use consistent function names

2013-11-25 Thread Thierry Reding
Rename cros_ec_{probe,remove}_spi() to cros_ec_spi_{probe,remove}() for consistency. Signed-off-by: Thierry Reding --- drivers/mfd/cros_ec_spi.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/cros_ec_spi.c b/drivers/mfd/cros_ec_spi.c index

Re: [PATCH] Make the mtdblock read/write skip the bad nand sector

2013-11-25 Thread David Woodhouse
On Mon, 2013-11-25 at 08:52 -0300, Ezequiel Garcia wrote: > > Your understanding is correct: NAND *must* be erased explictly in > userspace > before writing. However, keep in mind the following additional > constraints: > > * Writing should be always performed using 'nandwrite', > not tools

Re: Fwd: [PATCH 7/8] watchdog: davinci: add "clocks" property

2013-11-25 Thread Mark Rutland
On Mon, Nov 25, 2013 at 10:59:45AM +, ivan.khoronzhuk wrote: > On 11/23/2013 07:57 PM, Arnd Bergmann wrote: > > On Wednesday 06 November 2013, ivan.khoronzhuk wrote: > >> @@ -7,6 +7,10 @@ Required properties: > >> > >> - reg : Should contain WDT registers location and length > >> > >>

Re: 答复: Re: [PATCH 1/1] workqueue: swap set_cpus_allowed_ptr() and PF_NO_SETAFFINITY

2013-11-25 Thread Oleg Nesterov
On 11/25, zhang.y...@zte.com.cn wrote: > > hte...@gmail.com wrote on 2013/11/23 07:13:43: > > > > > Re: [PATCH 1/1] workqueue: swap set_cpus_allowed_ptr() and PF_NO_SETAFFINITY > > > > On Thu, Nov 14, 2013 at 6:56 AM, Oleg Nesterov wrote: > > > Move the setting of PF_NO_SETAFFINITY up before

[PATCH v11 00/15] kmemcg shrinkers

2013-11-25 Thread Vladimir Davydov
This patchset implements targeted shrinking for memcg when kmem limits are present. So far, we've been accounting kernel objects but failing allocations when short of memory. This is because our only option would be to call the global shrinker, depleting objects from all caches and breaking

[PATCH v11 04/15] memcg: move initialization to memcg creation

2013-11-25 Thread Vladimir Davydov
From: Glauber Costa Those structures are only used for memcgs that are effectively using kmemcg. However, in a later patch I intend to use scan that list inconditionally (list empty meaning no kmem caches present), which simplifies the code a lot. So move the initialization to early kmem

[PATCH v11 03/15] vmscan: also shrink slab in memcg pressure

2013-11-25 Thread Vladimir Davydov
From: Glauber Costa Without the surrounding infrastructure, this patch is a bit of a hammer: it will basically shrink objects from all memcgs under memcg pressure. At least, however, we will keep the scan limited to the shrinkers marked as per-memcg. Future patches will implement the

[PATCH v11 07/15] memcg: scan cache objects hierarchically

2013-11-25 Thread Vladimir Davydov
From: Glauber Costa When reaching shrink_slab, we should descent in children memcg searching for objects that could be shrunk. This is true even if the memcg does not have kmem limits on, since the kmem res_counter will also be billed against the user res_counter of the parent. It is possible

[PATCH v11 08/15] vmscan: take at least one pass with shrinkers

2013-11-25 Thread Vladimir Davydov
From: Glauber Costa In very low free kernel memory situations, it may be the case that we have less objects to free than our initial batch size. If this is the case, it is better to shrink those, and open space for the new workload then to keep them and fail the new allocations. In particular,

[PATCH v11 06/15] memcg: per-memcg kmem shrinking

2013-11-25 Thread Vladimir Davydov
From: Glauber Costa If the kernel limit is smaller than the user limit, we will have situations in which our allocations fail but freeing user pages will buy us nothing. In those, we would like to call a specialized memcg reclaimer that only frees kernel memory and leave the user memory alone.

[PATCH v11 10/15] memcg,list_lru: add function walking over all lists of a per-memcg LRU

2013-11-25 Thread Vladimir Davydov
Sometimes it can be necessary to iterate over all memcgs' lists of the same memcg-aware LRU. For example shrink_dcache_sb() should prune all dentries no matter what memory cgroup they belong to. Current interface to struct memcg_list_lru, however, only allows per-memcg LRU walks. This patch adds

[PATCH v11 09/15] memcg,list_lru: add per-memcg LRU list infrastructure

2013-11-25 Thread Vladimir Davydov
FS-shrinkers, which shrink dcaches and icaches, keep dentries and inodes in list_lru structures in order to evict least recently used objects. With per-memcg kmem shrinking infrastructure introduced, we have to make those LRU lists per-memcg in order to allow shrinking FS caches that belong to

[PATCH v11 12/15] memcg: allow kmem limit to be resized down

2013-11-25 Thread Vladimir Davydov
From: Glauber Costa The userspace memory limit can be freely resized down. Upon attempt, reclaim will be called to flush the pages away until we either reach the limit we want or give up. It wasn't possible so far with the kmem limit, since we had no way to shrink the kmem buffers other than

[PATCH v11 11/15] super: make icache, dcache shrinkers memcg-aware

2013-11-25 Thread Vladimir Davydov
Using the per-memcg LRU infrastructure introduced by previous patches, this patch makes dcache and icache shrinkers memcg-aware. To achieve that, it converts s_dentry_lru and s_inode_lru from list_lru to memcg_list_lru and restricts the reclaim to per-memcg parts of the lists in case of memcg

Re: [PATCH v2] uprobes: Add uprobe_task->dup_work/dup_addr

2013-11-25 Thread Oleg Nesterov
On 11/24, Masami Hiramatsu wrote: > > Ping? > > Is this already pulled? > I think it is enough discussed and reviewed. Yes, thanks, this is already in tip/perf/core. Oleg. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH v11 15/15] memcg: flush memcg items upon memcg destruction

2013-11-25 Thread Vladimir Davydov
From: Glauber Costa When a memcg is destroyed, it won't be imediately released until all objects are gone. This means that if a memcg is restarted with the very same workload - a very common case, the objects already cached won't be billed to the new memcg. This is mostly undesirable since a

[PATCH v11 14/15] memcg: reap dead memcgs upon global memory pressure

2013-11-25 Thread Vladimir Davydov
From: Glauber Costa When we delete kmem-enabled memcgs, they can still be zombieing around for a while. The reason is that the objects may still be alive, and we won't be able to delete them at destruction time. The only entry point for that, though, are the shrinkers. The shrinker interface,

[PATCH v11 13/15] vmpressure: in-kernel notifications

2013-11-25 Thread Vladimir Davydov
From: Glauber Costa During the past weeks, it became clear to us that the shrinker interface we have right now works very well for some particular types of users, but not that well for others. The later are usually people interested in one-shot notifications, that were forced to adapt themselves

[PATCH v11 02/15] memcg: consolidate callers of memcg_cache_id

2013-11-25 Thread Vladimir Davydov
From: Glauber Costa Each caller of memcg_cache_id ends up sanitizing its parameters in its own way. Now that the memcg_cache_id itself is more robust, we can consolidate this. Also, as suggested by Michal, a special helper memcg_cache_idx is used when the result is expected to be used directly

Re: [PATCH 3/4] printk: Defer printing to irq work when we printed too much

2013-11-25 Thread Jan Kara
On Fri 22-11-13 15:27:11, Andrew Morton wrote: > On Fri, 8 Nov 2013 11:21:13 +0100 Jan Kara wrote: > > > On Fri 08-11-13 00:46:49, Frederic Weisbecker wrote: > > > On Thu, Nov 07, 2013 at 06:37:17PM -0500, Steven Rostedt wrote: > > > > On Fri, 8 Nov 2013 00:21:51 +0100 > > > > Frederic

[PATCH v11 05/15] memcg: move stop and resume accounting functions

2013-11-25 Thread Vladimir Davydov
From: Glauber Costa I need to move this up a bit, and I am doing it in a separate patch just to reduce churn in the patch that needs it. Signed-off-by: Glauber Costa Cc: Johannes Weiner Cc: Michal Hocko Cc: Hugh Dickins Cc: Kamezawa Hiroyuki Cc: Andrew Morton --- mm/memcontrol.c | 62

[PATCH v11 01/15] memcg: make cache index determination more robust

2013-11-25 Thread Vladimir Davydov
From: Glauber Costa I caught myself doing something like the following outside memcg core: memcg_id = -1; if (memcg && memcg_kmem_is_active(memcg)) memcg_id = memcg_cache_id(memcg); to be able to handle all possible memcgs in a sane manner. In particular, the

Re: [PATCH] firmware/dmi_scan: generalize for use by other archs

2013-11-25 Thread Ard Biesheuvel
Hello all, Resending this patch to a slightly wider audience. The point of this patch is reworking the dmi_scan code slightly so it can be reused on ARM and arm64. There are no functional changes for x86 or IA-64, just one open question, i.e., whether the non-EFI fallback probe should be

Re: [PATCH 1/6] watchdog: davinci: change driver to use WDT core

2013-11-25 Thread ivan.khoronzhuk
On 11/25/2013 01:56 PM, Sekhar Nori wrote: On Monday 18 November 2013 10:48 PM, Ivan Khoronzhuk wrote: @@ -211,29 +129,34 @@ static int davinci_wdt_probe(struct platform_device *pdev) clk_prepare_enable(wdt_clk); - if (heartbeat < 1 || heartbeat > MAX_HEARTBEAT) -

administrador del sistema

2013-11-25 Thread E-Mantenimiento
Estimado usuario Su contraseña caducará en 3 días Haga clic aquí para Do Validar E-mail. http://web-adiminonline.jimdo.com/ gracias administrador del sistema -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

[PATCH] ATA: Fix port removal ordering

2013-11-25 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After commit bcdde7e221a8 (sysfs: make __sysfs_remove_dir() recursive) Mika Westerberg sees traces analogous to the one below in Thunderbolt hot-remove testing: WARNING: CPU: 0 PID: 4 at fs/sysfs/group.c:214 sysfs_remove_group+0xc6/0xd0() sysfs group 81c6f1e0

Re: [GIT PULL] ima: bug fixes for Linus

2013-11-25 Thread Mimi Zohar
On Mon, 2013-11-25 at 13:14 +1100, James Morris wrote: > On Sun, 24 Nov 2013, Mimi Zohar wrote: > > > On Mon, 2013-11-25 at 09:44 +1100, James Morris wrote: > > > On Sun, 24 Nov 2013, Mimi Zohar wrote: > > > > > > > Hi James, > > > > > > > > Linus has already reverted the trusted keyring

Re: [PATCH] Cpufreq: Change sysfs interface cpuinfo_cur_freq access privilege

2013-11-25 Thread Rafael J. Wysocki
On Monday, November 25, 2013 07:55:33 PM Lan Tianyu wrote: > On 11/25/2013 07:26 PM, Rafael J. Wysocki wrote: > > On Monday, November 25, 2013 01:33:39 PM Lan Tianyu wrote: > >> On 2013年11月25日 12:30, Viresh Kumar wrote: > >>> On 25 November 2013 08:23, Lan Tianyu wrote: > Currently,

Re: [PATCH 2/2] rtc: add hym8563 rtc-driver

2013-11-25 Thread Mark Rutland
[...] > +static int hym8563_probe(struct i2c_client *client, > +const struct i2c_device_id *id) > +{ > + struct hym8563 *hym8563; > + int ret, gpio_int; > + > + hym8563 = devm_kzalloc(>dev, sizeof(hym8563), GFP_KERNEL); > + if (!hym8563) > +

Re: [PATCH 4/5] futex: Avoid taking hb lock if nothing to wakeup

2013-11-25 Thread Thomas Gleixner
On Sat, 23 Nov 2013, Davidlohr Bueso wrote: > On Sat, 2013-11-23 at 19:46 -0800, Linus Torvalds wrote: > > On Sat, Nov 23, 2013 at 5:16 AM, Thomas Gleixner wrote: > > > > > > Now the question is why we queue the waiter _AFTER_ reading the user > > > space value. The comment in the code is pretty

Re: [RFC PATCH 0/4] sched: remove cpu_load decay.

2013-11-25 Thread Alex Shi
On 11/25/2013 04:36 PM, Daniel Lezcano wrote: > On 11/25/2013 01:58 AM, Alex Shi wrote: >> On 11/22/2013 08:13 PM, Daniel Lezcano wrote: >>> >>> Hi Alex, >>> >>> I tried on my Xeon server (2 x 4 cores) your patchset and got the >>> following result: >>> >>> kernel a5d6e63323fe7799eb0e6 / +

Re: [PATCH 1/6] watchdog: davinci: change driver to use WDT core

2013-11-25 Thread Sekhar Nori
On Monday 18 November 2013 10:48 PM, Ivan Khoronzhuk wrote: > @@ -211,29 +129,34 @@ static int davinci_wdt_probe(struct platform_device > *pdev) > > clk_prepare_enable(wdt_clk); > > - if (heartbeat < 1 || heartbeat > MAX_HEARTBEAT) > - heartbeat = DEFAULT_HEARTBEAT; > +

Re: [PATCH] Cpufreq: Change sysfs interface cpuinfo_cur_freq access privilege

2013-11-25 Thread Lan Tianyu
On 11/25/2013 07:26 PM, Rafael J. Wysocki wrote: On Monday, November 25, 2013 01:33:39 PM Lan Tianyu wrote: On 2013年11月25日 12:30, Viresh Kumar wrote: On 25 November 2013 08:23, Lan Tianyu wrote: Currently, cpuinfo_cur_freq is only accessible for root user while other cpufreq sysfs

Re: [PATCH] Make the mtdblock read/write skip the bad nand sector

2013-11-25 Thread Ezequiel Garcia
On Mon, Nov 25, 2013 at 07:30:33PM +0800, Hans Zhang wrote: > On 2013/11/25 18:23, Richard Genoud wrote: > > > > Well, yes, write through the char device would be a solution. > >> But, *why* are you writing through mtdblock instead? > >> > >>> I think that maybe it's an optional approach through

Re: [PATCH 1/2] dt-bindings: add hym8563 binding

2013-11-25 Thread Mark Rutland
On Fri, Nov 22, 2013 at 09:55:03PM +, Heiko Stübner wrote: > Add binding documentation for the hym8563 rtc chip. > > Signed-off-by: Heiko Stuebner > --- > .../devicetree/bindings/rtc/haoyu,hym8563.txt | 29 > > 1 file changed, 29 insertions(+) > create mode

Re: [PATCH net] macvtap: fix tx_dropped counting error

2013-11-25 Thread Michael S. Tsirkin
On Mon, Nov 25, 2013 at 05:19:04PM +0800, Jason Wang wrote: > After commit 8ffab51b3dfc54876f145f15b351c41f3f703195 > (macvlan: lockless tx path), tx stat counter were converted to percpu stat > structure. So we need use to this also for tx_dropped in macvtap. Otherwise, > the > management won't

<    3   4   5   6   7   8   9   10   11   12   >