Re: [GIT PULL v4 00/21] libnd: non-volatile memory device support

2015-06-03 Thread Dan Williams
On Tue, Jun 2, 2015 at 11:55 PM, Christoph Hellwig wrote: > On Thu, May 28, 2015 at 07:55:47AM -0700, Dan Williams wrote: >> > - stong NAK for the linker wrapping abuse in the test module >> >> This capability has been our single largest generator of bug fixes and >> regression prevention. Pleas

Re: [PATCH 1/2] x86/asm/entry/32: Open-code CLEAR_RREGS. No code changes.

2015-06-03 Thread Ingo Molnar
* Steven Rostedt wrote: > On Tue, 2 Jun 2015 21:04:01 +0200 > Denys Vlasenko wrote: > > > This macro is small, has only four callsites, and one of them is slightly > > different using a conditional parameter. > > > > A few saved lines aren't worth the resulting obfuscation. > > I'm curious

Re: [PATCH 1/3] iio: adc: hi-843x: Holt HI-8435/8436/8437 descrete ADC

2015-06-03 Thread Paul Bolle
Just a nit, that I spotted while scanning for other issues. On Mon, 2015-06-01 at 15:20 +0300, Vladimir Barinov wrote: > --- /dev/null > +++ b/drivers/iio/adc/hi-843x.c > +ssize_t hi843x_debounce_soft_show(struct device *dev, > + struct device_attribute *attr, char *

Re: [PATCH] dmaengine: xgene-dma: Fix "incorrect type in assignement" warnings

2015-06-03 Thread Rameshwar Sahu
On Tue, Jun 2, 2015 at 7:05 PM, Vinod Koul wrote: > > On Tue, Jun 02, 2015 at 02:33:33PM +0530, Rameshwar Prasad Sahu wrote: > > This patch fixes sparse warnings like incorrect type in assignment > > (different base types), cast to restricted __le64. > > > I am appliying this but ideally you shoul

linux-next: build failure after merge of the staging tree

2015-06-03 Thread Stephen Rothwell
Hi Greg, After merging the staging tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/staging/wilc1000/wilc_wfi_cfgoperations.c:681:3: error: too few arguments to function 'cfg80211_disconnected' cfg80211_disconnected(dev, pstrDisconnectNotifInfo->u16reason, pstrD

Re: [PATCH 2/3 v4] Staging: rtl8192u: Remove two useless lines at ieee80211_wep_null

2015-06-03 Thread pmarzo
On mar, 2015-06-02 at 22:40 +0900, Greg KH wrote: > On Tue, Jun 02, 2015 at 03:35:05PM +0200, pmarzo wrote: > > Ok, I will download your staging tree and regenerate patches 1/3 and 2/3 > > with that git tree. That would be v5 1/2 and 2/2 new patches. > > Just one (probably very stupid) question, wh

Re: [RFC][PATCH 1/7] sched: Replace post_schedule with a balance callback list

2015-06-03 Thread Peter Zijlstra
On Wed, Jun 03, 2015 at 10:11:59AM +0530, Kamalesh Babulal wrote: > set_post_schedule() exist for CONFIG_SMP=n case, which was not modified to > queue_push_tasks(). Yeah, already noticed the SMP=n borkage, fixed it after posting the rfc. -- To unsubscribe from this list: send the line "unsubscribe

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

2015-06-03 Thread Johannes Berg
Hi Stephen, all, > Caused by commit c5c77ba18ea6 ("staging: wilc1000: Add SDIO/SPI 802.11 > driver") from the staging tree interacting with commit 80279fb7ba5b > ("cfg80211: properly send NL80211_ATTR_DISCONNECTED_BY_AP in > disconnect") from the net-next tree. I thought I fixed it all, but it lo

[PATCH] CHROMIUM: elants_i2c: Solved previous issue on 3.10 and 3.14.

2015-06-03 Thread james.chen
From: "james.chen" This patch refer 3.10 driver code to solve firmware upgrade issue(Change 266813) and enable noise-immunity(Change 243875). BUG=chrome-os-partner:39373 TEST=Test Elan Touch Screen on cyan project without problems. --- drivers/input/touchscreen/elants_i2c.c | 2287 +

Re: [RFC][PATCH] x86: Cleanup Kconfig

2015-06-03 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Tue, Jun 02, 2015 at 01:35:42PM +0200, Ingo Molnar wrote: > > So I'd rather do it the other way around: move the remaining selects from > > X86_32 > > and X86_64 to the X86 section, and maybe group them by bitness. > > I did !sort, because otherwise the below adva

Re: [PATCH 07/11] staging: rtl8192e: Remove dead code: dig_t::dbg_mode

2015-06-03 Thread Sudip Mukherjee
On Tue, Jun 02, 2015 at 10:48:11PM +0200, Mateusz Kulikowski wrote: > dig_t::dbg_mode is initialized to one value and checked only once in code. > This patch throws it away, and deletes always-true condition. > > Signed-off-by: Mateusz Kulikowski > --- > drivers/staging/rtl8192e/rtl8192e/rtl_dm.

Re: [PATCH 2/2] kprobes/x86: Use 16 bytes for each instruction slot again

2015-06-03 Thread Ingo Molnar
* Masami Hiramatsu wrote: > On 2015/06/02 14:44, Ingo Molnar wrote: > > > > * Masami Hiramatsu wrote: > > > >> On 2015/06/02 2:04, Andy Lutomirski wrote: > >>> On Mon, Jun 1, 2015 at 9:32 AM, Eugene Shatokhin > >>> wrote: > Commit 91e5ed49fca0 ("x86/asm/decoder: Fix and enforce max inst

Re: [RFC][PATCH 3/7] sched: Allow balance callbacks for check_class_changed()

2015-06-03 Thread Peter Zijlstra
On Tue, Jun 02, 2015 at 07:27:19PM +0300, Kirill Tkhai wrote: > > +* task_dead_dl() will cancel our timer if we happen to die while > > +* its still pending. > > task_dead_dl() is called for tasks of deadline class only. So if we do that, > the timer may be executed after final task's dead

Re: [PATCH v4 00/12] MIPS: ath79: Add OF support and DTS for TL-WR1043ND

2015-06-03 Thread Ralf Baechle
Thanks, I replaced the v3 series in my tree with v4. Ralf -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org

Re: [RFC 07/24] x86/thinkpad_acpi: Use arch_nvram_ops methods instead of nvram_read_byte() and nvram_write_byte()

2015-06-03 Thread Finn Thain
On Tue, 2 Jun 2015, Darren Hart wrote: > On Tue, Jun 02, 2015 at 07:09:28AM -0300, Henrique de Moraes Holschuh > wrote: > > Test results were sent to me privately, and they are correct, so... > > > > Finn, unless there is some compelling reason not to - like they are MBs > worth of data, plea

Re: [RFC][PATCH] x86: Cleanup Kconfig

2015-06-03 Thread Ingo Molnar
* Ingo Molnar wrote: > select GENERIC_CLOCKEVENTS_BROADCASTif X86_64 || (X86_32 && > X86_LOCAL_APIC) Btw., could we (in a separate patch) turn this into: > select GENERIC_CLOCKEVENTS_BROADCAST x86 systems without an APIC are rare and rarely tested, we are better off simplify

Re: [PATCH v5 09/21] libnvdimm, nd_pmem: add libnvdimm support to the pmem driver

2015-06-03 Thread Christoph Hellwig
This patch doesn't apply, as it seems to use some git magic. But looking at it it's also wrong in that it mixes a file move and actual changes to the file. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordom

Re: [PATCH v4 1/1] x86_64: fix KASan shadow region page tables

2015-06-03 Thread Ingo Molnar
* Alexander Popov wrote: > #ifdef CONFIG_KASAN > void __init kasan_map_early_shadow(pgd_t *pgd); > +void __init kasan_early_init(void); > void __init kasan_init(void); > #else > static inline void kasan_map_early_shadow(pgd_t *pgd) { } > +static inline void kasan_early_init(void) { } > sta

Re: [PATCH] sbs-battery: add option to always register battery

2015-06-03 Thread Frans Klaver
On Tue, Jun 02, 2015 at 09:50:37PM +0200, Sebastian Reichel wrote: > Hi, > > On Tue, Jun 02, 2015 at 03:14:43PM +0200, Frans Klaver wrote: > > > > In some of these cases you do want to register a battery, even if none > > are attached at the moment. To facilitate this, add a configuration > > opti

Re: [PATCH 1/3] iio: adc: hi-843x: Holt HI-8435/8436/8437 descrete ADC

2015-06-03 Thread Vladimir Barinov
Hi Paul, On 03.06.2015 10:05, Paul Bolle wrote: Just a nit, that I spotted while scanning for other issues. On Mon, 2015-06-01 at 15:20 +0300, Vladimir Barinov wrote: --- /dev/null +++ b/drivers/iio/adc/hi-843x.c +ssize_t hi843x_debounce_soft_show(struct device *dev, +

[PATCH] [PATCH v4] mtd:spi-nor: Add Altera Quad SPI Driver

2015-06-03 Thread vndao
From: VIET NGA DAO Altera Quad SPI Controller is a soft IP which enables access to Altera EPCS, EPCQ and Mircon flash chips. This patch adds driver for these devices. Signed-off-by: VIET NGA DAO --- v4: - Add more flash devices support ( EPCQL and Micron) - Remove redundant messages - Change E

[PATCH v7] perf: __kmod_path__parse: deal with kernel module names in '[]' correctly

2015-06-03 Thread Wang Nan
Before patch ba92732e9808df679ddf75c5ea1c0caae6d7dce2 ('perf kmaps: Check kmaps to make code more robust'), perf report and perf annotate will segfault if trace data contains kernel module information like this: # perf report -D -i ./perf.data ... 0 0 0x188 [0x50]: PERF_RECORD_MMAP -1/0: [0xfff

[PATCH v2 2/2] kprobes/x86: Use 16 bytes for each instruction slot again

2015-06-03 Thread Eugene Shatokhin
Commit 91e5ed49fca0 ("x86/asm/decoder: Fix and enforce max instruction size in the insn decoder") has changed MAX_INSN_SIZE from 16 to 15 bytes on x86. As a side effect, the slots Kprobes use to store the instructions became 1 byte shorter. This is unfortunate because, for example, the Kprobes' "b

[PATCH v9 0/3] x86/earlyprintk: setup serial earlyprintk as early as possible

2015-06-03 Thread Alexander Kuleshov
The early_printk function is usable only after the setup_early_printk will be executed. We pass 'earlyprintk' through the kernel command line. So, it means that earlyprintk will be usable only after the 'parse_early_param' will be executed or in another words earlyprintk is usable only during early

[PATCH v9 1/3] x86/setup: introduce setup_bultin_cmdline

2015-06-03 Thread Alexander Kuleshov
This patch introduces the setup_builtin_cmdline function which appends or overrides boot_command_line with the builtin_cmdline if CONFIG_CMDLINE_BOOL is set. Previously this functional was in the setup_arch, but we need to move it for getting actual command line as early as possible in the arch/x8

[PATCH v9 3/3] x86/earlyprintk: setup earlyprintk as early as possible

2015-06-03 Thread Alexander Kuleshov
The early_printk function is usable only after the setup_early_printk will be executed. We pass 'earlyprintk' through the kernel command line, so it will be usable only after the 'parse_early_param' will be executed. This means that we have usable earlyprintk only during early boot, kernel decompre

[PATCH v9 2/3] x86/setup: handle builtin command line as early as possible

2015-06-03 Thread Alexander Kuleshov
This patch adds the call of the setup_builtin_cmdline to handle builtin command line before we will setup earlyprintk. Signed-off-by: Alexander Kuleshov --- arch/x86/kernel/head32.c | 1 + arch/x86/kernel/head64.c | 2 ++ arch/x86/kernel/setup.c | 1 - 3 files changed, 3 insertions(+), 1 deleti

[RESEND PATCH V4 1/3] input: misc: da9063: OnKey driver

2015-06-03 Thread S Twiss
From: Steve Twiss Add OnKey driver support for DA9063 Signed-off-by: Steve Twiss --- Hi Dmitry, If there are comments pending for this patch or if there are any outstanding issues with this OnKey driver then could you please let me know so I can resolve them? Or, if you are busy or there is

Re: [PATCH 14/15] KVM: MTRR: do not map huage page for non-consistent range

2015-06-03 Thread Paolo Bonzini
On 03/06/2015 04:56, Xiao Guangrong wrote: > > > On 06/01/2015 05:36 PM, Paolo Bonzini wrote: >> >> >> On 30/05/2015 12:59, Xiao Guangrong wrote: >>> Currently guest MTRR is completely prohibited if cache snoop is >>> supported on >>> IOMMU (!noncoherent_dma) and host does the emulation based o

Re: [PATCH 07/15] KVM: MTRR: improve kvm_mtrr_get_guest_memory_type

2015-06-03 Thread Paolo Bonzini
On 03/06/2015 04:12, Xiao Guangrong wrote: >> >> Perhaps just use type = MIN(type, curr_type), which also happens to get >> WT vs. WB right? You can also add a >> >> BUILD_BUG_ON(MTRR_TYPE_WRTHROUGH > MTRR_TYPE_WRBACK); >> >> to ensure that the WT vs. WB precedence is correct. > > Only WT a

[PATCH] advansys: fix compilation errors and warnings when CONFIG_PCI is not set

2015-06-03 Thread Johannes Thumshirn
Fix compilation errors on forgotten #include and warnings when CONFIG_PCI is not set. Reported-by: Jim Davis Signed-off-by: Johannes Thumshirn --- drivers/scsi/advansys.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c i

Re: [PATCH 3/4] mips: make loongsoon serial driver explicitly modular

2015-06-03 Thread Ralf Baechle
On Tue, Jun 02, 2015 at 04:16:07PM -0400, Paul Gortmaker wrote: Bad timing for a Loongson patch - I just applied a patch that moves every file around. I resolved that conflict and applied your patch. Ralf -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

[RFC PATCH] perf: honoring cpuid for number of fixed counters

2015-06-03 Thread Imre Palik
From: "Palik, Imre" perf doesn't seem to honor the number of fixed counters specified by cpuid leaf 0xa. It always assume that intel CPUs have at least 3 fixed counters. So if some of the fixed counters are masked out by the hypervisor, it still tries to check/set them. This is good for testin

Re: [PATCH v4 1/6] mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others

2015-06-03 Thread Sebastian Andrzej Siewior
On 2015-03-25 17:28:24 [+0100], Stefan Agner wrote: > diff --git a/drivers/mtd/nand/vf610_nfc.c b/drivers/mtd/nand/vf610_nfc.c > new file mode 100644 > index 000..23c1510 > --- /dev/null > +++ b/drivers/mtd/nand/vf610_nfc.c … > +static void vf610_nfc_addr_cycle(struct vf610_nfc *nfc, int column

Re: [PATCH v4 2/3] ASoC: qcom: add apq8016 sound card support

2015-06-03 Thread Srinivas Kandagatla
On 02/06/15 20:55, Mark Brown wrote: On Fri, May 22, 2015 at 04:54:07PM +0100, Srinivas Kandagatla wrote: + if (cpu_dai->id == MI2S_QUATERNARY) { + /* Configure the Quat MI2S to TLMM */ + writel(readl(pdata->mic_iomux) | + MIC_CTRL_QUA_W

Re: [PATCH 2/3] of: make CONFIG_OF user selectable

2015-06-03 Thread Pantelis Antoniou
Hi Rob, > On Jun 3, 2015, at 01:46 , Rob Herring wrote: > > With the addition of overlays, it is now plausible to use DT on any arch > and without an arch using it at boot time. It is also desirable to > expand the compile coverage of the DT code. Make CONFIG_OF user > selectable by converting t

Re: [PATCH v4 3/3] dell-laptop: Use dell-rbtn instead i8042 filter when possible

2015-06-03 Thread Pali Rohár
On Tuesday 02 June 2015 20:55:05 Darren Hart wrote: > On Wed, May 27, 2015 at 07:52:13PM -0700, Darren Hart wrote: > > On Wed, May 27, 2015 at 11:28:25PM +0200, Pali Rohár wrote: > > > Until now module dell-laptop registered rfkill device which used i8042 > > > filter function for receiving HW swit

linux-next: build failure after merge of the target-updates tree

2015-06-03 Thread Stephen Rothwell
Hi Nicholas, After merging the target-updates tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/target/target_core_fabric_lib.c: In function 'target_get_pr_transport_id_len': drivers/target/target_core_fabric_lib.c:364:7: error: 'SCSI_PROTOCOL_FCP' undeclared (first

Re: [PATCH RFC] x86, tsc: Allow for high latency in quick_pit_calibrate()

2015-06-03 Thread Adrian Hunter
On 03/06/15 06:30, Andi Kleen wrote: >> Then the changelog should say that I think. The current text says >> "Fast TSC calibration will always fail", which, to me, suggests that >> either the slow calibration will work or that the changelog message >> should be changed. > > Ok. No, the slow calib

Re: bisected regression: qla2xxx endianness on sparc64

2015-06-03 Thread Meelis Roos
On Mon, 10 Nov 2014, Christoph Hellwig wrote: > On Mon, Nov 03, 2014 at 03:09:47PM -0500, Chad Dupuis wrote: > > We should revert that change. What were some of the other failures you were > > seeing? > > Can you please send me the revert ASAP? Since QLogic is still silent on this one, I will se

[Patch 0/2] Add mt6580 basic chip support

2015-06-03 Thread Mars Cheng
This series add support to mediatek's new SoC, mt6580, a 4-core CA7. Only basic I/O, including interrupt, timer & uart. Mars Cheng (2): Document: DT: Add bindings for mediatek MT6580 SoC Platform ARM: dts: mediatek: add mt6580 basic support Documentation/devicetree/bindings/arm/mediatek.txt

[PATCH 1/2] Document: DT: Add bindings for mediatek MT6580 SoC Platform

2015-06-03 Thread Mars Cheng
This adds a DT binding documentation for the MT6580 SoC from Mediatek. Signed-off-by: Mars Cheng --- Documentation/devicetree/bindings/arm/mediatek.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek.txt b/Documentation/devicetree/bindings/

[PATCH 2/2] ARM: dts: mediatek: add mt6580 basic support

2015-06-03 Thread Mars Cheng
This enables mt6580 basic support: interrupt, timer & uart. Signed-off-by: Mars Cheng --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/mt6580-evbp1.dts | 34 ++ arch/arm/boot/dts/mt6580.dtsi | 130 + 3 files changed, 165 insertio

Re: [PATCH v3] arm/mm/dma-mapping.c: Add arm_coherent_dma_mmap

2015-06-03 Thread Mike Looijmans
Ping! Just curious, any further feedback or comment after Arnd Bergmann's ack? It fixes a bug that took quite some time to discover and analyze, we should save other people going through that same trouble. On 07-05-15 14:54, Mike Looijmans wrote: When dma-coherent transfers are enabled, the

[PATCH] intel_irq_remapping: fix a comment error

2015-06-03 Thread xiaofeng.yan
change tabke to take. Signed-off-by: xiaofeng.yan --- drivers/iommu/intel_irq_remapping.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/iommu/intel_irq_remapping.c b/drivers/iommu/intel_irq_remapping.c index 5709ae9..d59f82d 100644 --- a/drivers/iommu/intel_irq_r

Re: [PATCH] intel_irq_remapping: fix a comment error

2015-06-03 Thread Jiang Liu
On 2015/6/3 16:20, xiaofeng.yan wrote: > change tabke to take. > > Signed-off-by: xiaofeng.yan > --- > drivers/iommu/intel_irq_remapping.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/iommu/intel_irq_remapping.c > b/drivers/iommu/intel_irq_remapping.c > in

[PATCH] Avoid conflict with host definitions when cross-compiling

2015-06-03 Thread Pavel Fedin
Certain platforms (e. g. BSD-based ones) define some ELF constants according to host. This patch fixes problems with cross-building Linux kernel on these platforms. Signed-off-by: Pavel Fedin --- scripts/mod/modpost.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/scripts/mod/modpos

Re: [PATCH v2] dmaengine: at_xdmac: rework slave configuration part

2015-06-03 Thread Ludovic Desroches
On Tue, Jun 02, 2015 at 06:52:08PM +0530, Vinod Koul wrote: > On Mon, Jun 01, 2015 at 05:40:48PM +0200, Ludovic Desroches wrote: > > @@ -604,16 +636,18 @@ at_xdmac_prep_slave_sg(struct dma_chan *chan, struct > > scatterlist *sgl, > > return NULL; > > } > > > > +

[RFC PATCH] x86: Kill CONFIG_X86_HT

2015-06-03 Thread Borislav Petkov
From: Borislav Petkov In talking to Aravind recently about making certain AMD topology attributes available to the MCE injection module, it seemed like that CONFIG_X86_HT thing is more or less superfluous. It is def_bool y, depends on SMP and gets enabled in the majority of .configs - distro and

[PATCH 0/6] Memsic MMC35230 magnetometer fixes

2015-06-03 Thread Daniel Baluta
First 5 patches are bugfixes or small enhancements found during tests with a real platform. The last patch adds compensation for raw values allowing proper calibration for Android compass apps. Daniel Baluta (6): iio: magnetometer: mmc35240: i2c device name should be lower case iio: magnetome

[PATCH 2/6] iio: magnetometer: mmc35240: NULL terminate attribute array

2015-06-03 Thread Daniel Baluta
This avoid nasty crashes when registering the IIO device. Fixes: abeb6b1e7b ("iio: magnetometer: Add support for MEMSIC MMC35240") Signed-off-by: Daniel Baluta --- drivers/iio/magnetometer/mmc35240.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/magnetometer/mmc35240.c b/drive

[PATCH 3/6] iio: magnetometer: mmc35240: Fix broken processed value

2015-06-03 Thread Daniel Baluta
The current computation for fractional part of the magnetic field is broken. This patch fixes it by taking a different approach. We expose the raw reading in mili Gauss (to avoid rounding errors) with a scale of 0.001. Thus the final computation is done in userspace where floating point operation

[PATCH 5/6] iio: magnetometer: mmc35240: Fix sensitivity on z-axis

2015-06-03 Thread Daniel Baluta
Datasheet says (Page 2) that typical value for sensitivity for 16 bits mode on Z-axis is 770. Anyhow, looking at the input driver provided by Memsic the value for MMC35240 is 1024. Also, testing shows that using 1024 for Z-axis senzitivity offers better results. Fixes: abeb6b1e7b ("iio: magnetome

Re: [RFC][PATCH 1/7] sched: Replace post_schedule with a balance callback list

2015-06-03 Thread pang . xunlei
Hi Peter, This may increase the overhead of schedule() a bit, as it will have more work to do. check_class_changed(): if (prev_class->switched_from) prev_class->switched_from(rq, p); /* Possble rq->lock 'hole'. */ p->sched_class->s

[PATCH 6/6] iio: magnetometer: mmc35240: Add compensation for raw values

2015-06-03 Thread Daniel Baluta
This patch adds compensation formula to raw readings, borrowed from Memsic's input driver. Signed-off-by: Daniel Baluta --- drivers/iio/magnetometer/mmc35240.c | 62 ++--- 1 file changed, 58 insertions(+), 4 deletions(-) diff --git a/drivers/iio/magnetometer/mmc3

[PATCH 1/6] iio: magnetometer: mmc35240: i2c device name should be lower case

2015-06-03 Thread Daniel Baluta
This is the standard convention for i2c device name and also this is the name used in some Intel platforms DT files. Fixes: abeb6b1e7b ("iio: magnetometer: Add support for MEMSIC MMC35240") Signed-off-by: Daniel Baluta --- drivers/iio/magnetometer/mmc35240.c | 2 +- 1 file changed, 1 insertion(+

[PATCH 4/6] iio: magnetometer: mmc35240: Use a smaller sleep value

2015-06-03 Thread Daniel Baluta
According to datasheet, Page 8, minimum wait time to complete measurement is 10ms. Adjusting this value will increase the userspace polling rate. Fixes: abeb6b1e7b ("iio: magnetometer: Add support for MEMSIC MMC35240") Signed-off-by: Daniel Baluta --- drivers/iio/magnetometer/mmc35240.c | 3 ++-

[RFC PATCH] mmc: core: Optimize case for exactly one erase-group budget TRIM

2015-06-03 Thread David Jander
In the (not so unlikely) case that the mmc controller timeout budget is enough for exactly one erase-group, the simplification of allowing one sector has an enormous performance penalty. We optimize this special case by introducing a flag that prohibits erase-group boundary crossing, so that we can

Re: [RFC PATCH] perf: honoring cpuid for number of fixed counters

2015-06-03 Thread Peter Zijlstra
On Wed, Jun 03, 2015 at 10:03:48AM +0200, Imre Palik wrote: > From: "Palik, Imre" > > perf doesn't seem to honor the number of fixed counters specified by cpuid > leaf 0xa. It always assume that intel CPUs have at least 3 fixed counters. > > So if some of the fixed counters are masked out by th

Re: [PATCH v4 1/1] x86_64: fix KASan shadow region page tables

2015-06-03 Thread Alexander Popov
On 03.06.2015 10:44, Ingo Molnar wrote: > > * Alexander Popov wrote: >> +kasan_early_init(); >> +kasan_map_early_shadow(early_level4_pgt); > > So why isn't kasan_map_early_shadow() called in kasan_early_init()? > > High level x86 init code should not be polluted with too many low level

Apply for wonga intant loan

2015-06-03 Thread WONGA LOANS TEAM
DO YOU NEED A LOAN Wongaexpres loans sa.pdf Description: Adobe PDF document

Re: [Linaro-mm-sig] [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-06-03 Thread Russell King - ARM Linux
On Wed, Jun 03, 2015 at 08:39:55AM +0200, Hans Verkuil wrote: > Hi Sumit, > > On 05/05/2015 04:41 PM, Sumit Semwal wrote: > > Hi Russell, everyone, > > > > First up, sincere apologies for being awol for sometime; had some > > personal / medical things to take care of, and then I thought I'd wait

Re: [PATCH 6/6] iio: magnetometer: mmc35240: Add compensation for raw values

2015-06-03 Thread Peter Meerwald
On Wed, 3 Jun 2015, Daniel Baluta wrote: > This patch adds compensation formula to raw readings, borrowed > from Memsic's input driver. > > Signed-off-by: Daniel Baluta > --- > drivers/iio/magnetometer/mmc35240.c | 62 > ++--- > 1 file changed, 58 insertions(+),

Re: [PATCH 3/6] iio: magnetometer: mmc35240: Fix broken processed value

2015-06-03 Thread Peter Meerwald
On Wed, 3 Jun 2015, Daniel Baluta wrote: > The current computation for fractional part of the magnetic > field is broken. This patch fixes it by taking a different > approach. We expose the raw reading in mili Gauss (to avoid > rounding errors) with a scale of 0.001. milli comments below > > T

[PATCH] power_supply: rt9455_charger: Check if CONFIG_USB_PHY is enabled

2015-06-03 Thread Anda-Maria Nicolae
If CONFIG_USB_PHY is not enabled, struct notifier_block is not defined and compilation fails. Therefore, the functions that process USB event notifications are defined only if CONFIG_USB_PHY is enabled. There is no need to define these functions if CONFIG_USB_PHY is not enabled, since no USB notifi

Re: [Patch v4 5/8] ARM64/PCI/ACPI: Introduce struct pci_controller for ACPI

2015-06-03 Thread Hanjun Guo
On 2015年06月02日 17:35, Lorenzo Pieralisi wrote: On Tue, Jun 02, 2015 at 07:12:53AM +0100, Jiang Liu wrote: From: Hanjun Guo ARM64 ACPI based PCI host bridge init needs a arch dependent struct pci_controller to accommodate common PCI host bridge code which is introduced later, or it will lead to

Re: [PATCH v4 1/1] x86_64: fix KASan shadow region page tables

2015-06-03 Thread Andrey Ryabinin
On 06/03/2015 10:44 AM, Ingo Molnar wrote: > > * Alexander Popov wrote: > >> #ifdef CONFIG_KASAN >> void __init kasan_map_early_shadow(pgd_t *pgd); >> +void __init kasan_early_init(void); >> void __init kasan_init(void); >> #else >> static inline void kasan_map_early_shadow(pgd_t *pgd) { }

Re: [PATCH V5 12/13] selftests, powerpc: Add thread based stress test for DSCR sysfs interfaces

2015-06-03 Thread Anshuman Khandual
On 05/21/2015 12:13 PM, Anshuman Khandual wrote: > This patch adds a test to update the system wide DSCR value repeatedly > and then verifies that any thread on any given CPU on the system must > be able to see the same DSCR value whether its is being read through > the problem state based SPR or t

Re: [PATCH v7] perf: __kmod_path__parse: deal with kernel module names in '[]' correctly

2015-06-03 Thread Jiri Olsa
On Wed, Jun 03, 2015 at 07:49:23AM +, Wang Nan wrote: SNIP > diff --git a/tools/perf/util/dso.c b/tools/perf/util/dso.c > index b335db3..87f5796 100644 > --- a/tools/perf/util/dso.c > +++ b/tools/perf/util/dso.c > @@ -166,12 +166,28 @@ bool is_supported_compression(const char *ext) > re

Re: [PATCH] HID: i2c-hid: Do not set the ACPI companion field in the HID device

2015-06-03 Thread Jiri Kosina
On Tue, 2 Jun 2015, Andrew Duggan wrote: > The HID device does not need to know about the ACPI device associated with > the underlying i2c device. Setting the ACPI companion field in the HID device > also has the side effect of causing HID to be set as wake capable, since > acpi_bind_one uses's th

[PATCH v2] Intel_irq_remapping: fix a comment error

2015-06-03 Thread xiaofeng.yan
change tabke to take. Signed-off-by: xiaofeng.yan Reviewed-by: Jiang Liu --- drivers/iommu/intel_irq_remapping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/intel_irq_remapping.c b/drivers/iommu/intel_irq_remapping.c index 5709ae9..85676d0 100644 --- a/dri

linux-next: manual merge of the userns tree with the block tree

2015-06-03 Thread Stephen Rothwell
Hi Eric, Today's linux-next merge of the userns tree got a conflict in include/linux/fs.h between commit 89e9b9e07a39 ("writeback: add {CONFIG|BDI_CAP|FS}_CGROUP_WRITEBACK") from the block tree and commit 1b852bceb0d1 ("mnt: Refactor the logic for mounting sysfs and proc in a user namespace") from

Re: [PATCH 1/3] MIPS: prepare for user enabling of CONFIG_OF

2015-06-03 Thread Ralf Baechle
On Tue, Jun 02, 2015 at 05:46:42PM -0500, Rob Herring wrote: > In preparation to allow users to enable DeviceTree without arch or > machine selecting it, we need to fix build errors on MIPS. When > CONFIG_OF is enabled, device_tree_init cannot be resolved. This is > trivially fixed by using CONFIG

Re: [PATCH] of: clean-up unnecessary libfdt include paths

2015-06-03 Thread Ralf Baechle
On Wed, Jun 03, 2015 at 12:10:25AM -0500, Rob Herring wrote: > Date: Wed, 3 Jun 2015 00:10:25 -0500 > From: Rob Herring > To: devicet...@vger.kernel.org, linux-kernel@vger.kernel.org > Cc: Grant Likely , Rob Herring , > Ralf Baechle , Benjamin Herrenschmidt > , Paul Mackerras , Michael > Ell

Re: [PATCH v4 6/8] mfd: cros_ec: Support multiple EC in a system

2015-06-03 Thread Lee Jones
On Tue, 02 Jun 2015, Javier Martinez Canillas wrote: > From: Gwendal Grignou > > Chromebooks can have more than one Embedded Controller so the > cros_ec device id has to be incremented for each EC registered. > > Add code to handle multiple EC. First ec found is cros-ec0, > second cros-ec1 and

[PATCH tip] perf tools: Fix a compiling problem

2015-06-03 Thread Wang Nan
Commit 4bb11d012ab248d0e383008d725be0d26a74fac2 ("perf tools: Add dso__data_get/put_fd()") has a problem: it uses a undefined variable 'dso' in find_proc_info(), which should be 'map->dso'. The buggy code piece is not compiled if NO_LIBUNWIND_DEBUG_FRAME is not set. Signed-off-by: Wang Nan --- t

Re: [RFC][PATCH 1/7] sched: Replace post_schedule with a balance callback list

2015-06-03 Thread Peter Zijlstra
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? On Wed, Jun 03, 2015 at 04:24:05PM +0800, pang.xun...@zte.com.cn wrote: > Hi Peter, > > This may increase the overhead of sch

Re: [PATCH v2] iio: light: Add support for ROHM RPR0521 sensor

2015-06-03 Thread Daniel Baluta
On Thu, May 28, 2015 at 5:17 PM, Daniel Baluta wrote: > > >>> >> +static const struct iio_chan_spec rpr0521_channels[] = { >>> >> + { >>> >> + .type = IIO_INTENSITY, >>> >> + .modified = 1, >>> >> + .address = RPR0521_CHAN_ALS_DATA0, >>> >> + .c

[PATCH v8] perf: __kmod_path__parse: deal with kernel module names in '[]' correctly

2015-06-03 Thread Wang Nan
Before patch ba92732e9808df679ddf75c5ea1c0caae6d7dce2 ('perf kmaps: Check kmaps to make code more robust'), perf report and perf annotate will segfault if trace data contains kernel module information like this: # perf report -D -i ./perf.data ... 0 0 0x188 [0x50]: PERF_RECORD_MMAP -1/0: [0xfff

Re: [PATCH V2 7/9] x86, amd: Factor out number of nodes calculation

2015-06-03 Thread Borislav Petkov
On Tue, Jun 02, 2015 at 03:36:00PM -0500, Aravind Gopalakrishnan wrote: > Factoring out number of nodes calculation out of amd_get_topology() > and saving the value in a static variable. > > A later patch will introduce a accessor for this value so we > can use the information elsewhere in EDAC. T

[PATCH v4 0/6] i2c: at91: add support to FIFOs and alternative command

2015-06-03 Thread Cyrille Pitchen
ChangeLog v4: - replace 0x%x by %#x when printing I2C controller version - change the order of patches: the race condition bug fix becomes the first patch so it be can more easily applied to older kernels. v3: - fix braces {} coding style issue - split the alternative command patch into 2 patch

Re: [PATCH TRIVIAL] scripts/kconfig/Makefile: Cosmetic fixes

2015-06-03 Thread Michal Marek
On 2015-05-31 19:35, Diego Viola wrote: > Signed-off-by: Diego Viola > --- > scripts/kconfig/Makefile | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) Applied to kbuild.git#kconfig. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH v3] arm/mm/dma-mapping.c: Add arm_coherent_dma_mmap

2015-06-03 Thread Arnd Bergmann
On Wednesday 03 June 2015 09:52:09 Mike Looijmans wrote: > Ping! > > Just curious, any further feedback or comment after Arnd Bergmann's ack? > > It fixes a bug that took quite some time to discover and analyze, we should > save other people going through that same trouble. > Hi Mike, please

Re: [PATCH_V3 0/2] mtd: nand: jz4780: Add nand and bch driver

2015-06-03 Thread Richard Weinberger
Zubair, On Wed, Apr 1, 2015 at 11:30 AM, Zubair Lutfullah Kakakhel wrote: > NEMC is going via greg-kh. They went through greg's char-misc-testing and > just got applied here. > > https://git.kernel.org/cgit/linux/kernel/git/gregkh/char-misc.git/log/?h=char-misc-next > > Do you think that can work

[PATCH v4 1/6] i2c: at91: fix a race condition when using the DMA controller

2015-06-03 Thread Cyrille Pitchen
For TX transactions, the TXCOMP bit in the Status Register is cleared when the first data is written into the Transmit Holding Register. In the lines from at91_do_twi_transfer(): at91_twi_write_data_dma(dev); at91_twi_write(dev, AT91_TWI_IER, AT91_TWI_TXCOMP); the TXCOMP interrupt may be enabled

[PATCH v4 2/6] i2c: at91: use BIT() macro to define register bits

2015-06-03 Thread Cyrille Pitchen
This patch just fixes typo before applying later patches which will use register bits with index above 16. Signed-off-by: Cyrille Pitchen --- drivers/i2c/busses/i2c-at91.c | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/drivers/i2c/busses/i2c-a

Re: [RFC][PATCH 4/4] time: Do leapsecond adjustment in gettime fastpaths

2015-06-03 Thread Ingo Molnar
* John Stultz wrote: > > Instead of having these super rare special events, how about implementing > > leap > > second smearing instead? That's far less radical and a lot easier to test > > as > > well, as it's a continuous mechanism. It will also confuse user-space a lot > > less, because

[PATCH v4 4/6] i2c: at91: add support for new alternative command mode

2015-06-03 Thread Cyrille Pitchen
The alternative command mode was introduced to simplify the transmission of STOP conditions and to solve timing and latency issues around them. This mode relies on a new register, the Alternative Command Register, which must be set at the same time as the Master Mode Register. This new register wa

[PATCH v4 3/6] i2c: at91: update documentation for DT bindings

2015-06-03 Thread Cyrille Pitchen
add a new value "atmel,at91sama5d2-i2c" for the "compatible" property. add a new optional property "atmel,fifo-size" to enable FIFO support when available. add missing optional properties "dmas" and "dma-names". Signed-off-by: Cyrille Pitchen --- Documentation/devicetree/bindings/i2c/i2c-at91.tx

[PATCH v4 5/6] i2c: at91: print hardware version

2015-06-03 Thread Cyrille Pitchen
The probe() function now prints the hardware version of the I2C controller. Signed-off-by: Cyrille Pitchen --- drivers/i2c/busses/i2c-at91.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index 67b4f15..cbe6684 100644 --- a/d

[PATCH v4 6/6] i2c: at91: add support to FIFOs

2015-06-03 Thread Cyrille Pitchen
When FIFOs are available and enabled, the driver now configures the Atmel eXtended DMA Controller to perform word accesses instead of byte accesses when possible. The actual access width depends on the size of the buffer to transmit. To enable FIFO support the "atmel,fifo-size" property must be se

Re: [PATCH v8] perf: __kmod_path__parse: deal with kernel module names in '[]' correctly

2015-06-03 Thread Jiri Olsa
On Wed, Jun 03, 2015 at 08:52:21AM +, Wang Nan wrote: > Before patch ba92732e9808df679ddf75c5ea1c0caae6d7dce2 ('perf kmaps: > Check kmaps to make code more robust'), perf report and perf annotate > will segfault if trace data contains kernel module information like > this: Acked-by: Jiri Olsa

Re: [PATCH] compaction: fix isolate_migratepages_block() for THP=n

2015-06-03 Thread Vlastimil Babka
On 04/29/2015 12:44 AM, Kirill A. Shutemov wrote: >>> >>> I wrote this to fix bug I originally attributed to refcounting patchset, >>> but Sasha triggered the same bug on -next without the patchset applied: >>> >>> http://lkml.kernel.org/g/553eb993.7030...@oracle.com >> >> Well why the heck didn't

linux-next: manual merge of the init tree with the arm tree

2015-06-03 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the init tree got a conflict in arch/arm/mach-hisi/headsmp.S between commit 02b4e2756e01 ("ARM: v7 setup function should invalidate L1 cache") from the arm tree and commit 43e92446f1d2 ("arm/mach-hisi: remove legacy __CPUINIT section that crept in") from the in

linux-next: manual merge of the init tree with the arm tree

2015-06-03 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the init tree got a conflict in arch/arm/mach-keystone/platsmp.c between commit 7517021b8a32 ("ARM: redo TTBR setup code for LPAE") from the arm tree and commit 5639d871ecb2 ("arm/mach-keystone: remove legacy __cpuinit sections that crept in") from the init tre

Re: [PATCH 2/2] lib: Limit strnlen_user() return value to count + 1

2015-06-03 Thread Jan Kara
On Tue 02-06-15 10:08:11, Linus Torvalds wrote: > On Tue, Jun 2, 2015 at 8:10 AM, Jan Kara wrote: > > Currently strnlen_user() can return numbers between 0 and > > count + sizeof(unsigned long) - 1. > > This is explicitly documented in the comment at the top of the function. The comment is: *

Re: [PATCH V2] x86: Allow built-in command line to work in early kernel init

2015-06-03 Thread Ingo Molnar
* Matthew Garrett wrote: > >> + while (c) { > >> + set_fs(new_cmdline_ptr >> 4); > >> + wrfs8(c, nptr++); > >> + set_fs(cmdline_ptr >> 4); > >> + c = rdfs8(cptr++); > >> + } > >> +

Re: [PATCH v9 1/3] x86/setup: introduce setup_bultin_cmdline

2015-06-03 Thread Andy Shevchenko
On Wed, 2015-06-03 at 13:55 +0600, Alexander Kuleshov wrote: > This patch introduces the setup_builtin_cmdline function which appends or > overrides boot_command_line with the builtin_cmdline if CONFIG_CMDLINE_BOOL > is set. > Previously this functional was in the setup_arch, but we need to move >

[tip:x86/core] x86/kconfig: Reorganize arch feature Kconfig select's

2015-06-03 Thread tip-bot for Ingo Molnar
Commit-ID: 6471b825c41e6fc3cd41caa18d15142d0e121e76 Gitweb: http://git.kernel.org/tip/6471b825c41e6fc3cd41caa18d15142d0e121e76 Author: Ingo Molnar AuthorDate: Wed, 3 Jun 2015 10:00:13 +0200 Committer: Ingo Molnar CommitDate: Wed, 3 Jun 2015 10:08:52 +0200 x86/kconfig: Reorganize arch f

[CFP] Reminder: Linux Security Summit 2015 CFP closes this Friday 5th June

2015-06-03 Thread James Morris
Just a reminder to folk who've done interesting things in Linux security this year, the CFP for LSS 2015 is open until this Friday, 5th June. See the following link for details: http://kernsec.org/wiki/index.php/Linux_Security_Summit_2015 This is not just for kernel developers, or even developer

  1   2   3   4   5   6   7   8   9   10   >