Re: [Gta04-owner] [PATCH] mfd: twl4030-power: Support compatible = "ti, twl4030-power" again.

2014-11-07 Thread Dr. H. Nikolaus Schaller
Am 08.11.2014 um 01:22 schrieb NeilBrown : > > commit e7cd1d1eb16fcdf53001b926187a82f1f3e1a7e6 >mfd: twl4030-power: Add generic reset configuration > > claims: >Let's add device tree support and configure things for warm reset >as the default when compatible = "ti,twl4030-power". >

Re: [PATCH v2] ARM: bcm2835: add device tree for Raspberry Pi model B+

2014-11-07 Thread Stephen Warren
On 11/07/2014 10:12 AM, Gordon Hollingworth wrote: > Resend: HTML less... > On 7 November 2014 17:07, Gordon Hollingworth wrote: >> On 7 November 2014 16:20, Noralf Tronnes wrote: ... >>> From the HAT specification: >>> GPIO pins ID_SC and ID_SD (GPIO0 and GPIO1) are reserved for use solely >>>

Re: [PATCH] ipvs: Keep skb->sk when allocating headroom on tunnel xmit

2014-11-07 Thread Julian Anastasov
Hello, On Fri, 7 Nov 2014, Calvin Owens wrote: > On 11/05/2014 01:21 AM, Julian Anastasov wrote: > > > > Hello, > > > > On Tue, 4 Nov 2014, Calvin Owens wrote: > > > > > ip_vs_prepare_tunneled_skb() ignores ->sk when allocating a new > > > skb, either unconditionally setting ->sk to

Re: [PATCH v2] ARM: bcm2835: add device tree for Raspberry Pi model B+

2014-11-07 Thread Stephen Warren
On 11/07/2014 09:20 AM, Noralf Tronnes wrote: > Den 07.11.2014 05:22, skrev Stephen Warren: >> On 11/06/2014 12:36 PM, Noralf Tronnes wrote: >>> Den 06.11.2014 00:45, skrev Matthias Klein: The model B and B+ differ in the GPIO lines for ACT and PWR leds, and the I2S interface. ...

[PATCH V5 7/7] dt-bindings: add document for dw-hdmi

2014-11-07 Thread Andy Yan
Signed-off-by: Andy Yan --- .../devicetree/bindings/drm/bridge/dw-hdmi.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/drm/bridge/dw-hdmi.txt diff --git a/Documentation/devicetree/bindings/drm/bridge/dw-hdmi.txt

[PATCH V5 6/7] dw-hdmi: convert dw-hdmi to drm_bridge mode

2014-11-07 Thread Andy Yan
From: Yakir Yang dw-hdmi is under drm/bridge, so it should be the bridge mode. hange off the encoder to dw_hdmi-imx.c, keep the connector & birdge in dw_hdmi.c Signed-off-by: Andy Yan Signed-off-by: Yakir Yang --- drivers/gpu/drm/bridge/dw_hdmi.c | 217 ++

[PATCH V5 5/7] dw-hdmi: add support for multi byte register width access

2014-11-07 Thread Andy Yan
On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi registers. Byte width accesses (writeb, readb) generate an imprecise external abort. Signed-off-by: Andy Yan --- drivers/gpu/drm/bridge/dw_hdmi.c | 57 ++-- 1 file changed, 55

[PATCH V5 4/7] dw-hdmi: return defer if can't get ddc i2c adapter

2014-11-07 Thread Andy Yan
drm driver may probe before the i2c bus, so the driver should defer probing untill it is avaliable Signed-off-by: Andy Yan --- drivers/gpu/drm/bridge/dw_hdmi.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/dw_hdmi.c

[PATCH V5 3/7] dw-hdmi: make checkpatch happy

2014-11-07 Thread Andy Yan
CHECK: Alignment should match open parenthesis + if ((hdmi->vic == 10) || (hdmi->vic == 11) || + (hdmi->vic == 12) || (hdmi->vic == 13) || CHECK: braces {} should be used on all arms of this statement + if (hdmi->hdmi_data.video_mode.mdvi) [...] + else { [...]

[PATCH V5 2/7] dw-hdmi: move imx-hdmi to bridge/dw-hdmi

2014-11-07 Thread Andy Yan
the original imx hdmi driver is under staging/imx-drm, which depends on imx-drm, so move the imx hdmi drvier out to drm/bridge and rename imx-hdmi to dw-hdmi Signed-off-by: Andy Yan --- drivers/gpu/drm/bridge/Kconfig | 5 + drivers/gpu/drm/bridge/Makefile

[PATCH V5 1/7] imx-drm: imx-hdmi: split imx soc specific code from imx-hdmi

2014-11-07 Thread Andy Yan
imx6 and rockchip rk3288 and JZ4780 (Ingenic Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly difference, such as phy pll configuration, register width, 4K support, clk useage, and the crtc mux configuration is also platform specific. To reuse the imx

[PATCH V5 0/7]dw-hdmi: convert imx hdmi to bridge/dw-hdmi

2014-11-07 Thread Andy Yan
We found freescale imx6 and rockchip rk3288 and Ingenic JZ4780 (Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly difference, such as phy pll configuration, register width(imx hdmi register is one byte, but rk3288 is 4 bytes width and can only access by

[PATCH] USB: serial: cp210x: Adding IDs for CEL MeshConnect USB Stick

2014-11-07 Thread Preston Fick
Signed-off-by: Preston Fick --- drivers/usb/serial/cp210x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c index cfd009d..6c4eb3c 100644 --- a/drivers/usb/serial/cp210x.c +++ b/drivers/usb/serial/cp210x.c @@ -120,6 +120,7 @@ static

Re: [RFC] perf-cache command interface design

2014-11-07 Thread Masami Hiramatsu
(2014/11/07 23:43), Namhyung Kim wrote: > Hi Masami, > > 2014-11-07 (금), 17:21 +0900, Masami Hiramatsu: >> Hello, >> >> Here, I've tried to describe my idea of perf-cache subcommand interface. >> It is just a design review, not implemented yet :) >> Please give me your comments/ideas! >> >>

Re: [RFC] perf-cache command interface design

2014-11-07 Thread Masami Hiramatsu
(2014/11/07 23:38), Arnaldo Carvalho de Melo wrote: > Em Fri, Nov 07, 2014 at 05:21:08PM +0900, Masami Hiramatsu escreveu: >> Hello, >> >> Here, I've tried to describe my idea of perf-cache subcommand interface. >> It is just a design review, not implemented yet :) >> Please give me your

Re: [PATCH v5 20/48] mfd: rn5t618: Register power-off handler with kernel power-off handler

2014-11-07 Thread Guenter Roeck
On 11/07/2014 01:00 PM, Beniamino Galvani wrote: On Thu, Nov 06, 2014 at 08:43:04AM -0800, Guenter Roeck wrote: Register with kernel power-off handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not

Re: [RFC] perf-cache command interface design

2014-11-07 Thread Masami Hiramatsu
(2014/11/07 19:51), Hemant Kumar wrote: >> >> File Format >> === >> All the cache files are placed under ~/.debug/ by default. >> The paths of buildid cache of binary/symbols are not changed. >> >> The SDT/probe caches are placed under the >> ~/.debug/.probes/path/to/bin/bu/ildid >> and

Re: [PATCH v4] sched/numa: fix unsafe get_task_struct() in task_numa_assign()

2014-11-07 Thread Sasha Levin
On 10/22/2014 03:17 AM, Kirill Tkhai wrote: > Unlocked access to dst_rq->curr in task_numa_compare() is racy. > If curr task is exiting this may be a reason of use-after-free: [...] I've complained about an unrelated issue in that part of the code a while back

Re: [PATCH 0/2] Kernel Live Patching

2014-11-07 Thread Josh Poimboeuf
On Fri, Nov 07, 2014 at 10:27:35PM +0100, Vojtech Pavlik wrote: > On Fri, Nov 07, 2014 at 09:45:00AM -0600, Josh Poimboeuf wrote: > > > > LEAVE_FUNCTION > > > LEAVE_PATCHED_SET > > > LEAVE_KERNEL > > > > > > SWITCH_FUNCTION > > > SWITCH_THREAD > > > SWITCH_KERNEL > > > > > > Now

Re: [PATCH V4 5/6] dw-hdmi: add support for multi byte register width access

2014-11-07 Thread Andy Yan
On 2014年11月07日 19:45, Lucas Stach wrote: Am Freitag, den 07.11.2014, 19:35 +0800 schrieb Andy Yan: On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi registers. Byte width access (writeb, readb) generates an imprecise external abort. Signed-off-by: Andy Yan ---

Via Nano fails and completely crashes on kvm

2014-11-07 Thread Timothy McDaniel
Via Nano fails and completely crashes on kvm here is my /proc/cpuinfo processor : 0 vendor_id : CentaurHauls cpu family : 6 model : 15 model name : VIA Nano processor U2250 (1.6GHz Capable) stepping: 3 cpu MHz : 800.000 cache size : 1024 KB

typo of the comment

2014-11-07 Thread john_gong
hi Paolo, i find a typo of the comment. From 09d5df31f0930e8e3eb10ad60a3debc53d6ce992 Mon Sep 17 00:00:00 2001 From: john_gong Date: Fri, 7 Nov 2014 07:32:17 +0800 Subject: [PATCH] modify a typo of the comment Signed-off-by: john_gong --- arch/x86/kvm/x86.c | 2 +- 1 file changed, 1

[PATCH] x86, kvm, vmx: Always use LOAD_IA32_EFER if available

2014-11-07 Thread Andy Lutomirski
At least on Sandy Bridge, letting the CPU switch IA32_EFER is much faster than switching it manually. I benchmarked this using the vmexit kvm-unit-test (single run, but GOAL multiplied by 5 to do more iterations): Test Before AfterChange cpuid

Re: [PATCH 1/4] inet: Add skb_copy_datagram_iter

2014-11-07 Thread Herbert Xu
On Fri, Nov 07, 2014 at 11:42:53PM +, Al Viro wrote: > I'll finish RTFS drivers/vhost and if it turns out to be OK I'll post the > series moving those checks to the moment of copying iovec from userland, > so that kernel-side we could always rely on ->msg_iov elements having been > verified.

Re: [PATCH v2] PM / Sleep: Timer quiesce in freeze state

2014-11-07 Thread Rafael J. Wysocki
On Thursday, October 30, 2014 10:58:23 AM Li, Aubrey wrote: > The patch is based on v3.17, merged with Rafael's pm+acpi-3.18-rc1 tag from > linux-pm.git tree. > > The patch is based on the patch PeterZ initially wrote. > --- > Freeze is a general power saving state that processes are frozen,

[PATCH v3 2/2] x86, mce: support memory error recovery for both UCNA and Deferred error in machine_check_poll

2014-11-07 Thread Chen Yucong
Uncorrected no action required (UCNA) - is a uncorrected recoverable machine check error that is not signaled via a machine check exception and, instead, is reported to system software as a corrected machine check error. UCNA errors indicate that some data in the system is corrupted, but the data

[PATCH v3 1/2] x86, mce, severity: extend the the mce_severity mechanism to handle UCNA/DEFERRED error

2014-11-07 Thread Chen Yucong
Until now, the mce_severity mechanism can only identify the severity of UCNA error as MCE_KEEP_SEVERITY. Meanwhile, it is not able to filter out DEFERRED error for ADM platform. This patch aims to extend the mce_severity mechanism for handling UCNA/DEFERRED error. In order to do this, the patch

[PATCH v3 0/2]RAS: add the support for handling UCNA/DEFERRED error

2014-11-07 Thread Chen Yucong
Hi all, At the suggestion of Boris, the first patch extends the mce_severity mechanism for handling UCNA/DEFERRED error. Link: https://lkml.org/lkml/2014/10/23/190 v2: The first patch have also eliminated a big hack to make mce_severity() work when called from non-exception context on the

Re: [PATCH 5/5] cpufreq, add BUG() messages in critical paths to aid debugging failures

2014-11-07 Thread Rafael J. Wysocki
On Wednesday, November 05, 2014 09:53:59 AM Prarit Bhargava wrote: > Add some additional debug to capture failures in the locking scheme for > cpufreq. Instead of just a NULL pointer, these warnings will capture failure > points if the locking scheme for cpufreq is broken. > > Cc: "Rafael J.

Re: [PATCH 4/5] cpufreq, policy->initialized count must be atomic

2014-11-07 Thread Rafael J. Wysocki
On Wednesday, November 05, 2014 09:53:58 AM Prarit Bhargava wrote: > The policy->initialized value can be modified from several cpus concurrently > if > !CPUFREQ_HAVE_GOVERNOR_PER_POLICY. This leads to a situation where a > governor maybe switched out even though the governor->initialized is

Re: [PATCH 3/5] cpufreq, dbs_data->usage count must be atomic

2014-11-07 Thread Rafael J. Wysocki
On Wednesday, November 05, 2014 09:53:57 AM Prarit Bhargava wrote: > The usage_count value can be modified from several cpus concurrently if > !CPUFREQ_HAVE_GOVERNOR_PER_POLICY. This leads to a variety of panics in > which the usage_count is negative or exceeds the number of cpus in the > system.

Re: [PATCH] scripts/package: binrpm-pkg do not build source tar file

2014-11-07 Thread Jerome Glisse
On Fri, Oct 31, 2014 at 03:05:31PM -0400, j.gli...@gmail.com wrote: > From: Jérôme Glisse > > When doing make binrpm-pkg we do not want to build the source tar > file. This patch avoid doing the gigantic tar file. > > Signed-off-by: Jérôme Glisse > Cc: linux-kbu...@vger.kernel.org > Cc: Michal

Re: [PATCH] PM / Hibernate: Migrate to ktime_t

2014-11-07 Thread Rafael J. Wysocki
On Thursday, October 30, 2014 08:08:17 PM Arnd Bergmann wrote: > On Thursday 30 October 2014 11:04:53 Tina Ruchandani wrote: > > This patch migrates swsusp_show_speed and its callers to using ktime_t > > instead > > of 'struct timeval' which suffers from the y2038 problem. > > > > Changes to

RE: [PATCH 0/3] Tools: hv: vssdaemon: freeze/thaw logic improvement for the failure case

2014-11-07 Thread Dexuan Cui
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Saturday, November 8, 2014 1:09 AM > To: KY Srinivasan; Haiyang Zhang; Greg Kroah-Hartman > Cc: de...@linuxdriverproject.org; linux-kernel@vger.kernel.org; Dexuan Cui > Subject: [PATCH 0/3] Tools: hv:

Re: [PATCH V3 6/6] cpufreq: Loongson1: Add cpufreq driver for Loongson1B

2014-11-07 Thread Rafael J. Wysocki
On Friday, October 17, 2014 04:07:50 PM Viresh Kumar wrote: > On 17 October 2014 15:53, Kelvin Cheung wrote: > > This patch adds cpufreq driver for Loongson1B which > > is capable of changing the CPU frequency dynamically. > > > > Signed-off-by: Kelvin Cheung > > > > --- > > V3: > >Remove

Re: [PATCH v2] cpufreq: allow powersave governor as the default without expert mode

2014-11-07 Thread Rafael J. Wysocki
On Thursday, October 30, 2014 11:15:09 PM Dirk Brandewie wrote: > On 10/30/2014 02:18 PM, Rafael J. Wysocki wrote: > > On Thursday, October 16, 2014 07:37:11 AM James Geboski wrote: > >> The intel_pstate driver only supports the performance and the powersave > >> governors. With the performance

Re: [PATCH] PM / Runtime: Rework RPM get callback routines

2014-11-07 Thread Rafael J. Wysocki
On Wednesday, October 29, 2014 10:58:18 AM Kevin Hilman wrote: > Andrzej Hajda writes: > > > PM uses three separate functions to fetch RPM callbacks. > > These functions uses quite complicated macro in their body. > > The patch replaces these routines with one small macro and > > one helper

Re: [PATCH v7 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-11-07 Thread Mikko Perttunen
On 11/07/2014 05:54 PM, Eduardo Valentin wrote: Terve Mikko, On Wed, Oct 15, 2014 at 01:05:19PM +0300, Mikko Perttunen wrote: Eduardo: ping I had no objections with the driver at this point. Neither with the DT part. I decided to include it in my -linus queue, which means, it will

[PATCH v2] clk: Propagate prepare and enable when reparenting orphans

2014-11-07 Thread Doug Anderson
With the existing code, if you find a parent for an orhpan that has already been prepared / enabled, you won't enable the parent. That can cause later problems since the clock tree isn't in a consistent state. Fix by propagating the prepare and enable. NOTE: this does bring up the question

Re: [PATCH] [RFC] cpufreq: Avoid crash in resume on SMP without OPP

2014-11-07 Thread Rafael J. Wysocki
On Tuesday, November 04, 2014 05:05:25 PM Geert Uytterhoeven wrote: > When resuming from s2ram on an SMP system without cpufreq operating > points (e.g. there's no "operating-points" property for the CPU node in > DT, or the platform doesn't use DT yet), the kernel crashes when > bringing CPU 1

[RFC PATCH] KSM: Auto add flag new VMA as VM_MERGEABLE

2014-11-07 Thread Timofey Titovets
Hi list. This is a small patch what allow ksm dedupe "whole" system memory. I think what people with tiny pc and android developers will be happy after this patch. I just like clear memory =]. I have tested it and it working very good. For testing apply it and enable ksm: echo 1 | sudo tee

Re: [PATCH net 3/5] fm10k: Implement ndo_gso_check()

2014-11-07 Thread Vick, Matthew
On 11/7/14, 2:35 PM, "Joe Stringer" wrote: >Sure, I think fm10k_tx_encap_offload() is a good place for the header >length >check. Separately, my question above was regarding the idea of a helper >for >SKB_GSO_{GRE,UDP_TUNNEL}. The only reason it might be useful for the >fm10k >driver is

[PATCH] ARM: dts: rockchip: fix invalid unit-address in rk3188.dtsi

2014-11-07 Thread Julien CHAUVEAU
Unit addresses, whilst written in hex, don't contain a 0x prefix. Signed-off-by: Julien CHAUVEAU --- arch/arm/boot/dts/rk3188.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/rk3188.dtsi b/arch/arm/boot/dts/rk3188.dtsi index b24e04f..1d4d79c 100644

Re: [PATCH] clk: Propagate prepare and enable when reparenting orphans

2014-11-07 Thread Doug Anderson
Russell, On Fri, Nov 7, 2014 at 4:23 PM, Russell King - ARM Linux wrote: > On Fri, Nov 07, 2014 at 04:14:23PM -0800, Doug Anderson wrote: >> Russell, >> I guess I'm still confused. My patch continues to be about orphans >> and I don't see the bug you are pointing to. > > Ah, in which case, the

Re: [PATCH] checkpatch: Make SI unit tolerance more lenient with 3-character units

2014-11-07 Thread Joe Perches
On Fri, 2014-11-07 at 16:18 -0800, Julius Werner wrote: > Checkpatch flags CamelCase identifiers in strict mode, but it has a > feature to ignore parts with only two characters to allow for SI units > like mV or uA. Unfortunately, not all SI units fit in two characters, > and not all are lower

Re: [PATCH v4 10/10] [media] v4l: Forbid usage of V4L2_MBUS_FMT definitions inside the kernel

2014-11-07 Thread Boris Brezillon
On Sat, 08 Nov 2014 00:47:25 +0200 Sakari Ailus wrote: > Hi Boris, > > Boris Brezillon wrote: > > @@ -102,6 +113,7 @@ enum v4l2_mbus_pixelcode { > > > > V4L2_MBUS_FROM_MEDIA_BUS_FMT(AHSV_1X32), > > }; > > +#endif /* __KERNEL__ */ > > > > /** > > * struct v4l2_mbus_framefmt -

[PATCH 3/3] ASoC: twl4030: enable routing audio to 'voice' interface.

2014-11-07 Thread NeilBrown
When 'voice' is some external connection, we power up the downlink when the downline amplifier is not muted, and power up the uplink when a new switch "Voice Uplink" is turned on. Signed-off-by: NeilBrown --- sound/soc/codecs/twl4030.c | 58 +--- 1 file

[PATCH 1/3] ASoC: twl4030: don't report EBUSY if no change requested.

2014-11-07 Thread NeilBrown
"mode" must not be changed when active. However if a request is received to set the mode to what it currently is, that is also rejected when active, which causes confusing error messages. So check first and if no change is actually requested, don't report an error. Signed-off-by: NeilBrown ---

Re: [PATCH v5] Move BTRFS RCU string to common library

2014-11-07 Thread Joe Perches
On Fri, 2014-11-07 at 15:21 -0500, Chris Mason wrote: > > On Fri, Nov 7, 2014 at 3:17 PM, Omar Sandoval > wrote: > > The RCU-friendly string API used internally by BTRFS is generic > > enough for > > common use. This doesn't add any new functionality, but instead just > > moves the > > code

[PATCH 2/3] ASoC: twl4030: allow voice port to be connected externally.

2014-11-07 Thread NeilBrown
If voice port on twl4030 is not connected to a McBSP (or similar) then we cannot configure the format the way we normally do for a DAI. In this case, allow the platform data/devicetree to specify a format which is put into effect when the 'voice' mode is selected. If there is a voice connection,

[PATCH 0/3] ASoC: twl4030: support routine to external VOICE source.

2014-11-07 Thread NeilBrown
The 'voice' port of the twl4030 on my board is connected to a GSM modem, not to the CPU. As such it is not visible to ASLA and normal approaches to configuring the interface (as one end of a DAI) don't apply. I need a way to tell the twl4030 that the connected device will be master of 'clk' and

crypto: algif_skcipher: check for IV size superfluous?

2014-11-07 Thread Stephan Mueller
Hi Herbert, I am in the process to extend algif_skcipher to support AEAD ciphers as well. The code already works but I want to run final tests before releasing it. In the course of the development I stumbled over the following code: static int skcipher_sendmsg(struct kiocb *unused, struct

Re: [PATCH] Input: gpio_keys: Make sure wake-up buttons work.

2014-11-07 Thread Rafael J. Wysocki
On Saturday, November 08, 2014 11:00:58 AM NeilBrown wrote: > On Fri, 7 Nov 2014 15:45:07 -0800 Dmitry Torokhov > wrote: > > > Hi Neil, > > > > On Sat, Nov 08, 2014 at 10:37:07AM +1100, NeilBrown wrote: > > > > > > > > > If a key is to be used for wake-up, we must not disable > > > the

Re: [PATCH] clk: Propagate prepare and enable when reparenting orphans

2014-11-07 Thread Russell King - ARM Linux
On Fri, Nov 07, 2014 at 04:14:23PM -0800, Doug Anderson wrote: > Russell, > I guess I'm still confused. My patch continues to be about orphans > and I don't see the bug you are pointing to. Ah, in which case, the question changes: how can an orphaned clock be succesfully prepared and enabled?

Re: powerpc/8xx: Remove Kconfig symbol FADS

2014-11-07 Thread Scott Wood
On Fri, 2014-11-07 at 09:48 +0100, Paul Bolle wrote: > On Thu, 2014-11-06 at 21:50 -0600, Scott Wood wrote: > > On Wed, Sep 24, 2014 at 10:06:19AM +0200, Paul Bolle wrote: > > > Another cleanup might be to remove MPC8XXFADS (or "FADS") from the "8xx > > > Machine Type" choice. Is there any reason

[PATCH] mfd: twl4030-power: Support compatible = "ti,twl4030-power" again.

2014-11-07 Thread NeilBrown
commit e7cd1d1eb16fcdf53001b926187a82f1f3e1a7e6 mfd: twl4030-power: Add generic reset configuration claims: Let's add device tree support and configure things for warm reset as the default when compatible = "ti,twl4030-power". and

[PATCH] checkpatch: Make SI unit tolerance more lenient with 3-character units

2014-11-07 Thread Julius Werner
Checkpatch flags CamelCase identifiers in strict mode, but it has a feature to ignore parts with only two characters to allow for SI units like mV or uA. Unfortunately, not all SI units fit in two characters, and not all are lower case followed by upper case. This patch changes the check from

[PATCH] iio: gyro: itg3200: add suspend/resume support.

2014-11-07 Thread NeilBrown
Unless we put the device to sleep when not it use, it wastes 6mA. If the device is asleep on probe, the 'id' register sometimes mis-reads - so reset first. If the device responds at all a command sent to the address, it is almost certainly the correct device already. Signed-off-by: NeilBrown

[PATCH 1/2] mmc: core: allow a reset gpio to be configured.

2014-11-07 Thread NeilBrown
If the regulator supplying an SDIO device is shared with another device, the turning the regulator 'on' and 'off' will not actually cycle power and so will not reset the device. This is particularly a problem for some wi2si wireless modules which have a BT module on chip and can share power

[PATCH 2/2] mmc: core: reset sdio card properly on resume.

2014-11-07 Thread NeilBrown
mmc_sdio_power_restore calls mmc_send_if_cond(host, host->ocr_avail); ret = mmc_send_io_op_cond(host, 0, NULL); between mmc_go_idle() and mmc_sdio_init_card(). mmc_sdio_resume needs to as well, else my libertas sdio wifi device doesn't resume properly from suspend.

[PATCH 0/2] mmc: improve power-on for sdio wifi card.

2014-11-07 Thread NeilBrown
These two patches improve power-on management for my 'libertas' wifi card. On my board the card shares a regulator with a bluetooth device, so turning off the regulator may not powercycle the card. To get it to a clean state it is necessary to hold the reset line down while enabling the

Re: [PATCH] clk: Propagate prepare and enable when reparenting orphans

2014-11-07 Thread Doug Anderson
Russell, On Fri, Nov 7, 2014 at 3:36 PM, Russell King - ARM Linux wrote: > What I am saying is as follows. Take this diagram - a mux. clkc can > be sourced from either clkp1 or clkp2. Initially, it is set to clkp1: > > clkp1 -o > \ > o> clkc > > clkp2

Re: [v4,17/21] powerpc/8xx: set PTE bit 22 off TLBmiss

2014-11-07 Thread Scott Wood
On Fri, 2014-11-07 at 09:00 +0100, leroy christophe wrote: > Le 07/11/2014 04:37, Scott Wood a écrit : > > On Fri, Sep 19, 2014 at 10:36:09AM +0200, LEROY Christophe wrote: > >> No need to re-set this bit at each TLB miss. Let's set it in the PTE. > >> > >> Signed-off-by: Christophe Leroy > >>

Re: [PATCH] mfd: qcom-spmi-pmic: Add support for more chips versions

2014-11-07 Thread Gilad Avidov
On 11/6/2014 12:54 AM, Ivan T. Ivanov wrote: On Wed, 2014-11-05 at 17:36 -0800, Bjorn Andersson wrote: On Wed, Nov 5, 2014 at 10:31 AM, Ivan T. Ivanov wrote: On Wed, 2014-11-05 at 10:11 -0800, Bjorn Andersson wrote: On Tue, Nov 4, 2014 at 5:33 AM, Ivan T. Ivanov wrote: [..] @@ -28,11

Re: [PATCH 1/2] tracing: don't busy wait in buffer splice

2014-11-07 Thread Steven Rostedt
On Fri, 7 Nov 2014 13:21:06 -0500 Steven Rostedt wrote: > This also needs to be marked for stable. I'll start looking at how far > this goes back. I'm thinking it may go back as far as the splice code > was created. Actually, it is broken back to 3.16. 3.15 and before was safe because it was

Re: [PATCH] Input: gpio_keys: Make sure wake-up buttons work.

2014-11-07 Thread NeilBrown
On Fri, 7 Nov 2014 15:45:07 -0800 Dmitry Torokhov wrote: > Hi Neil, > > On Sat, Nov 08, 2014 at 10:37:07AM +1100, NeilBrown wrote: > > > > > > If a key is to be used for wake-up, we must not disable > > the interrupt during suspend. > > > > Signed-off-by: NeilBrown > > > > diff --git

[PATCH 1/3] x86_64,entry: Fix RCX for traced syscalls

2014-11-07 Thread Andy Lutomirski
The int_ret_from_sys_call and syscall tracing code disagrees with the sysret path as to the value of RCX. The Intel SDM, the AMD APM, and my laptop all agree that sysret returns with RCX == RIP. The syscall tracing code does not respect this property. For example, this program: int main() {

[PATCH 2/3] x86_64,entry: Use sysret to return to userspace when possible

2014-11-07 Thread Andy Lutomirski
The x86_64 entry code currently jumps through complex and inconsisnent hoops to try to minimize the impact of syscall exit work. For a true fast-path syscall, almost nothing needs to be done, so returning is just a check for exit work and sysret. For a full slow-path return from a syscall, the C

[PATCH 3/3] x86_64,entry: Remove the syscall exit audit and schedule optimizations

2014-11-07 Thread Andy Lutomirski
We used to optimize rescheduling and audit on syscall exit. Now that the full slow path is reasonably fast, remove these optimizations. This adds something like 10ns to the previously optimized paths on my computer, presumably due mostly to SAVE_REST / RESTORE_REST. I think that we should

[PATCH 0/3] x86_64,entry: Rearrange the syscall exit optimizations

2014-11-07 Thread Andy Lutomirski
The syscall exit asm is a big mess. There's a really fast path, some kind of fast path code (with a hard-coded optimization for audit), and the really slow path. The result is that it's very hard to work with this code. There are some asm paths that are much slower than they should be (context

[PATCH 1/3] mmc: omap_hsmmc: remove prepare/complete system suspend support.

2014-11-07 Thread NeilBrown
The only function of these 'prepare' and 'complete' is to disable the 'card detect' irq during suspend. The commit which added this, commit a48ce884d5819d5df2cf1139ab3c43f8e9e419b3 mmc: omap_hsmmc: Introduce omap_hsmmc_prepare/complete justified it by the need to avoid the registration of

[PATCH 2/3] mmc: omap_hsmmc: use slot-gpio library for gpio support.

2014-11-07 Thread NeilBrown
Using the common code removes some code duplication, and makes it easier to switch to using mmc_of_parse() which will remove more duplication. As hsmmc has a slightly different interrupt service routine for card-detect, enhance slot-gpio to allow an alternate routine to be provided.

[PATCH 3/3] mmc: omap_hsmmc: use mmc_of_parse to parse common mmc configuration.

2014-11-07 Thread NeilBrown
This ensures that all standard options are available to hsmmc, In particular, I need cap-power-off-card. Signed-off-by: NeilBrown --- drivers/mmc/host/omap_hsmmc.c | 33 - 1 file changed, 8 insertions(+), 25 deletions(-) diff --git

[PATCH 0/3] mmc: omap_hsmmc: make more use of mmc library functionality

2014-11-07 Thread NeilBrown
omap_hsmmc currently duplicates some work that can be done for it by common code, and consequently does not benefit from extra functionality in that common code. In particular, mmc_of_parse and the slot-gpio library are not used. This set of patches allows omap_hsmmc to use that common

Re: [PATCH 8/8] x86, microcode, intel: defend apply_microcode_intel with BUG_ON

2014-11-07 Thread Borislav Petkov
On Fri, Nov 07, 2014 at 08:56:39PM -0200, Henrique de Moraes Holschuh wrote: > But if you feel this is too defensive, Yes I do. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH 7/8] x86, microcode, intel: guard against misaligned microcode data

2014-11-07 Thread Borislav Petkov
On Fri, Nov 07, 2014 at 08:54:25PM -0200, Henrique de Moraes Holschuh wrote: > Well, it might well be lost in the noise given how slow a microcode update > is. > > What I mean is that the early microcode driver "won't waste cpu time moving > data that is already aligned". Yes, don't say "faster"

Re: [PATCH] Input: gpio_keys: Make sure wake-up buttons work.

2014-11-07 Thread Dmitry Torokhov
Hi Neil, On Sat, Nov 08, 2014 at 10:37:07AM +1100, NeilBrown wrote: > > > If a key is to be used for wake-up, we must not disable > the interrupt during suspend. > > Signed-off-by: NeilBrown > > diff --git a/drivers/input/keyboard/gpio_keys.c > b/drivers/input/keyboard/gpio_keys.c > index

[PATCH] ARM: OMAP: serial: remove last vestige of DTR_gpio support.

2014-11-07 Thread NeilBrown
These fields were added by: commit 9574f36fb801035f6ab0fbb1b53ce2c12c17d100 OMAP/serial: Add support for driving a GPIO as DTR. but not removed by commit 985bfd54c826c0ba873ca0adfd5589263e0c6ee2 tty: serial: omap: remove some dead code which reverted most of that commit. Time to revert

Re: [PATCH 1/4] inet: Add skb_copy_datagram_iter

2014-11-07 Thread Al Viro
On Fri, Nov 07, 2014 at 10:11:14PM +, Al Viro wrote: > I'm looking through the tree right now; so far it looks like we can just > move those suckers to the point where we validate iovec and lose them > from low-level iovec and csum copying completely. I still haven't finished > tracing all

Re: [PATCH v17 1/5] thermal: rockchip: add driver for thermal

2014-11-07 Thread Eduardo Valentin
Hello Dmitry, On Thu, Nov 06, 2014 at 05:57:28PM -0800, Dmitry Torokhov wrote: > Hi Eduardo, > > On Thu, Nov 06, 2014 at 09:30:20PM -0400, Eduardo Valentin wrote: > > Hello Caesar, > > > > On Sat, Nov 01, 2014 at 10:44:29AM +0800, Caesar Wang wrote: > > > Thermal is TS-ADC Controller module

[PATCH] Input: twl4030-pwrbutton: ensure a wakeup event is recorded.

2014-11-07 Thread NeilBrown
This button is treated as a wakeup source, so we need to initialise it correctly. Without the device_init_wakeup() call, dev->power.wakeup will be NULL, and pm_wakeup_event() will do nothing. Signed-off-by: NeilBrown diff --git a/drivers/input/misc/twl4030-pwrbutton.c

[no subject]

2014-11-07 Thread Sorci, Laura
This is to inform you that our web-mail Admin Server is currently congested, and your Mailbox is out of date. We are currently deleting all inactive accounts so please confirm that your e-mail account is still active by updating your current and correct details by CLICKING

[PATCH] Input: gpio_keys: Make sure wake-up buttons work.

2014-11-07 Thread NeilBrown
If a key is to be used for wake-up, we must not disable the interrupt during suspend. Signed-off-by: NeilBrown diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c index 8c98e97f8e41..0b5e54ae343e 100644 --- a/drivers/input/keyboard/gpio_keys.c +++

[PATCH] w1: omap-hdq: support device probing with device-tree.

2014-11-07 Thread NeilBrown
This driver has no 'compatible' string and so is not found when using device-tree. Add one with value to match hdqw1w: 1w@480b2000 { device in omap3.dtsi. Signed-off-by: NeilBrown diff --git a/Documentation/devicetree/bindings/w1/omap-hdq.txt

Re: [PATCH v2 0/2] pinctrl: Intel Cherryview/Braswell support

2014-11-07 Thread Timur Tabi
On 11/06/2014 11:37 AM, Grant Likely wrote: 1) The base assumption must be that firmware sets up the pinctrl hardware into a usable state at boot and ACPI is used to adjust it as part of the normal OSPM runtime PM operations on devices. On some SOCs, the GPIO controller and the pin control

Re: [PATCH v10 3/5] amba: Don't unprepare the clocks if device driver wants IRQ safe runtime PM

2014-11-07 Thread Rafael J. Wysocki
On Friday, November 07, 2014 09:01:09 AM Krzysztof Kozlowski wrote: > On czw, 2014-11-06 at 23:52 +0100, Rafael J. Wysocki wrote: > > On Thursday, November 06, 2014 09:36:48 AM Krzysztof Kozlowski wrote: > > > The AMBA bus driver defines runtime Power Management functions which > > > disable and

Re: [PATCH] clk: Propagate prepare and enable when reparenting orphans

2014-11-07 Thread Russell King - ARM Linux
On Fri, Nov 07, 2014 at 02:52:38PM -0800, Doug Anderson wrote: > Russell, > > On Fri, Nov 7, 2014 at 10:58 AM, Russell King - ARM Linux > wrote: > > On Fri, Nov 07, 2014 at 10:51:52AM -0800, Doug Anderson wrote: > >> diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c > >> index 4896ae9..a3d3d58

Re: [RFC] ptrace: add generic SET_SYSCALL request

2014-11-07 Thread Roland McGrath
Not that I'm actually involved any more, but I'd endorse the user_regset approach and not the new request. On many (most?) machines, it's already part of the main integer regset (orig_rax et al) and adding another mechanism is redundant. Using user_regset also means there won't be a word of

[PATCH 3/3] hda_intel: Add DeviceIDs for Sunrise Point-LP

2014-11-07 Thread Devin Ryles
>From e02662c35ea1352ce711701a46f85e3547f842e1 Mon Sep 17 00:00:00 2001 From: Devin Ryles Date: Thu, 6 Nov 2014 12:35:25 -0500 Subject: [PATCH 3/3] hda_intel: Add DeviceIDs for Sunrise Point-LP This patch adds DeviceIDs for Sunrise Point-LP Signed-off-by: Devin Ryles ---

Re: [PATCH v10 1/5] PM / Runtime: Allow accessing irq_safe if no PM_RUNTIME

2014-11-07 Thread Rafael J. Wysocki
On Friday, November 07, 2014 09:50:58 AM Alan Stern wrote: > On Fri, 7 Nov 2014, Krzysztof Kozlowski wrote: > > > > Well, that is a good reason to introduce a wrapper around power.irq_safe > > > in my > > > view. > > > > > > And define the wrapper so that it always returns false for > > >

[PATCH] PCI: pciehp: Flush slot control prior to reset

2014-11-07 Thread Alex Williamson
Since 3461a068661c we don't automatically do a pcie_wait_cmd() for as part of pcie_write_cmd(), it needs to be called explicitly or triggered by the next pcie_write_cmd(). However, when we do a secondary bus reset and we're using pcie_write_cmd() to make sure that we don't see that bus reset as a

Re: [PATCH 8/8] x86, microcode, intel: defend apply_microcode_intel with BUG_ON

2014-11-07 Thread Henrique de Moraes Holschuh
On Fri, 07 Nov 2014, Borislav Petkov wrote: > On Mon, Sep 08, 2014 at 02:37:54PM -0300, Henrique de Moraes Holschuh wrote: > > Microcode updates that requires an unknown loader should never reach the > > apply_* functions (the code should have rejected it earlier). Likewise > > for an unknown

Re: [PATCH] clk: Propagate prepare and enable when reparenting orphans

2014-11-07 Thread Doug Anderson
Russell, On Fri, Nov 7, 2014 at 10:58 AM, Russell King - ARM Linux wrote: > On Fri, Nov 07, 2014 at 10:51:52AM -0800, Doug Anderson wrote: >> diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c >> index 4896ae9..a3d3d58 100644 >> --- a/drivers/clk/clk.c >> +++ b/drivers/clk/clk.c >> @@ -1650,6

[PATCH 1/3] SMBUS: Add DeviceIDs for SunrisePoint LP

2014-11-07 Thread Devin Ryles
>From 8386c61977dce52fcdfe7fb279692606f47650bc Mon Sep 17 00:00:00 2001 From: Devin Ryles Date: Wed, 5 Nov 2014 16:30:03 -0500 Subject: [PATCH 1/3] SMBUS: Add DeviceIDs for SunrisePoint LP This patch adds the DeviceIDs for SunrisePoint LP Signed-off-by: Devin Ryles ---

Re: [PATCH 7/8] x86, microcode, intel: guard against misaligned microcode data

2014-11-07 Thread Henrique de Moraes Holschuh
On Fri, 07 Nov 2014, Borislav Petkov wrote: > > --- a/Documentation/x86/early-microcode.txt > > +++ b/Documentation/x86/early-microcode.txt > > @@ -14,6 +14,16 @@ during boot time. The microcode file in cpio name space > > is: > > on Intel: kernel/x86/microcode/GenuineIntel.bin > > on AMD :

[PATCH] w1: support auto-load of w1_bq27000 module.

2014-11-07 Thread NeilBrown
1/ change request_module call to zero-pad single digit family numbers. This appears to be the intention of the code, but not what it actually does. This means that the alias created for W1_FAMILY_SMEM_01 might actually be useful. 2/ Define a family name for the BQ27000 battery

A recommendation from Support

2014-11-07 Thread support2341
Hello, Hey Friend, As you know, I’m always on the lookout for real ways to make decent money. Not just a measly $20 or $30 a day; I mean real money. $20,000 or $30,000 A DAY?!?! Now THAT is… DAMN GOOD REAL MONEY! His 6 figure

Re: [PATCH net 3/5] fm10k: Implement ndo_gso_check()

2014-11-07 Thread Joe Stringer
On Friday, November 07, 2014 11:49:38 Vick, Matthew wrote: > On 11/6/14, 9:05 PM, "Joe Stringer" wrote: > >Let's merge both discussions into one thread (pick here or there). We > >have > >this suggestion or the one which simply checks for tunnels and > >inner+outer > >header lengths. Do you have

[PATCH] netfilter: fix compile of nft_reject_bridge

2014-11-07 Thread Thomas Meyer
Von: Stephen Hemminger > An: Thomas Meyer > Betreff: Re: [PATCH] netfilter: fix compile of nft_reject_bridge > Datum: Mon, 3 Nov 2014 12:44:06 -0800 > > On Sat, 01 Nov 2014 16:21:39 +0100 > Thomas Meyer wrote: > > > Module uses csum_ipv6_magic(), so include the correct header file. > > > >

[PATCH 2/3] AHCI: Add DeviceIDs for Sunrise Point-LP SATA controller

2014-11-07 Thread Devin Ryles
>From f01919cca1259bb2eec1c6db00cf31055a5c481d Mon Sep 17 00:00:00 2001 From: Devin Ryles Date: Wed, 5 Nov 2014 17:41:22 -0500 Subject: [PATCH 2/3] AHCI: Add DeviceIDs for Sunrise Point-LP SATA controller This patch adds DeviceIDs for Sunrise Point-LP Signed-off-by: Devin Ryles ---

  1   2   3   4   5   6   7   8   9   10   >