Re: [PATCH 1/2] net: stmmac: Fix TX timestamp calculation

2017-12-19 Thread David Miller
From: Fredrik Hallenberg Date: Mon, 18 Dec 2017 23:33:59 +0100 > When using GMAC4 the value written in PTP_SSIR should be shifted however > the shifted value is also used in subsequent calculations which results > in a bad timestamp value. > > Signed-off-by: Fredrik

Re: [PATCH] kfree_rcu() should use the new kfree_bulk() interface for freeing rcu structures

2017-12-19 Thread Matthew Wilcox
On Tue, Dec 19, 2017 at 09:52:27AM -0800, rao.sho...@oracle.com wrote: > This patch updates kfree_rcu to use new bulk memory free functions as they > are more efficient. It also moves kfree_call_rcu() out of rcu related code to > mm/slab_common.c > > Signed-off-by: Rao Shoaib

Re: [PATCH 2/2] net: stmmac: Fix bad RX timestamp extraction

2017-12-19 Thread David Miller
From: Fredrik Hallenberg Date: Mon, 18 Dec 2017 23:34:00 +0100 > As noted in dwmac4_wrback_get_rx_timestamp_status the timestamp is found > in the context descriptor following the current descriptor. However the > current code looks for the context descriptor in the current

Re: [PATCH 0/4] ARC: Set initial core pll output frequency via DTS

2017-12-19 Thread Stephen Boyd
On 12/09, Eugeniy Paltsev wrote: > Set initial core pll output frequency on HSDK and AXS103 via > "assigned-clock-rates" property in device tree. > It will be applied at the core pll driver probing. > > Eugeniy Paltsev (4): > ARC: [plat-hsdk]: Set initial core pll output frequency > ARC:

[PATCH] Staging: rtl8723bs: Do not check for NOT NULL before kfree()

2017-12-19 Thread Shreeya Patel
Do not check for NOT NULL before calling kfree because if the pointer is NULL, no action occurs. Done using the following semantic patch by coccinelle. @@ expression ptr; @@ - if (ptr != NULL) kfree(ptr); Signed-off-by: Shreeya Patel ---

Re: [PATCH 3/4] sched: Comment on why sync wakeups try to run on the current CPU

2017-12-19 Thread Peter Zijlstra
On Mon, Dec 18, 2017 at 09:43:26AM +, Mel Gorman wrote: > The sync wakeup logic in wake_affine_idle deserves a short description. > > Signed-off-by: Mel Gorman > --- > kernel/sched/fair.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git

Re: pull-request: wireless-drivers-next 2017-12-18

2017-12-19 Thread David Miller
From: Kalle Valo Date: Mon, 18 Dec 2017 16:17:24 +0200 > a pull request for 4.16 to net-next tree. This is a big one, but on the > other hand most of the stuff here has been some time on linux-next so > hopefully there are no nasty surprises. Even though Arnd just send a >

Re: [PATCH 4/4] perf/x86/intel: drain PEBS buffer in event read

2017-12-19 Thread Peter Zijlstra
On Mon, Dec 18, 2017 at 03:34:51AM -0800, kan.li...@linux.intel.com wrote: > --- a/arch/x86/events/intel/ds.c > +++ b/arch/x86/events/intel/ds.c > @@ -926,6 +926,16 @@ void intel_pmu_pebs_del(struct perf_event *event) > pebs_update_state(needed_cb, cpuc, event->ctx->pmu); > } > > +void

Re: [net-next: PATCH 0/8] Armada 7k/8k PP2 ACPI support

2017-12-19 Thread Marcin Wojtas
Hi David, 2017-12-19 19:48 GMT+01:00 David Miller : > From: Marcin Wojtas > Date: Mon, 18 Dec 2017 10:17:56 +0100 > >> Above support configures 1G to use its PHY normally. 10G can work now >> only with the link interrupt mode. Somehow reading of the >>

Re: [PATCH 2/4] perf/x86/intel: fix event update for auto-reload

2017-12-19 Thread Peter Zijlstra
On Mon, Dec 18, 2017 at 03:34:49AM -0800, kan.li...@linux.intel.com wrote: > arch/x86/events/core.c | 14 ++ > arch/x86/events/intel/ds.c | 8 +++- > 2 files changed, 21 insertions(+), 1 deletion(-) > > diff --git a/arch/x86/events/core.c b/arch/x86/events/core.c > index

Re: [-next PATCH 0/4] sysfs and DEVICE_ATTR_

2017-12-19 Thread Jani Nikula
On Tue, 19 Dec 2017, Joe Perches wrote: > drivers/gpu/drm/i915/i915_sysfs.c | 12 ++-- For i915, Acked-by: Jani Nikula -- Jani Nikula, Intel Open Source Technology Center

Re: [-next PATCH 4/4] treewide: Use DEVICE_ATTR_WO

2017-12-19 Thread Borislav Petkov
On Tue, Dec 19, 2017 at 10:51:14AM -0800, Joe Perches wrote: > > The reason for the code churn being? > > Consistency for easier grep by use-type. Please explain that in the commit message so that we know why it was changed. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid

RE: [intel-sgx-kernel-dev] [PATCH v5 06/11] intel_sgx: driver for Intel Software Guard Extensions

2017-12-19 Thread Christopherson, Sean J
On Friday, 2017-12-15, Jarkko Sakkinen wrote: > > Resurrecting this thread now that I have a system with launch control > > and have been able to measure the performance impact... > > > > Regenerating the EINIT token every time adds somewhere in the vicinity > > of ~5% overhead to creating an

Re: [-next PATCH 4/4] treewide: Use DEVICE_ATTR_WO

2017-12-19 Thread Joe Perches
On Tue, 2017-12-19 at 19:44 +0100, Borislav Petkov wrote: > On Tue, Dec 19, 2017 at 10:15:09AM -0800, Joe Perches wrote: > > Convert DEVICE_ATTR uses to DEVICE_ATTR_WO where possible. > > > > Done with perl script: > > > > $ git grep -w --name-only DEVICE_ATTR | \ > > xargs perl -i -e 'local

Re: [PATCH RESEND] cpufreq: schedutil: Use idle_calls counter of the remote CPU

2017-12-19 Thread Peter Zijlstra
On Tue, Dec 19, 2017 at 09:47:12AM -0800, Joel Fernandes wrote: > Since the recent remote cpufreq callback work, its possible that a cpufreq > update is triggered from a remote CPU. For single policies however, the > current > code uses the local CPU when trying to determine if the remote sg_cpu

Re: [net-next: PATCH 0/8] Armada 7k/8k PP2 ACPI support

2017-12-19 Thread David Miller
From: Marcin Wojtas Date: Mon, 18 Dec 2017 10:17:56 +0100 > Above support configures 1G to use its PHY normally. 10G can work now > only with the link interrupt mode. Somehow reading of the > string property in fwnode_mdiobus_child_is_phy works only with > DT and cannot cope

Re: [-next PATCH 4/4] treewide: Use DEVICE_ATTR_WO

2017-12-19 Thread Borislav Petkov
On Tue, Dec 19, 2017 at 10:15:09AM -0800, Joe Perches wrote: > Convert DEVICE_ATTR uses to DEVICE_ATTR_WO where possible. > > Done with perl script: > > $ git grep -w --name-only DEVICE_ATTR | \ > xargs perl -i -e 'local $/; while (<>) { >

Re: [-next PATCH 2/4] treewide: Use DEVICE_ATTR_RW

2017-12-19 Thread Andy Shevchenko
On Tue, Dec 19, 2017 at 8:15 PM, Joe Perches wrote: > Convert DEVICE_ATTR uses to DEVICE_ATTR_RW where possible. > > Done with perl script: > > $ git grep -w --name-only DEVICE_ATTR | \ > xargs perl -i -e 'local $/; while (<>) { >

Re: [PATCH linux-next] mqueue: fix IPC namespace use-after-free

2017-12-19 Thread Giuseppe Scrivano
Giuseppe Scrivano writes: > The only issue I've seen with my version is that if I do: > > # unshare -im /bin/sh > # mount -t mqueue mqueue /dev/mqueue > # touch /dev/mqueue/foo > # umount /dev/mqueue > # mount -t mqueue mqueue /dev/mqueue > > then /dev/mqueue/foo doesn't

Re: [RFC PATCH v2 00/13] Kernel based bootsplash

2017-12-19 Thread Max Staudt
On 12/19/2017 06:26 PM, Daniel Vetter wrote: > On Tue, Dec 19, 2017 at 6:04 PM, Max Staudt wrote: >> Well, those could enable fbcon if they want the bootsplash. Shouldn't make a >> difference anyway if they're powerful enough to run Linux. As long as the >> bootsplash is shown,

Re: [PATCH] scsi: storvsc: Fix scsi_cmd error assignments in storvsc_handle_error

2017-12-19 Thread Stephen Hemminger
On Tue, 19 Dec 2017 13:32:48 -0500 Cathy Avery wrote: > When an I/O is returned with an srb_status of SRB_STATUS_INVALID_LUN > which has zero good_bytes it must be assigned an error. Otherwise > the I/O will be continuously requeued and will cause a deadlock in the > case

Re: [PATCH] net: arc_emac: fix arc_emac_rx() error paths

2017-12-19 Thread Florian Fainelli
On 12/19/2017 07:49 AM, Alexander Kochetkov wrote: > >> 19 дек. 2017 г., в 18:22, David Miller написал(а): >> >> From: Alexander Kochetkov >> Date: Fri, 15 Dec 2017 20:20:06 +0300 >> >>> arc_emac_rx() has some issues found by code review. >>> >>> In

[PATCH] scsi: storvsc: Fix scsi_cmd error assignments in storvsc_handle_error

2017-12-19 Thread Cathy Avery
When an I/O is returned with an srb_status of SRB_STATUS_INVALID_LUN which has zero good_bytes it must be assigned an error. Otherwise the I/O will be continuously requeued and will cause a deadlock in the case where disks are being hot added and removed. sd_probe_async will wait forever for its

Re: [PATCH v2 4/4] usb: host: ehci-tegra: Remove USB_PHY dependencies from Kconfig

2017-12-19 Thread Dmitry Osipenko
On 19.12.2017 20:52, Alan Stern wrote: > On Sun, 17 Dec 2017, Dmitry Osipenko wrote: > >> Previously tegra-phy driver was built only when ehci-tegra was, now >> tegra-phy has its own Kconfig entry. Remove the USB_PHY dependencies >> from ehci-tegra's Kconfig since they aren't useful anymore. > >

Re: [PATCH] arm64: defconfig: Select schedutil as default cpufreq governor

2017-12-19 Thread Marc Zyngier
On 18/12/17 04:29, Viresh Kumar wrote: > On 15-12-17, 15:50, Catalin Marinas wrote: >> On Thu, Nov 16, 2017 at 11:51:36AM +0530, Viresh Kumar wrote: >>> Currently performance governor is getting selected by default, which is >>> surely not a very good choice as its pretty much power hungry. >>>

Re: proc_flush_task oops

2017-12-19 Thread Eric W. Biederman
Dave Jones writes: > On Mon, Dec 18, 2017 at 03:50:52PM -0800, Linus Torvalds wrote: > > > But I don't see what would have changed in this area recently. > > > > Do you end up saving the seeds that cause crashes? Is this > > reproducible? (Other than seeing it

Re: [PATCH v2] net: arc_emac: restart stalled EMAC

2017-12-19 Thread David Miller
From: Alexander Kochetkov Date: Tue, 19 Dec 2017 14:03:57 +0300 > Under certain conditions EMAC stop reception of incoming packets and > continuously increment R_MISS register instead of saving data into > provided buffer. The commit implement workaround for such situation.

Re: [PATCH v2] net: arc_emac: fix arc_emac_rx() error paths

2017-12-19 Thread David Miller
From: Alexander Kochetkov Date: Tue, 19 Dec 2017 14:07:04 +0300 > arc_emac_rx() has some issues found by code review. > > In case netdev_alloc_skb_ip_align() or dma_map_single() failure > rx fifo entry will not be returned to EMAC. > > In case dma_map_single() failure

Re: proc_flush_task oops

2017-12-19 Thread Eric W. Biederman
Tetsuo Handa writes: > On 2017/12/19 12:39, Dave Jones wrote: >> On Mon, Dec 18, 2017 at 03:50:52PM -0800, Linus Torvalds wrote: >> >> > But I don't see what would have changed in this area recently. >> > >> > Do you end up saving the seeds that cause

Re: Regression with a0747a859ef6 ("bdi: add error handle for bdi_debug_register")

2017-12-19 Thread Shaohua Li
On Tue, Dec 19, 2017 at 10:17:43AM -0600, Bruno Wolff III wrote: > On Sun, Dec 17, 2017 at 21:43:50 +0800, > weiping zhang wrote: > > Hi, thanks for testing, I think you first reproduce this issue(got WARNING > > at device_add_disk) by your own build, then add my debug patch.

Re: [RFC PATCH] mm: memcontrol: memory+swap accounting for cgroup-v2

2017-12-19 Thread Shakeel Butt
On Tue, Dec 19, 2017 at 9:33 AM, Tejun Heo wrote: > Hello, > > On Tue, Dec 19, 2017 at 09:23:29AM -0800, Shakeel Butt wrote: >> To provide consistent memory usage history using the current >> cgroup-v2's 'swap' interface, an additional metric expressing the >> intersection of

Re: [PATCH net] net: mediatek: setup proper state for disabled GMAC on the default

2017-12-19 Thread David Miller
From: Date: Mon, 18 Dec 2017 17:00:17 +0800 > From: Sean Wang > > The current solution would setup fixed and force link of 1Gbps to the both > GMAC on the default. However, The GMAC should always be put to link down > state when the GMAC is

Re: INFO: task hung in bpf_exit_net

2017-12-19 Thread David Ahern
On 12/19/17 5:47 AM, Dmitry Vyukov wrote: > On Tue, Dec 19, 2017 at 1:36 PM, syzbot > > wrote: >> Hello, >> >> syzkaller hit the following crash on >> 7ceb97a071e80f1b5e4cd5a36de135612a836388 >>

[RESEND PATCH v2 1/2] media: exynos-gsc: fix lockdep warning

2017-12-19 Thread Shuah Khan
The driver mmap functions shouldn't take lock when calling vb2_mmap(). Fix it to not take the lock. Reference: commit log for f035eb4e976ef5a059e30bc91cfd310ff030a7d3 and e752577ed7bf55c81e10343fced8b378cda2b63b The following lockdep warning is fixed with this change. [ 1990.972058]

Re: INFO: task hung in cleanup_net

2017-12-19 Thread David Ahern
On 12/19/17 5:47 AM, Dmitry Vyukov wrote: > On Tue, Dec 19, 2017 at 1:33 PM, syzbot > > wrote: >> Hello, >> >> syzkaller hit the following crash on >> e40fd8d6b4d9f59b160faa1736f78fc07533ff37 >>

[-next PATCH 1/4] sysfs.h: Use octal permissions

2017-12-19 Thread Joe Perches
Use the more common and preferred octal directly. Signed-off-by: Joe Perches --- include/linux/sysfs.h | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index 40839c02d28c..b8bfdc173ec0 100644 ---

[-next PATCH 4/4] treewide: Use DEVICE_ATTR_WO

2017-12-19 Thread Joe Perches
Convert DEVICE_ATTR uses to DEVICE_ATTR_WO where possible. Done with perl script: $ git grep -w --name-only DEVICE_ATTR | \ xargs perl -i -e 'local $/; while (<>) { s/\bDEVICE_ATTR\s*\(\s*(\w+)\s*,\s*\(?(?:\s*S_IWUSR\s*|\s*0200\s*)\)?\s*,\s*NULL\s*,\s*\s_store\s*\)/DEVICE_ATTR_WO(\1)/g;

[-next PATCH 2/4] treewide: Use DEVICE_ATTR_RW

2017-12-19 Thread Joe Perches
Convert DEVICE_ATTR uses to DEVICE_ATTR_RW where possible. Done with perl script: $ git grep -w --name-only DEVICE_ATTR | \ xargs perl -i -e 'local $/; while (<>) {

[-next PATCH 0/4] sysfs and DEVICE_ATTR_

2017-12-19 Thread Joe Perches
Joe Perches (4): sysfs.h: Use octal permissions treewide: Use DEVICE_ATTR_RW treewide: Use DEVICE_ATTR_RO treewide: Use DEVICE_ATTR_WO arch/arm/mach-pxa/sharpsl_pm.c | 4 +- arch/s390/kernel/smp.c | 2 +- arch/s390/kernel/topology.c

[-next PATCH 3/4] treewide: Use DEVICE_ATTR_RO

2017-12-19 Thread Joe Perches
Convert DEVICE_ATTR uses to DEVICE_ATTR_RO where possible. Done with perl script: $ git grep -w --name-only DEVICE_ATTR | \ xargs perl -i -e 'local $/; while (<>) { s/\bDEVICE_ATTR\s*\(\s*(\w+)\s*,\s*\(?(?:\s*S_IRUGO\s*|\s*0444\s*)\)?\s*,\s*\1_show\s*,\s*NULL\s*\)/DEVICE_ATTR_RO(\1)/g;

Re: [patch V163 38/51] x86/mm/64: Make a full PGD-entry size hole in the memory map

2017-12-19 Thread Thomas Gleixner
On Tue, 19 Dec 2017, Thomas Gleixner wrote: > On Mon, 18 Dec 2017, Peter Zijlstra wrote: > > > On Mon, Dec 18, 2017 at 12:42:53PM +0100, Thomas Gleixner wrote: > > > From: Andy Lutomirski > > > > > > Shrink vmalloc space from 16384TiB to 12800TiB to enlarge the hole > > >

[PATCH v3 5/9] ARM: dts: imx7-colibri: specify cpu-supply

2017-12-19 Thread Stefan Agner
Specify CPU supply using the "cpu-supply" property instead of the invalid "arm-supply" property. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v3 4/9] ARM: dts: imx7-colibri: use NAND_CE1 as GPIO

2017-12-19 Thread Stefan Agner
All Colibri iMX7 SKUs use either single-die NAND or eMMC, hence NAND_CE1 is not used on the module and can be used as a GPIO by carrier boards. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 +- 1 file

[PATCH v3 1/9] ARM: dts: imx7-colibri: move and rename USB Host power regulator

2017-12-19 Thread Stefan Agner
The Colibri default which enables USB Host power is not necessarily tied to the OTG2 controller, some carrier board use the pin to control USB power for both controllers. Hence name the pinctrl group more generic. Also move the regulator to the generic eval-v3 device tree since the regulator is

[PATCH v3 6/9] ARM: dts: imx7-colibri: specify usdhc1 supplies

2017-12-19 Thread Stefan Agner
The usdhc1 controller instance is used to provide the default SD/MMC capabilities of the Colibri standard. The IO pins are supplied to the SoC on the module whereas the SD-card is powered by the Carrier Board supply. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam

[PATCH v3 9/9] ARM: dts: imx7: add Toradex Colibri iMX7D 1GB (eMMC) support

2017-12-19 Thread Stefan Agner
Add support for the Computer on Module Colibri iMX7D 1GB along with the Colibri Evaluation Board device trees. Follow the usual hierarchic include model, maintaining shared configuration in imx7-colibri.dtsi and imx7-colibri-eval-v3.dtsi respectively. Signed-off-by: Stefan Agner

[PATCH v3 7/9] ARM: dts: imx7-colibri: specify backlight GPIO

2017-12-19 Thread Stefan Agner
The Colibri standard defines SODIMM 71 as backlight enable GPIO. Assign the GPIO to the backlight node in the module level device tree. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 10 +- 1 file

[PATCH v3 8/9] ARM: dts: imx7-colibri: add MCP2515 CAN controller

2017-12-19 Thread Stefan Agner
The Colibri Evaluation Carrier Board provides a MCP2515 CAN controller connected via SPI. Note that the i.MX 7 provides an internal CAN controller which is much better suited for CAN operations. Using the MCP2515 with a Colibri iMX7 module is mainly useful to test the SPI interface.

[PATCH v3 3/9] ARM: dts: imx7-colibri: mux pull-ups where appropriate

2017-12-19 Thread Stefan Agner
Use pull-ups instead of pull-downs for the pins which are already pulled-up externally. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 20 ++-- 1 file changed, 10 insertions(+), 10

[PATCH v3 2/9] ARM: dts: imx7-colibri: make sure multiplexed pins are not active

2017-12-19 Thread Stefan Agner
The Colibri pins PWM and are multiplexed on the module, make sure the secondary SoC pin is not active. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [patch V163 38/51] x86/mm/64: Make a full PGD-entry size hole in the memory map

2017-12-19 Thread Thomas Gleixner
On Mon, 18 Dec 2017, Peter Zijlstra wrote: > On Mon, Dec 18, 2017 at 12:42:53PM +0100, Thomas Gleixner wrote: > > From: Andy Lutomirski > > > > Shrink vmalloc space from 16384TiB to 12800TiB to enlarge the hole starting > > at 0xff90 to be a full PGD entry. > > > >

Re: dst refcount is -1

2017-12-19 Thread Wei Wang
On Tue, Dec 19, 2017 at 2:56 AM, Ortwin Glück wrote: > Hi, > > On 4.14.6 I just got this (on a busy firewall): > [Tue Dec 19 11:15:59 2017] dst_release: dst:9bb7aca0d6c0 refcnt:-1 > > Are you sure the refcounting is now correct? > > Ortwin Would you give more details under what

Re: [patch V163 27/51] x86/mm/pti: Populate user PGD

2017-12-19 Thread Thomas Gleixner
On Tue, 19 Dec 2017, Ingo Molnar wrote: > * Peter Zijlstra wrote: > > > On Mon, Dec 18, 2017 at 12:45:13PM -0800, Dave Hansen wrote: > > > On 12/18/2017 12:41 PM, Peter Zijlstra wrote: > > > >> I also don't think the user_shared area of the fixmap can get *that* > > > >>

Re: [PATCH v20 0/7] Virtio-balloon Enhancement

2017-12-19 Thread Michael S. Tsirkin
On Tue, Dec 19, 2017 at 11:05:11PM +0900, Tetsuo Handa wrote: > Wei Wang wrote: > > ChangeLog: > > v19->v20: > > 1) patch 1: xbitmap > > - add __rcu to "void **slot"; > > - remove the exceptional path. > > 2) patch 3: xbitmap > > - DeveloperNotes: add an item to comment that the

Re: [PATCH] swiotlb: suppress warning when __GFP_NOWARN is set.

2017-12-19 Thread Christian König
Am 19.12.2017 um 15:52 schrieb Konrad Rzeszutek Wilk: On December 19, 2017 9:32:55 AM EST, "Christian König" wrote: TTM tries to allocate coherent memory in chunks of 2MB first to improve TLB efficiency and falls back to allocating 4K pages if that fails.

Re: BUG: unable to handle kernel paging request in delayed_put_task_struct

2017-12-19 Thread Paul E. McKenney
On Tue, Dec 19, 2017 at 01:15:26PM +0100, Dmitry Vyukov wrote: > On Sun, Dec 3, 2017 at 3:24 PM, syzbot > > wrote: > > Hello, > > > > syzkaller hit the following crash on > > 5bef2980adef8a6032d4f4709aebe9486181052f > >

Re: [PATCH 4.14 000/178] 4.14.8-stable review

2017-12-19 Thread Greg Kroah-Hartman
On Tue, Dec 19, 2017 at 10:51:23PM +0530, Naresh Kamboju wrote: > On 18 December 2017 at 21:17, Greg Kroah-Hartman > wrote: > > This is the start of the stable review cycle for the 4.14.8 release. > > There are 178 patches in this series, all will be posted as a

Re: [PATCH 2/3] sched/fair: Correct obsolete comment about cpufreq_update_util

2017-12-19 Thread Peter Zijlstra
On Fri, Dec 15, 2017 at 07:39:43AM -0800, Joel Fernandes wrote: > Since the remote cpufreq callback work, the cpufreq_update_util call can > happen > from remote CPUs. The comment about local CPUs is thus obsolete. Update it > accordingly. > > Reviewed-by: Viresh Kumar

Re: [PATCH -tip v3 0/6] net: tcp: sctp: dccp: Replace jprobe usage with trace events

2017-12-19 Thread Alexei Starovoitov
On Tue, Dec 19, 2017 at 05:56:55PM +0900, Masami Hiramatsu wrote: > include/trace/events/sctp.h | 98 ++ > include/trace/events/tcp.h | 80 +++ > net/Kconfig | 17 -- > net/dccp/Kconfig| 17 -- > net/dccp/Makefile |2 >

Re: [PATCH v2] x86/kexec: Exclude GART aperture from vmcore

2017-12-19 Thread Jiri Bohac
On Tue, Dec 19, 2017 at 09:58:04AM +0800, Baoquan He wrote: > Hmm, as I have said in the first replying mail, the v2 will introduce > issues: > > 1) If 'iommu=off' is specified in 1st kernel but not in kdump kernel, it > will ignore the ram we need dump. yes, instead of crashing the machine

[PATCH] kfree_rcu() should use the new kfree_bulk() interface for freeing rcu structures

2017-12-19 Thread rao . shoaib
From: Rao Shoaib This patch updates kfree_rcu to use new bulk memory free functions as they are more efficient. It also moves kfree_call_rcu() out of rcu related code to mm/slab_common.c Signed-off-by: Rao Shoaib --- include/linux/mm.h | 5 ++

Re: [PATCH 2/6] rpmsg: glink: Store edge name for glink device

2017-12-19 Thread Bjorn Andersson
On Mon 18 Dec 14:02 PST 2017, Chris Lew wrote: > Channels may need to identify the edge their channel was probed for. > Store the edge name by reading the label property from device tree or > default to the node name. > > Signed-off-by: Chris Lew Acked-by: Bjorn Andersson

Re: [PATCH 5/6] rpmsg: Introduce rpmsg_get_rproc_name

2017-12-19 Thread Bjorn Andersson
On Mon 18 Dec 14:02 PST 2017, Chris Lew wrote: > Add support for client's to query the edge name their channel is > registered for. This is useful for clients who share the same channel > identifier across different remote procs. > I presume this will result in a strcmp in some client driver?

Re: [PATCH v2 4/4] usb: host: ehci-tegra: Remove USB_PHY dependencies from Kconfig

2017-12-19 Thread Alan Stern
On Sun, 17 Dec 2017, Dmitry Osipenko wrote: > Previously tegra-phy driver was built only when ehci-tegra was, now > tegra-phy has its own Kconfig entry. Remove the USB_PHY dependencies > from ehci-tegra's Kconfig since they aren't useful anymore. Are you sure they aren't useful? Does this mean

Re: [PATCH 2/2] lib: cleanup dead code from rbtree_test.c

2017-12-19 Thread Pravin Shedge
On Sun, Dec 17, 2017 at 9:25 PM, Davidlohr Bueso wrote: > On Sun, 17 Dec 2017, Pravin Shedge wrote: > >> lib/rbtree_test.c code allows to compile either as a loadable modules or >> builtin into the kernel. >> >> Current code returns -EAGAIN on successful termination from

[PATCH RESEND] cpufreq: schedutil: Use idle_calls counter of the remote CPU

2017-12-19 Thread Joel Fernandes
Since the recent remote cpufreq callback work, its possible that a cpufreq update is triggered from a remote CPU. For single policies however, the current code uses the local CPU when trying to determine if the remote sg_cpu entered idle or is busy. This is incorrect. To remedy this, compare with

Re: [PATCH RFC 2/7] KVM: nVMX: modify vmcs12 fields to match Hyper-V enlightened VMCS

2017-12-19 Thread Jim Mattson
You can change the default VMCS12_REVISION and associated layout, as long as support is maintained for the old layout and userspace has the ability (e.g. by setting the IA32_VMX_BASIC MSR) to specify that a VM needs to use the old layout. On Tue, Dec 19, 2017 at 4:25 AM, Vitaly Kuznetsov

Re: [PATCH] hw: Fix permissions for OCRDMA_RESET_STATS

2017-12-19 Thread Selvin Xavier
On Tue, Dec 19, 2017 at 6:00 PM, Leon Romanovsky wrote: >> status = ocrdma_nonemb_mbx_cmd(dev, mqe, dev->stats_mem.va); > > It still doesn't make a lot of sense to me: > > ocrdma_mbx_rdma_stats(): > 1315if (reset) > 1316 req->reset_stats = reset; > 1317 >

Re: [PATCH RFC 2/7] KVM: nVMX: modify vmcs12 fields to match Hyper-V enlightened VMCS

2017-12-19 Thread Jim Mattson
On Tue, Dec 19, 2017 at 4:37 AM, Paolo Bonzini wrote: > On 19/12/2017 13:25, Vitaly Kuznetsov wrote: >> >>> At this point in time, I don't think you can just blithely change the >>> virtual VMCS layout and revision number. Existing VMs using the old >>> layout and revision

Re: [PATCH] lib: add module unload support to sort tests

2017-12-19 Thread Pravin Shedge
On Tue, Dec 19, 2017 at 3:51 AM, Andrew Morton wrote: > On Sun, 17 Dec 2017 15:19:27 +0530 Pravin Shedge > wrote: > >> test_sort.c perform array-based and linked list sort test. Code allows to >> compile either as a loadable modules or

Re: [PATCH] crypto: x86/twofish-3way - Fix %rbp usage

2017-12-19 Thread Ingo Molnar
* Ingo Molnar wrote: > > * Eric Biggers wrote: > > > There may be a small overhead caused by replacing 'xchg REG, REG' with > > the needed sequence 'mov MEM, REG; mov REG, MEM; mov REG, REG' once per > > round. But, counterintuitively, when I tested

[PATCH] mei: fix incorrect logical operator in if statement

2017-12-19 Thread Colin King
From: Colin Ian King The current expression using the || operator is always true because dev->dev_state cannot be equal to two different values at the same time. Fix this by replacing the || with &&. Detected by CoverityScan, CID#1463042 ("Constant expression result")

Re: bitmap API consistency

2017-12-19 Thread Andy Shevchenko
On Wed, 2017-05-24 at 15:43 +0300, Andy Shevchenko wrote: > On Wed, 2017-05-24 at 14:38 +0200, Rasmus Villemoes wrote: > > On 24 May 2017 at 14:11, Andy Shevchenko > > wrote: > > > Hi! > > > > > > Surprisingly discovered today that bitmap API is not consistent

Re: [PATCH v1 00/15] ASoC: fsl_ssi: Clean up - program flow level

2017-12-19 Thread Timur Tabi
On 12/19/17 11:00 AM, Nicolin Chen wrote: This series of patches is the second set to clean up fsl_ssi driver in the program flow level. Any patch here may impact a fundamental test case like playback or record. With Christmas happening over the next two weeks, I don't think I'll be able to

Re: [RFC PATCH] mm: memcontrol: memory+swap accounting for cgroup-v2

2017-12-19 Thread Tejun Heo
Hello, On Tue, Dec 19, 2017 at 09:23:29AM -0800, Shakeel Butt wrote: > To provide consistent memory usage history using the current > cgroup-v2's 'swap' interface, an additional metric expressing the > intersection of memory and swap has to be exposed. Basically memsw is > the union of memory and

Re: [PATCH for-4.15] ASoC: rt5514: don't assume rt5514 component was "attached"

2017-12-19 Thread Brian Norris
On Tue, Dec 19, 2017 at 10:58:18AM +, Mark Brown wrote: > It's been applied as a fix for some time. Indeed it has. Sorry for missing that. I look forward to seeing it in a release candidate, so my system will again work on mainline :) Brian

Re: [PATCH] lockdep: Show up to three levels for a deadlock scenario

2017-12-19 Thread Peter Zijlstra
On Tue, Dec 19, 2017 at 12:11:24PM -0500, Steven Rostedt wrote: > On Tue, 19 Dec 2017 18:07:16 +0100 > Peter Zijlstra wrote: > > > On Tue, Dec 19, 2017 at 11:52:38AM -0500, Steven Rostedt wrote: > > > Then I suggest that you can either take my patch to improve the > > >

Re: platform/x86/thinkpad_acpi: Adjustments for four function implementations

2017-12-19 Thread Andy Shevchenko
On Tue, Dec 19, 2017 at 6:23 PM, SF Markus Elfring wrote: >>> Delete an error message for a failed memory allocation in three functions >> >> This one is questionable since it prints error messages at ->init() stage. >> I would rather not touch this. > > Do you

Re: [PATCH v5 4/6] media: i2c: Add TDA1997x HDMI receiver driver

2017-12-19 Thread Hans Verkuil
On 19/12/17 18:01, Tim Harvey wrote: > On Tue, Dec 19, 2017 at 3:12 AM, Hans Verkuil wrote: >> On 16/12/17 19:00, Tim Harvey wrote: >>> + >>> +static int tda1997x_fill_format(struct tda1997x_state *state, >>> + struct v4l2_mbus_framefmt *format) >>>

Re: [PATCH 4/5] sched/isolation: Residual 1Hz scheduler tick offload

2017-12-19 Thread Christopher Lameter
On Tue, 19 Dec 2017, Peter Zijlstra wrote: > On Tue, Dec 19, 2017 at 10:38:39AM -0600, Christopher Lameter wrote: > > And the term RT has been heavily abused by marketing folks to mean any > > number of things so people can use RT to refer to variety of things. So > > please always clarify what

Re: [RFC PATCH v2 00/13] Kernel based bootsplash

2017-12-19 Thread Daniel Vetter
On Tue, Dec 19, 2017 at 6:04 PM, Max Staudt wrote: > On 12/19/2017 05:16 PM, Daniel Vetter wrote: >> On Wed, Dec 13, 2017 at 08:47:42PM +0100, Max Staudt wrote: >>> Dear fbdev and fbcon developers, >>> >>> Thank you very much for your input for the first patch series. >>> >>>

Dearest

2017-12-19 Thread Asana Hajraf
Dearest, I am Mrs. Asana Hajraf and I am married to Mr. Hassan Hajraf from kuwait for 19 years without a child and my husband died in 2014. I am contacting you to let you know my desire to donate the sum of $4.5 million to charities in your country which I inherited from my late husband. Due

Re: [PATCH v5 0/6] enable creating [k,u]probe with perf_event_open

2017-12-19 Thread Song Liu
> On Dec 8, 2017, at 11:57 AM, Daniel Borkmann wrote: > > On 12/06/2017 11:45 PM, Song Liu wrote: >> Changes PATCH v4 to PATCH v5: >> Remove PERF_PROBE_CONFIG_IS_RETPROBE from uapi, use PMU_FORMAT_ATTR >> instead. >> >> Changes PATCH v3 to PATCH v4: >> Remove uapi

Re: Regression: unable to boot after commit bd9240a18edf ("x86/apic: Add TSC_DEADLINE quirk due to errata") - Surface Pro 4 SKL

2017-12-19 Thread Peter Zijlstra
On Tue, Dec 19, 2017 at 05:01:55PM +0100, Peter Zijlstra wrote: > On Tue, Dec 19, 2017 at 11:42:41PM +0800, Zhang Rui wrote: > > On Tue, 2017-12-19 at 16:23 +0100, Peter Zijlstra wrote: > > > > [0.00] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) > > > [0.00] ACPI: IRQ0

Re: [RFC PATCH] mm: memcontrol: memory+swap accounting for cgroup-v2

2017-12-19 Thread Shakeel Butt
On Tue, Dec 19, 2017 at 7:24 AM, Tejun Heo wrote: > Hello, > > On Tue, Dec 19, 2017 at 07:12:19AM -0800, Shakeel Butt wrote: >> Yes, there are pros & cons, therefore we should give users the option >> to select the API that is better suited for their use-cases and > > Heh, that's

Re: [PATCH 4/5] sched/isolation: Residual 1Hz scheduler tick offload

2017-12-19 Thread Christopher Lameter
On Tue, 19 Dec 2017, Frederic Weisbecker wrote: > > The vmstat processing required per cpu area access. How does that work if > > the code is running on a remote processor? > > It seems that current::sched_class::task_tick() is ok with this, as it > uses per runqueues or per task datas. And both

Re: [PATCH 4.4 000/115] 4.4.107-stable review

2017-12-19 Thread Naresh Kamboju
On 18 December 2017 at 21:17, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.107 release. > There are 115 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied,

Re: [PATCH 4.9 000/177] 4.9.71-stable review

2017-12-19 Thread Naresh Kamboju
On 18 December 2017 at 21:17, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.71 release. > There are 177 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied,

Re: [PATCH 4.14 000/178] 4.14.8-stable review

2017-12-19 Thread Naresh Kamboju
On 18 December 2017 at 21:17, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.8 release. > There are 178 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied,

Re: [PATCH v2 2/5] mm: Extends local cpu counter vm_diff_nodestat from s8 to s16

2017-12-19 Thread Christopher Lameter
On Tue, 19 Dec 2017, Michal Hocko wrote: > > Well the reason for s8 was to keep the data structures small so that they > > fit in the higher level cpu caches. The large these structures become the > > more cachelines are used by the counters and the larger the performance > > influence on the

Re: EFI crash with PCID on

2017-12-19 Thread Andy Lutomirski
On Tue, Dec 19, 2017 at 8:52 AM, Andy Lutomirski wrote: > On Tue, Dec 19, 2017 at 8:52 AM, Andy Lutomirski wrote: >> Hi Matt - >> >> Can you take a look at https://bugzilla.kernel.org/show_bug.cgi?id=198195 >> > > Let's add x86 people, too. By inspection, the

Re: [PATCH v4] usb: dwc2: host: Don't retry NAKed transactions right away

2017-12-19 Thread Doug Anderson
Hi, On Tue, Dec 19, 2017 at 8:56 AM, Stefan Wahren wrote: > Hi Doug, > >> Doug Anderson hat am 19. Dezember 2017 um 16:57 >> geschrieben: >> >> >> Felipe, >> >> On Tue, Dec 12, 2017 at 10:30 AM, Douglas Anderson >> wrote:

Re: [PATCH v3 19/19] fs: handle inode->i_version more efficiently

2017-12-19 Thread Jeff Layton
On Tue, 2017-12-19 at 10:29 +0100, Jan Kara wrote: > On Mon 18-12-17 12:22:20, Jeff Layton wrote: > > On Mon, 2017-12-18 at 17:34 +0100, Jan Kara wrote: > > > On Mon 18-12-17 10:11:56, Jeff Layton wrote: > > > > static inline bool > > > > inode_maybe_inc_iversion(struct inode *inode, bool force)

Re: [PATCH 1/2] mm: Make follow_pte_pmd an inline

2017-12-19 Thread Matthew Wilcox
On Tue, Dec 19, 2017 at 09:05:42AM -0800, Joe Perches wrote: > On Tue, 2017-12-19 at 08:58 -0800, Matthew Wilcox wrote: > > + /* (void) is needed to make gcc happy */ > > + (void) __cond_lock(*ptlp, > > + !(res = __follow_pte_pmd(mm, address, start, end, > > +

Re: pwm: atmel-tcb: Delete an error message for a failed memory allocation in atmel_tcb_pwm_probe()

2017-12-19 Thread SF Markus Elfring
>> Omit an extra message for a memory allocation failure in this function. >> >> This issue was detected by using the Coccinelle software. > > Can you point which coccinelle script highlited this issue? Not directly (so far). I constructed an approach for the semantic patch language based on

Re: [PATCH net-next v5 1/4] phylib: Add device reset delay support

2017-12-19 Thread Rob Herring
On Mon, Dec 18, 2017 at 1:30 AM, Richard Leitner wrote: > Hi Rob, > > On 12/15/2017 11:17 PM, Rob Herring wrote: >> On Mon, Dec 11, 2017 at 01:16:57PM +0100, Richard Leitner wrote: >>> From: Richard Leitner >>> >>> Some PHYs need a

Re: [PATCH] lockdep: Show up to three levels for a deadlock scenario

2017-12-19 Thread Steven Rostedt
On Tue, 19 Dec 2017 18:07:16 +0100 Peter Zijlstra wrote: > On Tue, Dec 19, 2017 at 11:52:38AM -0500, Steven Rostedt wrote: > > Then I suggest that you can either take my patch to improve the > > visual or remove the visual completely, as nobody cares about it. > >

Re: [PATCH] lockdep: Show up to three levels for a deadlock scenario

2017-12-19 Thread Steven Rostedt
On Tue, 19 Dec 2017 11:54:10 -0500 Dhaval Giani wrote: > On 2017-12-19 11:52 AM, Steven Rostedt wrote: > > On Tue, 19 Dec 2017 17:46:19 +0100 > > Peter Zijlstra wrote: > > > > > >> It really isn't that hard, Its mostly a question of TL;DR. > >>

Re: [PATCH] lockdep: Show up to three levels for a deadlock scenario

2017-12-19 Thread Peter Zijlstra
On Tue, Dec 19, 2017 at 11:52:38AM -0500, Steven Rostedt wrote: > Then I suggest that you can either take my patch to improve the > visual or remove the visual completely, as nobody cares about it. Doesn't apply as is; but can you at least make it shut up if the chain is longer than you support?

[PATCH net 0/3] Few mvneta fixes

2017-12-19 Thread Gregory CLEMENT
Hello, here it is a small series of fixes found on the mvneta driver. They had been already used in the vendor kernel and are now ported to mainline. Thanks, Gregory Yelena Krivosheev (3): net: mvneta: clear interface link status on port disable net: mvneta: use proper rxq_number in loop

<    1   2   3   4   5   6   7   8   9   10   >