Re: [PATCH v2 0/3] xfs: Reduce spinlock contention in log space slowpath code

2018-08-26 Thread Dave Chinner
On Sun, Aug 26, 2018 at 04:53:12PM -0400, Waiman Long wrote: > v1->v2: > - For patch 1, remove wake_q_empty() & add task_in_wake_q(). > - Rewrite patch 2 after comments from Dave Chinner and break it down >to 2 separate patches. Now the original xfs logic was kept. The >patches just try t

Re: [PATCH] fpga: dfl: fme-mgr: fix spelling mistake "Invaild" -> "Invalid"

2018-08-26 Thread Wu Hao
On Sun, Aug 26, 2018 at 11:13:55PM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in dev_err message. This patch is duplicated. This issue is covered by your previous patch. https://marc.info/?l=linux-fpga&m=153202583007071&w=2 Thanks Hao > > Signed-off-b

Re: [GIT PULL] tee subsystem for v4.20

2018-08-26 Thread Olof Johansson
On Fri, Aug 24, 2018 at 4:55 AM, Jens Wiklander wrote: > Hello arm-soc maintainers, > > Please pull these tee driver enhancements. There's one small fix for the > OP-TEE driver to take DT status into account. There's also a patch > providing a kernel only tee client interface that can be used by o

[PATCH v2] tools/vm/slabinfo.c: fix sign-compare warning

2018-08-26 Thread Naoya Horiguchi
On Sat, Aug 25, 2018 at 07:21:14PM -0700, Matthew Wilcox wrote: > On Fri, Aug 24, 2018 at 06:32:14PM +0900, Naoya Horiguchi wrote: > > - int hwcache_align, object_size, objs_per_slab; > > - int sanity_checks, slab_size, store_user, trace; > > + int hwcache_align, objs_per_slab; > > + int sa

Re: [PATCH v2 2/3] xfs: Prevent multiple wakeups of the same log space waiter

2018-08-26 Thread Dave Chinner
On Sun, Aug 26, 2018 at 04:53:14PM -0400, Waiman Long wrote: > The current log space reservation code allows multiple wakeups of the > same sleeping waiter to happen. This is a just a waste of cpu time as > well as increasing spin lock hold time. So a new XLOG_TIC_WAKING flag is > added to track if

Urgent,

2018-08-26 Thread Juliet Muhammad
i have been trying to contact you

[PATCH] perf/x86/intel/uncore: Provide alias for IIO free-running boxes on SKX

2018-08-26 Thread Jin Yao
For Skylake Server, Linux has supported a number of free running counters that collect counts of IO clocks/Bandwidth/Utilization. For example, to collect the inbound bandwidth, root@skx /sys/devices# ls | grep uncore_iio uncore_iio_0 uncore_iio_1 uncore_iio_2 uncore_iio_3 uncore_iio_4 uncore_iio_

linux-next: Tree for Aug 27

2018-08-26 Thread Stephen Rothwell
Hi all, Changes since 20180824: Dropped trees: xarray, ida (temporarily) Non-merge commits (relative to Linus' tree): 427 585 files changed, 17988 insertions(+), 5276 deletions(-) I have created today's linux-next tr

linux-next: Tree for Aug 27

2018-08-26 Thread Stephen Rothwell
Hi all, Changes since 20180824: Dropped trees: xarray, ida (temporarily) Non-merge commits (relative to Linus' tree): 427 585 files changed, 17988 insertions(+), 5276 deletions(-) I have created today's linux-next tr

Re: [PATCH] autofs - fix autofs_sbi() does not check super block type

2018-08-26 Thread Al Viro
On Mon, Aug 20, 2018 at 04:37:09PM +0800, Ian Kent wrote: > The autofs_sbi() inline function does not check the super block > magic number to verify it has been given an autofs super block. IMO it's the wrong way to fix it. The one and only caller where that check might trigger is

[PATCH 1/5] Extract FPU context operations from entry.S

2018-08-26 Thread Alan Kao
We move __fstate_save and __fstate_restore to a new source file, fpu.S. Signed-off-by: Alan Kao Cc: Greentime Hu Cc: Vincent Chen Cc: Zong Li Cc: Nick Hu Reviewed-by: Christoph Hellwig --- arch/riscv/kernel/Makefile | 1 + arch/riscv/kernel/entry.S | 87 -- a

[PATCH 3/5] Cleanup ISA string setting

2018-08-26 Thread Alan Kao
This patch cleanup the MARCH string passing to both compiler and assembler. Note that the CFLAGS should not contain "fd" before we have mechnisms like kernel_fpu_begin/end in other architectures. Signed-off-by: Alan Kao Cc: Greentime Hu Cc: Vincent Chen Cc: Zong Li Cc: Nick Hu --- arch/risc

[PATCH 5/5] Auto-detect whether a FPU exists

2018-08-26 Thread Alan Kao
We expect that a kernel with CONFIG_FPU=y can still support no-FPU machines. To do so, the kernel should first examine the existence of a FPU, then do nothing if a FPU does exist; otherwise, it should disable/bypass all FPU-related functions. In this patch, a new global variable, has_fpu, is creat

[PATCH 4/5] Allow to disable FPU support

2018-08-26 Thread Alan Kao
FPU codes have been separated from common part in previous patches. This patch add the CONFIG_FPU option and some stubs, so that a no-FPU configuration is allowed. Signed-off-by: Alan Kao Cc: Greentime Hu Cc: Vincent Chen Cc: Zong Li Cc: Nick Hu Reviewed-by: Christoph Hellwig --- arch/riscv

[PATCH v7 0/5] riscv: Add support to no-FPU systems

2018-08-26 Thread Alan Kao
This patchset adds an option, CONFIG_FPU, to enable/disable floating- point procedures. Kernel's new behavior will be as follows: * with CONFIG_FPU=y All FPU codes are reserved. If no FPU is found during booting, a global flag will be set, and those functions will be bypassed with conditio

[PATCH 2/5] Refactor FPU code in signal setup/return procedures

2018-08-26 Thread Alan Kao
FPU-related logic is separated from normal signal handling path in this patch. Kernel can easily be configured to exclude those procedures for no-FPU systems. Signed-off-by: Alan Kao Cc: Greentime Hu Cc: Vincent Chen Cc: Zong Li Cc: Nick Hu Reviewed-by: Christoph Hellwig --- arch/riscv/ker

Re: [PATCH NET 3/3] net: hns: add configuration constraints for 1000M half

2018-08-26 Thread lipeng (Y)
On 2018/8/26 2:07, Andrew Lunn wrote: This patch is a  theoretical protect, and the problem does not really happen. I think you really get the point, do you think we need this patch? I think it is not needed. And if it was needed, it would indicate there is a bug somewhere else. Hi, Andrew

Re: [PATCH v6 3/4] ARM: dts: Add support for emtrion emCON-MX6 series

2018-08-26 Thread Shawn Guo
On Fri, Aug 24, 2018 at 03:26:13PM +0200, Jan Tuerk wrote: > This patch adds support for the emtrion GmbH emCON-MX6 modules. > They are available with imx.6 Solo, Dual-Lite, Dual and Quad > equipped with Memory from 512MB to 2GB (configured by U-Boot). > > Our default developer-Kit ships with the

Re: [PATCH] ARM: dts: imx7ulp: update pinfunc header file

2018-08-26 Thread Shawn Guo
On Tue, Jul 31, 2018 at 06:10:35AM +0800, Anson Huang wrote: > The i.MX7ULP B0 chip has some pin changes for USB and VIU > module, update pinfunc header file accordingly. > > Signed-off-by: Anson Huang Applied, thanks.

[PATCH V2 net 2/2] net: hns: add netif_carrier_off before change speed and duplex

2018-08-26 Thread Peng Li
If there are packets in hardware when changing the speed or duplex, it may cause hardware hang up. This patch adds netif_carrier_off before change speed and duplex in ethtool_ops.set_link_ksettings, and adds netif_carrier_on after complete the change. Signed-off-by: Peng Li --- drivers/net/ethe

[PATCH V2 net 1/2] net: hns: add the code for cleaning pkt in chip

2018-08-26 Thread Peng Li
If there are packets in hardware when changing the speed or duplex, it may cause hardware hang up. This patch adds the code for waiting chip to clean the all pkts(TX & RX) in chip when the driver uses the function named "adjust link". This patch cleans the pkts as follows: 1) close rx of chip, cl

[PATCH V2 net 0/2] net: hns: fix some bugs about speed and duplex change

2018-08-26 Thread Peng Li
If there are packets in hardware when changing the spped or duplex, it may cause hardware hang up. This patchset adds the code for waiting chip to clean the all pkts(TX & RX) in chip when the driver uses the function named "adjust link". This patchset cleans the pkts as follows: 1) close rx of ch

linux-next: stats (Was: Linux 4.19-rc1)

2018-08-26 Thread Stephen Rothwell
Hi all, As usual, the executive friendly graph is at http://neuling.org/linux-next-size.html :-) (No merge commits counted, next-20180813 was the first linux-next after the merge window opened.) Commits in v4.19-rc1 (relative to v4.18): 12317 Commits in next-20180813:

Re: [PATCH] fs/cifs: don't translate SFM_SLASH (U+F026) to backslash

2018-08-26 Thread Steve French
Tentatively merged into cifs-2.6.git for-next but would like a little more experimentation with it if possible (or description of what scenarios/servers have been tried) On Mon, Jul 9, 2018 at 9:53 AM Jon Kuhn wrote: > > When a Mac client saves an item containing a backslash to a file server > the

Re: [PATCH] irqchip/gic-v3-its: add allocation max order limitation for lpi_id_bits

2018-08-26 Thread Jia He
Hi Marc Thanks for the comments On 8/27/2018 3:01 AM, Marc Zyngier Wrote: > [I'm travelling, so expect some major delays in responding to email] > > Hi Jia, > > On Sun, 26 Aug 2018 10:00:51 +0100, > Jia He wrote: >> >> There is a WARN_ON when my QDF2400 server boots up (pagesize is 4k) > > [sn

[PATCH V3] Bluetooth: bt3c_cs: Fix obsolete function

2018-08-26 Thread Ding Xiang
simple_strtol and simple_strtoul are obsolete, both place use kstrtouint instead. V2: fix error tmp += tn V3: fix compile error Signed-off-by: Ding Xiang --- drivers/bluetooth/bt3c_cs.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/bluetooth/bt3c_cs.c b/dr

Re: [PATCH v9 3/6] kernel/reboot.c: export pm_power_off_prepare

2018-08-26 Thread Shawn Guo
On Thu, Aug 02, 2018 at 12:35:52PM +0100, Mark Brown wrote: > On Thu, Aug 02, 2018 at 12:47:27PM +0200, Oleksij Rempel wrote: > > On 02.08.2018 12:44, Mark Brown wrote: > > > > I thought we'd got an ack for this from Raphael on a previous version or > > > am I mistaken? > > > No, we got an: > > "

Re: [PATCH] ARM: dts: imx7s: remove snvs_poweroff node

2018-08-26 Thread Shawn Guo
On Mon, Aug 06, 2018 at 01:40:05PM +0800, Anson Huang wrote: > System poweroff is already supported by PSCI on i.MX7D, > remove "snvs_poweroff" node to avoid below debug message > from syscon-poweroff driver: > > [1.831414] syscon-poweroff 3037.snvs:snvs-poweroff: pm_power_off > already c

Re: [PATCH] net: sched: Fix memory exposure from short TCA_U32_SEL

2018-08-26 Thread Julia Lawall
On Sun, 26 Aug 2018, Joe Perches wrote: > On Sun, 2018-08-26 at 22:24 +0100, Al Viro wrote: > > On Sun, Aug 26, 2018 at 11:57:57AM -0700, Joe Perches wrote: > > > > > > That, BTW, is why I hate the use of sizeof(*p) in kmalloc, etc. > > > > arguments. typeof is even worse in that respect. > >

Re: [PATCH] net: sched: Fix memory exposure from short TCA_U32_SEL

2018-08-26 Thread Julia Lawall
On Sun, 26 Aug 2018, Al Viro wrote: > On Sun, Aug 26, 2018 at 03:26:54PM -0700, Joe Perches wrote: > > On Sun, 2018-08-26 at 22:24 +0100, Al Viro wrote: > > > On Sun, Aug 26, 2018 at 11:57:57AM -0700, Joe Perches wrote: > > > > > > > > That, BTW, is why I hate the use of sizeof(*p) in kmalloc,

[V2][PATCH net] tipc: fix the big/little endian issue in tipc_dest

2018-08-26 Thread Haiqing Bai
In function tipc_dest_push, the 32bit variables 'node' and 'port' are stored separately in uppper and lower part of 64bit 'value'. Then this value is assigned to dst->value which is a union like: union { struct { u32 port; u32 node; }; u64 value; } This works on little-endian machines

RE: [PATCH net] tipc: fix the big/little endian issue in tipc_dest

2018-08-26 Thread Bai, Haiqing
Thanks, V2 will be send out. -Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: 2018年8月26日 8:37 To: Bai, Haiqing Cc: net...@vger.kernel.org; jon.ma...@ericsson.com; Xue, Ying; Gao, Zhenbo; linux-kernel@vger.kernel.org Subject: Re: [PATCH net] tipc: fix the big/lit

[PATCH v37 2/3] mm/page_poison: expose page_poisoning_enabled to kernel modules

2018-08-26 Thread Wei Wang
In some usages, e.g. virtio-balloon, a kernel module needs to know if page poisoning is in use. This patch exposes the page_poisoning_enabled function to kernel modules. Signed-off-by: Wei Wang Cc: Andrew Morton Cc: Michal Hocko Cc: Michael S. Tsirkin Acked-by: Andrew Morton --- mm/page_pois

[PATCH v37 1/3] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT

2018-08-26 Thread Wei Wang
Negotiation of the VIRTIO_BALLOON_F_FREE_PAGE_HINT feature indicates the support of reporting hints of guest free pages to host via virtio-balloon. Currenlty, only free page blocks of MAX_ORDER - 1 are reported. They are obtained one by one from the mm free list via the regular allocation function.

[PATCH v37 0/3] Virtio-balloon: support free page reporting

2018-08-26 Thread Wei Wang
The new feature, VIRTIO_BALLOON_F_FREE_PAGE_HINT, implemented by this series enables the virtio-balloon driver to report hints of guest free pages to host. It can be used to accelerate virtual machine (VM) live migration. Here is an introduction of this usage: Live migration needs to transfer the

[PATCH v37 3/3] virtio-balloon: VIRTIO_BALLOON_F_PAGE_POISON

2018-08-26 Thread Wei Wang
The VIRTIO_BALLOON_F_PAGE_POISON feature bit is used to indicate if the guest is using page poisoning. Guest writes to the poison_val config field to tell host about the page poisoning value that is in use. Suggested-by: Michael S. Tsirkin Signed-off-by: Wei Wang Cc: Michael S. Tsirkin Cc: Mich

Re: [PATCH v5 3/4] x86/boot/KASLR: Walk srat tables to filter immovable memory

2018-08-26 Thread Baoquan He
On 08/07/18 at 02:49pm, Chao Fan wrote: > If 'CONFIG_MEMORY_HOTREMOVE' specified, walk the acpi srat memory > tables, store the immovable memory regions, so that kaslr can get > the information abouth where can be selected or not. > If 'CONFIG_MEMORY_HOTREMOVE' not specified, go on the old code. Ju

Re: [PATCH 1/2] soc: imx: gpc: use A_CORE instread of A7 for more i.MX platforms

2018-08-26 Thread Shawn Guo
Andrey, Are you fine with these two patches? Shawn On Mon, Aug 06, 2018 at 02:39:48PM +0800, Anson Huang wrote: > gpcv2 driver is NOT just used on i.MX7D which has Cortex-A7 > cores, but also on i.MX8MQ/i.MX8MM platforms which use Cortex-A53 > cores, so let's use A_CORE instread of A7 to avoid c

[PATCH] powerpc: remove pre-build checks for old GCC versions

2018-08-26 Thread Masahiro Yamada
Commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6") bumped the minimum GCC version to 4.6 for all architectures. The GCC version checks in arch/powerpc/Makefile are obsolete now. Signed-off-by: Masahiro Yamada --- arch/powerpc/Makefile | 38 +--

Re: [PATCH v1] ARM: arm: configs: imx_v6_v7: add CONFIG_FW_LOADER_USER_HELPER

2018-08-26 Thread Shawn Guo
On Tue, Aug 07, 2018 at 02:20:55AM +0800, Robin Gong wrote: > To support loading sdma firmware automatically from rootfs, enable > CONFIG_FW_LOADER_USER_HELPER/CONFIG_FW_LOADER_USER_HELPER_FALLBACK. > Please get sdma firmware from below link and put it into > rootfs entry -- /lib/firmware/imx/sdma/

[PATCH] parisc: remove check for minimum required GCC version

2018-08-26 Thread Masahiro Yamada
Commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6") bumped the minimum GCC version to 4.6 for all architectures. The version check in arch/parisc/Makefile is obsolete now. Signed-off-by: Masahiro Yamada --- arch/parisc/Makefile | 9 - 1 file changed, 9 deletions(-) d

[PATCH] perf: Fix clean error

2018-08-26 Thread Lei YU
When make perf with -O, it gets error when make clean with below log: $ make -C tools/perf O= # OK $ make -C tools/perf O= find: cannot delete ‘/builtin-script.o’: No such file or directory find: cannot delete ‘/.subcmd-config.o.cmd’: No such file or directory ... Makefile:38:

Re: [PATCH] net: sched: Fix memory exposure from short TCA_U32_SEL

2018-08-26 Thread Al Viro
On Sun, Aug 26, 2018 at 10:00:46PM -0400, Julia Lawall wrote: > > > On Sun, 26 Aug 2018, Al Viro wrote: > > > On Sun, Aug 26, 2018 at 03:26:54PM -0700, Joe Perches wrote: > > > On Sun, 2018-08-26 at 22:24 +0100, Al Viro wrote: > > > > On Sun, Aug 26, 2018 at 11:57:57AM -0700, Joe Perches wrote:

[PATCH] reiserfs: remove workaround code for GCC 3.x

2018-08-26 Thread Masahiro Yamada
Commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6") bumped the minimum GCC version to 4.6 for all architectures. The workaround code in fs/reiserfs/Makefile is obsolete now. Signed-off-by: Masahiro Yamada --- fs/reiserfs/Makefile | 9 - 1 file changed, 9 deletions(-)

Re: [PATCH v5 3/4] x86/boot/KASLR: Walk srat tables to filter immovable memory

2018-08-26 Thread Chao Fan
On Mon, Aug 27, 2018 at 10:13:49AM +0800, Baoquan He wrote: >On 08/07/18 at 02:49pm, Chao Fan wrote: >> If 'CONFIG_MEMORY_HOTREMOVE' specified, walk the acpi srat memory >> tables, store the immovable memory regions, so that kaslr can get >> the information abouth where can be selected or not. >> I

Re: [PATCH v3 1/3] pinctrl: msm: Really mask level interrupts to prevent latching

2018-08-26 Thread Bjorn Andersson
On Thu 16 Aug 13:06 PDT 2018, Stephen Boyd wrote: > The interrupt controller hardware in this pin controller has two status > enable bits. The first "normal" status enable bit enables or disables > the summary interrupt line being raised when a gpio interrupt triggers > and the "raw" status enable

Re: [PATCH v3 2/3] pinctrl: msm: Mux out gpio function with gpio_request()

2018-08-26 Thread Bjorn Andersson
On Thu 16 Aug 13:06 PDT 2018, Stephen Boyd wrote: > We rely on devices to use pinmuxing configurations in DT to select the > GPIO function (function 0) if they're going to use the gpio in GPIO > mode. Let's simplify things for driver authors by implementing > gpio_request_enable() for this pinctrl

Re: [RFC PATCH 5/6] arm64: dts: ti: Add Support for AM654 SoC

2018-08-26 Thread Kishon Vijay Abraham I
Hi Tony, On Monday 20 August 2018 08:01 PM, Tony Lindgren wrote: > * Kishon Vijay Abraham I [180808 06:35]: >> On Tuesday 05 June 2018 07:35 PM, Rob Herring wrote: >>> Really need 64-bit addresses and sizes? Use ranges to limit the >>> address space if possible. >> >> We now have address-cells as

Re: TLB flushes on fixmap changes

2018-08-26 Thread Masami Hiramatsu
On Sun, 26 Aug 2018 11:09:58 +0200 Peter Zijlstra wrote: > On Sat, Aug 25, 2018 at 09:21:22PM -0700, Andy Lutomirski wrote: > > I just re-read text_poke(). It's, um, horrible. Not only is the > > implementation overcomplicated and probably buggy, but it's SLOW. > > It's totally the wrong AP

Re: [PATCH v3 3/3] pinctrl: msm: Configure interrupts as input and gpio mode

2018-08-26 Thread Bjorn Andersson
On Thu 16 Aug 13:06 PDT 2018, Stephen Boyd wrote: > When requesting a gpio as an interrupt, we should make sure to mux the > pin as the GPIO function and configure it to be an input so that various > functions or output signals don't affect the interrupt state of the pin. > So far, we've relied on

Re: [PATCH v6 3/4] venus: firmware: add no TZ boot and shutdown routine

2018-08-26 Thread Alexandre Courbot
On Fri, Aug 24, 2018 at 9:26 PM Vikash Garodia wrote: > > Hi Alex, > > On 2018-08-24 13:09, Alexandre Courbot wrote: > > On Thu, Aug 23, 2018 at 11:29 PM Vikash Garodia > > wrote: > > [snip] > > >> +struct video_firmware { > >> + struct device *dev; > >> + struct iommu_domain *iommu_d

Re: [PATCH v5 3/4] x86/boot/KASLR: Walk srat tables to filter immovable memory

2018-08-26 Thread Baoquan He
On 08/27/18 at 10:56am, Chao Fan wrote: > >> +#ifdef CONFIG_MEMORY_HOTREMOVE > >> +/* > >> + * According to ACPI table, filter the immvoable memory regions > >> + * and store them in immovable_mem[]. > >> + */ > >> +static void handle_immovable_mem(void) > > > >Can we change this function like bel

[PATCH] arc: remove redundant GCC version checks

2018-08-26 Thread Masahiro Yamada
Commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6") bumped the minimum GCC version to 4.6 for all architectures. With GCC >= 4.6 assumed, 'upto_gcc44' is empty, 'atleast_gcc44' is y. Signed-off-by: Masahiro Yamada --- arch/arc/Makefile | 10 +- 1 file changed, 1 inser

Re: [PATCH v6 2/4] venus: firmware: move load firmware in a separate function

2018-08-26 Thread Alexandre Courbot
On Fri, Aug 24, 2018 at 6:01 PM Stanimir Varbanov wrote: > > Hi Alex, > > On 08/24/2018 10:39 AM, Alexandre Courbot wrote: > > On Thu, Aug 23, 2018 at 11:29 PM Vikash Garodia > > wrote: > >> > >> Separate firmware loading part into a new function. > >> > >> Signed-off-by: Vikash Garodia > >> --

Re: [PATCH v6 1/4] venus: firmware: add routine to reset ARM9

2018-08-26 Thread Alexandre Courbot
On Fri, Aug 24, 2018 at 5:57 PM Stanimir Varbanov wrote: > > Hi Alex, > > On 08/24/2018 10:38 AM, Alexandre Courbot wrote: > > On Thu, Aug 23, 2018 at 11:29 PM Vikash Garodia > > wrote: > >> > >> Add routine to reset the ARM9 and brings it out of reset. Also > >> abstract the Venus CPU state han

Urgent,

2018-08-26 Thread Juliet Muhammad
i have been trying to contact you

Re: TLB flushes on fixmap changes

2018-08-26 Thread Nadav Amit
at 8:03 PM, Masami Hiramatsu wrote: > On Sun, 26 Aug 2018 11:09:58 +0200 > Peter Zijlstra wrote: > >> On Sat, Aug 25, 2018 at 09:21:22PM -0700, Andy Lutomirski wrote: >>> I just re-read text_poke(). It's, um, horrible. Not only is the >>> implementation overcomplicated and probably buggy, but

Re: [PATCH] net: sched: Fix memory exposure from short TCA_U32_SEL

2018-08-26 Thread Julia Lawall
On Mon, 27 Aug 2018, Al Viro wrote: > On Sun, Aug 26, 2018 at 10:00:46PM -0400, Julia Lawall wrote: > > > > > > On Sun, 26 Aug 2018, Al Viro wrote: > > > > > On Sun, Aug 26, 2018 at 03:26:54PM -0700, Joe Perches wrote: > > > > On Sun, 2018-08-26 at 22:24 +0100, Al Viro wrote: > > > > > On Sun,

[PATCH] objtool: remove workaround for unreachable warnings from old GCC

2018-08-26 Thread Masahiro Yamada
Commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6") bumped the minimum GCC version to 4.6 for all architectures. This effectively reverts commit da541b20021c ("objtool: Skip unreachable warnings for GCC 4.4 and older"), which was a workaround for GCC 4.4 or older. Signed-off-by:

RE: [PATCH V4 0/9] clk: add imx7ulp clk support

2018-08-26 Thread A.s. Dong
Hi Alexandre, > -Original Message- > From: Alexandre Bailon [mailto:abai...@baylibre.com] > Sent: Wednesday, August 8, 2018 6:01 PM > To: A.s. Dong ; linux-...@vger.kernel.org; > sb...@kernel.org > Cc: Jacky Bai ; Anson Huang ; > mturque...@baylibre.com; linux-kernel@vger.kernel.org; dl-li

RE: [PATCH V4 0/9] clk: add imx7ulp clk support

2018-08-26 Thread A.s. Dong
Kindly ping again... This is really pending too long... Stephen & Shawn, Any suggestion on how to proceed this patch set? Regards Dong Aisheng > -Original Message- > From: A.s. Dong > Sent: Thursday, July 26, 2018 9:51 AM > To: linux-...@vger.kernel.org; sb...@kernel.org > Cc: linux-ker

Re: [PATCH] blk-wbt: get back the missed wakeup from __wbt_done

2018-08-26 Thread jianchao.wang
Hi Jens On 08/25/2018 11:41 PM, Jens Axboe wrote: > do { > - set_current_state(TASK_UNINTERRUPTIBLE); > + if (test_bit(0, &data.flags)) > + break; > > - if (!has_sleeper && rq_wait_inc_below(rqw, get_limit(rwb, rw))) > + W

Re: [PATCH 4.4 0/5] 4.4.153-stable review

2018-08-26 Thread Naresh Kamboju
--- kernel: 4.4.153-rc1 git repo: https://git.linaro.org/lkft/arm64-stable-rc.git git branch: 4.4.153-rc1-hikey-20180826-270 git commit: 1d9b202cd56188353c13a49bf48f3f97383984ee git describe: 4.4.153-rc1-hikey-20180826-270 Test details: https://qa-reports.linaro.org/lkft/linaro-hike

Re: [PATCH 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2018-08-26 Thread Tomasz Figa
Hi Philipp, On Tue, Aug 21, 2018 at 12:34 AM Philipp Zabel wrote: > > On Mon, 2018-08-20 at 23:27 +0900, Tomasz Figa wrote: > [...] > > +3. Start queuing buffers to ``OUTPUT`` queue containing stream data after > > > > > > + the seek until a suitable resume point is found. > > > > > > + > > > >

Re: [PATCH] net: sched: Fix memory exposure from short TCA_U32_SEL

2018-08-26 Thread Al Viro
On Sun, Aug 26, 2018 at 11:35:17PM -0400, Julia Lawall wrote: > * x = \(kmalloc\|kzalloc\|devm_kmalloc\|devm_kzalloc\)(...) I can name several you've missed right off the top of my head - vmalloc, kvmalloc, kmem_cache_alloc, kmem_cache_zalloc, variants with _trace slapped on, and that is not to m

[PATCH] um: remove -fno-unit-at-a-time workaround for pre-4.0 GCC

2018-08-26 Thread Masahiro Yamada
Commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6") bumped the minimum GCC version to 4.6 for all architectures. '$(call cc-option,-fno-unit-at-a-time)' is now dead code since '$(cc-version) -lt 0400' is always false. Signed-off-by: Masahiro Yamada --- arch/x86/Makefile.um |

Re: [PATCH] x86/microcode: allow non-root reading of microcode version and processor flags

2018-08-26 Thread Borislav Petkov
On Sun, Aug 26, 2018 at 08:23:48PM +0800, Jacek Tomaka wrote: > I am trying to get microcode version from user space. Reading it > from /proc/cpuinfo requires greping/awking to extract the bits of > information that are readily available in microcode/version. If the only reason is because you find

Re: [PATCH 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2018-08-26 Thread Tomasz Figa
On Tue, Aug 21, 2018 at 8:29 PM Stanimir Varbanov wrote: > > Hi Tomasz, > > On 08/08/2018 05:55 AM, Tomasz Figa wrote: > > On Tue, Aug 7, 2018 at 4:37 PM Hans Verkuil wrote: > > >>> +7. If all the following conditions are met, the client may resume > >>> the > >>> +decoding inst

Urgent,

2018-08-26 Thread Juliet Muhammad
i have been trying to contact you

Re: [PATCH v3] EDAC, amd64: Add Family 17h Model 10h support.

2018-08-26 Thread Borislav Petkov
On Thu, Aug 16, 2018 at 03:28:40PM -0400, Michael Jin wrote: > Add new device IDs for family 17h models 10h-2fh. > > This is required by amd64_edac_mod in order to properly detect PCI > device functions 0 and 6. > > Link: https://lkml.kernel.org/r/20180815114107.29797-1-mikhail@gmail.com > Cc

[PATCH] MAINTAINERS: libata pata: fix Jens Axboe's email address

2018-08-26 Thread Baruch Siach
Commit 7634ccd2da (libata: maintainership update) added an invalid email address. Fix that. Signed-off-by: Baruch Siach --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index a5b256b25905..9ae5cdef37a1 100644 --- a/MAINTAINERS +++ b/MA

Re: [PATCH] net: sched: Fix memory exposure from short TCA_U32_SEL

2018-08-26 Thread Julia Lawall
On Mon, 27 Aug 2018, Al Viro wrote: > On Sun, Aug 26, 2018 at 11:35:17PM -0400, Julia Lawall wrote: > > > * x = \(kmalloc\|kzalloc\|devm_kmalloc\|devm_kzalloc\)(...) > > I can name several you've missed right off the top of my head - > vmalloc, kvmalloc, kmem_cache_alloc, kmem_cache_zalloc, var

Re: [RFC PATCH 08/11] asm-generic/tlb: Track freeing of page-table directories in struct mmu_gather

2018-08-26 Thread Nicholas Piggin
On Fri, 24 Aug 2018 16:52:43 +0100 Will Deacon wrote: > From: Peter Zijlstra > > Some architectures require different TLB invalidation instructions > depending on whether it is only the last-level of page table being > changed, or whether there are also changes to the intermediate > (directory)

Re: [PATCH 4/6] dt-bindings: dmaengine: usb-dmac: Add binding for r8a774a1

2018-08-26 Thread Vinod
On 24-08-18, 08:56, Fabrizio Castro wrote: > From: Biju Das > > This patch adds binding for r8a774a1 (RZ/G2M). Acked-by: Vinod Koul -- ~Vinod

Re: [PATCH 3/4] mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE

2018-08-26 Thread Nicholas Piggin
On Fri, 24 Aug 2018 13:39:53 +0200 Peter Zijlstra wrote: > On Fri, Aug 24, 2018 at 01:32:14PM +0200, Peter Zijlstra wrote: > > On Fri, Aug 24, 2018 at 10:47:17AM +0200, Peter Zijlstra wrote: > > > On Thu, Aug 23, 2018 at 02:39:59PM +0100, Will Deacon wrote: > > > > The only problem with this

Re: [PATCH v4 11/18] dmaengine: dma-jz4780: Add missing residue DTC mask

2018-08-26 Thread Vinod
On 07-08-18, 13:42, Paul Cercueil wrote: > From: Daniel Silsby > > The 'dtc' word in jz DMA descriptors contains two fields: The > lowest 24 bits are the transfer count, and upper 8 bits are the DOA > offset to next descriptor. The upper 8 bits are now correctly masked > off when computing residu

RE: [PATCH V4 2/3] dt-bindings: input: Add document bindings for DA7280

2018-08-26 Thread Roy Im
Hi Pavel, On Sunday, August 26, 2018 3:52 PM, Pavel Machek wrote: > > > +++ b/Documentation/devicetree/bindings/input/dlg,da7280.txt > > @@ -0,0 +1,101 @@ > > +Dialog Semiconductor DA7280 Haptics bindings > > + > > +Required properties: > > +- compatible: Should be "dlg,da7280". > > +- reg: Specif

Urgent,

2018-08-26 Thread Juliet Muhammad
i have been trying to contact you

Re: [PATCH v4 00/18] JZ47xx DMA patchset v4

2018-08-26 Thread Vinod
On 07-08-18, 13:42, Paul Cercueil wrote: > Hi, > > This is the V4 of my Ingenic JZ47xx DMA patchset. This does not apply for me. Please rebase on rc1, fix Rob's and my comment and send Also I noticed checkpatch gave warns on some style issues (--strict option) please see if they make sense and f

Re: [PATCH 4.4 0/5] 4.4.153-stable review

2018-08-26 Thread Greg Kroah-Hartman
On Mon, Aug 27, 2018 at 09:30:45AM +0530, Naresh Kamboju wrote: > On 26 August 2018 at 12:12, Greg Kroah-Hartman > wrote: > > This is the start of the stable review cycle for the 4.4.153 release. > > There are 5 patches in this series, all will be posted as a response > > to this one. If anyone h

Re: KASAN: invalid-free in p9stat_free

2018-08-26 Thread Dominique Martinet
syzbot wrote on Sun, Aug 26, 2018: > HEAD commit:e27bc174c9c6 Add linux-next specific files for 20180824 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=15dc19a640 > kernel config: https://syzkaller.appspot.com/x/.config?x=28446088176757ea > dashboa

Re: [PATCH v4 2/7] dmaengine: xilinx_dma: in axidma slave_sg and dma_cylic mode align split descriptors

2018-08-26 Thread Vinod
On 02-08-18, 16:10, Andrea Merello wrote: s/cylic/cyclic in patch title > Whenever a single or cyclic transaction is prepared, the driver > could eventually split it over several SG descriptors in order > to deal with the HW maximum transfer length. > > This could end up in DMA operations starti

Re: [PATCH v4 3/7] dt-bindings: dmaengine: xilinx_dma: add optional xlnx,sg-length-width property

2018-08-26 Thread Vinod
On 02-08-18, 16:10, Andrea Merello wrote: > The width of the "length register" cannot be autodetected, and it is now > specified with a DT property. Add DOC for it. Add Documentation for it... > > Cc: Rob Herring > Cc: Mark Rutland > Cc: devicet...@vger.kernel.org > Cc: Radhey Shyam Pandey >

Re: [PATCH v4 5/7] dmaengine: xilinx_dma: autodetect whether the HW supports scatter-gather

2018-08-26 Thread Vinod
On 02-08-18, 16:10, Andrea Merello wrote: > The AXIDMA and CDMA HW can be either direct-access or scatter-gather > version. These are SW incompatible. > > The driver can handle both versions: a DT property was used to > tell the driver whether to assume the HW is in scatter-gather mode. > > This

Re: [PATCH] regulator: bd71837: Remove duplicate assignment for n_voltages of LDO2

2018-08-26 Thread Matti Vaittinen
Thanks Axel, On Fri, Aug 24, 2018 at 07:16:12PM +0800, Axel Lin wrote: > Set it once is enough. > Also move n_voltages close to volt_table for better readability. > > Signed-off-by: Axel Lin > --- > drivers/regulator/bd71837-regulator.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-)

Re: [PATCH v5 4/4] x86/boot/KASLR: Limit kaslr to choosing the immovable memory

2018-08-26 Thread Baoquan He
On 08/07/18 at 02:50pm, Chao Fan wrote: > If 'CONFIG_MEMORY_HOTREMOVE' specified and the account of immovable > memory regions is not zero. Calculate the intersection between memory > regions from e820/efi memory table and immovable memory regions. > Or go on the old code. > > Rename process_mem_r

Re: [PATCH v2] dma: mic_x100_dma: use devm_kzalloc to fix an issue

2018-08-26 Thread Vinod
On 22-08-18, 10:40, Huang Shijie wrote: > The following patch introduced an issue. > commit f6206f00d8c5 ("dmaengine: mic_x100_dma: use the new helper to > simplify the code") > > This issue is : > > kfree(mic_dma_dev) > . > dma_async_device_unregister(mic_dma_dev->devi

[PATCH] x86/build: remove jump label quirk for GCC older than 4.5.2

2018-08-26 Thread Masahiro Yamada
Commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6") bumped the minimum GCC version to 4.6 for all architectures. Remove the workaround code. It was the only user of cc-if-fullversion. Remove the macro as well. Signed-off-by: Masahiro Yamada --- arch/x86/Makefile | 12 -

Re: [PATCH v5 4/4] x86/boot/KASLR: Limit kaslr to choosing the immovable memory

2018-08-26 Thread Baoquan He
On 08/07/18 at 02:50pm, Chao Fan wrote: > If 'CONFIG_MEMORY_HOTREMOVE' specified and the account of immovable If CONFIG_MEMORY_HOTREMOVE is enabled, > memory regions is not zero. Calculate the intersection between memory > regions from e820/efi memory table and immovable memory regions. > Or go on

Re: [PATCH 2/2] ipmi_ssif: Fix crash seen while ipmi_unregister_smi

2018-08-26 Thread George Cherian
Hi Corey, On 08/24/2018 06:38 PM, Corey Minyard wrote: On 08/24/2018 06:10 AM, George Cherian wrote: Dont set ssif_info->intf to NULL before ipmi_unresgiter_smi. shutdown_ssif will anyways free ssif_info. This is correct, but it goes a little deeper.  I just sent out a patch yesterday tha

Re: [PATCH v5 4/4] x86/boot/KASLR: Limit kaslr to choosing the immovable memory

2018-08-26 Thread Baoquan He
On 08/27/18 at 01:35pm, Baoquan He wrote: > Is it possible to take num_immovable_mem out from the #ifdef > CONFIG_MEMORY_HOTREMOVE region so that you can check it earlier to see > if the old way need be taken? This way, we can reduce one level of > indentation in the for loop. Just personal thoug

Urgent,

2018-08-26 Thread Juliet Muhammad
i have been trying to contact you

Re: [PATCH] serial: mvebu-uart: Fix reporting of effective CSIZE to userspace

2018-08-26 Thread Jan Kiszka
On 2018-08-26 19:49, Jan Kiszka wrote: > From: Jan Kiszka > > Apparently, this driver (or the hardware) does not support character > length settings. It's apparently running in 8-bit mode, but it makes > userspace believe it's in 5-bit mode. That makes tcsetattr with CS8 > incorrectly fail, break

Re: [PATCH v5 4/4] x86/boot/KASLR: Limit kaslr to choosing the immovable memory

2018-08-26 Thread Chao Fan
On Mon, Aug 27, 2018 at 01:56:07PM +0800, Baoquan He wrote: >On 08/07/18 at 02:50pm, Chao Fan wrote: >> If 'CONFIG_MEMORY_HOTREMOVE' specified and the account of immovable >If CONFIG_MEMORY_HOTREMOVE is enabled, >> memory regions is not zero. Calculate the intersection between memory >> regions fr

Re: [PATCH v5 4/4] x86/boot/KASLR: Limit kaslr to choosing the immovable memory

2018-08-26 Thread Chao Fan
On Mon, Aug 27, 2018 at 02:28:54PM +0800, Chao Fan wrote: >On Mon, Aug 27, 2018 at 01:56:07PM +0800, Baoquan He wrote: >>On 08/07/18 at 02:50pm, Chao Fan wrote: [...] >> >>Is it possible to take num_immovable_mem definition out from #ifdef >>CONFIG_MEMORY_HOTREMOVE block and check it here like belo

Re: [PATCH 1/3] ARM: dts: imx: Switch Engicam boards to use SPDX identifier

2018-08-26 Thread Shawn Guo
On Tue, Aug 07, 2018 at 12:38:36PM +0530, Jagan Teki wrote: > Adopt the SPDX license identifier headers to ease license compliance > management. > > Also added Engicam Copyright on missing files. > > Signed-off-by: Jagan Teki Applied all, thanks.

Re: [PATCH v3 3/3] arm: dts: ls1021a: Enable I2C DMA support

2018-08-26 Thread Shawn Guo
On Thu, Aug 09, 2018 at 02:32:07PM +0200, Esben Haabendal wrote: > From: Esben Haabendal > > Gives substantial performance improvement for transfers larger than 16 > bytes (DMA_THRESHOLD). Smaller transfers are unaffected. > > Signed-off-by: Esben Haabendal Applied, thanks.

Re: [PATCH] percpu_counter: Remove debug_object_free call twice

2018-08-26 Thread Kohli, Gaurav
Hi , Sorry for very late reminder, just wanted to know is below understanding of code is wrong? Regards Gaurav On 4/17/2018 11:59 AM, Kohli, Gaurav wrote: On 4/17/2018 3:18 AM, Tejun Heo wrote: On Fri, Apr 13, 2018 at 03:05:03PM +0530, Gaurav Kohli wrote: During percpu_counter destroy, de

Re: [PATCH v2 03/32] selftests/ftrace: Add --console hidden option

2018-08-26 Thread Masami Hiramatsu
On Fri, 24 Aug 2018 21:42:04 -0400 Steven Rostedt wrote: > On Sat, 25 Aug 2018 10:35:13 +0900 > Masami Hiramatsu wrote: > > > On Fri, 24 Aug 2018 16:37:37 -0400 > > Steven Rostedt wrote: > > > > > On Fri, 17 Aug 2018 01:30:36 +0900 > > > Masami Hiramatsu wrote: > > > > > > > Add --console

Re: [PATCH v2 19/32] selftests/ftrace: Add a testcase for nop tracer

2018-08-26 Thread Masami Hiramatsu
On Fri, 24 Aug 2018 18:53:42 -0400 Steven Rostedt wrote: > On Fri, 17 Aug 2018 01:38:09 +0900 > Masami Hiramatsu wrote: > > > Add a testcase for nop tracer. This tracer has 2 test > > options, so check it too. > > > > I'd rather not include this. In fact, I'd love to get rid of the nop > opti

  1   2   >