Re: [PATCH v3 3/9] DocBook/v4l: Add compressed video formats used on MT8173 codec driver

2016-07-08 Thread Hans Verkuil
On 05/30/2016 02:29 PM, Tiffany Lin wrote: > Add V4L2_PIX_FMT_MT21 documentation > > Signed-off-by: Tiffany Lin > --- > Documentation/DocBook/media/v4l/pixfmt.xml |6 ++ > 1 file changed, 6 insertions(+) > > diff --git

Re: [PATCH 3/6] x86/mce: Add support for new MCA_SYND register

2016-07-08 Thread Ingo Molnar
* Borislav Petkov wrote: > On Fri, Jul 08, 2016 at 11:46:53AM +0200, Ingo Molnar wrote: > > I'm not sure I can parse that: how can a reported error have bits corrupted? > > No, it is about the actual bits in memory the ECC error is generated > for. So, for example, if an ECC

Re: [PATCH] nfsd: Make creates return EEXIST correctly instead of EPERM

2016-07-08 Thread Jeff Layton
On Thu, 2016-07-07 at 21:47 -0400, Oleg Drokin wrote: > It looks like we are bit overzealous about failing mkdir/create/mknod > with permission denied if the parent dir is not writeable. > Need to make sure the name does not exist first, because we need to > return EEXIST in that case. > >

Re: [RFC PATCH v2] net: sched: convert qdisc linked list to hashtable

2016-07-08 Thread Thomas Graf
On 07/07/16 at 10:36pm, Jiri Kosina wrote: > diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h > index f45929c..630838e 100644 > --- a/include/linux/netdevice.h > +++ b/include/linux/netdevice.h > @@ -52,6 +52,7 @@ > #include > #include > #include > +#include > > struct

[PATCH v7 01/11] Input: atmel_mxt_ts - update MAINTAINERS email address

2016-07-08 Thread Nick Dyer
I'm leaving ITDev, so change to my personal email. My understanding is that someone at Atmel will take this on once their takeover by Microchip has settled down. Signed-off-by: Nick Dyer --- MAINTAINERS |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH v7 07/11] Input: atmel_mxt_ts - handle diagnostic data orientation

2016-07-08 Thread Nick Dyer
Invert the diagnostic data to match the orientation of the input device. Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 26 +- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git

[PATCH v3] sched/deadline: remove useless param from setup_new_dl_entity

2016-07-08 Thread Juri Lelli
setup_new_dl_entity() takes two parameters, but it only actually uses one of them, under a different name, to setup a new dl_entity, after: 2f9f3fdc928 "sched/deadline: Remove dl_new from struct sched_dl_entity" as we currently do setup_new_dl_entity(>dl, >dl) However, before Luca's change

[PATCH v7 04/11] Input: atmel_mxt_ts - add support for T37 diagnostic data

2016-07-08 Thread Nick Dyer
Atmel maXTouch devices have a T37 object which can be used to read raw touch deltas from the device. This consists of an array of 16-bit integers, one for each node on the touchscreen matrix. Signed-off-by: Nick Dyer --- drivers/input/touchscreen/Kconfig|6 ++

Re: [PATCH] arm64: defconfig: Enable s2mps11 regulator clk and s3c rtc driver

2016-07-08 Thread Alim Akhtar
On 07/06/2016 11:33 AM, Krzysztof Kozlowski wrote: On 07/05/2016 12:06 PM, Alim Akhtar wrote: The s3c rtc controller on exynos7 platform uses rtc source clock from s2mps11 pmic. This patch enables the required bits to make rtc work on exynos7-espresso board. Signed-off-by: Alim Akhtar

[PATCH] v4l2-compliance: Changes to support touch sensors

2016-07-08 Thread Nick Dyer
Signed-off-by: Nick Dyer --- utils/v4l2-compliance/v4l2-compliance.cpp| 51 +- utils/v4l2-compliance/v4l2-compliance.h |1 + utils/v4l2-compliance/v4l2-test-input-output.cpp |4 +- 3 files changed, 53 insertions(+), 3

[PATCH 07/20] iommu/amd: Remove special mapping code for dma_ops path

2016-07-08 Thread Joerg Roedel
From: Joerg Roedel Use the iommu-api map/unmap functions instead. This will be required anyway when IOVA code is used for address allocation. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu.c | 107 ++ 1

[PATCH 20/20] iommu/amd: Use container_of to get dma_ops_domain

2016-07-08 Thread Joerg Roedel
From: Joerg Roedel This is better than storing an extra pointer in struct protection_domain, because this pointer can now be removed from the struct. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu.c | 38 +++---

[PATCH 14/20] iommu/amd: Implement timeout to flush unmap queues

2016-07-08 Thread Joerg Roedel
From: Joerg Roedel In case the queue doesn't fill up, we flush the TLB at least 10ms after the unmap happened to make sure that the TLB is cleaned up. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu.c | 28 1 file changed,

[PATCH 09/20] iommu/amd: Remove other remains of old address allocator

2016-07-08 Thread Joerg Roedel
From: Joerg Roedel There are other remains in the code from the old allocatore. Remove them all. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu.c | 305 +- 1 file changed, 5 insertions(+), 300 deletions(-)

Re: [PATCH] [RFC] Kbuild: avoid "make tinyconfig" warnings

2016-07-08 Thread Arnd Bergmann
On Friday, July 8, 2016 10:41:57 AM CEST Masahiro Yamada wrote: > 2016-07-06 22:49 GMT+09:00 Arnd Bergmann : > >> It is already specified by: > >> > >> allnoconfig allyesconfig allmodconfig alldefconfig randconfig: $(obj)/conf > >> $< --$@ $(Kconfig) > > > > > > I don't

[PATCH 11/20] iommu/amd: Set up data structures for flush queue

2016-07-08 Thread Joerg Roedel
From: Joerg Roedel The flush queue is the equivalent to defered-flushing in the Intel VT-d driver. This patch sets up the data structures needed for this. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu.c | 40 +++-

[PATCH 08/20] iommu/amd: Make use of the generic IOVA allocator

2016-07-08 Thread Joerg Roedel
From: Joerg Roedel Remove the old address allocation code and make use of the generic IOVA allocator that is also used by other dma-ops implementations. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu.c | 183

[PATCH 10/20] iommu/amd: Remove align-parameter from __map_single()

2016-07-08 Thread Joerg Roedel
From: Joerg Roedel This parameter is not required anymore because the iova-allocations are always aligned to its size. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git

[tip:x86/platform] x86/platform/intel-mid: Enable spidev on Intel Edison boards

2016-07-08 Thread tip-bot for Andy Shevchenko
Commit-ID: e81e11bc71573709352a5275e175a4b2ee1325e5 Gitweb: http://git.kernel.org/tip/e81e11bc71573709352a5275e175a4b2ee1325e5 Author: Andy Shevchenko AuthorDate: Tue, 5 Jul 2016 03:14:50 +0300 Committer: Ingo Molnar CommitDate: Fri,

Re: [PATCH v15 net-next 1/1] hv_sock: introduce Hyper-V Sockets

2016-07-08 Thread Cathy Avery
It's too bad about having to allocate the send/receive rings on a per socket basis. Hopefully this will change in the future. I have built kernel 4.7.0-rc6 with this patch and did a quick test on the driver using rhel7 over hyperv Windows Server 2016 TP5. These were basic send and receive

[tip:x86/platform] x86/platform/intel-mid: Extend PWRMU to support Penwell

2016-07-08 Thread tip-bot for Andy Shevchenko
Commit-ID: ca22312dc840065206285626829ceed8bb4df88c Gitweb: http://git.kernel.org/tip/ca22312dc840065206285626829ceed8bb4df88c Author: Andy Shevchenko AuthorDate: Tue, 5 Jul 2016 23:09:08 +0300 Committer: Ingo Molnar CommitDate: Fri,

[tip:ras/core] x86/mce/AMD: Increase size of the bank_map type

2016-07-08 Thread tip-bot for Aravind Gopalakrishnan
Commit-ID: 955d1427a91b18f53e082bd7c19c40ce13b0a0f4 Gitweb: http://git.kernel.org/tip/955d1427a91b18f53e082bd7c19c40ce13b0a0f4 Author: Aravind Gopalakrishnan AuthorDate: Fri, 8 Jul 2016 11:09:38 +0200 Committer: Ingo Molnar CommitDate:

[PATCH v2 0/4] xen: prefer xenbus_scanf() over xenbus_gather()

2016-07-08 Thread Jan Beulich
For single items being collected this should be preferred as being more typesafe (as the compiler can check format string and to-be-written-to variable match) and more efficient (requiring one less parameter to be passed). 1: xenbus: prefer xenbus_scanf() over xenbus_gather() 2: xen-blkback:

[PATCH v2 1/4] xenbus: prefer xenbus_scanf() over xenbus_gather()

2016-07-08 Thread Jan Beulich
For single items being collected this should be preferred as being more typesafe (as the compiler can check format string and to-be-written-to variable match) and more efficient (requiring one less parameter to be passed). Signed-off-by: Jan Beulich --- v2: Avoid commit

Re: [PATCH 0/2] sched/cputime: Deltas for "replace VTIME_GEN irq time code with IRQ_TIME_ACCOUNTING code"

2016-07-08 Thread Frederic Weisbecker
On Fri, Jul 08, 2016 at 02:21:17PM +0200, Ingo Molnar wrote: > > * Frederic Weisbecker wrote: > > > On Fri, Jul 08, 2016 at 02:03:03PM +0200, Ingo Molnar wrote: > > > > > > * Frederic Weisbecker wrote: > > > > > > > On Fri, Jul 08, 2016 at 09:30:46AM

Re: [PATCH v7 2/4] soc: mediatek: Init MT8173 scpsys driver earlier

2016-07-08 Thread Matthias Brugger
On 06/07/16 07:22, James Liao wrote: On Sat, 2016-07-02 at 18:35 +0200, Matthias Brugger wrote: On 05/16/2016 11:28 AM, James Liao wrote: Some power domain comsumers may init before module_init. So the power domain provider (scpsys) need to be initialized earlier too. Take an example for

[PATCH v5] clk: exynos5433: remove CLK_IGNORE_UNUSED flag from SPI clocks

2016-07-08 Thread Andi Shyti
Commit b82ec4e and a9e93e8 have added support in the spi device driver for the three clock lines required by the SPI controller and handles the dependency between the three (by not disabling any after resume). This way none of the SPI clocks require any criticality: remove, then the

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-08 Thread Seth Forshee
On Fri, Jul 08, 2016 at 02:22:24PM +0200, Michal Hocko wrote: > On Wed 06-07-16 18:07:18, Jeff Layton wrote: > > On Wed, 2016-07-06 at 12:46 -0500, Seth Forshee wrote: > > > We're seeing a hang when freezing a container with an nfs bind mount while > > > running iozone. Two iozone processes were

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-08 Thread Seth Forshee
On Fri, Jul 08, 2016 at 09:53:30AM +1000, Dave Chinner wrote: > On Wed, Jul 06, 2016 at 06:07:18PM -0400, Jeff Layton wrote: > > On Wed, 2016-07-06 at 12:46 -0500, Seth Forshee wrote: > > > We're seeing a hang when freezing a container with an nfs bind mount while > > > running iozone. Two iozone

Re: [PATCH 1/2] KVM: x86: move MSR_IA32_FEATURE_CONTROL handling to x86.c

2016-07-08 Thread Radim Krčmář
2016-07-08 14:01+0200, Paolo Bonzini: > Because the MSR is listed in msrs_to_save, it is exported to userspace > for both AMD and Intel processors. However, on AMD currently getting > it will fail. > > vmx_set_msr must keep the case label in order to handle the "exit > nested on reset by writing

Re: [PATCH] usb: gadget: f_midi: Add checking if it need align buffer's size to an ep's maxpacketsize

2016-07-08 Thread Michal Nazarewicz
On Fri, Jul 08 2016, Baolin Wang wrote: > On 7 July 2016 at 20:51, Michal Nazarewicz wrote: >> On Thu, Jul 07 2016, Baolin Wang wrote: >>> Some gadget device (such as dwc3 gadget) requires quirk_ep_out_aligned_size >>> attribute, which means it need to align the request

Re: PCI bus error on startup while booting

2016-07-08 Thread Abhishek Bhatia
Things it solves: No more error at the start or at the logs. Things it doesn't solve: At times, the system doesn't load beyond the kubuntu loading screen as before. I have to force shutdown and restart. After this, it works. This is happens often but sorry can't find how to reproduce. The startup

Re: [PATCH 3/4] spi: s3c64xx: add nexynos5433 compatible for ioclk handling

2016-07-08 Thread Krzysztof Kozlowski
On 07/08/2016 02:18 PM, Andi Shyti wrote: > The new compatible is related to the Samsunx exynos5433 SoC. The s/Samsunx/Samsung Capitalize first letter: Exynos5433 > difference between the previous is that in the exynos5433 the SPI > controller is driven by three clocks instead of only one. > >

Re: [PATCH v6 00/10] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-07-08 Thread Lorenzo Pieralisi
On Thu, Jul 07, 2016 at 03:58:04PM +0200, Rafael J. Wysocki wrote: [...] > > Anyway let's avoid these petty arguments, I agree there must be some > > sort of ARM64 ACPI maintainership for the reasons you mentioned above. > > To avoid confusion on who's going to push stuff to Linus, I can do >

Re: [PATCH] usb: gadget: f_midi: Add checking if it need align buffer's size to an ep's maxpacketsize

2016-07-08 Thread Felipe Balbi
Hi, Michal Nazarewicz writes: > On Fri, Jul 08 2016, Baolin Wang wrote: >> On 7 July 2016 at 20:51, Michal Nazarewicz wrote: >>> On Thu, Jul 07 2016, Baolin Wang wrote: Some gadget device (such as dwc3 gadget) requires quirk_ep_out_aligned_size

Re: [PATCH v4] mwifiex: Reduce endian conversion for REG Host Commands

2016-07-08 Thread Kalle Valo
Amitkumar Karwar writes: >> From: Prasun Maiti [mailto:prasunmait...@gmail.com] >> Sent: Monday, June 27, 2016 3:43 PM >> To: Amitkumar Karwar >> Cc: Nishant Sarmukadam; Linux Wireless; Linux Next; Linux Kernel; Kalle >> Valo >> Subject: [PATCH v4] mwifiex: Reduce endian

Re: [PATCH 1/5] security, overlayfs: provide copy up security hook for unioned files

2016-07-08 Thread Vivek Goyal
On Fri, Jul 08, 2016 at 08:45:34AM -0400, Vivek Goyal wrote: [..] > > >>> I don't much care for the way part of the credential manipulation > > >>> is done in the caller and part is done the the security module. > > >>> If the caller is going to restore the old state, the caller should > > >>>

[GIT PULL] perf fixes

2016-07-08 Thread Ingo Molnar
Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus # HEAD: 2c81a6477081966fe80b8c6daa68459bca896774 perf/core: Fix pmu::filter_match for SW-led groups Various fixes: - 32-bit callgraph bug

Re: [linux-next] rtlwifi: Fix typo in printk

2016-07-08 Thread Kalle Valo
Masanari Iida wrote: > This patch fix spelling typos found in drivers/net/wireless/realtek. > > Signed-off-by: Masanari Iida > Reviewed-by: Julian Calaby Thanks, 1 patch applied to wireless-drivers-next.git: 8a1902374fa0

Re: [1/2] brcmfmac: delete interface directly in code that sent fw request

2016-07-08 Thread Kalle Valo
Rafał Miłecki wrote: > So far when receiving event about in-firmware-interface removal our > event worker was notifying listener and afterwards it was removing Linux > interface. > > First of all it was resulting in slightly unexpected order. The listener > (del_virtual_intf callback) was

Re: [v2] mwifiex: Fix endianness for event TLV type TLV_BTCOEX_WL_SCANTIME

2016-07-08 Thread Kalle Valo
Prasun Maiti wrote: > The two members min_scan_time and max_scan_time of structure > "mwifiex_ie_types_btcoex_scan_time" are of two bytes each. The values > are assigned directtly from firmware without endian conversion handling. > So, wrong datas will get saved in

Re: [PATCH v4 2/2] KVM: nVMX: Fix preemption timer bit set in vmcs02 even if L1 doesn't enable it

2016-07-08 Thread Wanpeng Li
2016-07-08 18:18 GMT+08:00 Paolo Bonzini : > > > On 08/07/2016 02:38, Wanpeng Li wrote: >> 2016-07-07 22:11 GMT+08:00 Paolo Bonzini : >>> >>> >>> On 07/07/2016 15:23, Wanpeng Li wrote: if (kvm_lapic_hv_timer_in_use(vcpu) &&

Re: wcn36xx: Silence error about unsupported smd event 188

2016-07-08 Thread Kalle Valo
Bjorn Andersson wrote: > Sometimes the firmware sends a HAL_DEL_BA_IND, the prima driver silently > ignore this message so let's do the same to silence the error message. > > Cc: Nicolas Dechesne > Signed-off-by: Bjorn Andersson

Dear Beneficiary,

2016-07-08 Thread Sarah Michael
Dear Beneficiary, I'm happy to inform you that your email address has been selected among those that have compensation payment of ($2.5 Million USD), The INTERNATIONAL MONETARY FUND contacted us for the release of your money a couple of hours ago due to your allocated security code. We are

[LINUX PATCH] mtd: spi-nor: Added support for n25q00a.

2016-07-08 Thread P L Sai Krishna
Add Micron (n25q00a) 1Gbit NOR Flash in the list of supported devices. This part is different from n25q00 in Memory Type. Memory Type for n25q00 - BAh Memory Type for n25q00a - BBh Signed-off-by: P L Sai Krishna --- drivers/mtd/spi-nor/spi-nor.c | 1 + 1 file changed, 1

Re: [PATCH 1/2] x86/dumpstack: Optimize save_stack_trace

2016-07-08 Thread Josh Poimboeuf
On Fri, Jul 08, 2016 at 12:08:19PM +0200, Ingo Molnar wrote: > > * Byungchul Park wrote: > > > On Mon, Jul 04, 2016 at 07:27:54PM +0900, Byungchul Park wrote: > > > I suggested this patch on https://lkml.org/lkml/2016/6/20/22. However, > > > I want to proceed saperately

Re: [PATCH v5] clk: exynos5433: remove CLK_IGNORE_UNUSED flag from SPI clocks

2016-07-08 Thread Andi Shyti
> > drivers/clk/samsung/clk-exynos5433.c | 5 ++--- > > 1 file changed, 2 insertions(+), 3 deletions(-) > > > > Patch is okay: > Reviewed-by: Krzysztof Kozlowski > > but I think this should not go in separately. This should be part of > SPI-related changes which add

[PATCH v5 2/7] mfd: ac100: Add driver for X-Powers AC100 audio codec / RTC combo IC

2016-07-08 Thread Chen-Yu Tsai
The AC100 is a multifunction device with an audio codec subsystem and an RTC subsystem. These two subsystems share a common register space and host interface. Signed-off-by: Chen-Yu Tsai Acked-by: Lee Jones --- Changes since v4: - None. Changes since v3:

[PATCH v5 3/7] rtc: ac100: Add RTC driver for X-Powers AC100

2016-07-08 Thread Chen-Yu Tsai
X-Powers AC100 is a codec / RTC combo chip. This driver supports the RTC sub-device. The RTC block also has clock outputs and non-volatile storage. Non-volatile storage wthin the RTC hardware is not supported. Clock output support is added in the next patch. Signed-off-by: Chen-Yu Tsai

[PATCH v5 1/7] mfd: ac100: Add device tree bindings for X-Powers AC100 codec/RTC combo IC

2016-07-08 Thread Chen-Yu Tsai
The AC100 is a multifunction device with an audio codec subsystem and an RTC subsystem. These two subsystems share a common register space and host interface. Signed-off-by: Chen-Yu Tsai Acked-by: Rob Herring --- Changes since v4: - Style changes suggested by

[PATCH v5 0/7] mfd: ac100: Add support for X-Powers AC100 audio codec / RTC combo IC

2016-07-08 Thread Chen-Yu Tsai
Hi everyone, This series adds support for X-Powers' AC100 audio codec / RTC combo IC. This chip is found on Allwinner A80 SoC based boards, and is also part of the AXP813/AXP818 PMIC found with Allwinner A83T SoCs. The series focuses on the RTC side of the chip. The audio codec will be done

[PATCH v5 4/7] rtc: ac100: Add clk output support

2016-07-08 Thread Chen-Yu Tsai
The AC100's RTC side has 3 clock outputs on external pins, which can provide a clock signal to the SoC or other modules, such as WiFi or GSM modules. Support this with a custom clk driver integrated with the rtc driver. Signed-off-by: Chen-Yu Tsai --- Changes since v4: none

Re: [PATCH 4/4] irqtime: drop local_irq_save/restore from irqtime_account_irq

2016-07-08 Thread Paolo Bonzini
On 08/07/2016 15:19, Rik van Riel wrote: > On Fri, 2016-07-08 at 14:30 +0200, Frederic Weisbecker wrote: >> On Thu, Jun 30, 2016 at 03:35:50PM -0400, r...@redhat.com wrote: >>> From: Rik van Riel >>> >>> Drop local_irq_save/restore from irqtime_account_irq. >>> Instead, have

[tip:x86/mm] selftests/x86: Add vDSO mremap() test

2016-07-08 Thread tip-bot for Dmitry Safonov
Commit-ID: f80fd3a5fff88a9ace7e8cd11d07cf874a63ea9f Gitweb: http://git.kernel.org/tip/f80fd3a5fff88a9ace7e8cd11d07cf874a63ea9f Author: Dmitry Safonov AuthorDate: Tue, 28 Jun 2016 14:35:39 +0300 Committer: Ingo Molnar CommitDate: Fri, 8 Jul 2016

Re: [PATCH] x86/perf/intel/rapl: Fix module name collision with powercap intel-rapl

2016-07-08 Thread Ingo Molnar
* Ville Syrjälä wrote: > On Thu, Jun 23, 2016 at 06:06:49PM +0300, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > Since commit 4b6e2571bf00 ("x86/perf/intel/rapl: Make the Intel RAPL PMU > > driver modular")

Re: [PATCH 1/2] KVM: x86: move MSR_IA32_FEATURE_CONTROL handling to x86.c

2016-07-08 Thread Paolo Bonzini
On 08/07/2016 14:41, Haozhong Zhang wrote: > On 07/08/16 14:01, Paolo Bonzini wrote: >> > Because the MSR is listed in msrs_to_save, it is exported to userspace >> > for both AMD and Intel processors. However, on AMD currently getting >> > it will fail. >> > > Is MSR_IA32_FEATURE_CONTROL

Re: mwifiex: mask PCIe interrupts before removal

2016-07-08 Thread Kalle Valo
Brian Norris wrote: > The PCIe driver didn't mask the host interrupts before trying to tear > down. This causes lockups at reboot or rmmod when using MSI-X on 8997, > since the MSI handler gets confused and locks up the system. > > Also tested on 8897, which does not

[PATCH v2] arm: omap1_defconfig: convert to use libata PATA drivers

2016-07-08 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

[GIT PULL] scheduler fixes

2016-07-08 Thread Ingo Molnar
Linus, Please pull the latest sched-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus # HEAD: ea1dc6fc6242f991656e35e2ed3d90ec1cd13418 sched/fair: Fix calc_cfs_shares() fixed point arithmetics width confusion Two

Re: [PATCH 1/1] arm64/hugetlb: clear PG_dcache_clean if the page is dirty when munmap

2016-07-08 Thread Catalin Marinas
On Fri, Jul 08, 2016 at 11:36:57AM +0800, Leizhen (ThunderTown) wrote: > On 2016/7/7 23:37, Catalin Marinas wrote: > > On Thu, Jul 07, 2016 at 08:09:04PM +0800, Zhen Lei wrote: > >> At present, PG_dcache_clean is only cleared when the related huge page > >> is about to be freed. But sometimes,

Re: [dm-devel] [RFC] block: fix blk_queue_split() resource exhaustion

2016-07-08 Thread Lars Ellenberg
On Fri, Jul 08, 2016 at 07:24:24PM +0600, Pavel Goran wrote: > Friday, July 8, 2016, 7:00:35 PM, you wrote: > > On Fri, Jul 08, 2016 at 07:39:36PM +1000, NeilBrown wrote: > >> I think we just might be in violent agreement. > > > I thought so, too :-) > > > Should I merge both patches, > > rename

Re: rtc-palmas: correct for bcd year

2016-07-08 Thread Alexandre Belloni
On 05/01/2016 at 08:08:50 -0800, Mark Salyzyn wrote : > On 01/04/2016 04:00 PM, Alexandre Belloni wrote: > > I'd say that the proper course of action is to refuse to set dates > > before 2000 and after 2100. See > > http://patchwork.ozlabs.org/patch/541037/ > Got it. > > We have an issue though,

Re: [PATCH] x86/perf/intel/rapl: Fix module name collision with powercap intel-rapl

2016-07-08 Thread Ville Syrjälä
On Fri, Jul 08, 2016 at 03:23:29PM +0200, Ingo Molnar wrote: > > * Ville Syrjälä wrote: > > > On Thu, Jun 23, 2016 at 06:06:49PM +0300, ville.syrj...@linux.intel.com > > wrote: > > > From: Ville Syrjälä > > > > > > Since commit

Re: [PATCH 1/2] x86/dumpstack: Optimize save_stack_trace

2016-07-08 Thread Josh Poimboeuf
On Mon, Jul 04, 2016 at 07:27:54PM +0900, Byungchul Park wrote: > I suggested this patch on https://lkml.org/lkml/2016/6/20/22. However, > I want to proceed saperately since it's somewhat independent from each > other. Frankly speaking, I want this patchset to be accepted at first so > that the

[PATCH v1.1] x86/asm/entry: Make thunk's restore a local label

2016-07-08 Thread Borislav Petkov
On Fri, Jul 08, 2016 at 03:38:51PM +0200, Ingo Molnar wrote: > Btw., could we make it .L_restore to make it more readable - or does the > underscore confuse tooling? Nah, builds fine too. --- From: Borislav Petkov Date: Fri, 8 Jul 2016 16:01:48 +0200 Subject: [PATCH v1.1]

Re: [PATCH v4 2/2] KVM: nVMX: Fix preemption timer bit set in vmcs02 even if L1 doesn't enable it

2016-07-08 Thread Wanpeng Li
2016-07-08 21:58 GMT+08:00 Wanpeng Li : > 2016-07-08 18:18 GMT+08:00 Paolo Bonzini : >> >> >> On 08/07/2016 02:38, Wanpeng Li wrote: >>> 2016-07-07 22:11 GMT+08:00 Paolo Bonzini : On 07/07/2016 15:23, Wanpeng Li wrote:

Re: [PATCH 5/7] drm/rockchip: dw-mipi: support HPD poll

2016-07-08 Thread John Keeping
On Fri, 8 Jul 2016 17:04:59 +0800, Chris Zhong wrote: > At the first time of bind, there is no any panel attach in mipi. Add a > DRM_CONNECTOR_POLL_HPD porperty to detect the panel status, when panel > probe, the dw_mipi_dsi_host_attach would be called, then mipi-dsi will > trigger a event to

Re: [PATCH] rtc: ds1307: Fix relying on reset value for weekday

2016-07-08 Thread Alexandre Belloni
On 01/06/2016 at 16:19:07 +0530, Keerthy wrote : > The reset value of weekday is 0x1. This is wrong since > the reset values of the day/month/year make up to Jan 1 2001. > When computed weekday comes out to be Monday. On a scale > of 1-7(Sunday - Saturday) it should be 0x2. So we should not > be

Re: [PATCH v5 1/3] Documentation: dt: Add Broadcom iproc pwm controller binding

2016-07-08 Thread Thierry Reding
On Tue, Jul 05, 2016 at 02:00:24AM -0400, Yendapally Reddy Dhananjaya Reddy wrote: > Add a binding for Broadcom iproc pwm controller > > Signed-off-by: Yendapally Reddy Dhananjaya Reddy > > Acked-by: Rob Herring > --- >

[PATCH v5 5/7] ARM: dts: sun9i: a80-optimus: Add device node for AC100

2016-07-08 Thread Chen-Yu Tsai
Signed-off-by: Chen-Yu Tsai --- Changes since v4: none Changes since v3: - Moved 4M ADDA clk to codec side Changes since v2: none Changes since v1: none --- arch/arm/boot/dts/sun9i-a80-optimus.dts | 24 1 file changed, 24 insertions(+) diff --git

Re: [PATCH 1/2] HID: logitech-hidpp: add battery support for HID++ 2.0 devices

2016-07-08 Thread Bastien Nocera
On Wed, 2016-06-29 at 19:28 +1000, Peter Hutterer wrote: > +static int hidpp_battery_get_property(struct power_supply *psy, > + enum power_supply_property psp, > + union power_supply_propval > *val) > +{ > +   struct

[PATCH v5 6/7] ARM: dts: sun9i: cubieboard4: Add device node for AC100

2016-07-08 Thread Chen-Yu Tsai
Signed-off-by: Chen-Yu Tsai --- Changes since v4: none Changes since v3: - Moved 4M ADDA clk to codec side Changes since v2: none Changes since v1: none --- arch/arm/boot/dts/sun9i-a80-cubieboard4.dts | 24 1 file changed,

Re:[v1.1,1/3] driver: input :touchscreen : add Raydium crc touch function

2016-07-08 Thread jeffrey.lin
>This is not offset, this is size, or length, of CRC. I'll change namming as RM_CONTACT_CRC_SIZE >> @@ -798,33 +803,54 @@ static void raydium_mt_event(struct raydium_data *ts) >> input_mt_slot(ts->input, i); >> input_mt_report_slot_state(ts->input, MT_TOOL_FINGER,

Re: [PATCH v5] clk: exynos5433: remove CLK_IGNORE_UNUSED flag from SPI clocks

2016-07-08 Thread Krzysztof Kozlowski
On 07/08/2016 02:47 PM, Andi Shyti wrote: > Commit b82ec4e and a9e93e8 have added support in the spi device > driver for the three clock lines required by the SPI controller > and handles the dependency between the three (by not disabling > any after resume). > > This way none of the SPI clocks

[tip:efi/core] efi: Reorganize the GUID table to make it easier to read

2016-07-08 Thread tip-bot for Ingo Molnar
Commit-ID: 7fb2b43c3252c9177825a0a49138cd16144b6b5e Gitweb: http://git.kernel.org/tip/7fb2b43c3252c9177825a0a49138cd16144b6b5e Author: Ingo Molnar AuthorDate: Mon, 27 Jun 2016 12:49:20 +0200 Committer: Ingo Molnar CommitDate: Fri, 8 Jul 2016 15:21:37

Re: [PATCH] usb: gadget: f_midi: Add checking if it need align buffer's size to an ep's maxpacketsize

2016-07-08 Thread Felipe Balbi
Hi again, Felipe Balbi writes: > Michal Nazarewicz writes: >> On Fri, Jul 08 2016, Baolin Wang wrote: >>> On 7 July 2016 at 20:51, Michal Nazarewicz wrote: On Thu, Jul 07 2016, Baolin Wang wrote: > Some gadget device (such as

[PATCH -next] ASoC: mediatek: mt2701: cHECK-fix non static symbol warning

2016-07-08 Thread weiyj_lk
From: Wei Yongjun Fixes the following sparse warning: sound/soc/mediatek/mt2701/mt2701-afe-pcm.c:72:5: warning: symbol 'mt2701_dai_num_to_i2s' was not declared. Should it be static? Signed-off-by: Wei Yongjun ---

[GIT PULL] xen: bug fixes for 4.7-rc6

2016-07-08 Thread David Vrabel
Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.7b-rc6-tag xen: bug fixes for 4.7-rc6 - Fix two bugs in the handling of xenbus transactions. - Make the xen acpi driver compatible with Xen 4.7. Thanks. David

Re: [PATCH 4/4] irqtime: drop local_irq_save/restore from irqtime_account_irq

2016-07-08 Thread Frederic Weisbecker
On Fri, Jul 08, 2016 at 09:19:47AM -0400, Rik van Riel wrote: > On Fri, 2016-07-08 at 14:30 +0200, Frederic Weisbecker wrote: > > > + if (irqtype == HARDIRQ_OFFSET) { > > > + bool leaving_hardirq = hardirq_count(); > > > + delta = sched_clock_cpu(cpu) - > > >

[RFC][PATCH 5/7] perf/x86/intel: Clean up LBR state tracking

2016-07-08 Thread Peter Zijlstra
The lbr_context logic confused me; it appears to me to try and do the same thing the pmu::sched_task() callback does now, but limited to per-task events. So rip it out. Afaict this should also improve performance, because I think the current code can end up doing lbr_reset() twice, once from the

[RFC][PATCH 2/7] perf,x86: Ensure perf_sched_cb_{inc,dec}() is only called from pmu::{add,del}()

2016-07-08 Thread Peter Zijlstra
Currently perf_sched_cb_{inc,dec}() are called from pmu::{start,stop}(), which has the problem that this can happen from NMI context, this is making it hard to optimize perf_pmu_sched_task(). Furthermore, we really only need this accounting on pmu::{add,del}(), so doing it from

Re: [PATCH] usb: gadget: f_midi: Add checking if it need align buffer's size to an ep's maxpacketsize

2016-07-08 Thread Michal Nazarewicz
On Fri, Jul 08 2016, Felipe Balbi wrote: > My take on this is that it's calling max_t() to try and align to > wMaxPacketSize. We can see from original commit what was the intent: > > commit 03d27ade4941076b34c823d63d91dc895731a595 > Author: Felipe F. Tonello > Date: Wed

[RFC][PATCH 4/7] perf/x86/intel: Remove redundant test from intel_pmu_lbr_add()

2016-07-08 Thread Peter Zijlstra
By the time we call pmu::add(), event->ctx must be set, and we even already rely on this, so remove that test from intel_pmu_lbr_add(). Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/events/intel/lbr.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---

[RFC][PATCH 3/7] perf/x86/intel: DCE intel_pmu_lbr_del()

2016-07-08 Thread Peter Zijlstra
Since pmu::del() is always called under perf_pmu_disable(), the block conditional on cpuc->enabled is dead. Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/events/intel/lbr.c |6 -- 1 file changed, 6 deletions(-) --- a/arch/x86/events/intel/lbr.c +++

Re: [Xen-devel] [PATCH] xen/acpi: allow xen-acpi-processor driver to load on Xen 4.7

2016-07-08 Thread David Vrabel
On 08/07/16 13:53, Jan Beulich wrote: On 08.07.16 at 14:29, wrote: >> On 08/07/16 13:15, Jan Beulich wrote: >>> As of Xen 4.7 PV CPUID doesn't expose either of CPUID[1].ECX[7] and >>> CPUID[0x8007].EDX[7] anymore, causing the driver to fail to load on >>> both

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-08 Thread Jeff Layton
On Fri, 2016-07-08 at 16:23 +0200, Michal Hocko wrote: > On Fri 08-07-16 08:51:54, Jeff Layton wrote: > > > > On Fri, 2016-07-08 at 14:22 +0200, Michal Hocko wrote: > [...] > > > > > > > > Apart from alternative Dave was mentioning in other email, what > > > is the > > > point to use freezable

[PATCH] fs: fix checking if ranges overlap in __register_chrdev_region

2016-07-08 Thread Grzegorz Prusak
This patch fixes the behaviour of __register_chrdev_region. Old implemention allowed registering a region which fully contains an existing one. For example, if we made subseqent calls __register_chrdev_region(8,5,5,"a") __register_chrdev_region(8,0,15,"a") both would have finished

Re: [PATCH v8 0/6] ACPI / processor_idle: Add ACPI v6.0 LPI support

2016-07-08 Thread Lorenzo Pieralisi
On Fri, Jul 08, 2016 at 12:04:40PM +0100, Sudeep Holla wrote: > > > On 07/07/16 22:02, Rafael J. Wysocki wrote: > >On Thu, Jul 7, 2016 at 7:10 PM, Sudeep Holla wrote: > >>ACPI 6.0 introduced LPI(Low Power Idle) states that provides an alternate > >>method to describe

Re: [PATCH 4/4] irqtime: drop local_irq_save/restore from irqtime_account_irq

2016-07-08 Thread Rik van Riel
On Fri, 2016-07-08 at 14:30 +0200, Frederic Weisbecker wrote: > On Thu, Jun 30, 2016 at 03:35:50PM -0400, r...@redhat.com wrote: > > From: Rik van Riel > > > > Drop local_irq_save/restore from irqtime_account_irq. > > Instead, have softirq and hardirq track their time spent > >

Re: [PATCH v6 3/5] usb: dwc3: add phyif_utmi_quirk

2016-07-08 Thread Felipe Balbi
Hi, Heiko Stuebner writes: > Am Donnerstag, 7. Juli 2016, 10:54:24 schrieb William Wu: >> Add a quirk to configure the core to support the >> UTMI+ PHY with an 8- or 16-bit interface. UTMI+ PHY >> interface is hardware property, and it's platform >> dependent. Normall, the

Re: [PATCH 4/4] net: ethernet: ti: cpsw: add ethtool channels support

2016-07-08 Thread Grygorii Strashko
On 06/30/2016 10:04 PM, Ivan Khoronzhuk wrote: > These ops allow to control number of channels driver is allowed to > work with. The maximum number of channels is 8 for rx and 8 for tx. > After this patch the following commands are possible: > > $ ethtool -l eth0 > $ ethtool -L eth0 rx 6 tx 6

Re: [PATCH] x86/asm/entry: Make thunk's restore a local label

2016-07-08 Thread Ingo Molnar
* Borislav Petkov wrote: > From: Borislav Petkov > > No need to have it appear in objdump output. > > No functionality change. > > Signed-off-by: Borislav Petkov > --- > arch/x86/entry/thunk_64.S | 6 +++--- > 1 file changed, 3 insertions(+), 3

Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy support

2016-07-08 Thread Christoph Lameter
On Fri, 8 Jul 2016, Michael Ellerman wrote: > > I wonder if this code should be using size_from_object() instead of s->size? > > Hmm, not sure. Who's SLUB maintainer? :) Me. s->size is the size of the whole object including debugging info etc. ksize() gives you the actual usable size of an

Re: [PATCH v6 00/10] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-07-08 Thread Sudeep Holla
On 08/07/16 14:22, Lorenzo Pieralisi wrote: On Thu, Jul 07, 2016 at 03:58:04PM +0200, Rafael J. Wysocki wrote: [...] Anyway let's avoid these petty arguments, I agree there must be some sort of ARM64 ACPI maintainership for the reasons you mentioned above. To avoid confusion on who's

[GIT PULL] x86 fixes

2016-07-08 Thread Ingo Molnar
Linus, Please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus # HEAD: c76a093dc1415d364020b8b33f1e194ef4d26fd0 x86/Documentation: Fix various typos in Documentation/x86/ files Three fixes: - A boot

Re: [PATCH] usb: gadget: f_midi: Add checking if it need align buffer's size to an ep's maxpacketsize

2016-07-08 Thread Michal Nazarewicz
> Baolin Wang writes: >> @@ -359,10 +361,12 @@ static int f_midi_set_alt(struct usb_function *f, >> unsigned intf, unsigned alt) >> >> /* allocate a bunch of read buffers and queue them all at once. */ >> for (i = 0; i < midi->qlen && err == 0; i++) { >> -

[RFC][PATCH 0/7] perf: Branch stack annotation and fixes

2016-07-08 Thread Peter Zijlstra
Hi, These here patches improve the perf branch-stack support and add branch-stack support to perf-annotate. They appear to work for me; but some of it is fairly hairy code so please have a hard look. The last patch includes the userspace changes; and includes samples output of 'perf annotate

[RFC][PATCH 7/7] perf/annotate: Add branch stack / basic block information

2016-07-08 Thread Peter Zijlstra
I wanted to know the hottest path through a function and figured the branch-stack (LBR) information should be able to help out with that. The below uses the branch-stack to create basic blocks and generate statistics from them. fromto branch_i * > *

[RFC][PATCH 6/7] perf: Optimize perF_pmu_sched_task()

2016-07-08 Thread Peter Zijlstra
For perf record -b, which requires the pmu::sched_task callback the current code is rather expensive: 7.68% sched-pipe [kernel.vmlinux][k] perf_pmu_sched_task 5.95% sched-pipe [kernel.vmlinux][k] __switch_to 5.20% sched-pipe [kernel.vmlinux][k]

[RFC][PATCH 1/7] perf/x86/intel: Rework the large PEBS setup code

2016-07-08 Thread Peter Zijlstra
In order to allow optimizing perf_pmu_sched_task() we must ensure perf_sched_cb_{inc,dec} are no longer called from NMI context; this means that pmu::{start,stop}() can no longer use them. Prepare for this by reworking the whole large PEBS setup code. The current code relied on the

  1   2   3   4   5   6   7   8   9   10   >