Re: [Xen-devel] [PATCH 6/8] xen/pvh: Initialize grant table for PVH guests

2016-10-14 Thread Konrad Rzeszutek Wilk
On Fri, Oct 14, 2016 at 03:43:19PM -0400, Boris Ostrovsky wrote: > On 10/14/2016 03:19 PM, Konrad Rzeszutek Wilk wrote: > > On Fri, Oct 14, 2016 at 02:05:16PM -0400, Boris Ostrovsky wrote: > > > > Perhaps add in here: > > > > PVH is like PV in that there are no PCI devices - which HVM > > code

Re: [PATCH] scsi: ufs: changing maintainer

2016-10-14 Thread Martin K. Petersen
> "Joao" == Joao Pinto writes: Joao> I am going to leave Synopsys and so this patch changes the Joao> Maintainer for UFS Synopsys' specific drivers to my colleagues Joao> Manjunath and Prabu. Applied to 4.10/scsi-queue. -- Martin K. Petersen Oracle Linux

Re: [PATCH v2] r8169: set coherent DMA mask as well as streaming DMA mask

2016-10-14 Thread Francois Romieu
Ard Biesheuvel : > PCI devices that are 64-bit DMA capable should set the coherent > DMA mask as well as the streaming DMA mask. On some architectures, > these are managed separately, and so the coherent DMA mask will be > left at its default value of 32 if it is not

[PATCH v3 00/10] Start of skl watermark cleanup

2016-10-14 Thread Lyude
While it (mostly) works, the code for handling watermarks on Skylake has been kind of ugly for a while. As well a lot of it isn't that friendly to atomic transactions, Lots of copy paste, redundant wm values, etc. While this isn't a full cleanup, it's a good start. As well, we add a couple of

[PATCH v2 07/10] drm/i915/gen9: Make skl_pipe_wm_get_hw_state() reusable

2016-10-14 Thread Lyude
There's not much of a reason this should have the locations to read out the hardware state hardcoded, so allow the caller to specify the location and add this function to intel_drv.h. As well, we're going to need this function to be reusable for the next patch. Changes since v1: - Fix accidental

[PATCH v2 10/10] drm/i915/gen9: Don't wrap strings in verify_wm_state()

2016-10-14 Thread Lyude
Wrapping strings is against the guidelines in Documentation/CodingStyle, chapter 2. Signed-off-by: Lyude Reviewed-by: Paulo Zanoni Cc: Maarten Lankhorst Cc: Ville Syrjälä Cc: Matt

[PATCH v2 09/10] drm/i915/gen9: Actually verify WM levels in verify_wm_state()

2016-10-14 Thread Lyude
Thanks to Paulo Zanoni for indirectly pointing this out. Looks like we never actually added any code for checking whether or not we actually wrote watermark levels properly. Let's fix that. Changes since v1: - Use %u instead of %d when printing WM state mismatches Signed-off-by: Lyude

[PATCH v3 06/10] drm/i915/gen9: Add ddb changes to atomic debug output

2016-10-14 Thread Lyude
Finally, add some debugging output for ddb changes in the atomic debug output. This makes it a lot easier to spot bugs from incorrect ddb allocations. Signed-off-by: Lyude Reviewed-by: Maarten Lankhorst Reviewed-by: Paulo Zanoni

[PATCH v2 08/10] drm/i915/gen9: Add skl_wm_level_equals()

2016-10-14 Thread Lyude
Helper we're going to be using for implementing verification of the wm levels in skl_verify_wm_level(). Signed-off-by: Lyude Reviewed-by: Paulo Zanoni Cc: Maarten Lankhorst Cc: Ville Syrjälä

[PATCH v3 01/10] drm/i915/skl: Move per-pipe ddb allocations into crtc states

2016-10-14 Thread Lyude
First part of cleaning up all of the skl watermark code. This moves the structures for storing the ddb allocations of each pipe into intel_crtc_state, along with moving the structures for storing the current ddb allocations active on hardware into intel_crtc. Changes since v1: - Don't replace

[PATCH v2 04/10] drm/i915/gen9: Cleanup skl_pipe_wm_active_state

2016-10-14 Thread Lyude
This function is a wreck, let's help it get its life back together and cleanup all of the copy pasta here. Signed-off-by: Lyude Reviewed-by: Maarten Lankhorst Reviewed-by: Paulo Zanoni Cc: Ville Syrjälä

[PATCH v3 03/10] drm/i915/gen9: Make skl_wm_level per-plane

2016-10-14 Thread Lyude
Having skl_wm_level contain all of the watermarks for each plane is annoying since it prevents us from having any sort of object to represent a single watermark level, something we take advantage of in the next commit to cut down on all of the copy paste code in here. Changes since v1: - Style

[PATCH v3 05/10] drm/i915/gen9: Get rid of redundant watermark values

2016-10-14 Thread Lyude
Now that we've make skl_wm_levels make a little more sense, we can remove all of the redundant wm information. Up until now we'd been storing two copies of all of the skl watermarks: one being the skl_pipe_wm structs, the other being the global wm struct in drm_i915_private containing the raw

[PATCH v3 02/10] drm/i915/skl: Remove linetime from skl_wm_values

2016-10-14 Thread Lyude
Next part of cleaning up the watermark code for skl. This is easy, since it seems that we never actually needed to keep track of the linetime in the skl_wm_values struct anyway. Signed-off-by: Lyude Reviewed-by: Paulo Zanoni Reviewed-by: Maarten

Re: [Xen-devel] [PATCH 6/8] xen/pvh: Initialize grant table for PVH guests

2016-10-14 Thread Boris Ostrovsky
On 10/14/2016 03:51 PM, Konrad Rzeszutek Wilk wrote: > On Fri, Oct 14, 2016 at 03:43:19PM -0400, Boris Ostrovsky wrote: >> On 10/14/2016 03:19 PM, Konrad Rzeszutek Wilk wrote: >>> On Fri, Oct 14, 2016 at 02:05:16PM -0400, Boris Ostrovsky wrote: >>> >>> Perhaps add in here: >>> >>> PVH is like PV

Re: [patch] zfcp: spin_lock_irqsave() is not nestable

2016-10-14 Thread Martin K. Petersen
> "Steffen" == Steffen Maier writes: Steffen> could you please queue this as fix for one of my patches that Steffen> went into the 4.9 merge window, so for 4.9-rc I guess? Applied to 4.9/scsi-fixes. -- Martin K. Petersen Oracle Linux Engineering

[patch] perf_event_open.2: PERF_SAMPLE_BRANCH_IND_JUMP branch_sample_type

2016-10-14 Thread Vince Weaver
Linux 4.2 added a new branch_sample_type: PERF_SAMPLE_BRANCH_IND_JUMP Signed-off-by: Vince Weaver diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 index afdee49..cd49cbb 100644 --- a/man2/perf_event_open.2 +++ b/man2/perf_event_open.2 @@ -1247,6 +1247,10

[GIT PULL] Btrfs

2016-10-14 Thread Chris Mason
Hi Linus, My for-linus-4.9 branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus-4.9 Has some fixes from Omar and Dave Sterba for our new free space tree. This isn't heavily used yet, but as we move toward making it the new default we wanted to nail down an

Re: [RESEND PATCH] scsi: ufs: fix race between clock gating and devfreq scaling work

2016-10-14 Thread Martin K. Petersen
> "Subhash" == Subhash Jadavani writes: Subhash> UFS devfreq clock scaling work may require clocks to be ON if Subhash> it need to execute some UFS commands hence it may request for Subhash> clock hold before issuing the command. But if UFS clock gating Subhash> work

Re: [PATCH 1/3] proc: Stop reporting eip and esp in /proc/PID/stat

2016-10-14 Thread Tycho Andersen
On Fri, Oct 14, 2016 at 11:25:58AM -0700, Andy Lutomirski wrote: > On Sat, Oct 1, 2016 at 3:37 AM, Jann Horn wrote: > > On Fri, Sep 30, 2016 at 07:01:13PM -0700, Andy Lutomirski wrote: > >> On an unrelated note, can we please lock down all the silly historical > >> *userspace*

[GIT PULL] kbuild misc changes for 4.9-rc1

2016-10-14 Thread Michal Marek
Hi Linus, just a few patches on the kbuild.git#misc branch this time: - New Coccinelle patch by Nicholas Mc Guire - Existing patch fixes by Julia Lawall - Minor comment fix by Markus Elfring The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1

Re: [PATCH] scsi: hpsa: remove unneeded void pointer cast

2016-10-14 Thread Martin K. Petersen
> "Javier" == Javier Martinez Canillas writes: Javier> It's not necessary to cast the result of kmalloc, since void Javier> pointers are promoted to any other type. This also fixes Javier> following coccinelle warning: Javier> casting value returned by memory

Linux Foundation Technical Advisory Board Elections and Nomination process

2016-10-14 Thread Chris Mason
Hello everyone, The elections for five of the ten members of the Linux Foundation Technical Advisory Board (TAB) are held every year[1]. This year the election will be at the 2016 Kernel Summit in Santa Fe, NM. The elections will take place at the conference center on Wednesday Nov 2nd,

Hallo

2016-10-14 Thread florence kuramer
i fill so glad to reach you my friend, how do you do,i thank God for this great opportunity that i have to convey this message to you,please i will appreciate if you reply me back through my mailbox,I have something very important to share with you,please do not get upset if i bothered you.

Re: [RFC PATCH 2/2] f2fs: fix allocation failure

2016-10-14 Thread Jaegeuk Kim
On Fri, Oct 14, 2016 at 10:09:29PM +0800, Chao Yu wrote: ... > >> Finally it needs to update the dirty time of inode into inode page, > >> and writeback the page, however, before that, we didn't count the inode > >> as imeta data. So f2fs won't be aware of dirty metadata page count is > >>

Re: [PATCH] lightnvm: ensure that nvm_dev_ops can be used without CONFIG_NVM

2016-10-14 Thread Paul Bolle
On Fri, 2016-10-14 at 22:35 +0200, Paul Bolle wrote: > From: Jens Axboe > > From: Jens Axboe Bother. Resend? Paul Bolle

Re: [LKP] [x86] 811565123a: BUG: kernel hang in early-boot stage, last printk: Probing EDD (edd=off to disable)... ok

2016-10-14 Thread Andi Kleen
On Fri, Oct 14, 2016 at 12:56:00PM +0800, Ye Xiaolong wrote: > On 10/14, Ye Xiaolong wrote: > >On 10/13, Andi Kleen wrote: > >>Andi Kleen writes: > >> > >>Any comments on this? > >> > >>I still cannot reproduce the failure unfortunately. > >> > > > >Btw, you can try below

Layer 2 over IPv6 GRE and path MTU discovery

2016-10-14 Thread Mike Walker
When using a layer 2 GREv6 tunnel (ip6gretap), I am using a Linux bridge to push Ethernet frames from an Ethernet port to the GREv6 device. Here is an example of the topology: PC -> eth0 -> grebridge -> gre6dev -> (internet) -> GRE endpoint -> Remote host In this case, the PC connected to the

[PATCH v2] vmxnet3: avoid assumption about invalid dma_pa in vmxnet3_set_mc()

2016-10-14 Thread Alexey Khoroshilov
vmxnet3_set_mc() checks new_table_pa returned by dma_map_single() with dma_mapping_error(), but even there it assumes zero is invalid pa (it assumes dma_mapping_error(...,0) returns true if new_table is NULL). The patch adds an explicit variable to track status of new_table_pa. Found by Linux

[PATCH] mfd: tps65217: Drop call to irq_set_parent()

2016-10-14 Thread Guenter Roeck
The call to irq_set_parent() causes the following build error if tps65217 is built as module. ERROR: ".irq_set_parent" [drivers/mfd/tps65217.ko] undefined! The problem was introduced with commit 6556bdacf646f ("mfd: tps65217: Add support for IRQs"). The author states: "I have added

Re: pull-request: wireless-drivers 2016-10-14

2016-10-14 Thread David Miller
From: Kalle Valo Date: Fri, 14 Oct 2016 10:18:42 +0300 > first wireless-drivers pull request for 4.9 and this time we have > unusually many fixes even before -rc1 is released. Most important here > are the wlcore and rtlwifi commits which fix critical regressions, >

[GIT PULL] kbuild changes for v4.9-rc1

2016-10-14 Thread Michal Marek
Hi Linus, please pull these kbuild changes for v4.9-rc1: - EXPORT_SYMBOL for asm source by Al Viro. This does bring a regression, because genksyms no longer generates checksums for these symbols (CONFIG_MODVERSIONS). Nick Piggin is working on a patch to fix this. Plus, we are talking about

Re: [PATCH 00/12] Fixes, cleanup and g_NCR5380_mmio/g_NCR5380 merger

2016-10-14 Thread Martin K. Petersen
> "Finn" == Finn Thain writes: Finn> This patch series has fixes for compatibility, reliability and Finn> performance issues and some cleanup. It also includes a new Finn> version of Ondrej Zary's patch that merges g_NCR5380_mmio into Finn> g_NCR5380. Finn> I've

Re: [PATCH] MAINTAINERS: remove defunct iss storage mailing list

2016-10-14 Thread Martin K. Petersen
> "Javier" == Javier Martinez Canillas writes: Javier> It appears that the mailing list email address doesn't exist Javier> anymore: : host smtp.hp.com[15.73.96.116] Javier> said: 550 5.1.1 Javier> : Recipient address

[PATCH] lightnvm: ensure that nvm_dev_ops can be used without CONFIG_NVM

2016-10-14 Thread Paul Bolle
From: Jens Axboe From: Jens Axboe commit a7fd9a4f3e8179bab31e4637236ebb0e0b7867c6 upstream. null_blk defines an empty version of this ops structure if CONFIG_NVM isn't set, but it doesn't know the type. Move those bits out of the protection of CONFIG_NVM in the

[PATCH] PCI: designware: check for iATU unroll support after initializing host

2016-10-14 Thread Niklas Cassel
From: Niklas Cassel dw_pcie_iatu_unroll_enabled reads a dbi_base register. Reading any dbi_base register before pp->ops->host_init has been called causes "imprecise external abort" on platforms like ARTPEC-6, where the PCIe module is disabled at boot and first enabled in

Re: [PATCH V3 10/10] arm64: KVM: add guest SEA support

2016-10-14 Thread Baicar, Tyler
On 10/14/2016 2:38 AM, Punit Agrawal wrote: "Baicar, Tyler" writes: Hello Punit, On 10/13/2016 7:14 AM, Punit Agrawal wrote: Hi Tyler, I know I've had my last comment already ;), but I thought I'd rather raise the question than stay confused... Tyler Baicar

[PATCH] SoC: mxs-saif: check validity of ids in mxs_saif_probe()

2016-10-14 Thread Alexey Khoroshilov
There is a check for validity of one of ids in mxs_saif_probe(), while array dereferece is made by the other id. The patch adds the check for the second saif id. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov ---

Re: [PATCH 2/3] kvm: x86: do not use KVM_REQ_EVENT for APICv interrupt injection

2016-10-14 Thread Paolo Bonzini
On 14/10/2016 09:37, Yang Zhang wrote: > Please ignore my previous reply. It seems you already aware the issue > and get the resolution to fix it.:-) Thanks anyway for confirming! The final version of the patches is on the way. Paolo

[PATCH v4 00/12] syscall/tracing: compat syscall support

2016-10-14 Thread Marcin Nowakowski
This patchset adds support syscall event tracing for compat syscalls. Patch 1 removes the unnecessary syscall_nr field from syscall metadata, which was one of the obstacles for adding proper support for compat syscalls. Patch 2 adds a method to distinguish handling of syscalls for compat tasks

[PATCH v4 01/12] tracing/syscalls: remove syscall_nr from syscall metadata

2016-10-14 Thread Marcin Nowakowski
Some architectures map multiple syscall numbers to a single syscall. This meant that on those platforms, some system calls could not be properly traced using syscall event tracing mechanism, as a different number of a syscall was used for registration to the one used by applications. We can use

Re: [RFC 1/1] drivers: i2c: omap: Add slave support

2016-10-14 Thread Ravikumar
On Monday 29 August 2016 09:13 AM, Matthijs van Duin wrote: On 28 August 2016 at 07:35, Wolfram Sang wrote: Well, I2C is simple, what could go wrong? :/ Actually I2C is elegant and *seems* simple, but in all its asynchronicity there are actually a surprising number of

Your Partnership in business

2016-10-14 Thread MR.ALEJANDRO FOLMER
-- Dear Sir, I am MR.ALEJANDRO FOLMER. I have a Proposition involving an investment initiative in your Country to discuss with you,It will be of mutual benefit to both of us,and I believe we can handle it together once we have a common understanding and mutual co-operation in the execution of

Re: [PATCH 03/10] perf, tools: Add support for parsing uncore json files

2016-10-14 Thread Jiri Olsa
On Thu, Oct 13, 2016 at 02:15:25PM -0700, Andi Kleen wrote: > From: Andi Kleen > > Handle the Unit field, which is needed to find the right PMU for > an event. We call it "pmu". Handle the ExtSel field. > Handle the Filter field. Then output the fields into the pmu-events

[PATCH v7 5/5] ARM: dts: imx6qdl-icore: Add FEC support

2016-10-14 Thread Jagan Teki
From: Jagan Teki Add FEC support for Engicam i.CoreM6 dql modules. Observed similar 'eth0: link is not ready' issue which was discussed in [1] due rmii mode with external ref_clk, so added clock node along with the properties mentioned by Shawn in [2] FEC link log:

[PATCH v7 2/5] ARM: dts: imx6q: Add Engicam i.CoreM6 DualLite/Solo initial support

2016-10-14 Thread Jagan Teki
From: Jagan Teki i.CoreM6 DualLite/Solo modules are system on module solutions manufactured by Engicam with following characteristics: CPU NXP i.MX6 DL, 800MHz RAM 1GB, 32, 64 bit, DDR3-800/1066 NAND SLC,512MB Power supply Single 5V MAX

[PATCH v7 1/5] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support

2016-10-14 Thread Jagan Teki
From: Jagan Teki i.CoreM6 Quad/Dual modules are system on module solutions manufactured by Engicam with following characteristics: CPU NXP i.MX6 DQ, 800MHz RAM 1GB, 32, 64 bit, DDR3-800/1066 NAND SLC,512MB Power supply Single 5V MAX LCD

[PATCH v7 3/5] ARM: dts: imx6qdl-icore: Add usbhost support

2016-10-14 Thread Jagan Teki
From: Jagan Teki Add usbhost support for Engicam i.CoreM6 dql modules. Cc: Sascha Hauer Cc: Fabio Estevam Cc: Shawn Guo Cc: Matteo Lisi Cc: Michael Trimarchi

Re: [PATCH] x86: remove duplicate rtit status MSR macro

2016-10-14 Thread Borislav Petkov
On Fri, Oct 14, 2016 at 08:42:20AM +0800, Longpeng(Mike) wrote: > The MSR_IA32_RTIT_STATUS has defined twice, so remove one. > > Signed-off-by: Longpeng(Mike) > --- > arch/x86/include/asm/msr-index.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git

[RFC PATCH 2/2] hwmon: adt7411: add min, max and alarm attributes

2016-10-14 Thread Michael Walle
This patch adds support for the min, max and alarm attributes of the voltage and temperature channels. Additionally, the temp2_fault attribute is supported which indicates a fault of the external temperature diode. Signed-off-by: Michael Walle --- drivers/hwmon/adt7411.c | 306

[RFC PATCH 1/2] hwmon: adt7411: update to new hwmon registration API

2016-10-14 Thread Michael Walle
This is also a preparation for to support more properties like min, max and alarm. Signed-off-by: Michael Walle --- drivers/hwmon/adt7411.c | 300 +--- 1 file changed, 179 insertions(+), 121 deletions(-) diff --git

Re: [PATCH RFC V3 0/6] KVM: LAPIC: Add APIC Timer periodic/oneshot mode VMX preemption timer support

2016-10-14 Thread Wanpeng Li
2016-10-13 19:34 GMT+08:00 Wanpeng Li : [...] > > The patchset reduces ~300+ clock cycles for each APIC timer oneshot mode > operation virtualization. However, the performance of periodic mode is > still bad, so this version is still a RFC. Your comments to improve the >

[PATCH] MIPS: IP22: Fix build error in IP22 cache code

2016-10-14 Thread Matt Redfearn
Recent MIPS toolchains complain about the use of an immediate larger than 32bits when compiling a 32bit kernel, leading to the following build failure: {standard input}: Assembler messages: {standard input}:131: Error: number (0x90008000) larger than 32 bits {standard input}:154: Error:

Re: [RFC 1/1] drivers: i2c: omap: Add slave support

2016-10-14 Thread Ravikumar
On Thursday 25 August 2016 10:44 PM, Wolfram Sang wrote: Hi, The omap i2c controller (at least on dra7x devices) doesn't have start/stop (STT/STP) support for slave mode so event #5 is not implemented in the driver. I think you can deduce that. If a new {READ|WRITE}_REQUESTED slave event

Re: [PATCH 2/3] sched/preempt: include asm/current.h

2016-10-14 Thread Heiko Carstens
On Fri, Oct 14, 2016 at 12:25:56AM +0100, Mark Rutland wrote: > Hi, > > On Thu, Oct 13, 2016 at 01:57:11PM +0200, Heiko Carstens wrote: > > The generic preempt code needs to include . Otherwise > > compilation fails if THREAD_INFO_IN_TASK is selected and the generic > > preempt code is used: > >

Re: [mac80211] BUG_ON with current -git (4.8.0-11417-g24532f7)

2016-10-14 Thread Johannes Berg
On Fri, 2016-10-14 at 17:39 +0900, Sergey Senozhatsky wrote: >  > given that we have a known issue shouldn't VMAP_STACK be > disabled for now, or would you rather prefer to mark MAC80211 > as incompatible: "depends on CFG80211 && !VMAP_STACK"? Yeah. It's a bit complicated by the fact that most

Re: [bug/regression] libhugetlbfs testsuite failures and OOMs eventually kill my system

2016-10-14 Thread Jan Stancek
On 10/14/2016 01:26 AM, Mike Kravetz wrote: > > Hi Jan, > > Any chance you can get the contents of /sys/kernel/mm/hugepages > before and after the first run of libhugetlbfs testsuite on Power? > Perhaps a script like: > > cd /sys/kernel/mm/hugepages > for f in hugepages-*/*; do > n=`cat

Re: [mac80211] BUG_ON with current -git (4.8.0-11417-g24532f7)

2016-10-14 Thread Ard Biesheuvel
On 14 October 2016 at 09:42, Johannes Berg wrote: > On Fri, 2016-10-14 at 09:41 +0100, Ard Biesheuvel wrote: > >> > I assume the stack buffer itself is not the problem here, but aad, >> > which is allocated on the stack one frame up. >> > Do we really need to revert the

[PATCH v2] staging:vt6656:baseband.h: fix function definition argument without identifier name issue

2016-10-14 Thread Mikhail Golubev
Function definitions arguments should also have an identifier name as reported by checkpatch.pl. Signed-off-by: Mikhail Golubev --- Changes in v2: - Make the changelog comment wrapped at 72 columns. drivers/staging/vt6656/baseband.h | 20 ++-- 1

Re: [mac80211] BUG_ON with current -git (4.8.0-11417-g24532f7)

2016-10-14 Thread Johannes Berg
On Fri, 2016-10-14 at 10:05 +0100, Ard Biesheuvel wrote: >  > Indeed. And the decrypt path does the same for auth_tag[]. Hadn't gotten that far, due to the BUG_ON() in CONFIG_DEBUG_SG in the encrypt path :) > But that still means there are two separate problems here, one which > affects the WPA

Re: [PATCH v2] usb: dwc3: gadget: Wait for end transfer complete before free irq

2016-10-14 Thread Baolin Wang
Hi Felipe, On 14 October 2016 at 15:46, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> I see what the problem is. Databook tells us we *must* set CMDIOC >> when >> issuing EndTransfer command and we should always wait

Re: [patch 1/2] IB/hns: Fix a couple pointer math bugs

2016-10-14 Thread oulijun
在 2016/10/14 15:28, Dan Carpenter 写道: > "wqe" is a void pointer so adding sizeof() works. The original code > adds sizeof() multiplied by sizeof() so it doesn't work at all. > > Fixes: 9a4435375cd1 ('IB/hns: Add driver files for hns RoCE driver') > Signed-off-by: Dan Carpenter

Re: [Xen-devel] [RFC KERNEL PATCH 0/2] Add Dom0 NVDIMM support for Xen

2016-10-14 Thread Jan Beulich
>>> On 13.10.16 at 17:40, wrote: > On Thu, Oct 13, 2016 at 2:08 AM, Jan Beulich wrote: > [..] >>> I think we can do the similar for Xen, like to lay another pseudo >>> device on /dev/pmem and do the reservation, like 2. in my previous >>> reply. >> >>

[PATCH] hwmon: (adm1275) Enable adm1278 VOUT sampling

2016-10-14 Thread Joel Stanley
From: Yi Li The adm1278 can optionally monitor the VOUT pin. This functionality is not enabled at reset, so PMON_CONFIG needs to be modified in order to enable it. Signed-off-by: Yi Li Signed-off-by: Joel Stanley --- Guenter, I'm not sure

[PATCH] scripts/gdb: relax requirement on symlink location

2016-10-14 Thread Tobias Waldekranz
The current construct for inserting the `scripts/gdb/` directory into the python path requires `vmlinux-gdb.py` to be symlinked in the root of the kernel build tree. By first resolving the symlink and inserting that path, the symlink can be placed in an arbitrary directory. Signed-off-by: Tobias

Re: [PATCH] UBI: Fix crash in try_recover_peb()

2016-10-14 Thread Boris Brezillon
On Thu, 13 Oct 2016 16:24:58 +0200 Boris Brezillon wrote: > Hi Geert, > > On Thu, 13 Oct 2016 16:05:36 +0200 > Geert Uytterhoeven wrote: > > > drivers/mtd/ubi/eba.c: In function ‘try_recover_peb’: > > drivers/mtd/ubi/eba.c:744:

Re: [RFC PATCH 00/11] Introduce writeback connectors

2016-10-14 Thread Archit Taneja
Hi Brian, On 10/11/2016 08:23 PM, Brian Starkey wrote: Hi, This RFC series introduces a new connector type: DRM_MODE_CONNECTOR_WRITEBACK It is a follow-on from a previous discussion: [1] Writeback connectors are used to expose the memory writeback engines found in some display controllers,

[PATCH v3] kprobes: unpoison stack in jprobe_return() for KASAN

2016-10-14 Thread Dmitry Vyukov
KASAN stack instrumentation poisons stack redzones on function entry and unpoisons them on function exit. If a function exits abnormally (e.g. with a longjmp like jprobe_return()), stack redzones are left poisoned. Later this leads to random KASAN false reports. Unpoison stack redzones in the

Re: [mac80211] BUG_ON with current -git (4.8.0-11417-g24532f7)

2016-10-14 Thread Johannes Berg
On Thu, 2016-10-13 at 14:49 -0700, Andy Lutomirski wrote: >  > It's failing before that.  With CONFIG_VMAP_STACK=y, the stack may > not be physically contiguous and can't be used for DMA, so putting it > in a scatterlist is bogus in general, and the crypto code mostly > wants a scatterlist. I

Re: [mac80211] BUG_ON with current -git (4.8.0-11417-g24532f7)

2016-10-14 Thread Johannes Berg
On Fri, 2016-10-14 at 09:41 +0100, Ard Biesheuvel wrote: > > I assume the stack buffer itself is not the problem here, but aad, > > which is allocated on the stack one frame up. > > Do we really need to revert the whole patch to fix that? > > Ah never mind, this is about 'odata'. Apologies,

Re: [PATCH v3 02/16] scsi: don't use fc_bsg_job::request and fc_bsg_job::reply directly

2016-10-14 Thread Johannes Thumshirn
On Thu, Oct 13, 2016 at 05:55:11PM +0200, Steffen Maier wrote: > Hm, still behaves for me like I reported for v2: > http://marc.info/?l=linux-scsi=147637177902937=2 Hi Steffen, Can you please try the following on top of 2/16? diff --git a/drivers/scsi/scsi_transport_fc.c

Re: [PATCH 1/3] binding: irqchip: mtk-cirq: Add binding document

2016-10-14 Thread Youlin Pei
Hi Matthias, Thanks for your review. On Thu, 2016-10-13 at 15:00 +0200, Matthias Brugger wrote: > > On 10/13/2016 07:06 AM, Youlin Pei wrote: > > This commit adds the device tree binding document for > > the mediatek cirq. > > > > Signed-off-by: Youlin Pei > > > > --- >

Re: [mac80211] BUG_ON with current -git (4.8.0-11417-g24532f7)

2016-10-14 Thread Johannes Berg
>    1. revert that patch (doing so would need some major adjustments now, >   since it's pretty old and a number of new things were added in the >   meantime) This it will have to be, I guess. >    2. allocate a per-CPU buffer for all the things that we put on the >   stack and use

[PATCH v4 12/12] parisc/tracing: fix compat syscall handling

2016-10-14 Thread Marcin Nowakowski
Add missing arch code - arch_trace_is_compat_syscall and arch_syscall_addr Signed-off-by: Marcin Nowakowski Cc: Steven Rostedt Cc: Ingo Molnar Cc: "James E.J. Bottomley" Cc: Helge Deller

Re: [PATCH v2] mm: exclude isolated non-lru pages from NR_ISOLATED_ANON or NR_ISOLATED_FILE.

2016-10-14 Thread Ming Ling
On 四, 10月 13, 2016 at 10:09:37上午 +0200, Michal Hocko wrote: Hello, > On Thu 13-10-16 14:39:09, ming.ling wrote: > > From: Ming Ling > > > > Non-lru pages don't belong to any lru, so counting them to > > NR_ISOLATED_ANON or NR_ISOLATED_FILE doesn't make any sense. > > It

[PATCH v4 10/12] tile/tracing: fix compat syscall handling

2016-10-14 Thread Marcin Nowakowski
Add missing arch code - arch_trace_is_compat_syscall and arch_syscall_addr Signed-off-by: Marcin Nowakowski Cc: Steven Rostedt Cc: Ingo Molnar Signed-off-by: Chris Metcalf ---

Re: [mac80211] BUG_ON with current -git (4.8.0-11417-g24532f7)

2016-10-14 Thread Ard Biesheuvel
On 14 October 2016 at 10:10, Johannes Berg wrote: > On Fri, 2016-10-14 at 10:05 +0100, Ard Biesheuvel wrote: >> >> Indeed. And the decrypt path does the same for auth_tag[]. > > Hadn't gotten that far, due to the BUG_ON() in CONFIG_DEBUG_SG in the > encrypt path :) > >>

[PATCH v2 0/3] ARM: dts: imx6qdl cleanups

2016-10-14 Thread Jagan Teki
Patchset for imx6qdl devicetree files cleanups. Jagan Teki (3): arm: dts: imx6qdl: Fix "WARNING: please, no space before tabs" arm: dts: imx6qdl: Fix "ERROR: code indent should use tabs where possible" arm: dts: imx6qdl-wandboard-revb: Fix "ERROR: trailing whitespace"

Re: [PATCH v2] usb: dwc3: gadget: Wait for end transfer complete before free irq

2016-10-14 Thread Felipe Balbi
Hi, Baolin Wang writes: >> Baolin Wang writes: >>> I see what the problem is. Databook tells us we *must* set CMDIOC >>> when >>> issuing EndTransfer command and we should always wait for Command >>> Complete IRQ.

Re: [PATCH] fs: pipe, fix undefined behaviour

2016-10-14 Thread Vegard Nossum
On 14 October 2016 at 11:23, Jiri Slaby wrote: > echo | ./program > where ./program contains fcntl(0, F_SETPIPE_SZ, 0) this is triggered: > UBSAN: Undefined behaviour in ../include/linux/log2.h:63:13 > shift exponent 64 is too large for 64-bit type 'long unsigned int' > CPU: 3

[PATCH] thread_info: include for THREAD_INFO_IN_TASK (WAS: [PATCH 2/3] sched/preempt: include asm/current.h)

2016-10-14 Thread Mark Rutland
When CONFIG_THREAD_INFO_IN_TASK is selected, the current_thread_info() macro relies on current having been defined prior to its use. However, not all users of current_thread_info() include , and thus current is not guaranteed to be defined. When CONFIG_THREAD_INFO_IN_TASK is not selected, it's

[patch] power: supply: lp8788: remove an unneeded NULL check

2016-10-14 Thread Dan Carpenter
We checked that "pdata->chg_params" is non-NULL earlier in this function so when we add "i" to it, it's still non-NULL. Signed-off-by: Dan Carpenter diff --git a/drivers/power/supply/lp8788-charger.c b/drivers/power/supply/lp8788-charger.c index 7321b72..509e2b3

[patch 1/2] IB/hns: Fix a couple pointer math bugs

2016-10-14 Thread Dan Carpenter
"wqe" is a void pointer so adding sizeof() works. The original code adds sizeof() multiplied by sizeof() so it doesn't work at all. Fixes: 9a4435375cd1 ('IB/hns: Add driver files for hns RoCE driver') Signed-off-by: Dan Carpenter diff --git

Re: [PATCH v2] usb: dwc3: gadget: Wait for end transfer complete before free irq

2016-10-14 Thread Felipe Balbi
Hi, Baolin Wang writes: > I see what the problem is. Databook tells us we *must* set CMDIOC when > issuing EndTransfer command and we should always wait for Command > Complete IRQ. However, we took a shortcut and just delayed for 100us >

[PATCH] brcmfmac: print name of connect status event

2016-10-14 Thread Rafał Miłecki
From: Rafał Miłecki This simplifies debugging. Format %s (%u) comes from similar debugging message in brcmf_fweh_event_worker. Signed-off-by: Rafał Miłecki --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 3 ++-

Re: [PATCH 02/18] [media] RedRat3: Move two assignments in redrat3_transmit_ir()

2016-10-14 Thread Dan Carpenter
I have asked you about six or seven times to only send bug fixes and stop sending clean up patches. You have refused. But now I'm asking you to stop randomly doing things without at least thinking about it for a bit. The original code was correct. regards, dan carpenter

Re: [mac80211] BUG_ON with current -git (4.8.0-11417-g24532f7)

2016-10-14 Thread Sergey Senozhatsky
On (10/13/16 14:49), Andy Lutomirski wrote: [..] > > > FAIL: 412cba02 > c900802cba02 || 1 -> (412cba02 > > > >> 39) == 130 > > > > Yeah, we already know that in this function the aad variable is on the > > stack, it explicitly is. > > > > The question, though, is why precisely

[PATCH v2 1/6] clk: stm32f4: Add LSI & LSE clocks

2016-10-14 Thread gabriel.fernandez
From: Gabriel Fernandez This patch introduces the support of the LSI & LSE clocks. The clock drivers needs to disable the power domain write protection using syscon/regmap to enable these clocks. Signed-off-by: Gabriel Fernandez ---

[PATCH v2 5/6] clk: stm32f469: Add QSPI clock

2016-10-14 Thread gabriel.fernandez
From: Gabriel Fernandez This patch adds the QSPI clock for stm32f469 discovery board. The gate mapping is a little bit different from stm32f429 soc. Signed-off-by: Gabriel Fernandez --- .../devicetree/bindings/clock/st,stm32-rcc.txt |

[PATCH v2 4/6] clk: stm32f4: Add RTC clock

2016-10-14 Thread gabriel.fernandez
From: Gabriel Fernandez This patch introduces the support of the RTC clock. RTC clock can have 3 sources: lsi, lse and hse_rtc. Signed-off-by: Gabriel Fernandez --- drivers/clk/clk-stm32f4.c | 135

[PATCH v2 1/3] arm: dts: imx6qdl: Fix "WARNING: please, no space before tabs"

2016-10-14 Thread Jagan Teki
Fixed no space before tabs warnings in respetcive imx6qdl dtsi files. Cc: Shawn Guo Signed-off-by: Jagan Teki --- Changes for v2: - none arch/arm/boot/dts/imx6qdl-apf6dev.dtsi | 14 +++--- arch/arm/boot/dts/imx6qdl-tx6.dtsi | 32

[PATCH v2 2/3] arm: dts: imx6qdl: Fix "ERROR: code indent should use tabs where possible"

2016-10-14 Thread Jagan Teki
Fixed code indent tabs in respetcive imx6qdl dtsi files. Cc: Shawn Guo Signed-off-by: Jagan Teki --- Changes for v2: - none arch/arm/boot/dts/imx6qdl-gw52xx.dtsi| 4 ++-- arch/arm/boot/dts/imx6qdl-gw53xx.dtsi| 4 ++--

Re: [PATCH V3 05/10] acpi: apei: handle SEA notification type for ARMv8

2016-10-14 Thread Punit Agrawal
"Baicar, Tyler" writes: > Hello Punit, > > > On 10/12/2016 12:00 PM, Punit Agrawal wrote: >> Tyler Baicar writes: >> >>> ARM APEI extension proposal added SEA (Synchrounous External >>> Abort) notification type for ARMv8. >>> Add a new GHES error

[GIT PULL (updated)] overlayfs update for 4.9

2016-10-14 Thread Miklos Szeredi
Hi Linus, Please pull updated branch from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-linus Left out the mnt_want_write_file() and clone_file_range() patches altogether, so this is now really overlayfs only. There's vfs_get_link() and that's technically in the

Re: [PATCH V3 10/10] arm64: KVM: add guest SEA support

2016-10-14 Thread Punit Agrawal
"Baicar, Tyler" writes: > Hello Punit, > > On 10/13/2016 7:14 AM, Punit Agrawal wrote: >> Hi Tyler, >> >> I know I've had my last comment already ;), but I thought I'd rather >> raise the question than stay confused... >> >> Tyler Baicar writes:

[PATCH v2 3/3] arm: dts: imx6qdl-wandboard-revb: Fix "ERROR: trailing whitespace"

2016-10-14 Thread Jagan Teki
Fixed error in trailing whitespace in wandboard-rev1 dtsi. Cc: Shawn Guo Signed-off-by: Jagan Teki --- Changes for v2: - none arch/arm/boot/dts/imx6qdl-wandboard-revb1.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [mac80211] BUG_ON with current -git (4.8.0-11417-g24532f7)

2016-10-14 Thread Johannes Berg
> So why is the performance hit acceptable for ESP but not for WPA? We > could easily implement the same thing, i.e., > kmalloc(GFP_ATOMIC)/kfree the aead_req struct rather than allocate it > on the stack Yeah, maybe we should. It's likely a much bigger allocation, but I don't actually know if

Re: [patch] perf_event_open.2: sample_max_stack support

2016-10-14 Thread Michael Kerrisk (man-pages)
On 10/13/2016 11:16 PM, Vince Weaver wrote: > > Linux 4.8 added a new sample_max_stack parameter, as well as > /proc/sys/kernel/perf_event_max_stack which limits it and a new > EOVERFLOW error return. Thanks, Vince. Applied! Cheers, Michael > Signed-off-by: Vince Weaver

pull-request: wireless-drivers 2016-10-14

2016-10-14 Thread Kalle Valo
Hi Dave, first wireless-drivers pull request for 4.9 and this time we have unusually many fixes even before -rc1 is released. Most important here are the wlcore and rtlwifi commits which fix critical regressions, otherwise smaller impact fixes and one new sdio id for ath6kl. Please let me know

Re: [PATCH 3/3] KVM: x86: do not scan IRR twice on APICv vmentry

2016-10-14 Thread Yang Zhang
On 2016/9/28 5:20, Paolo Bonzini wrote: Calling apic_find_highest_irr results in IRR being scanned twice, once in vmx_sync_pir_from_irr and once in apic_search_irr. Change vcpu_enter_guest to use sync_pir_from_irr (with a new argument to trigger the RVI write), and let sync_pir_from_irr get the

  1   2   3   4   5   6   7   8   9   10   >