United Nations Secretary General for Humanitarian Affairs

2015-06-10 Thread U / N
Please read the attached letter and immediately contact the bank for your draft/cheque claim. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus United Nations Compensation Unit.pdf Description: Adobe PDF document

RFC: futex_wait() can DoS the tick

2015-06-10 Thread Mike Galbraith
Greetings, Like so... #include time.h #include sys/time.h #include linux/futex.h #include sys/syscall.h int sys_futex(void *addr1, int op, int val1, struct timespec *timeout, void *addr2, int val3) { return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); } int main() {

Re: Audio crackles with 4.1-rc1

2015-06-10 Thread Takashi Iwai
At Wed, 10 Jun 2015 14:33:42 +0200, Takashi Iwai wrote: At Wed, 10 Jun 2015 14:45:51 +0300, Mihai Donțu wrote: On Wed, 10 Jun 2015 12:50:22 +0200 Takashi Iwai wrote: At Wed, 10 Jun 2015 13:41:35 +0300, Mihai Donțu wrote: On Wed, 10 Jun 2015 12:22:53 +0200 Takashi Iwai wrote:

[PATCH 0/2] perf tools: A couple more Intel PT patches

2015-06-10 Thread Adrian Hunter
Hi Here are a couple more patches for Intel PT. They apply on top of the patches already sent. The whole lot can be found here: http://git.infradead.org/users/ahunter/linux-perf.git Adrian Hunter (2): perf tools: Improve Intel PT sync to sideband events perf tools: Fix

Re: [PATCH] MIPS: KVM: do not sign extend on unsigned MMIO load

2015-06-10 Thread Jiri Slaby
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 06/08/2015, 10:33 AM, James Hogan wrote: Hi stable folk, On 08/05/15 15:16, James Hogan wrote: On 07/05/15 13:47, Nicholas Mc Guire wrote: Fix possible unintended sign extension in unsigned MMIO loads by casting to uint16_t in the case of

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

2015-06-10 Thread Wolfram Sang
On Tue, Jun 09, 2015 at 06:22:13PM +0200, Cyrille Pitchen wrote: ChangeLog v6: - replace at91sama5d2 by sama5d2. v5: - print I2C controller version in an already existing dev_info() instead of adding a new one. v4: - replace 0x%x by %#x when printing I2C controller version -

Re: [PATCH] HSI: nokia-modem: use flags argument of devm_gpiod_get to set direction

2015-06-10 Thread Linus Walleij
On Mon, Jun 8, 2015 at 11:53 AM, Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions) which appeared in v3.17-rc1, the gpiod_get* functions take an additional parameter that allows to specify direction and initial value

[PATCH RFC] drm/i2c: tda998x: dead-code or unhandled error condition ?

2015-06-10 Thread Nicholas Mc Guire
-20150610) drivers/gpu/drm/i2c/tda998x_drv.c |4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c index fe1599d..d489a6e 100644 --- a/drivers/gpu/drm/i2c/tda998x_drv.c +++ b/drivers/gpu/drm/i2c/tda998x_drv.c @@ -1065,10

[PATCH] gpio / ACPI: Return -EPROBE_DEFER if the gpiochip was not found

2015-06-10 Thread Mika Westerberg
If a driver requests a GPIO described in its _CRS but the GPIO host controller (gpiochip) driver providing the GPIO has not been loaded yet acpi_get_gpiod() returns -ENODEV which causes the calling driver to fail. If the gpiochip driver is loaded afterwards the driver requesting the GPIO will not

[PATCH 1/1] irqchip: exynos-combiner: Save IRQ enable set on suspend

2015-06-10 Thread Javier Martinez Canillas
The Exynos interrupt combiner IP looses its state when the SoC enters into a low power state during a Suspend-to-RAM. This means that if a IRQ is used as a source, the interrupts for the devices are disabled when the system is resumed from a sleep state so are not triggered. Save the interrupt

[PATCH] cpufreq, Fix overflow in busy_scaled due to long delay

2015-06-10 Thread Prarit Bhargava
I looked into switching to div64_s64() instead of the 32-bit version in div_fp(), however, this would result in sample_ratio and core_busy returning 0 which is something we don't want. P. ---8--- The kernel may delay interrupts for a long time which can result in timers being delayed. If this

[PATCH v5 04/10] x86/asm/crypto: Fix asmvalidate warnings for aesni-intel_asm.S

2015-06-10 Thread Josh Poimboeuf
Fix the following asmvalidate warnings: asmvalidate: arch/x86/crypto/aesni-intel_asm.o: aesni_set_key(): missing FP_SAVE/RESTORE macros asmvalidate: arch/x86/crypto/aesni-intel_asm.o: aesni_enc(): missing FP_SAVE/RESTORE macros asmvalidate: arch/x86/crypto/aesni-intel_asm.o:

[PATCH v5 00/10] x86/asm: Compile-time asm code validation

2015-06-10 Thread Josh Poimboeuf
The previous version of this patch set was named Compile-time stack frame pointer validation. I changed the subject from frame pointer validation to asm code validation because the focus of the patch set has changed to be less frame pointer-focused and more asm-focused. I also renamed the tool

[PATCH v5 07/10] x86/asm/acpi: Fix asmvalidate warnings for wakeup_64.S

2015-06-10 Thread Josh Poimboeuf
Fix the following asmvalidate warnings: asmvalidate: arch/x86/kernel/acpi/wakeup_64.o: wakeup_long64()+0x15: unsupported jump to outside of function asmvalidate: arch/x86/kernel/acpi/wakeup_64.o: wakeup_long64()+0x55: unsupported jump to outside of function asmvalidate:

[PATCH v5 01/10] x86/asm: Add FP_SAVE/RESTORE frame pointer macros

2015-06-10 Thread Josh Poimboeuf
Add the FP_SAVE and FP_RESTORE asm macros, which can be used to save and restore the frame pointer. Signed-off-by: Josh Poimboeuf jpoim...@redhat.com --- arch/x86/include/asm/func.h | 24 1 file changed, 24 insertions(+) create mode 100644 arch/x86/include/asm/func.h

Re: [PATCH v5 00/10] x86/asm: Compile-time asm code validation

2015-06-10 Thread Josh Poimboeuf
On Wed, Jun 10, 2015 at 07:06:08AM -0500, Josh Poimboeuf wrote: There are still a lot of outstanding warnings (which I'll paste as a reply to this email). Once those are all cleaned up, we can change the warnings to build errors and change the default to CONFIG_ASM_VALIDATION=y so the asm

Re: [Cluster-devel] [PATCH] dlm: remove unnecessary error check

2015-06-10 Thread Bob Peterson
- Original Message - Bob Peterson wrote: - Original Message - Hi Bob, Bob Peterson wrote: - Original Message - We don't need the redundant logic since send_message always returns 0. Signed-off-by: Guoqing Jiang gqji...@suse.com

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

2015-06-10 Thread Frans Klaver
Commit a22b41a31e53 (sbs-battery: Probe should try talking to the device) introduced a step in probing the SBS battery, that tries to talk to the device before actually registering it, saying: this driver doesn't actually try talking to the device at probe time, so if it's incorrectly

Re: [PATCH 11/15] pinctrl: kill off set_irq_flags usage

2015-06-10 Thread Linus Walleij
On Tue, Jun 9, 2015 at 8:26 PM, Rob Herring r...@kernel.org wrote: set_irq_flags is ARM specific with custom flags which have genirq equivalents. Convert drivers to use the genirq interfaces directly, so we can kill off set_irq_flags. The translation of flags is as follows: IRQF_VALID -

Re: [PATCH v5 2/7] mmc: mediatek: Add Mediatek MMC driver

2015-06-10 Thread Ulf Hansson
[...] +static int msdc_drv_probe(struct platform_device *pdev) +{ + struct mmc_host *mmc; + struct msdc_host *host; + struct resource *res; + int ret; + + if (!pdev-dev.of_node) { + dev_err(pdev-dev, No DT found\n); + return

Re: [PATCH v5 1/7] mmc: dt-bindings: add Mediatek MMC bindings

2015-06-10 Thread Ulf Hansson
On 10 June 2015 at 04:24, Chaotian Jing chaotian.j...@mediatek.com wrote: Document the device-tree binding of Mediatek MMC host Signed-off-by: Chaotian Jing chaotian.j...@mediatek.com --- Documentation/devicetree/bindings/mmc/mtk-sd.txt | 32 1 file changed, 32

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

2015-06-10 Thread Sergei Shtylyov
Hello. On 6/10/2015 11:05 AM, Ludovic Desroches wrote: The probe() function now prints the hardware version of the I2C controller. Signed-off-by: Cyrille Pitchen cyrille.pitc...@atmel.com --- drivers/i2c/busses/i2c-at91.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff

[PATCH] ipmi: Convert the IPMI SI ACPI handling to a platform device

2015-06-10 Thread minyard
From: Corey Minyard cminy...@mvista.com The IPMI SI driver was using direct PNP, but that was not really ideal because the IPMI device is a platform device. There was some special handling in the acpi_pnp.c code for making this work, but that was breaking ACPI handling for the IPMI SSIF driver.

[PATCH 2/2] perf tools: Fix Intel PT getting stuck in a loop

2015-06-10 Thread Adrian Hunter
Check for being stuck in a loop. That can happen if a decoder error results in the decoder erroneously setting the ip to an address that is itself in an infinite loop that consumes no packets. The only way to be in a loop that consumes no packets is if it consists of unconditional branches. So

[PATCH 1/2] perf tools: Improve Intel PT sync to sideband events

2015-06-10 Thread Adrian Hunter
To help synchronize trace data with sideband events the timestamp when returning to userspace is estimated. That was not always being done if switch information was not available, but it is still useful for sync'ing to mmap changes, so simplify by doing it always when TSC is available. Also add

Re: [PATCH v5 00/10] x86/asm: Compile-time asm code validation

2015-06-10 Thread Andi Kleen
2. Each callable function must never leave its own bounds (i.e. with a jump to outside the function) except when returning. That prevents a lot of optimizations with out of line code. In fact even gcc with the right options can generate code that violates this. Standard Linux

Re: [PATCH 0/3] TLB flush multiple pages per IPI v5

2015-06-10 Thread Andi Kleen
On Tue, Jun 09, 2015 at 02:54:01PM -0700, Linus Torvalds wrote: On Tue, Jun 9, 2015 at 2:14 PM, Dave Hansen dave.han...@intel.com wrote: The 0 cycle TLB miss was also interesting. It goes back up to something reasonable if I put the mb()/mfence's back. So I've said it before, and I'll

[PATCH v15 14/19] perf, tools: Add alias support for long descriptions

2015-06-10 Thread Sukadev Bhattiprolu
Previously we were dropping the useful longer descriptions that some events have in the event list completely. Now that jevents provides support for longer descriptions (see previous patch), add support for parsing the long descriptions Signed-off-by: Andi Kleen a...@linux.intel.com

[PATCH v15 10/19] perf, tools: Query terminal width and use in perf list

2015-06-10 Thread Sukadev Bhattiprolu
From: Andi Kleen a...@linux.intel.com Automatically adapt the now wider and word wrapped perf list output to wider terminals. This requires querying the terminal before the auto pager takes over, and exporting this information from the pager subsystem. Signed-off-by: Andi Kleen

[PATCH v15 05/19] perf, tools: Use pmu_events table to create aliases

2015-06-10 Thread Sukadev Bhattiprolu
At run time (when 'perf' is starting up), locate the specific table of PMU events that corresponds to the current CPU. Using that table, create aliases for the each of the PMU events in the CPU. The use these aliases to parse the user specified perf event. In short this would allow the user to

[PATCH v15 13/19] perf, tools, jevents: Add support for long descriptions

2015-06-10 Thread Sukadev Bhattiprolu
Implement support in jevents to parse long descriptions for events that may have them in the JSON files. A follow on patch will make this long description available to user through the 'perf list' command. Signed-off-by: Andi Kleen a...@linux.intel.com Signed-off-by: Sukadev Bhattiprolu

[PATCH v15 08/19] perf, tools: Support CPU id matching for x86 v2

2015-06-10 Thread Sukadev Bhattiprolu
From: Andi Kleen a...@linux.intel.com Implement the code to match CPU types to mapfile types for x86 based on CPUID. This extends an existing similar function, but changes it to use the x86 mapfile cpu description. This allows to resolve event lists generated by jevents. Signed-off-by: Andi

[PATCH v15 03/19] Use __weak definition from linux/compiler.h

2015-06-10 Thread Sukadev Bhattiprolu
Jiri Olsa pointed out, that the linux/compiler.h defines the attribute '__weak'. We might as well use that. Signed-off-by: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com Acked-by: Jiri Olsa jo...@redhat.com --- tools/perf/util/pmu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH v15 09/19] perf, tools: Support alias descriptions

2015-06-10 Thread Sukadev Bhattiprolu
From: Andi Kleen a...@linux.intel.com Add support to print alias descriptions in perf list, which are taken from the generated event files. The sorting code is changed to put the events with descriptions at the end. The descriptions are printed as possibly multiple word wrapped lines. Example

[PATCH v15 06/19] perf, tools: Support CPU ID matching for Powerpc

2015-06-10 Thread Sukadev Bhattiprolu
Implement code that returns the generic CPU ID string for Powerpc. This will be used to identify the specific table of PMU events to parse/compare user specified events against. Signed-off-by: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com Acked-by: Jiri Olsa jo...@redhat.com --- Changelog[v14]

[PATCH v15 11/19] perf, tools: Add a --no-desc flag to perf list

2015-06-10 Thread Sukadev Bhattiprolu
From: Andi Kleen a...@linux.intel.com Add a --no-desc flag to perf list to not print the event descriptions that were earlier added for JSON events. This may be useful to get a less crowded listing. It's still default to print descriptions as that is the more useful default for most users.

Re: [PATCH v5 4/5] block: loop: prepare for supporing direct IO

2015-06-10 Thread Christoph Hellwig
On Tue, Jun 09, 2015 at 09:49:25PM +0800, Ming Lei wrote: This patches provides two approaches for enabling direct IO from user space: - userspace(such as losetup) can pass 'file' which is opened/fcntl as O_DIRECT - sysfs file is provided to run dio tests easily I really

Re: [PATCH v5 5/5] block: loop: support DIO AIO

2015-06-10 Thread Christoph Hellwig
+ int ret; + + /* nomerge for loop request queue */ + WARN_ON(cmd-rq-bio != cmd-rq-biotail); + + bvec = __bvec_iter_bvec(bio-bi_io_vec, bio-bi_iter); + iov_iter_bvec(iter, ITER_BVEC | rw, bvec, + bio_segments(bio), blk_rq_bytes(cmd-rq)); + +

Re: [PATCH] slub/slab: fix kmemleak didn't work on some case

2015-06-10 Thread Zhang, Yanmin
On 2015/6/9 23:03, Catalin Marinas wrote: On Tue, Jun 09, 2015 at 09:10:45AM +0100, Zhang, Yanmin wrote: On 2015/6/8 18:13, Catalin Marinas wrote: As I replied already, I don't think this is that bad, or at least not worse than what kmemleak already does (looking at all data whether it's

Re: [PATCH v2] gpio: Added GPIO support to Zynq Ultrascale+ MPSoC

2015-06-10 Thread Linus Walleij
On Thu, Jun 4, 2015 at 2:10 PM, Anurag Kumar Vulisha anurag.kumar.vuli...@xilinx.com wrote: Added support to Zynq Ultrascale+ MPSoC on the existing zynq gpio driver. Signed-off-by: Anurag Kumar Vulisha anura...@xilinx.com --- Chnages in v2: 1.Added device tree bingings for Zynq

Re: [PATCH] i2c: designware: use enable on resume instead initialization

2015-06-10 Thread Mika Westerberg
On Mon, Jun 08, 2015 at 02:50:28PM -0300, lucas.de.mar...@gmail.com wrote: @@ -320,7 +320,7 @@ static int dw_i2c_resume(struct device *dev) clk_prepare_enable(i_dev-clk); if (!i_dev-pm_runtime_disabled) - i2c_dw_init(i_dev); + i2c_dw_enable(i_dev); This

Re: [PATCH v2 0/3] Add code to release secondary cores from holding pen.

2015-06-10 Thread Maxime Coquelin
Hi Kevin, On 06/09/2015 05:43 PM, Kevin Hilman wrote: Peter Griffin peter.grif...@linaro.org writes: Hi Maxime, Patrice, Srini, Kevin, Olof Arnd, This patchset adds in the necessary code to manage the holding pen for STi platforms. Due to all the STi upstream devs using JTAG to boot the

Re: [PATCH] ARM: STi: Remove platform call to trace_hardirqs_off()

2015-06-10 Thread Maxime Coquelin
Hi Peter On 06/09/2015 11:47 PM, Peter Griffin wrote: Calling trace_hardirqs_off() from the platform specific secondary startup code as not been necessary since Dec 2010 when Russell King consolidated the call into the common SMP code. 2c0136d ARM: SMP: consolidate trace_hardirqs_off() into

Re: [PATCH] net, swap: Remove a warning and clarify why sk_mem_reclaim is required when deactivating swap

2015-06-10 Thread Leon Romanovsky
On Tue, Jun 9, 2015 at 9:40 PM, Jeff Layton jlay...@poochiereds.net wrote: From: Mel Gorman mgor...@suse.de Jeff Layton reported the following; [ 74.232485] [ cut here ] [ 74.233354] WARNING: CPU: 2 PID: 754 at net/core/sock.c:364 sk_clear_memalloc+0x51/0x80()

[PATCH] ring-buffer-benchmark: Fix the wrong type

2015-06-10 Thread Wang Long
The macro 'module_param' shows that the type of the variable disable_reader and write_iteration is unsigned integer. so, we change their type form int to unsigned int. Signed-off-by: Wang Long long.wangl...@huawei.com --- kernel/trace/ring_buffer_benchmark.c | 4 ++-- 1 file changed, 2

Re: [RFT v2 44/48] genirq, pinctrl: Kill the first parameter 'irq' of irq_flow_handler_t

2015-06-10 Thread Heiko Stübner
Am Donnerstag, 4. Juni 2015, 12:13:54 schrieb Jiang Liu: Now most IRQ flow handlers make no use of the first parameter 'irq'. And for those who do make use of 'irq', we could easily get the irq number through irq_desc-irq_data-irq. So kill the first parameter 'irq' of irq_flow_handler_t. To

Re: [RFT v2 34/48] pinctrl: Prepare for killing the first parameter 'irq' of irq_flow_handler_t

2015-06-10 Thread Heiko Stübner
Am Donnerstag, 4. Juni 2015, 12:13:44 schrieb Jiang Liu: Change irq flow handler to prepare for killing the first parameter 'irq' of irq_flow_handler_t. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/pinctrl/pinctrl-rockchip.c|4 ++-- For Rockchip Acked-by: Heiko

[PATCH] dma-mapping: harmonize definition of DMA_ERROR_CODE

2015-06-10 Thread Nicholas Mc Guire
All architectures except arm that define DMA_ERROR_CODE are casting it to (dma_addr_t) - as it is always compared to dma_addr_t in arm as well this could be harmonized. Signed-off-by: Nicholas Mc Guire hof...@osadl.org --- This also fixes the build warning in

RE: [RFC,v3 02/10] dpaa_eth: add support for DPAA Ethernet

2015-06-10 Thread Madalin-Cristian Bucur
Hi Eric, Can you please tell us if this change would be for the better? I was about to say yes to this request but checked and no other Ethernet driver seems to use the queue trans_start. I was able to find your patch net: tx scalability works : trans_start [

[REBASED v1.1 2/5] regulator: pwm-regulator: Separate voltage-table initialisation

2015-06-10 Thread Lee Jones
Take this out of the main .probe() routine in order to facilitate the introduction of different ways to obtain 'duty cycle' information. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/regulator/pwm-regulator.c | 77 +++ 1 file changed, 45

Re: [RFC 3/6] mm: mark dirty bit on swapped-in page

2015-06-10 Thread Cyrill Gorcunov
On Wed, Jun 10, 2015 at 08:52:06AM +0900, Minchan Kim wrote: +++ b/mm/memory.c @@ -2557,9 +2557,11 @@ static int do_swap_page(struct mm_struct *mm, struct vm_area_struct *vma, inc_mm_counter_fast(mm, MM_ANONPAGES); dec_mm_counter_fast(mm, MM_SWAPENTS); - pte =

[PATCH] mtd: nand: support for Toshiba BENAND (Built-in ECC NAND)

2015-06-10 Thread KOBAYASHI Yoshitake
This patch enables support for Toshiba BENAND. Toshiba BENAND is a SLC NAND solution that automatically generates ECC inside NAND chip. Newer generation SLC NAND devices of today need multi-bit hardware ECC by NAND controller in SoC. BENAND solution is ECC free, has high performance and backward

Re: [PATCH 3/4] spi: davinci: change the lower limit of pre-scale divider to 1

2015-06-10 Thread Murali Karicheri
On 06/10/2015 03:18 AM, Murali Karicheri wrote: SPI hardware spec for Keystone specifies a lower value of 0 for pre-scale divider that is used for generating spi clock which translates to a clock divider of 2. So fix the lower limit to allow using a higher SPI clock. Signed-off-by: Murali

[PATCH v1] spi: davinci: change the lower limit of pre-scale divider to 1

2015-06-10 Thread Murali Karicheri
SPI hardware spec for Keystone specify a lower value of 0 for pre-scale divider which determine what max value of spi clock (spi-max-frequency) the device can support. This translates to a clock divider of 2. So fix the lower limit value used for the boundary check in davinci_spi_get_prescale()

Re: [PATCH 0/2] get pinctrl more flexible for per pin muxing controllers

2015-06-10 Thread Linus Walleij
On Wed, Jun 3, 2015 at 3:31 PM, Nicolas Ferre nicolas.fe...@atmel.com wrote: Le 04/05/2015 10:56, Ludovic Desroches a écrit : The way pins, groups and functions are tied is too constraining for some controllers. It concerns mainly the ones we don't care about groups and functions, each pin

Discussion: quick_pit_calibrate isn't quick

2015-06-10 Thread George Spelvin
Adrian Hunter wrote: A bigger issue for my case is that slow calibration is not that slow, taking only 10ms anyway which is much better than the 50ms max for so-called quick calibration. I read the code, and after figuring out that the comments are wrong, this is absolutely right. The quick

Re: [PATCH v5 18/21] nd_btt: atomic sector updates

2015-06-10 Thread Christoph Hellwig
Hi Vishal, I'm mostly worried about handling scalability to large CPU counts properly. If you think this is the best way to handle it that fine, but please document the decisions on the changelog in a similar form to what you did below. -- To unsubscribe from this list: send the line unsubscribe

[PATCH] [media] ddbridge: fix wait_event_timeout return handling

2015-06-10 Thread Nicholas Mc Guire
API conformance testing for completions with coccinelle spatches are being used to locate API usage inconsistencies: ./drivers/media/pci/ddbridge/ddbridge-core.c:89 incorrect check for negative return Return type of wait_event_timeout is signed long not int and the return type is =0

Re: [RFC] pinctrl: pinctrl-imx: implement suspend/resume

2015-06-10 Thread Linus Walleij
On Thu, Jun 4, 2015 at 10:24 PM, Stefan Agner ste...@agner.ch wrote: I actually tried to experiment with pinctrl_pm_select_default_state and pinctrl_pm_select_sleep_state. I think, one solution would be to create sleep states for all drivers. However, it's not necessary to change to a sleep

[PATCH 03/10] A function to zero out drbd backing device.

2015-06-10 Thread Nick Wang
A function to zero out local backing device. Signed-off-by: Nick Wang nw...@suse.com CC: Philipp Reisner philipp.reis...@linbit.com CC: Lars Ellenberg lars.ellenb...@linbit.com CC: drbd-...@lists.linbit.com CC: linux-kernel@vger.kernel.org --- drbd/drbd_int.h | 1 + drbd/drbd_receiver.c |

[PATCH 01/10] drbd: Fix potenial risk of overlap the old history when move history.

2015-06-10 Thread Nick Wang
Fix the potential history overlap when using more than two history uuids. Signed-off-by: Nick Wang nw...@suse.com CC: Philipp Reisner philipp.reis...@linbit.com CC: Lars Ellenberg lars.ellenb...@linbit.com CC: drbd-...@lists.linbit.com CC: linux-kernel@vger.kernel.org --- drbd/drbd_main.c | 4

[PATCH 00/10] Zero out devices instead of initial full sync

2015-06-10 Thread Nick Wang
Full sync for drbd initial usually take a long time, especically when network become the bottleneck the syncing. Simply skip the full sync with --clear-bitmap may not the perfect solution for all the cases. So this patches can be used to zero out devices locally instead of a full sync,two make

Re: [PATCH] NET: Add ezchip ethernet driver

2015-06-10 Thread Paul Bolle
Just a nit and a question. On Tue, 2015-06-09 at 15:44 +0300, Noam Camus wrote: --- /dev/null +++ b/drivers/net/ethernet/ezchip/Kconfig +config NET_VENDOR_EZCHIP + bool EZchip devices + default y + ---help--- + If you have a network (Ethernet) device belonging to this

Re: clustered MD

2015-06-10 Thread Richard Weinberger
On Wed, Jun 10, 2015 at 5:33 AM, Goldwyn Rodrigues rgold...@suse.com wrote: David Lang has already responded: The idea is to use a RAID device (currently only level 1 mirroring is supported) with multiple nodes of the cluster. Here is a description on how to use it:

Re: [PATCH 2/2] staging/lustre/llite: fix ll_getname user buffer copy

2015-06-10 Thread Oleg Drokin
On Jun 10, 2015, at 3:52 AM, Dan Carpenter wrote: On Wed, Jun 10, 2015 at 12:41:23AM -0400, gr...@linuxhacker.ru wrote: From: Oleg Drokin gr...@linuxhacker.ru strncpy_from_user could return negative values on error, so need to take those into account. Since ll_getname is used to get a

[PATCH] ring-buffer-benchmark: Fix the wrong param in module_param

2015-06-10 Thread Wang Long
The {producer|consumer}_{nice|fifo} parameters are integer type, we should use 'int' as the second param in module_param. For example(consumer_fifo): the default value of consumer_fifo is -1. Without this patch: # cat /sys/module/ring_buffer_benchmark/parameters/consumer_fifo

Re: [PATCH 2/4] mm: Send one IPI per CPU to TLB flush all entries after unmapping pages

2015-06-10 Thread Ingo Molnar
* Mel Gorman mgor...@suse.de wrote: On Wed, Jun 10, 2015 at 09:47:04AM +0200, Ingo Molnar wrote: * Mel Gorman mgor...@suse.de wrote: --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1289,6 +1289,18 @@ enum perf_event_task_context { perf_nr_task_contexts, };

Re: [PATCH 2/3] pinctrl: dt-binding: Add DT binding documentation for MSM8660

2015-06-10 Thread Linus Walleij
On Sat, Jun 6, 2015 at 12:52 AM, Bjorn Andersson bjorn.anders...@sonymobile.com wrote: Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com Patch applied! Yours, Linus Walleij -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH 0/3] Pinctrl support for msm8660

2015-06-10 Thread Linus Walleij
On Sat, Jun 6, 2015 at 12:52 AM, Bjorn Andersson bjorn.anders...@sonymobile.com wrote: Per your request Linus, happy birthday! A opening this present 4 days late it still makes my day like it was my birthday again! Will boot my Dragon with these patches on, prompto! Yours, Linus Walleij

[alsa-devel][PATCH] ASoC: fsl: add imx-wm8960 machine driver

2015-06-10 Thread Zidan Wang
This imx-wm8960 device-tree-only machine driver works with sai driver and have below feature. * support codec master and slave mode * support headphone jack detect * support headphone and micphone jack event * support asrc-sai-wm8960 mode Signed-off-by: Zidan Wang zidan.w...@freescale.com ---

Re: [RFC/PATCH] pinctrl: sh-pfc: Accept standard function, pins and groups properties

2015-06-10 Thread Linus Walleij
On Tue, Jun 9, 2015 at 4:35 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Fri, Mar 6, 2015 at 11:39 AM, Linus Walleij linus.wall...@linaro.org wrote: This looks good to me, is the patch applicable as it is, or will you rebase it and send out a non-RFC version? This seems to have

[Patch v3 1/4] PCI: Add hooks to allocate/free IRQ resources when binding/unbinding driver

2015-06-10 Thread Jiang Liu
Add two hook points pcibios_{alloc|free}_irq() into PCI core, which will be called when binding/unbinding PCI device drivers. Then PCI arch code may hook into these two points to allocate IRQ resources on demand and free them when not used anymore. Signed-off-by: Jiang Liu

[PATCH] GPIO / ACPI: export acpi_gpiochip_request(free)_interrupts for module use

2015-06-10 Thread Hanjun Guo
acpi_gpiochip_request(free)_interrupts can be used for modules, so export them. This also fixs a compile error when xgene-sb configured as kernel module. Fixes: 733cf014f020 gpio: xgene: add ACPI support for APM X-Gene GPIO standby driver Signed-off-by: Hanjun Guo hanjun@linaro.org ---

Re: Discussion: quick_pit_calibrate is slow

2015-06-10 Thread Ingo Molnar
* Adrian Hunter adrian.hun...@intel.com wrote: On 10/06/15 10:08, George Spelvin wrote: The 8254 timer latches the msbyte when the lsbyte is read and returns the latched value on the next read Are you sure about? The docs I've read don't seem to say that. Btw., even if docs claim

[PATCH 1/5] usb: dwc3: ep0: use _roundup_ to calculate the transfer size

2015-06-10 Thread Kishon Vijay Abraham I
No functional change. Used _roundup_ macro to calculate the transfer size aligned to maxpacket in dwc3_ep0_complete_data. It also makes it similar to how transfer size is calculated in __dwc3_ep0_do_control_data. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/ep0.c |

[PATCH 0/5] usb: dwc3: handle non maxpacket aligned transfers 512

2015-06-10 Thread Kishon Vijay Abraham I
Patch series adds support to handle non maxpacket aligned transfers greater than bounce buffer size (512). It first adds chained TRB support and then uses it to handle non maxpacket aligned transfers greater than bounce buffer size. Also included a cleanup patch to use 'roundup' macro. This

[PATCH 3/5] usb: dwc3; ep0: Modify _dwc3_ep0_start_trans_ API to take 'chain' parameter

2015-06-10 Thread Kishon Vijay Abraham I
No functional change. Added a new parameter in _dwc3_ep0_start_trans_ to indicate whether the TRB is a chained TRB or last TRB. This is in preparation for adding chained TRB support for ep0. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/ep0.c | 15 --- 1

[PATCH 4/5] usb: dwc3: ep0: Add chained TRB support

2015-06-10 Thread Kishon Vijay Abraham I
Add chained TRB support to ep0. Now TRB's can be chained just by invoking _dwc3_ep0_start_trans_ with 'chain' parameter set to true. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/ep0.c| 16 +--- drivers/usb/dwc3/gadget.c |2 +- 2 files changed, 14

Re: [PATCH v3 1/3] pinctrl: berlin: fix spi1 SS0n function name

2015-06-10 Thread Linus Walleij
On Tue, Jun 2, 2015 at 11:37 AM, Antoine Tenart antoine.ten...@free-electrons.com wrote: Rename function ss0 to spi1 to be consistent with the other Berlin function names. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com Patch applied. Yours, Linus Walleij -- To unsubscribe

Re: [PATCH v2 07/10] Documentation: bindings: move the Berlin pinctrl documentation

2015-06-10 Thread Linus Walleij
On Fri, Mar 6, 2015 at 4:05 PM, Antoine Tenart antoine.ten...@free-electrons.com wrote: The Berlin pinctrl documentation was part of the Marvell Berlin SoC documentation because the Berlin pinctrl configuration was inside the chip and the system controllers. With the recent rework of the chip

Re: [PATCH 1/7] platform_device: better support builtin boilerplate avoidance

2015-06-10 Thread Linus Walleij
On Wed, Jun 3, 2015 at 4:07 PM, Paul Gortmaker paul.gortma...@windriver.com wrote: On 15-06-02 05:19 AM, Linus Walleij wrote: For example if this is a builtin regulator, clock, GPIO, DMA etc driver, we want to suppress the binding/unbinding from userspace too, since these drivers provide

Re: [PATCH v5 1/5] fs: direct-io: don't dirtying pages for ITER_BVEC/ITER_KVEC direct read

2015-06-10 Thread Christoph Hellwig
On Tue, Jun 09, 2015 at 09:49:22PM +0800, Ming Lei wrote: When direct read IO is submitted from kernel, it is often unnecessary to dirty pages, for example of loop, dirtying pages have been considered in the upper filesystem(over loop) side already, and they don't need to be dirtied again.

Re: [PATCH 08/14] hrtimer: Allow hrtimer::function() to free the timer

2015-06-10 Thread Kirill Tkhai
Hi, Oleg, В Вт, 09/06/2015 в 23:33 +0200, Oleg Nesterov пишет: On 06/08, Peter Zijlstra wrote: On Mon, Jun 08, 2015 at 11:14:17AM +0200, Peter Zijlstra wrote: Finally. Suppose that timer-function() returns HRTIMER_RESTART and hrtimer_active() is called right after __run_hrtimer()

Re: [PATCH 2/4] mm: Send one IPI per CPU to TLB flush all entries after unmapping pages

2015-06-10 Thread Ingo Molnar
* Mel Gorman mgor...@suse.de wrote: --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1289,6 +1289,18 @@ enum perf_event_task_context { perf_nr_task_contexts, }; +/* Track pages that require TLB flushes */ +struct tlbflush_unmap_batch { + /* + * Each bit set

[PATCH v2] ARM: socfpga: add smp_ops.cpu_kill to make kexec/kdump available

2015-06-10 Thread Hiraku Toyooka
Kexec_load syscall in ARM requires that machine-specific code has the smp_ops.cpu_kill() before loading kernel image. This patch adds the cpu_kill(), as a result, kexec reboot and kernel crash dump become available in mach-socfpga. Signed-off-by: Hiraku Toyooka hiraku.toyooka...@hitachi.com Cc:

[REBASED 0/5] regulator: pwm-regulator: Introduce continuous-mode

2015-06-10 Thread Lee Jones
Continuous mode uses the PWM regulator's maximum and minimum supplied voltages specified in the regulator-{min,max}-microvolt properties to calculate appropriate duty-cycle values. This allows for a much more fine grained solution when compared with voltage-table mode, which this driver already

[REBASED 3/5] regulator: pwm-regulator: Add support for continuous-voltage

2015-06-10 Thread Lee Jones
The current version of PWM regulator only supports a static table approach, where pre-calculated values are supplied by the vendor and obtained via DT. The continuous-voltage method takes min_uV and max_uV, and divides the difference between them up into a number of slices. The number of slices

[REBASED 4/5] dt: regulator: pwm-regulator: Re-write bindings

2015-06-10 Thread Lee Jones
* Add support for continuous-voltage mode * Put more meat on the bones with regards to voltage-table mode * Sort out formatting for ease of consumption Cc: devicet...@vger.kernel.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- .../bindings/regulator/pwm-regulator.txt | 66

[REBASED 2/5] regulator: pwm-regulator: Separate voltage-table initialisation

2015-06-10 Thread Lee Jones
Take this out of the main .probe() routine in order to facilitate the introduction of different ways to obtain 'duty cycle' information. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mfd/mfd-child.c | 47 drivers/regulator/pwm-regulator.c | 77

Re: [PATCH] pinctrl: don't try to print function groups if we can't get them

2015-06-10 Thread Linus Walleij
On Mon, Jun 8, 2015 at 5:16 PM, Ludovic Desroches ludovic.desroc...@atmel.com wrote: There is no reason to try to print groups associated to a function if get_function_groups returns an error. Moreover, it can lead to a NULL pointer dereference error. Signed-off-by: Ludovic Desroches

Re: [PATCH 0/3] TLB flush multiple pages per IPI v5

2015-06-10 Thread Ingo Molnar
* Mel Gorman mgor...@suse.de wrote: I think since it is you who wants to introduce additional complexity into the x86 MM code the burden is on you to provide proof that the complexity of pfn (or struct page) tracking is worth it. I'm taking a situation whereby IPIs are sent like

Re: [PATCH 2/4] mm: Send one IPI per CPU to TLB flush all entries after unmapping pages

2015-06-10 Thread Mel Gorman
On Wed, Jun 10, 2015 at 10:21:07AM +0200, Ingo Molnar wrote: * Mel Gorman mgor...@suse.de wrote: On Wed, Jun 10, 2015 at 09:47:04AM +0200, Ingo Molnar wrote: * Mel Gorman mgor...@suse.de wrote: --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1289,6

Re: [PATCH v11 3/5] x86/earlyprintk: Allocate early log_buf as early as possible

2015-06-10 Thread Borislav Petkov
On Tue, Jun 09, 2015 at 11:37:27PM +0600, Alexander Kuleshov wrote: Borislav, I'm really not sure too, that using of printk to update log_buf with the earlyprintk is a right correct here. Yes, so this whole approach and what you're trying to achieve seems kinda confusing and wrong. First of

Re: [PATCH 0/3] TLB flush multiple pages per IPI v5

2015-06-10 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: Stop this crap. I made a really clear and unambiguous chain of arguments: - I'm unconvinced about the benefits of INVLPG in general, and your patches adds a whole new bunch of them. [...] ... and note that your claim that 'we were doing them

Re: [PATCH 18/28] ARC: add smp barriers around atomics per memory-barrriers.txt

2015-06-10 Thread Vineet Gupta
On Tuesday 09 June 2015 06:00 PM, Peter Zijlstra wrote: On Tue, Jun 09, 2015 at 05:18:18PM +0530, Vineet Gupta wrote: Please try and provide at least _some_ Changelog body. snip all atomic ops that return values Will do as comments in source as well as commit log in v2. diff --git

Re: [PATCH] GPIO / ACPI: export acpi_gpiochip_request(free)_interrupts for module use

2015-06-10 Thread Mark Brown
On Wed, Jun 10, 2015 at 05:12:07PM +0800, Hanjun Guo wrote: acpi_gpiochip_request(free)_interrupts can be used for modules, so export them. This also fixs a compile error when xgene-sb configured as kernel module. Reviwed-by: Mark Brown broo...@kernel.org signature.asc Description: Digital

[PATCH 3/6] mm, compaction: encapsulate resetting cached scanner positions

2015-06-10 Thread Vlastimil Babka
Resetting the cached compaction scanner positions is now done implicitly in __reset_isolation_suitable() and compact_finished(). Encapsulate the functionality in a new function reset_cached_positions() and call it explicitly where needed. Signed-off-by: Vlastimil Babka vba...@suse.cz Cc: Minchan

Re: [PATCH v11 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-06-10 Thread Li, ZhenHua
On 06/10/2015 05:21 PM, Joerg Roedel wrote: On Tue, Jun 09, 2015 at 01:55:50PM +0100, David Woodhouse wrote: On Mon, 2015-06-08 at 18:13 +0200, Joerg Roedel wrote: So I think we need to read out that bit when we find translation enabled and if it is different from what we would set it to, we

Re: [PATCH v3 3/8] Driver core: wakeup the parent device before trying probe

2015-06-10 Thread Andy Shevchenko
On Wed, 2015-06-10 at 02:08 +0200, Rafael J. Wysocki wrote: On Tuesday, June 09, 2015 01:42:00 AM Rafael J. Wysocki wrote: On Monday, June 01, 2015 05:47:57 PM Andy Shevchenko wrote: From: Heikki Krogerus heikki.kroge...@linux.intel.com If the parent is still suspended when driver

Re: [PATCHv3] gpio: add ETRAXFS GPIO driver

2015-06-10 Thread Linus Walleij
On Sat, Jun 6, 2015 at 10:30 PM, Rabin Vincent ra...@rab.in wrote: Add a GPIO driver for the General I/O block on Axis ETRAX FS SoCs. Signed-off-by: Rabin Vincent ra...@rab.in --- v3: Move port number to last cell and use of_gpio_simple_xlate(). Awesome, patch applied for the v4.2 cycle!

<    8   9   10   11   12   13   14   15   16   17   >