Re: Re: [PATCH 3/3] early kprobes: x86: don't try to recover ftraced instruction before ftrace get ready.

2015-03-04 Thread Masami Hiramatsu
Hi Wang, (2015/03/04 20:22), Wang Nan wrote: Hi Masami, Following your advise, I adjusted early kprobe patches, added a kprobes_init_stage var to indicate the initiaization progress of kprobes. It has following avaliable values: typedef enum { /* kprobe initialization is error.

Re: [PATCH/RFC 0/4] Probe deferral for IOMMU DT integration

2015-03-04 Thread Will Deacon
On Tue, Mar 03, 2015 at 11:54:46PM +, Laurent Pinchart wrote: Hello, Hi Laurent, I haven't seen any reply to this e-mail. I know that the combination of IOMMU, DMA mapping and DT doesn't exactly sound like fun, but I think we still need to move on :-) Yup, and thanks for taking the

Re: [PATCH block/for-4.0-fixes] writeback: add missing INITIAL_JIFFIES init in global_update_bandwidth()

2015-03-04 Thread Jan Kara
On Wed 04-03-15 10:22:43, Tejun Heo wrote: global_update_bandwidth() uses static variable update_time as the timestamp for the last update but forgets to initialize it to INITIALIZE_JIFFIES. This means that global_dirty_limit will be 5 mins into the future on 32bit and some large amount

Re: [PATCH 2/2] livepatch: fix patched module loading race

2015-03-04 Thread Josh Poimboeuf
On Wed, Mar 04, 2015 at 02:17:52PM +0100, Petr Mladek wrote: On Tue 2015-03-03 17:02:22, Josh Poimboeuf wrote: It's possible for klp_register_patch() to see a module before the COMING notifier is called, or after the GOING notifier is called. That can cause all kinds of ugly races. As

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-04 Thread Juergen Gross
On 03/04/2015 04:27 PM, Greg KH wrote: On Wed, Mar 04, 2015 at 02:31:08PM +0100, Juergen Gross wrote: On 03/02/2015 12:39 PM, David Vrabel wrote: On 26/02/15 13:35, Juergen Gross wrote: Introduces the Xen pvUSB backend. With pvUSB it is possible for a Xen domU to communicate with a USB device

Re: [PATCH v2 1/9] remove a unused function parameter

2015-03-04 Thread Baoquan He
On 03/03/15 at 10:32am, Yinghai Lu wrote: On Mon, Mar 2, 2015 at 6:58 AM, Baoquan He b...@redhat.com wrote: static void mem_avoid_init(unsigned long input, unsigned long input_size, - unsigned long output, unsigned long output_size) +

[PATCH v2 1/1] iommu/arm-smmu: fix ARM_SMMU_FEAT_TRANS_OPS condition

2015-03-04 Thread Baptiste Reynal
This patch is a fix to iommu/arm-smmu: add support for iova_to_phys through ATS1PR. According to ARM documentation, translation registers are optional even in SMMUv1, so ID0_S1TS needs to be checked to verify their presence. Also, we check that the domain is a stage-1 domain. Signed-off-by:

Re: [PATCH 2/2] livepatch: fix patched module loading race

2015-03-04 Thread Jiri Kosina
On Wed, 4 Mar 2015, Josh Poimboeuf wrote: CPU0CPU1 delete_module() #SYSCALL try_stop_module() mod-state = MODULE_STATE_GOING; mutex_unlock(module_mutex); klp_register_patch()

Re: [PATCH tip/core/rcu 02/20] x86: Use common outgoing-CPU-notification code

2015-03-04 Thread David Vrabel
On 04/03/15 14:55, Boris Ostrovsky wrote: In the meantime, it turned out that HVM guests are broken by this patch (with our without changes that we've been discussing), because HVM CPUs die with static void xen_hvm_cpu_die(unsigned int cpu) { xen_cpu_die(cpu);

[PATCHv4 07/24] mm, thp: adjust conditions when we can reuse the page on WP fault

2015-03-04 Thread Kirill A. Shutemov
With new refcounting we will be able map the same compound page with PTEs and PMDs. It requires adjustment to conditions when we can reuse the page on write-protection fault. For PTE fault we can't reuse the page if it's part of huge page. For PMD we can only reuse the page if nobody else maps

Re: [PATCH] HID: Kconfig: add USB_HID dependency to UC-LOGIC

2015-03-04 Thread Nikolai Kondrashov
On 03/04/2015 06:24 PM, Benjamin Tissoires wrote: In commit 08177f4 (HID: uclogic: merge hid-huion driver in hid-uclogic) HID_HUION depends explicitely on USB_HID because it contained quite some USB-isms. Now that hid-uclogic is the new home of Huion tablets, we need to also add the dependency

Re: [PATCH 1/3] arm64: Don't use is_module_addr in setting page attributes

2015-03-04 Thread Catalin Marinas
On Wed, Feb 25, 2015 at 02:14:55PM -0800, Laura Abbott wrote: The set_memory_* functions currently only support module addresses. The addresses are validated using is_module_addr. That function is special though and relies on internal state in the module subsystem to work properly. At the

[PATCH] dmaengine: bam-dma: fill slave directions bit mask

2015-03-04 Thread Stanimir Varbanov
This will avoid warning during async device registration. Signed-off-by: Stanimir Varbanov stanimir.varba...@linaro.org --- drivers/dma/qcom_bam_dma.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/dma/qcom_bam_dma.c b/drivers/dma/qcom_bam_dma.c index

Re: [PATCH] MAINTAINERS: fix UTF-8 encoding

2015-03-04 Thread Nicolas Iooss
On 03/04/2015 11:21 PM, Geert Uytterhoeven wrote: On Wed, Mar 4, 2015 at 4:02 PM, Jiri Kosina jkos...@suse.cz wrote: --- a/MAINTAINERS +++ b/MAINTAINERS @@ -725,7 +725,7 @@ F:staging/iio/trigger/iio-trig-bfin-timer.c ANDROID DRIVERS M: Greg Kroah-Hartman

Re: [PATCH v3 2/9] mfd: syscon: Add atmel system timer registers definition

2015-03-04 Thread Lee Jones
On Wed, 04 Mar 2015, Alexandre Belloni wrote: AT91RM920 has a memory range reserved for timer and watchdog configuration. Expose those registers so that drivers can make use of the system timer syscon declared in at91 DTs. Signed-off-by: Alexandre Belloni

Re: [PATCH v2 04/15] x86, kaslr: get kaslr_enabled back correctly

2015-03-04 Thread Jiri Kosina
On Wed, 4 Mar 2015, Borislav Petkov wrote: On Wed, Mar 04, 2015 at 12:00:37AM -0800, Yinghai Lu wrote: commit f47233c2d34f (x86/mm/ASLR: Propagate base load address calculation) is using address as value for kaslr_enabled. That will random kaslr_enabled get that set or cleared. Will

[PATCH/RFC v12 09/19] leds: Add support for max77693 mfd flash cell

2015-03-04 Thread Jacek Anaszewski
This patch adds led-flash support to Maxim max77693 chipset. A device can be exposed to user space through LED subsystem sysfs interface. Device supports up to two leds which can work in flash and torch mode. The leds can be triggered externally or by software. Signed-off-by: Jacek Anaszewski

[PATCH/RFC v12 08/19] mfd: max77693: Adjust FLASH_EN_SHIFT and TORCH_EN_SHIFT macros

2015-03-04 Thread Jacek Anaszewski
Modify FLASH_EN_SHIFT and TORCH_EN_SHIFT macros to work properly when passed enum max77693_fled values (0 for FLED1 and 1 for FLED2) from leds-max77693 driver. Previous definitions were compatible with one of the previous RFC versions of leds-max77693.c driver, which was not merged.

[PATCH/RFC v12 15/19] media: Add registration helpers for V4L2 flash sub-devices

2015-03-04 Thread Jacek Anaszewski
This patch adds helper functions for registering/unregistering LED Flash class devices as V4L2 sub-devices. The functions should be called from the LED subsystem device driver. In case the support for V4L2 Flash sub-devices is disabled in the kernel config the functions' empty versions will be

[PATCH/RFC v12 02/19] leds: flash: document sysfs interface

2015-03-04 Thread Jacek Anaszewski
Add a documentation of LED Flash class specific sysfs attributes. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu coolo...@gmail.com Cc: Richard Purdie rpur...@rpsys.net --- Documentation/ABI/testing/sysfs-class-led-flash |

Re: timerfd waking up before timer really expires

2015-03-04 Thread Lucas De Marchi
On Wed, Mar 4, 2015 at 5:06 AM, Clemens Ladisch clem...@ladisch.de wrote: Lucas De Marchi wrote: I was debugging my application and noticed that a timerfd event was being triggered *before* the timer expires. I reduced the scope of the program to test a single timerfd and measure the

[PATCH block/for-4.0-fixes] writeback: add missing INITIAL_JIFFIES init in global_update_bandwidth()

2015-03-04 Thread Tejun Heo
global_update_bandwidth() uses static variable update_time as the timestamp for the last update but forgets to initialize it to INITIALIZE_JIFFIES. This means that global_dirty_limit will be 5 mins into the future on 32bit and some large amount jiffies into the past on 64bit. This isn't critical

Re: [PATCH v2 7/9] get the random phy addr according to slot_area info

2015-03-04 Thread Baoquan He
Hi Yinghai, I got the reason and made a debug patch to fix it. Could you please apply it on top of this patchset and try again? Then it will behave well and just return 0x13c00 since no random is got. Please check the attachment. Thanks Baoquan On 03/03/15 at 12:45am, Yinghai Lu wrote:

Re: [PATCH] Avoid null-pointer access in w1/slaves/w1_therm

2015-03-04 Thread Евгений Поляков
Hi David 02.03.2015, 03:17, David Fries da...@fries.net: You are correct, it would be a race condition if it doesn't increment the refcnt before unlocking the mutex, and it should get the mutex before unref.  Here's an updated version, I haven't even tried to compile it. What do you think

[PATCH 3/5] drm: jz4780: Add DRM driver for Ingenic JZ4780

2015-03-04 Thread Zubair Lutfullah Kakakhel
Add drm driver for the Ingenic JZ4780 SoC. Signed-off-by: Zubair Lutfullah Kakakhel zubair.kakak...@imgtec.com --- drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/jz4780/Kconfig | 12 + drivers/gpu/drm/jz4780/Makefile | 10

[PATCH] MAINTAINERS: fix UTF-8 encoding

2015-03-04 Thread Nicolas Iooss
Commit 41c9e95d641a (MAINTAINERS: add Android driver entries) introduced non-UTF8 characters in MAINTAINERS file. This breaks tools like grep when using an UTF-8 locale: $ grep -n drivers/android MAINTAINERS Binary file MAINTAINERS matches Replacing the characters by their UTF-8

[PATCH 5/5] drm: bridge/dw_hdmi: add jz4780 support

2015-03-04 Thread Zubair Lutfullah Kakakhel
Ingenic JZ4780 hdmi is compatible with dw_hdmi. Signed-off-by: Zubair Lutfullah Kakakhel zubair.kakak...@imgtec.com --- drivers/gpu/drm/jz4780/Kconfig | 10 ++ drivers/gpu/drm/jz4780/Makefile | 1 + drivers/gpu/drm/jz4780/dw_hdmi-jz4780.c | 234

[PATCH 4/5] dt-bindings: video: Add jz4780-hdmi binding

2015-03-04 Thread Zubair Lutfullah Kakakhel
Add DT bindings for the hdmi driver for the Ingenic JZ4780 SoC. Signed-off-by: Zubair Lutfullah Kakakhel zubair.kakak...@imgtec.com --- .../bindings/video/ingenic-jz4780-hdmi.txt | 41 ++ 1 file changed, 41 insertions(+) create mode 100644

Re: [RFC v2 3/4] locks: Split insert/delete block functions into flock/posix parts

2015-03-04 Thread Daniel Wagner
On 03/04/2015 04:00 PM, Boaz Harrosh wrote: On 03/04/2015 04:20 PM, Daniel Wagner wrote: On 03/03/2015 01:55 AM, Jeff Layton wrote: On Mon, 2 Mar 2015 15:25:12 +0100 Daniel Wagner daniel.wag...@bmw-carit.de wrote: I have fixed that stuff and now I am testing it. Though it seems that

[PATCH block/for-4.0-fixes] writeback: add missing INITIAL_JIFFIES init in global_update_bandwidth()

2015-03-04 Thread Tejun Heo
Subject: writeback: add missing INITIAL_JIFFIES init in global_update_bandwidth() global_update_bandwidth() uses static variable update_time as the timestamp for the last update but forgets to initialize it to INITIALIZE_JIFFIES. This means that global_dirty_limit will be 5 mins into the future

[PATCH 0/5] drm: dt: jz4780: Add Ingenic JZ4780 driver

2015-03-04 Thread Zubair Lutfullah Kakakhel
Hi, Here we have 5 patches that add a DRM driver for the LCD controller in the Ingenic JZ4780 SoC. The HDMI Controller in the JZ4780 is by Synopsys and the dw_hdmi driver is used. These patches are based on 4.0-rc2 Feedback welcome Thank-you ZubairLK Zubair Lutfullah Kakakhel (5):

Re: [PATCH block/for-4.0-fixes] writeback: add missing INITIAL_JIFFIES init in global_update_bandwidth()

2015-03-04 Thread Jens Axboe
On 03/04/2015 08:37 AM, Tejun Heo wrote: Subject: writeback: add missing INITIAL_JIFFIES init in global_update_bandwidth() global_update_bandwidth() uses static variable update_time as the timestamp for the last update but forgets to initialize it to INITIALIZE_JIFFIES. This means that

[PATCH 1/5] dt-bindings: video: Add Ingenic jz4780-drm binding

2015-03-04 Thread Zubair Lutfullah Kakakhel
This patch adds a display susbsytem for the Ingenic JZ4780 SoC Signed-off-by: Zubair Lutfullah Kakakhel zubair.kakak...@imgtec.com --- .../devicetree/bindings/video/ingenic-jz4780-drm.txt| 17 + 1 file changed, 17 insertions(+) create mode 100644

Re: [PATCH v3 2/6] HID: uclogic: merge hid-huion driver in hid-uclogic

2015-03-04 Thread Jiri Kosina
On Tue, 3 Mar 2015, Benjamin Tissoires wrote: From: Nikolai Kondrashov nikolai.kondras...@redhat.com Merge the hid-huion driver into hid-uclogic as all the devices supported by hid-huion are in fact UC-Logic devices. Signed-off-by: Nikolai Kondrashov nikolai.kondras...@redhat.com

Re: [PATCH v2] usb: isp1760: add peripheral/device controller chip id

2015-03-04 Thread Sudeep Holla
On 26/02/15 18:53, Laurent Pinchart wrote: Hi Sudeep, Thank you for the patch. On Thursday 26 February 2015 11:47:57 Sudeep Holla wrote: As per the SAF1761 data sheet[0], the DcChipID register represents the hardware version number (0001h) and the chip ID (1582h) for the Peripheral

Re: [Patch v4 21/23] x86/PCI: Refine the way to release PCI IRQ resources

2015-03-04 Thread Alex Williamson
Hi, I'm getting a regression from this patch when using VFIO for device assignment to a QEMU VM. I have a device initially bound to the nouveau driver, which is unbound from that driver and bound to vfio-pci for use by userspace. vfio-pci calls pci_enable_device, but when userspace attempts to

Re: [PATCH v2] usb: isp1760: add peripheral/device controller chip id

2015-03-04 Thread Laurent Pinchart
Hi Sudeep, On Wednesday 04 March 2015 15:56:12 Sudeep Holla wrote: On 26/02/15 18:53, Laurent Pinchart wrote: Hi Sudeep, Thank you for the patch. On Thursday 26 February 2015 11:47:57 Sudeep Holla wrote: As per the SAF1761 data sheet[0], the DcChipID register represents the

[PATCH v5 1/4] vfio: implement iommu driver capabilities with an enum

2015-03-04 Thread Baptiste Reynal
From: Antonios Motakis a.mota...@virtualopensystems.com Currently a VFIO driver's IOMMU capabilities are encoded as a series of numerical defines. Replace this with an enum for future maintainability. Signed-off-by: Antonios Motakis a.mota...@virtualopensystems.com Signed-off-by: Baptiste Reynal

[PATCH/RFC v12 11/19] leds: Add driver for AAT1290 current regulator

2015-03-04 Thread Jacek Anaszewski
This patch adds a driver for the 1.5A Step-Up Current Regulator for Flash LEDs. The device is programmed through a Skyworks proprietary AS2Cwire serial digital interface. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu

[PATCH/RFC v12 16/19] Documentation: leds: Add description of v4l2-flash sub-device

2015-03-04 Thread Jacek Anaszewski
This patch extends LED Flash class documention by the description of interactions with v4l2-flash sub-device. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Sakari Ailus sakari.ai...@linux.intel.com Cc: Bryan Wu

[PATCH/RFC v12 04/19] dt-binding: leds: Add common LED DT bindings macros

2015-03-04 Thread Jacek Anaszewski
Add macros for defining boost mode and trigger type properties of flash LED devices. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu coolo...@gmail.com Cc: Richard Purdie rpur...@rpsys.net ---

[PATCHv4 05/24] mm, proc: adjust PSS calculation

2015-03-04 Thread Kirill A. Shutemov
With new refcounting all subpages of the compound page are not nessessary have the same mapcount. We need to take into account mapcount of every sub-page. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com --- fs/proc/task_mmu.c | 43 ++- 1

[PATCHv4 03/24] mm: avoid PG_locked on tail pages

2015-03-04 Thread Kirill A. Shutemov
With new refcounting pte entries can point to tail pages. It's doesn't make much sense to mark tail page locked -- we need to protect whole compound page. This patch adjust helpers related to PG_locked to operate on head page. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com ---

[PATCHv4 00/24] THP refcounting redesign

2015-03-04 Thread Kirill A. Shutemov
Hello everybody, It's bug-fix update of my thp refcounting work. The goal of patchset is to make refcounting on THP pages cheaper with simpler semantics and allow the same THP compound page to be mapped with PMD and PTEs. This is required to get reasonable THP-pagecache implementation. With the

[PATCHv4 04/24] rmap: add argument to charge compound page

2015-03-04 Thread Kirill A. Shutemov
We're going to allow mapping of individual 4k pages of THP compound page. It means we cannot rely on PageTransHuge() check to decide if map small page or THP. The patch adds new argument to rmap function to indicate whethe we want to map whole compound page or only the small page. Signed-off-by:

Re: [PATCH v2] xen-scsiback: use DRV_PFX in the pr macros and DPRINTK

2015-03-04 Thread Joe Perches
On Wed, 2015-03-04 at 18:32 +, Tao Chen wrote: Defined the string of {xen-pvscsi: } as DRV_PFX, then use it in the pr sentences and DPRINTK. Also fixed up some comments just as eliminate redundant white spaces and format the code. These will make the code easier to read. It'd probaby

[PATCHv4 02/24] mm: change PageAnon() and page_anon_vma() to work on tail pages

2015-03-04 Thread Kirill A. Shutemov
Currently PageAnon() and page_anon_vma() are always return false/NULL for tail. We need to look on head page for correct answer. Let's change the function to give the correct result for tail page. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com --- include/linux/mm.h | 1 +

[PATCH] ARM: at91/dt: add uart0 to sama5d3 DT

2015-03-04 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/sama5d3.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi index e30fee2edd55..def05e20e9d6 100644 ---

[PATCHv4 24/24] thp: update documentation

2015-03-04 Thread Kirill A. Shutemov
The patch updates Documentation/vm/transhuge.txt to reflect changes in THP design. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com --- Documentation/vm/transhuge.txt | 100 +++-- 1 file changed, 45 insertions(+), 55 deletions(-) diff --git

[char-misc-next 2/2] mei: trace: fix missing include to linux/device.h

2015-03-04 Thread Tomas Winkler
Fix warning (discovered using randconfig) drivers/misc/mei/mei-trace.h:30:24: warning: 'struct device' declared inside parameter list TP_PROTO(const struct device *dev, const char *reg, u32 offs, u32 val), Signed-off-by: Tomas Winkler tomas.wink...@intel.com ---

[PATCH] libfdt: Teach fdt_path_offset() about ':' path separator

2015-03-04 Thread Peter Hurley
stdout-path defines ':' as a path separator and commit 75c28c09af99a (of: add optional options parameter to of_find_node_by_path()) added the necessary support to parse paths terminated with ':' path separator. commit 7914a7c5651a5 (of: support passing console options with stdout-path) added

Re: linux-next: Tree for Mar 4 (build failures)

2015-03-04 Thread Guenter Roeck
On Wed, Mar 04, 2015 at 03:03:41PM +1100, Stephen Rothwell wrote: Hi all, Changes since 20150303: The md tree still had its build failure so I applied a fix patch. The mfd tree gained a build failure so I used the version from next-20150303. The clk tree still had its build failure

[char-misc-next 1/2] mei: free me client references on host init

2015-03-04 Thread Tomas Winkler
Fx fixes leak introduced by: commit b7d885145538 (mei: revamp me clients list handling) Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/client.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/misc/mei/client.c b/drivers/misc/mei/client.c index

Re: [PATCH 2/2] livepatch: fix patched module loading race

2015-03-04 Thread Josh Poimboeuf
On Wed, Mar 04, 2015 at 04:51:39PM +0100, Jiri Kosina wrote: On Wed, 4 Mar 2015, Josh Poimboeuf wrote: CPU0 CPU1 delete_module() #SYSCALL try_stop_module() mod-state = MODULE_STATE_GOING; mutex_unlock(module_mutex);

Re: [PATCH] MAINTAINERS: fix UTF-8 encoding

2015-03-04 Thread Jiri Kosina
On Wed, 4 Mar 2015, Nicolas Iooss wrote: Should I send the patch again with proper encoding? If you want it to be applied, then yes :) Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH v3 2/3] of: add optional options parameter to of_find_node_by_path()

2015-03-04 Thread Peter Hurley
Hi Leif, On 11/27/2014 12:56 PM, Leif Lindholm wrote: Update of_find_node_by_path(): 1) Rename function to of_find_node_opts_by_path(), adding an optional pointer argument. Provide a static inline wrapper version of of_find_node_by_path() which calls the new function with NULL as

Re: RFC: sysctl fixes

2015-03-04 Thread Marian Marinov
On 03/04/2015 05:48 PM, Stephan Mueller wrote: Am Mittwoch, 4. März 2015, 15:18:19 schrieb Marian Marinov: Hi Marian, Hello, we are running hundreds of containers and we got some valid requests from customers that want to be able to change their container's hostname using the sysctl

Re: [RFC/PATCH 2/2] perf probe: Allow weak symbols to be probed

2015-03-04 Thread Masami Hiramatsu
(2015/03/04 22:52), Namhyung Kim wrote: It currently prevents adding probes in weak symbols. But there're cases that given name is an only weak symbol so that we cannot add probe. $ perf probe -x /usr/lib/libc.so.6 -a calloc Failed to find symbol calloc in /usr/lib/libc-2.21.so

Re: [PATCH v2] KVM: vmx: Set msr bitmap correctly if vcpu is in guest mode

2015-03-04 Thread Bandan Das
Hi Wincy, Wincy Van fanwenyi0...@gmail.com writes: In commit 3af18d9c5fe9 (KVM: nVMX: Prepare for using hardware MSR bitmap), we are setting MSR_BITMAP in prepare_vmcs02 if we should use hardware. This is not enough since the field will be modified by following vmx_set_efer. Fix this by

RE: Question on MSI support in PCI and PCI-E devices

2015-03-04 Thread McKay, Luke
I don't personally know of any PCI drivers that use polling instead of interrupts, since that would really mean the hardware is broke. Basically all you need to do is create a timer, and have it's callback set to your driver routine that can check the device status registers to determine if

Re: [Debug 2/2] x86/PCI/ACPI: Relax ACPI resource descriptor checks to work around BIOS bugs

2015-03-04 Thread Prakash Punnoor
On 04.03.2015 03:29, Jiang Liu wrote: On 2015/3/3 23:18, Bjorn Helgaas wrote: On Mon, Mar 2, 2015 at 10:25 PM, Jiang Liu jiang@linux.intel.com wrote: Some BIOSes report incorrect length for ACPI address space descriptors, so relax the checks to avoid regressions. Signed-off-by: Jiang Liu

[PATCH v5 3/4] vfio: type1: replace vfio_domains_have_iommu_cache with generic function

2015-03-04 Thread Baptiste Reynal
From: Antonios Motakis a.mota...@virtualopensystems.com Replace the function vfio_domains_have_iommu_cache() with a more generic function vfio_domains_have_iommu_cap() which allows to check all domains of an vfio_iommu structure for a given cached capability. Signed-off-by: Antonios Motakis

Re: [PATCH] dmaengine: bam-dma: fill slave directions bit mask

2015-03-04 Thread Vinod Koul
On Wed, Mar 04, 2015 at 05:25:10PM +0200, Stanimir Varbanov wrote: This will avoid warning during async device registration. Signed-off-by: Stanimir Varbanov stanimir.varba...@linaro.org --- drivers/dma/qcom_bam_dma.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

Re: [PATCH v3 6/6] x86, mm: Support huge KVA mappings on x86

2015-03-04 Thread Toshi Kani
On Wed, 2015-03-04 at 01:00 +, Andrew Morton wrote: On Tue, 03 Mar 2015 16:14:32 -0700 Toshi Kani toshi.k...@hp.com wrote: On Tue, 2015-03-03 at 14:44 -0800, Andrew Morton wrote: On Tue, 3 Mar 2015 10:44:24 -0700 Toshi Kani toshi.k...@hp.com wrote: : + +#ifdef

Re: [PATCH 4.0-rc1 v17 4/6] printk: Simple implementation for NMI backtracing

2015-03-04 Thread Steven Rostedt
On Wed, 04 Mar 2015 08:13:21 -0800 Joe Perches j...@perches.com wrote: On Wed, 2015-03-04 at 10:12 +, Daniel Thompson wrote: Currently there is a quite a pile of code sitting in arch/x86/kernel/apic/hw_nmi.c to support safe all-cpu backtracing from NMI. The code is inaccessible to

Re: gadgetfs broken since 7f7f25e8

2015-03-04 Thread Alan Stern
On Tue, 3 Mar 2015, Al Viro wrote: On Tue, Mar 03, 2015 at 10:47:14AM -0500, Alan Stern wrote: On Tue, 3 Mar 2015, Al Viro wrote: Looking at that thing again... why do they need to be dummy? After all, those methods start with get_ready_ep(), which will fail unless we have -state

Re: [PATCH block/for-4.0-fixes] writeback: add missing INITIAL_JIFFIES init in global_update_bandwidth()

2015-03-04 Thread Jens Axboe
On 03/04/2015 08:30 AM, Jan Kara wrote: On Wed 04-03-15 10:22:43, Tejun Heo wrote: global_update_bandwidth() uses static variable update_time as the timestamp for the last update but forgets to initialize it to INITIALIZE_JIFFIES. This means that global_dirty_limit will be 5 mins into the

Re: [PATCH] thermal: Fix build for !CONFIG_THERMAL

2015-03-04 Thread Javi Merino
Hi Mark, On Wed, Mar 04, 2015 at 12:05:39PM +, Mark Brown wrote: Commit ddd4dd8ddf784 (thermal: extend the cooling device API to include power information) added stubs for newly introduced functions when !CONFIG_THERMAL but did not provide names for the parameters which is a syntax error

[PATCH/RFC v12 05/19] mfd: max77693: Modify flash cell name identifiers

2015-03-04 Thread Jacek Anaszewski
Change flash cell identifiers from max77693-flash to max77693-led to avoid confusion with NOR/NAND Flash. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Lee Jones lee.jo...@linaro.org --- drivers/mfd/max77693.c |4 ++-- 1

[PATCHv4 01/24] thp: cluster split_huge_page* code together

2015-03-04 Thread Kirill A. Shutemov
Rearrange code in mm/huge_memory.c to make future changes somewhat easier. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com --- mm/huge_memory.c | 224 +++ 1 file changed, 112 insertions(+), 112 deletions(-) diff --git

Re: [PATCH 4.0-rc1 v17 4/6] printk: Simple implementation for NMI backtracing

2015-03-04 Thread Daniel Thompson
On Wed, 2015-03-04 at 11:20 -0500, Steven Rostedt wrote: On Wed, 04 Mar 2015 08:13:21 -0800 Joe Perches j...@perches.com wrote: On Wed, 2015-03-04 at 10:12 +, Daniel Thompson wrote: Currently there is a quite a pile of code sitting in arch/x86/kernel/apic/hw_nmi.c to support safe

Re: [PATCH tip/core/rcu 02/20] x86: Use common outgoing-CPU-notification code

2015-03-04 Thread Paul E. McKenney
On Wed, Mar 04, 2015 at 09:55:11AM -0500, Boris Ostrovsky wrote: On 03/04/2015 09:43 AM, Paul E. McKenney wrote: On Tue, Mar 03, 2015 at 02:31:51PM -0800, Paul E. McKenney wrote: On Tue, Mar 03, 2015 at 05:06:50PM -0500, Boris Ostrovsky wrote: On 03/03/2015 04:26 PM, Paul E. McKenney wrote:

[PATCH] ARM: at91/dt: sama5d4: add aes, sha and tdes nodes

2015-03-04 Thread Nicolas Ferre
From: Leilei Zhao leilei.z...@atmel.com Signed-off-by: Leilei Zhao leilei.z...@atmel.com Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/sama5d4.dtsi | 40 1 file

[PATCH/RFC v12 12/19] of: Add Skyworks Solutions, Inc. vendor prefix

2015-03-04 Thread Jacek Anaszewski
Use skyworks as the vendor prefix for the Skyworks Solutions, Inc. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 file changed, 1 insertion(+) diff --git

[PATCH/RFC v12 14/19] exynos4-is: Add support for v4l2-flash subdevs

2015-03-04 Thread Jacek Anaszewski
This patch adds support for external v4l2-flash devices. The support includes parsing flashes DT property and asynchronous subdevice registration. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Sylwester Nawrocki

Re: [PATCH 07/38] perf tools: Handle indexed data file properly

2015-03-04 Thread Jiri Olsa
On Tue, Mar 03, 2015 at 12:07:19PM +0900, Namhyung Kim wrote: When perf detects data file has index table, process header part first and then rest data files in a row. Note that the indexed sample data is recorded for each cpu/thread separately, it's already ordered with respect to themselves

Re: [PATCH] MAINTAINERS: fix UTF-8 encoding

2015-03-04 Thread Geert Uytterhoeven
On Wed, Mar 4, 2015 at 4:02 PM, Jiri Kosina jkos...@suse.cz wrote: --- a/MAINTAINERS +++ b/MAINTAINERS @@ -725,7 +725,7 @@ F:staging/iio/trigger/iio-trig-bfin-timer.c ANDROID DRIVERS M: Greg Kroah-Hartman gre...@linuxfoundation.org -M: Arve Hj?nnev?g a...@android.com +M:

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-04 Thread Greg KH
On Wed, Mar 04, 2015 at 02:31:08PM +0100, Juergen Gross wrote: On 03/02/2015 12:39 PM, David Vrabel wrote: On 26/02/15 13:35, Juergen Gross wrote: Introduces the Xen pvUSB backend. With pvUSB it is possible for a Xen domU to communicate with a USB device assigned to that domU. The

Re: RFC: sysctl fixes

2015-03-04 Thread Stephan Mueller
Am Mittwoch, 4. März 2015, 15:18:19 schrieb Marian Marinov: Hi Marian, Hello, we are running hundreds of containers and we got some valid requests from customers that want to be able to change their container's hostname using the sysctl command. The current implementation does not allow each

Re: [PATCH 4/4] drm/msm/mdp5: Make the intf connection in config module

2015-03-04 Thread Stéphane Viau
Hi, Hi Archit, On 03/04/2015 12:06 AM, Stephane Viau wrote: Up until now, we assume that eDP is tight to intf_0 and HDMI to intf_3. This information shall actually come from the mdp5_cfg module since it can change from one chip to another. Signed-off-by: Stephane Viau

[PATCH] ARM: at91/dt: sama5d4: add ISI dt support

2015-03-04 Thread Nicolas Ferre
From: Josh Wu josh...@atmel.com Add ISI dt node and pinctrl settings in sama5d4.dtsi. Signed-off-by: Josh Wu josh...@atmel.com [nicolas.fe...@atmel.com: sort nodes in order. remove useless comments] Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/sama5d4.dtsi | 42

[PATCH v5 4/4] vfio: type1: implement the VFIO_DMA_MAP_FLAG_NOEXEC flag

2015-03-04 Thread Baptiste Reynal
From: Antonios Motakis a.mota...@virtualopensystems.com Some IOMMU drivers, such as the ARM SMMU driver, make available the IOMMU_NOEXEC flag to set the page tables for a device as XN (execute never). This affects devices such as the ARM PL330 DMA Controller, which respects this flag and will

Re: [PATCH 4.0-rc1 v17 4/6] printk: Simple implementation for NMI backtracing

2015-03-04 Thread Joe Perches
On Wed, 2015-03-04 at 10:12 +, Daniel Thompson wrote: Currently there is a quite a pile of code sitting in arch/x86/kernel/apic/hw_nmi.c to support safe all-cpu backtracing from NMI. The code is inaccessible to backtrace implementations for other architectures, which is a shame because

Re: [PATCH tip/core/rcu 02/20] x86: Use common outgoing-CPU-notification code

2015-03-04 Thread Boris Ostrovsky
On 03/04/2015 10:45 AM, David Vrabel wrote: On 04/03/15 14:55, Boris Ostrovsky wrote: In the meantime, it turned out that HVM guests are broken by this patch (with our without changes that we've been discussing), because HVM CPUs die with static void xen_hvm_cpu_die(unsigned int cpu) {

[PATCH v5 2/4] vfio: introduce the VFIO_DMA_MAP_FLAG_NOEXEC flag

2015-03-04 Thread Baptiste Reynal
From: Antonios Motakis a.mota...@virtualopensystems.com We introduce the VFIO_DMA_MAP_FLAG_NOEXEC flag to the VFIO dma map call, and expose its availability via the capability VFIO_DMA_NOEXEC_IOMMU. This way the user can control whether the XN flag will be set on the requested mappings. The

[PATCH 1/2] ARM: at91/dt: sama5d4: rename lcd_clk into lcdc_clk

2015-03-04 Thread Nicolas Ferre
From: Boris BREZILLON boris.brezil...@free-electrons.com Rename lcd_clk into lcdc_clk to be consistent with sama5d3 clock definitions. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/sama5d4.dtsi | 2 +-

[PATCH] HID: Kconfig: add USB_HID dependency to UC-LOGIC

2015-03-04 Thread Benjamin Tissoires
In commit 08177f4 (HID: uclogic: merge hid-huion driver in hid-uclogic) HID_HUION depends explicitely on USB_HID because it contained quite some USB-isms. Now that hid-uclogic is the new home of Huion tablets, we need to also add the dependency on USB_HID to this driver. Reported-by: Jiri Kosina

Re: [PATCH v3 2/6] HID: uclogic: merge hid-huion driver in hid-uclogic

2015-03-04 Thread Benjamin Tissoires
On Mar 04 2015 or thereabouts, Jiri Kosina wrote: On Tue, 3 Mar 2015, Benjamin Tissoires wrote: From: Nikolai Kondrashov nikolai.kondras...@redhat.com Merge the hid-huion driver into hid-uclogic as all the devices supported by hid-huion are in fact UC-Logic devices. Signed-off-by:

[PATCH 2/2] ARM: at91/dt: sama5d4: fix lcdck parent clk

2015-03-04 Thread Nicolas Ferre
From: Boris BREZILLON boris.brezil...@free-electrons.com lcdck takes mck (not smd) as its parent. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/sama5d4.dtsi | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH/RFC v12 19/19] leds: aat1290: add support for V4L2 Flash sub-device

2015-03-04 Thread Jacek Anaszewski
Add support for V4L2 Flash sub-device to the aat1290 LED Flash class driver. The support allows for V4L2 Flash sub-device to take the control of the LED Flash class device. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu

[PATCH/RFC v12 01/19] leds: flash: Remove synchronized flash strobe feature

2015-03-04 Thread Jacek Anaszewski
Synchronized flash strobe feature has been considered not fitting for LED subsystem sysfs interface and thus is being removed. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu coolo...@gmail.com Cc: Richard Purdie

[PATCH/RFC v12 07/19] mfd: max77693: add TORCH_IOUT_MASK macro

2015-03-04 Thread Jacek Anaszewski
Add a macro for obtaining the mask of ITORCH register bit fields related either to FLED1 or FLED2 current output. The expected arguments are TORCH_IOUT1_SHIFT or TORCH_IOUT2_SHIFT. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc:

[PATCH/RFC v12 00/19] LED / flash API integration

2015-03-04 Thread Jacek Anaszewski
This patch set is a follow-up of the LED / flash API integration series [1]. It is based on linux-next_20150304 Changes since version 11 : - removed synchronized strobe feature from LED Flash class, as it turned out to be not fitting for sysfs

[PATCH/RFC v12 10/19] DT: Add documentation for the mfd Maxim max77693

2015-03-04 Thread Jacek Anaszewski
This patch adds device tree binding documentation for the flash cell of the Maxim max77693 multifunctional device. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Signed-off-by: Andrzej Hajda a.ha...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Lee Jones

[PATCH/RFC v12 17/19] DT: Add documentation for exynos4-is 'flashes' property

2015-03-04 Thread Jacek Anaszewski
This patch adds a description of 'flashes' property to the samsung-fimc.txt. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Sylwester Nawrocki s.nawro...@samsung.com --- .../devicetree/bindings/media/samsung-fimc.txt |8

[PATCH/RFC v12 13/19] DT: Add documentation for the Skyworks AAT1290

2015-03-04 Thread Jacek Anaszewski
This patch adds device tree binding documentation for 1.5A Step-Up Current Regulator for Flash LEDs. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu coolo...@gmail.com Cc: Richard Purdie rpur...@rpsys.net ---

[PATCH/RFC v12 03/19] Documentation: leds: Add description of LED Flash class extension

2015-03-04 Thread Jacek Anaszewski
The documentation being added contains overall description of the LED Flash Class and the related sysfs attributes. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu coolo...@gmail.com Cc: Richard Purdie rpur...@rpsys.net ---

[PATCHv4 18/24] thp, mm: split_huge_page(): caller need to lock page

2015-03-04 Thread Kirill A. Shutemov
We're going to use migration entries instead of compound_lock() to stabilize page refcounts. Setup and remove migration entries require page to be locked. Some of split_huge_page() callers already have the page locked. Let's require everybody to lock the page before calling split_huge_page().

Re: [RFC PATCH 0/1] Wrong structure alignment due to compiler attribute section

2015-03-04 Thread Lino Sanfilippo
On 04.03.2015 15:35, Dave Martin wrote: Try rm drivers/clk/mvebu/kirkwood.o make ARCH=arm KBUILD_CFLAGS_KERNEL=-save-temps drivers/clk/mvebu/kirkwood.o (abuse of KBUILD_CFLAGS_KERNEL here, but it's empty by default, and I'm too lazy to copy-paste command lines...) The compiler will split

Re: unbind/bind w1-gpio with device tree produce a crash

2015-03-04 Thread Ingo Flaschberger
is it ok, to create a new global variable that tracks if pdata was alloced via devm_kzalloc and sets pdata to NULL in w1_gpio_remove? Am 04.03.2015 um 04:53 schrieb Ingo Flaschberger: If w1-gpio is probed via device-tree configuration, pdata is allocated via devm_kzalloc. When the device is

  1   2   3   4   5   6   7   8   9   10   >