[no subject]

2018-01-02 Thread Mr Sheng Li Hung
-- I am Mr.Sheng Li Hung, from china I got your information while search for a reliable person, I have a very profitable business proposition for you and i can assure you that you will not regret been part of this mutual beneficial transaction after completion. Kindly get back to me for more

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

2018-01-02 Thread Darren Hart
On Sat, Dec 23, 2017 at 08:12:21AM +0100, SF Markus Elfring wrote: > >> Do you find the Linux allocation failure report insufficient in this case? > > > > Leave those pr_ messages alone, please, > > Have you got special software development concerns? > > > > unless they are really causing some

Re: [PATCH 3/4] extcon: axp288: Redo charger type dection a couple of seconds after probe()

2018-01-02 Thread Chanwoo Choi
Hi Hans, On 2018년 01월 03일 07:44, Hans de Goede wrote: > Hi, > > On 02-01-18 01:54, Chanwoo Choi wrote: >> Hi Hans, >> >> s/dection/detection on patch title. > > Thank you for all the reviews. > > I've fixed the typo in my personal tree. > >> On 2017년 12월 22일 21:36, Hans de Goede wrote: >>>

Re: [PATCH v6 00/11] Intel SGX Driver

2018-01-02 Thread Dr. Greg Wettstein
On Dec 27, 9:46pm, Pavel Machek wrote: } Subject: Re: [PATCH v6 00/11] Intel SGX Driver > Hi! Good evening Pavel et.al., I hope the New Year has started well for everyone. > > > Would you list guarantees provided by SGX? > > > > Obviously, confidentiality and integrity. SGX was designed to

Re: [PATCH 3/4] extcon: axp288: Redo charger type dection a couple of seconds after probe()

2018-01-02 Thread Chanwoo Choi
Hi Hans, On 2018년 01월 03일 09:58, Chanwoo Choi wrote: > Hi Hans, > > On 2018년 01월 03일 07:44, Hans de Goede wrote: >> Hi, >> >> On 02-01-18 01:54, Chanwoo Choi wrote: >>> Hi Hans, >>> >>> s/dection/detection on patch title. >> >> Thank you for all the reviews. >> >> I've fixed the typo in my

Re: perf test BPF failing on 4.15.0-rc6

2018-01-02 Thread Wangnan (F)
Unable to reproduce. In my kernel configuration, SyS_epoll_wait is not inlined at all. From the log you sent, it seems that all 3 instances are attached. This testcase should work if the last one (SyS_epoll_wait) get probed correctly. Could you please have a look if the 3rd kprobe event

Re: [PATCH v2 5/8] MIPS: jz4740: dts: Add bindings for the jz4740-wdt driver

2018-01-02 Thread Guenter Roeck
On 01/02/2018 08:48 AM, Paul Cercueil wrote: Hi PrasannaKumar, Le mar. 2 janv. 2018 à 17:37, PrasannaKumar Muralidharan a écrit : Hi Paul, On 30 December 2017 at 19:21, Paul Cercueil wrote:  Also remove the watchdog platform_device from

Re: perf test BPF failing on 4.15.0-rc6

2018-01-02 Thread Wangnan (F)
And please check if the kprobe created by $ perf probe -v SyS_epoll_wait works for the test program used by this testcase: #include #include #define NR_ITERS 100 static int epoll_wait_loop(void) { int i; /* Should fail NR_ITERS times */ for (i = 0; i < NR_ITERS;

Re: [ANNOUNCE] Git v2.16.0-rc0

2018-01-02 Thread Jonathan Nieder
Hi Bryan, Bryan Turner wrote: > Our test environment is still on Ubuntu 12.04 LTS (it's a long story, > but one I doubt is unique to us), which means it's using OpenSSH 5.9. > ssh -G was added in OpenSSH 6.8 [1], circa March 2015, which means the > "auto" detection "fails" and chooses "simple"

RE: [LINUX PATCH 1/4] dmaengine: xilinx_dma: Fix dma_get_slave_caps() API failures

2018-01-02 Thread Appana Durga Kedareswara Rao
Hi Vinod, Thanks for the review... > >On Thu, Dec 21, 2017 at 03:41:35PM +0530, Kedareswara rao Appana wrote: > >Patch title should say what is does, not the cause/effect Sure will fix in v2... > >An apt title might be "populate dma caps properly" > >> When client driver uses

RE: [LINUX PATCH 2/4] dmaengine: xilinx_dma: Fix race condition in the driver for cdma

2018-01-02 Thread Appana Durga Kedareswara Rao
Hi Vinod, Thanks for the review... > >On Thu, Dec 21, 2017 at 03:41:36PM +0530, Kedareswara rao Appana wrote: > >same issue for patch title here too Ok will fix in v2... > >> when hardware is idle we need to toggle the SG bit in the control >> register, inorder to update new value to

RE: [LINUX PATCH 3/4] dmaengine: xilinx_dma: Fix compilation warning

2018-01-02 Thread Appana Durga Kedareswara Rao
Hi Vinod, Thanks for the review... > >On Thu, Dec 21, 2017 at 03:41:37PM +0530, Kedareswara rao Appana wrote: > >Fix title here too Sure will fix in v2... > >BTW whats with LINUX tag in patches, pls drop them Ok will mention the Linux tag info in the cover letter patch from the next

Re: [Ocfs2-devel] [PATCH v3 2/3] ocfs2: add ocfs2_overwrite_io function

2018-01-02 Thread Gang He
Hi Alex, >>> > Hi Gang, > > On 2017/12/28 18:07, Gang He wrote: >> Add ocfs2_overwrite_io function, which is used to judge if >> overwrite allocated blocks, otherwise, the write will bring extra >> block allocation overhead. >> >> Signed-off-by: Gang He >> --- >>

[PATCH] ata_piix: constify pci_bits

2018-01-02 Thread Arvind Yadav
pci_bits are not supposed to change at runtime. Functions pci_test_config_bits() working with const 'struct pci_bits'. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/ata/ata_piix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [LINUX PATCH 3/4] dmaengine: xilinx_dma: Fix compilation warning

2018-01-02 Thread Vinod Koul
On Wed, Jan 03, 2018 at 05:13:29AM +, Appana Durga Kedareswara Rao wrote: > Hi Vinod, > > Thanks for the review... > > > > >On Thu, Dec 21, 2017 at 03:41:37PM +0530, Kedareswara rao Appana wrote: > > > >Fix title here too > > Sure will fix in v2... > > > > >BTW whats with LINUX tag

Re: [PATCH] PCI: exynos: remove the deprecated phy codes

2018-01-02 Thread Jaehoon Chung
On 01/03/2018 01:34 AM, Lorenzo Pieralisi wrote: > On Wed, Dec 27, 2017 at 06:43:27PM +0900, Jaehoon Chung wrote: >> pci-exynos had updated to use the PHY framework. >> (drivers/phy/samsung/phy-exynos-pcie.c) >> Removed the depreccated codes relevant to phy in pci-exynos.c. >> Instead, use the

Re: [ANNOUNCE] Git v2.16.0-rc0

2018-01-02 Thread Jonathan Nieder
Hi, A few more notes. Bryan Turner wrote: > bturner@ubuntu:~$ ssh -V > OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.8, OpenSSL 1.0.1f 6 Jan 2014 > > bturner@ubuntu:~$ ssh -G -p 7999 localhost > unknown option -- G > usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec] [...] > Is it

RE: [PATCH 2/2] cpufreq: imx6q: add 696MHz operating point for i.mx6ul

2018-01-02 Thread Anson Huang
Post the discussion mail to arm kernel mail list, since last mail is rejected due to incorrect format, sorry for the confusion. Best Regards! Anson Huang > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2018-01-02 11:33 PM > To: Anson Huang

Re: ACPI issues on cold power on [bisected]

2018-01-02 Thread Joonsoo Kim
On Tue, Jan 02, 2018 at 11:25:01AM +0100, Rafael J. Wysocki wrote: > On Tue, Jan 2, 2018 at 3:54 AM, Joonsoo Kim wrote: > > On Fri, Dec 29, 2017 at 04:36:59PM +, Jonathan McDowell wrote: > >> On Fri, Dec 22, 2017 at 09:21:09AM +0900, Joonsoo Kim wrote: > >> > On Fri,

Re: About the try to remove cross-release feature entirely by Ingo

2018-01-02 Thread Byungchul Park
On 12/31/2017 7:40 AM, Theodore Ts'o wrote: On Sat, Dec 30, 2017 at 12:44:17PM -0800, Matthew Wilcox wrote: I'm not sure I agree with this part. What if we add a new TCP lock class for connections which are used for filesystems/network block devices/...? Yes, it'll be up to each user to set

RE: [PATCH 1/2] ARM: dts: imx6ul: add 696MHz operating point

2018-01-02 Thread Anson Huang
Post this discussion mail to kernel mail list, since last mail is rejected due to incorrect format, sorry for confusion. Best Regards! Anson Huang > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2018-01-02 11:32 PM > To: Anson Huang

Re: [PATCH] clk: fix reentrancy of clk_enable() on UP systems

2018-01-02 Thread Stephen Boyd
On 12/28, David Lechner wrote: > On 12/26/2017 08:21 PM, Stephen Boyd wrote: > >On 12/26, David Lechner wrote: > >>Reentrant calls to clk_enable() are not working on UP systems. This is > >>caused by the fact spin_trylock_irqsave() always returns true when > >>CONFIG_SMP=n (and

Re: [PATCH net] ethtool: do not print warning for applications using legacy API

2018-01-02 Thread David Miller
From: Stephen Hemminger Date: Fri, 29 Dec 2017 10:02:52 -0800 > From: Stephen Hemminger > > In kernel log ths message appears on every boot: > "warning: `NetworkChangeNo' uses legacy ethtool link settings API, > link modes are only

Re: [PATCH net-next 2/2] tun: allow to attach ebpf socket filter

2018-01-02 Thread Jason Wang
On 2018年01月02日 17:19, Willem de Bruijn wrote: More importantly, should this program just return a boolean pass or drop. Taking a length and trimming may introduce bugs later on if the stack parses the packet unconditionally, expecting a minimum size to be present. This was the reason for

Re: [PATCHv6 1/1] ima: re-introduce own integrity cache lock

2018-01-02 Thread Mimi Zohar
On Tue, 2018-01-02 at 17:40 -0800, Darrick J. Wong wrote: > [might as well cc linux-xfs] > > On Thu, Dec 14, 2017 at 12:22:37AM +0200, Dmitry Kasatkin wrote: > > Hi, > > > > Could I ask FS maintainers to test IMA with this patch additionally > > and provide ack/tested. > > We tested but may be

Re: [PATCH net-next] net: dsa: Fix dsa_legacy_register() return value

2018-01-02 Thread David Miller
From: Florian Fainelli Date: Fri, 29 Dec 2017 11:05:45 -0800 > We need to make the dsa_legacy_register() stub return 0 in order for > dsa_init_module() to successfully register and continue registering the > ETH_P_XDSA packet handler. > > Fixes: 2a93c1a3651f ("net: dsa:

Re: [PATCH net-next 0/2] net: stmmac: Couple of debug prints improvements

2018-01-02 Thread David Miller
From: Florian Fainelli Date: Fri, 29 Dec 2017 19:56:31 -0800 > While working on a particular problem, I had to turn on debug prints and found > them to be useful, but could deserve some improvements in order to help debug > situations. Series applied, thanks Florian.

Re: [PATCH] qed: Use zeroing memory allocator than allocator/memset

2018-01-02 Thread David Miller
From: Himanshu Jha Date: Sat, 30 Dec 2017 21:07:04 +0530 > Use dma_zalloc_coherent and vzalloc for allocating zeroed > memory and remove unnecessary memset function. > > Done using Coccinelle. > Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci > 0-day

Re: [PATCH] ethernet/broadcom: Use zeroing memory allocator than allocator/memset

2018-01-02 Thread David Miller
From: Himanshu Jha Date: Sat, 30 Dec 2017 21:14:57 +0530 > Use dma_zalloc_coherent for allocating zeroed > memory and remove unnecessary memset function. > > Done using Coccinelle. > Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci > 0-day tested with

Re: About the try to remove cross-release feature entirely by Ingo

2018-01-02 Thread Dave Chinner
On Wed, Jan 03, 2018 at 11:28:44AM +0900, Byungchul Park wrote: > On 1/1/2018 7:18 PM, Matthew Wilcox wrote: > >On Sat, Dec 30, 2017 at 06:00:57PM -0500, Theodore Ts'o wrote: > >>Also, what to do with TCP connections which are created in userspace > >>(with some authentication exchanges happening

[PATCH -next] drm/panel: ili9322:Make local symbols static

2018-01-02 Thread Wei Yongjun
Fixes the following sparse warnings: drivers/gpu/drm/panel/panel-ilitek-ili9322.c:182:12: warning: symbol 'ili9322_inputs' was not declared. Should it be static? drivers/gpu/drm/panel/panel-ilitek-ili9322.c:343:28: warning: symbol 'ili9322_regmap_config' was not declared. Should it be static?

Re: [RFC PATCH 1/3] mm, numa: rework do_pages_move

2018-01-02 Thread Anshuman Khandual
On 01/02/2018 05:42 PM, Michal Hocko wrote: > On Tue 02-01-18 16:55:46, Anshuman Khandual wrote: >> On 12/08/2017 09:45 PM, Michal Hocko wrote: >>> From: Michal Hocko >>> >>> do_pages_move is supposed to move user defined memory (an array of >>> addresses) to the user defined

[PATCH V6 1/2] xxHash: create arch dependent 32/64-bit xxhash()

2018-01-02 Thread Timofey Titovets
xxh32() - fast on both 32/64-bit platforms xxh64() - fast only on 64-bit platform Create xxhash() which will pickup fastest version on compile time. As result depends on cpu word size, the main proporse of that - in memory hashing. Changes: v2: - Create that patch v3 -> v6: -

Re: [PATCHv6 1/1] ima: re-introduce own integrity cache lock

2018-01-02 Thread Dave Chinner
On Tue, Jan 02, 2018 at 09:52:03PM -0500, Mimi Zohar wrote: > On Tue, 2018-01-02 at 17:40 -0800, Darrick J. Wong wrote: > > [might as well cc linux-xfs] > > > > On Thu, Dec 14, 2017 at 12:22:37AM +0200, Dmitry Kasatkin wrote: > > > Hi, > > > > > > Could I ask FS maintainers to test IMA with this

Re: [PATCH v3] f2fs: add an ioctl to disable GC for specific file

2018-01-02 Thread Jaegeuk Kim
This patch gives a flag to disable GC on given file, which would be useful, when user wants to keep its block map. It also conducts in-place-update for dontmove file. Signed-off-by: Jaegeuk Kim --- Change log from v2: - modify ioctl to allow users unpin the file

Re: [PATCH v2] f2fs: add an ioctl to disable GC for specific file

2018-01-02 Thread Jaegeuk Kim
On 01/02, Chao Yu wrote: > On 2018/1/1 9:07, Jaegeuk Kim wrote: > > On 12/29, Chao Yu wrote: > >> On 2017/12/28 11:40, Jaegeuk Kim wrote: > >>> This patch gives a flag to disable GC on given file, which would be > >>> useful, when > >>> user wants to keep its block map. It also conducts

Re: [LINUX PATCH 2/4] dmaengine: xilinx_dma: Fix race condition in the driver for cdma

2018-01-02 Thread Vinod Koul
On Thu, Dec 21, 2017 at 03:41:36PM +0530, Kedareswara rao Appana wrote: same issue for patch title here too > when hardware is idle we need to toggle the SG bit > in the control register, inorder to update new value to the > current descriptor register other wise undefined > results will occur.

Re: [LINUX PATCH 3/4] dmaengine: xilinx_dma: Fix compilation warning

2018-01-02 Thread Vinod Koul
On Thu, Dec 21, 2017 at 03:41:37PM +0530, Kedareswara rao Appana wrote: Fix title here too BTW whats with LINUX tag in patches, pls drop them > This patch fixes the below sparse warning in the driver > drivers/dma/xilinx/xilinx_dma.c: In function > ‘xilinx_vdma_dma_prep_interleaved’: >

Re: [PATCHv6 1/1] ima: re-introduce own integrity cache lock

2018-01-02 Thread Mimi Zohar
On Wed, 2018-01-03 at 14:16 +1100, Dave Chinner wrote: > On Tue, Jan 02, 2018 at 09:52:03PM -0500, Mimi Zohar wrote: > > On Tue, 2018-01-02 at 17:40 -0800, Darrick J. Wong wrote: > > > [might as well cc linux-xfs] > > > > > > On Thu, Dec 14, 2017 at 12:22:37AM +0200, Dmitry Kasatkin wrote: > > >

Re: [lkp-robot] [mm/cma] 2b0f904a5a: fio.read_bw_MBps -16.1% regression

2018-01-02 Thread Joonsoo Kim
Hello! On Tue, Jan 02, 2018 at 02:35:28PM +0800, kernel test robot wrote: > > Greeting, > > FYI, we noticed a -16.1% regression of fio.read_bw_MBps due to commit: > > > commit: 2b0f904a5a8781498417d67226fd12c5e56053ae ("mm/cma: manage the memory > of the CMA area by using the ZONE_MOVABLE")

Re: [PATCH] ext4: Remove repeated test in ext4_file_read_iter.

2018-01-02 Thread Al Viro
On Wed, Dec 27, 2017 at 04:19:58PM +0800, Sean Fu wrote: > generic_file_read_iter has done the count test. > So ext4_file_read_iter don't need to test the count repeatedly. Huh? You do realize that generic_file_read_iter() is not the only variant possible there, right? static ssize_t

[GIT PULL] extcon next for v4.16

2018-01-02 Thread Chanwoo Choi
Dear Greg, This is extcon-next pull request for v4.16. I add detailed description of this pull request on below. Please pull extcon with following updates. Best Regards, Chanwoo Choi The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323: Linux 4.15-rc1 (2017-11-26

Re: [PATCH v1] eSPI: add Aspeed AST2500 eSPI driver to boot a host with PCH runs on eSPI

2018-01-02 Thread Wang, Haiyue
On 2018-01-03 00:23, Arnd Bergmann wrote: On Tue, Jan 2, 2018 at 4:36 PM, Wang, Haiyue wrote: On 2018-01-02 23:13, Arnd Bergmann wrote: On 2017-12-31 07:10, Arnd Bergmann wrote: It also seems rather inflexible to have a single driver that is responsible both

Re: [PATCH v5] f2fs: add reserved blocks for root user

2018-01-02 Thread Jaegeuk Kim
This patch allows root to reserve some blocks via mount option. "-o reserve_root=N" means N x 4KB-sized blocks for root only. Signed-off-by: Jaegeuk Kim --- Change log from v4: - fix f_bfree in statfs fs/f2fs/f2fs.h | 26 ++ fs/f2fs/super.c | 34

Re: [PATCH v20 4/7] virtio-balloon: VIRTIO_BALLOON_F_SG

2018-01-02 Thread Tetsuo Handa
Matthew Wilcox wrote: > The radix tree convention is objectively awful, which is why I'm working > to change it. Specifying the GFP flags at radix tree initialisation time > rather than allocation time leads to all kinds of confusion. The preload > API is a pretty awful workaround, and it will

Re: About the try to remove cross-release feature entirely by Ingo

2018-01-02 Thread Byungchul Park
On 1/1/2018 7:18 PM, Matthew Wilcox wrote: On Sat, Dec 30, 2017 at 06:00:57PM -0500, Theodore Ts'o wrote: On Sat, Dec 30, 2017 at 05:40:28PM -0500, Theodore Ts'o wrote: On Sat, Dec 30, 2017 at 12:44:17PM -0800, Matthew Wilcox wrote: I'm not sure I agree with this part. What if we add a new

linux-next: manual merge of the kvm-arm tree with Linus' tree

2018-01-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm-arm tree got a conflict in: virt/kvm/arm/arch_timer.c between commit: 36e5cfd410ad ("KVM: arm/arm64: Properly handle arch-timer IRQs after vtimer_save_state") from Linus' tree and commit: 70450a9fbe06 ("KVM: arm/arm64: Don't cache the timer

Re: About the try to remove cross-release feature entirely by Ingo

2018-01-02 Thread Byungchul Park
On 1/2/2018 1:00 AM, Theodore Ts'o wrote: On Mon, Jan 01, 2018 at 02:18:55AM -0800, Matthew Wilcox wrote: Clarification: all TCP connections that are used by kernel code would need to be in their own separate lock class. All TCP connections used only by userspace could be in their own shared

Re: [PATCH V3] ARM: imx: use outer_disable/resume for low power

2018-01-02 Thread Fabio Estevam
Hi Peng, On Tue, Jan 2, 2018 at 10:53 PM, Peng Fan wrote: > > A better solution maybe > > if (outer_cache.write_sec) > outer_disable(); > > . > > if (outer_cache.write_sec) > outer_resume(); > > Then, nothing changed for secure linux. The

Re: [linux-sunxi] [PATCH v4 1/6] ARM: sunxi: h3/h5: add simplefb nodes

2018-01-02 Thread Chen-Yu Tsai
On Tue, Jan 2, 2018 at 4:14 PM, Icenowy Zheng wrote: > 在 2018年1月2日星期二 CST 下午4:11:04,Chen-Yu Tsai 写道: >> On Sat, Dec 30, 2017 at 7:30 PM, Icenowy Zheng wrote: >> > The H3/H5 SoCs have a HDMI output and a TV Composite output. >> > >> > Add simplefb nodes for these

Re: [PATCH 4/5] clk: sunxi: Use CLK_IS_CRITICAL flag for critical clks

2018-01-02 Thread Chen-Yu Tsai
On Wed, Jan 3, 2018 at 9:35 AM, Stephen Boyd wrote: > We'd like to privatize __clk_get(), but the sunxi clk driver is > calling this function to keep a reference held on the clk and > call clk_prepare_enable() on it. We support this design in the > clk core now with the

Re: [PATCH] liquidio: Use zeroing memory allocator than allocator/memset

2018-01-02 Thread David Miller
From: Himanshu Jha Date: Sun, 31 Dec 2017 17:57:29 +0530 > Use vzalloc for allocating zeroed memory and remove unnecessary > memset function. > > Done using Coccinelle. > Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci > 0-day tested with no

[PATCH] nl80211: Check for the required netlink attribute presence

2018-01-02 Thread Hao Chen
nl80211_nan_add_func() does not check if the required attribute NL80211_NAN_FUNC_FOLLOW_UP_DEST is present when processing NL80211_CMD_ADD_NAN_FUNCTION request. This request can be issued by users with CAP_NET_ADMIN privilege and may result in NULL dereference and a system crash. Add a check for

[PATCH V6 2/2] ksm: replace jhash2 with faster hash

2018-01-02 Thread Timofey Titovets
1. Pickup, Sioh Lee crc32 patch, after some long conversation 2. Merge with my work on xxhash 3. Add autoselect code to choice fastest hash helper. Base idea are same, replace jhash2 with something faster. Perf numbers: Intel(R) Xeon(R) CPU E5-2420 v2 @ 2.20GHz ksm: crc32c hash() 12081 MB/s

Re: [PATCH -next] soundwire: Fix typo in return value check of sdw_read()

2018-01-02 Thread Vinod Koul
On Tue, Jan 02, 2018 at 04:08:19AM +, Wei Yongjun wrote: > Fix the typo, 'status' should be instead of 'status2'. > > Fixes: b0a9c37b0178 ("soundwire: Add slave status handling") > Signed-off-by: Wei Yongjun Applied, thanks -- ~Vinod

Re: [ANNOUNCE] Git v2.16.0-rc0

2018-01-02 Thread Bryan Turner
On Thu, Dec 28, 2017 at 8:30 PM, Junio C Hamano wrote: > An early preview release Git v2.16.0-rc0 is now available for > testing at the usual places. It is comprised of 435 non-merge > commits since v2.15.0, contributed by 76 people, 22 of which are > new faces. > Brandon

Re: [PATCH] rpmsg: virtio_rpmsg_bus: fix rpmsg_probe() for virtio-mmio transport

2018-01-02 Thread Anup Patel
Hi Bjorn, Ping? If possible please consider this fix for Linux-4.15-rcX Thanks, Anup

[PATCH] ARM: dts: imx6ul: remove unnecessary clocks for cpu-freq

2018-01-02 Thread Anson Huang
Remove unnecessary clocks for cpu-freq driver to avoid confusion. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6ul.dtsi | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index

Re: dma_async_device_unregister called while 2 clients hold a reference

2018-01-02 Thread Vinod Koul
On Tue, Dec 26, 2017 at 10:37:13AM +0530, Rayagonda Kokatanur wrote: > Hi All, > > I am getting following error when I unload one of my dma client driver. > When I looked further into dmaengine.c file I found that the error is > because of WARN_ONCE in dma_async_device_unregister() api. > > Is

Re: [LINUX PATCH 1/4] dmaengine: xilinx_dma: Fix dma_get_slave_caps() API failures

2018-01-02 Thread Vinod Koul
On Thu, Dec 21, 2017 at 03:41:35PM +0530, Kedareswara rao Appana wrote: Patch title should say what is does, not the cause/effect An apt title might be "populate dma caps properly" > When client driver uses dma_get_slave_caps() api, > it checks for certain fields of dma_device struct >

Re: [PATCH 01/13] powerpc/powernv: Introduce new PHB type for opencapi links

2018-01-02 Thread Andrew Donnellan
On 19/12/17 02:21, Frederic Barrat wrote: The NPU was already abstracted by opal as a virtual PHB for nvlink, but it helps to be able to differentiate between a nvlink or opencapi PHB, as it's not completely transparent to linux. In particular, PE assignment differs and we'll also need the

Re: [ANNOUNCE] Git v2.16.0-rc0

2018-01-02 Thread Bryan Turner
On Tue, Jan 2, 2018 at 9:07 PM, Jonathan Nieder wrote: > Hi Bryan, > > Bryan Turner wrote: > >> Our test environment is still on Ubuntu 12.04 LTS (it's a long story, >> but one I doubt is unique to us), which means it's using OpenSSH 5.9. >> ssh -G was added in OpenSSH 6.8

Re: [PATCH 02/11] clk: sunxi-ng: a83t: Add M divider to TCON1 clock

2018-01-02 Thread Chen-Yu Tsai
On Sun, Dec 31, 2017 at 5:01 AM, Jernej Skrabec wrote: > TCON1 also has M divider, contrary to TCON0. > > Fixes: 05359be1176b ("clk: sunxi-ng: Add driver for A83T CCU") > > Signed-off-by: Jernej Skrabec Added "And the mux is only 2 bits wide,

Re: [PATCH 10/13] ocxl: Add Makefile and Kconfig

2018-01-02 Thread Andrew Donnellan
On 19/12/17 02:21, Frederic Barrat wrote: OCXL_BASE triggers the platform support needed by the driver. Signed-off-by: Frederic Barrat --- drivers/misc/Kconfig | 1 + drivers/misc/Makefile | 1 + drivers/misc/ocxl/Kconfig | 25

Re: About the try to remove cross-release feature entirely by Ingo

2018-01-02 Thread Byungchul Park
On 1/3/2018 11:58 AM, Dave Chinner wrote: On Wed, Jan 03, 2018 at 11:28:44AM +0900, Byungchul Park wrote: On 1/1/2018 7:18 PM, Matthew Wilcox wrote: On Sat, Dec 30, 2017 at 06:00:57PM -0500, Theodore Ts'o wrote: Also, what to do with TCP connections which are created in userspace (with some

Re: [ANNOUNCE] Git v2.16.0-rc0

2018-01-02 Thread Jonathan Nieder
Bryan Turner wrote: > On Tue, Jan 2, 2018 at 9:07 PM, Jonathan Nieder wrote: >> So my first question is why the basename detection is not working for >> you. What value of GIT_SSH, GIT_SSH_COMMAND, or core.sshCommand are >> you using? > > So I'd been digging further into

linux-next: Tree for Jan 3

2018-01-02 Thread Stephen Rothwell
Hi all, Changes since 20180102: The clk tree lost its build failure. The kvm-arm tree gained a conflict against Linus' tree. Non-merge commits (relative to Linus' tree): 6587 6916 files changed, 273638 insertions(+), 194470 deletions

Re: [PATCH v3 06/27] gpio: replace devm_ioremap_nocache with devm_ioremap

2018-01-02 Thread Yisheng Xie
On 2018/1/2 16:41, Linus Walleij wrote: > On Sat, Dec 23, 2017 at 11:58 AM, Yisheng Xie wrote: > >> Default ioremap is ioremap_nocache, so devm_ioremap has the same >> function with devm_ioremap_nocache, which can just be killed to >> save the size of devres.o >> >>

[PATCH] iommu/of: Only do IOMMU lookup for available ones

2018-01-02 Thread Jeffy Chen
The for_each_matching_node_and_match() would return every matching nodes including unavailable ones. It's pointless to init unavailable IOMMUs, so add a sanity check to avoid that. Signed-off-by: Jeffy Chen --- drivers/iommu/of_iommu.c | 3 +++ 1 file changed, 3

RE: [LINUX PATCH 3/4] dmaengine: xilinx_dma: Fix compilation warning

2018-01-02 Thread Appana Durga Kedareswara Rao
Hi Vinod, >On Wed, Jan 03, 2018 at 05:13:29AM +, Appana Durga Kedareswara Rao >wrote: >> Hi Vinod, >> >> Thanks for the review... >> >> > >> >On Thu, Dec 21, 2017 at 03:41:37PM +0530, Kedareswara rao Appana wrote: >> > >> >Fix title here too >> >> Sure will fix in v2... >> >> > >> >BTW

Re: [PATCH v2 0/4] Address error and recovery for AER and DPC

2018-01-02 Thread poza
On 2018-01-03 00:32, Bjorn Helgaas wrote: On Fri, Dec 29, 2017 at 12:54:15PM +0530, Oza Pawandeep wrote: This patch set brings in support for DPC and AER to co-exist and not to race for recovery. The current implementation of AER and error message broadcasting to the EP driver is tightly

Re: [PATCH v3 18/27] pinctrl: replace devm_ioremap_nocache with devm_ioremap

2018-01-02 Thread Yisheng Xie
On 2018/1/2 16:43, Linus Walleij wrote: > On Sat, Dec 23, 2017 at 12:00 PM, Yisheng Xie wrote: > >> Default ioremap is ioremap_nocache, so devm_ioremap has the same >> function with devm_ioremap_nocache, which can just be killed to >> save the size of devres.o >> >>

Re: general protection fault in copy_verifier_state

2018-01-02 Thread Alexei Starovoitov
On Tue, Jan 02, 2018 at 02:58:01PM -0800, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 6bb8824732f69de0f233ae6b1a8158e149627b38 > git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console

Re: [PATCH 16/67] powerpc: rename dma_direct_ to dma_nommu_

2018-01-02 Thread Michael Ellerman
Geert Uytterhoeven writes: > On Tue, Jan 2, 2018 at 10:45 AM, Michael Ellerman wrote: >> Christoph Hellwig writes: >> >>> We want to use the dma_direct_ namespace for a generic implementation, >>> so rename powerpc to the second best

Business Opportunity

2018-01-02 Thread Mr Yin Lianchen
Hello, How are you and your family? Thanks for accepting my connection. I am connecting you due to a Business Opportunity. Should you like to know more about it. Do get back to me so i give you further details. I hope to hear from you soon Regards, MR. YIN LIANCHEN CHIEF INVESTMENT OFFICER

[PATCH] irqchip/gic-v3-its: Add workaround for ThunderX2 erratum #174

2018-01-02 Thread Ganapatrao Kulkarni
When an interrupt is moved across node collections on ThunderX2 multi Socket platform, an interrupt stops routed to new collection and results in loss of interrupts. Adding workaround to issue INV after MOVI for cross-node collection move to flush out the cached entry. Signed-off-by: Ganapatrao

Re: [PATCH] KVM: nVMX: remove unnecessary vmwrite from L2->L1 vmexit

2018-01-02 Thread Quan Xu
On 2018/01/02 17:47, Liran Alon wrote: On 02/01/18 00:58, Paolo Bonzini wrote: The POSTED_INTR_NV field is constant (though it differs between the vmcs01 and vmcs02), there is no need to reload it on vmexit to L1. Signed-off-by: Paolo Bonzini ---   arch/x86/kvm/vmx.c

Re: WARNING in adjust_ptr_min_max_vals

2018-01-02 Thread Alexei Starovoitov
On Tue, Jan 02, 2018 at 08:58:01PM -0800, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 0e08c463db387a2adcb0243b15ab868a73f87807 > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console

Re: [PATCH v5 2/2] PCI: mediatek: Set up class type and vendor ID for MT7622

2018-01-02 Thread Honghui Zhang
On Tue, 2018-01-02 at 10:56 +, Lorenzo Pieralisi wrote: > On Thu, Dec 28, 2017 at 09:39:12AM +0800, Honghui Zhang wrote: > > On Wed, 2017-12-27 at 12:45 -0600, Bjorn Helgaas wrote: > > > On Wed, Dec 27, 2017 at 08:59:54AM +0800, honghui.zh...@mediatek.com > > > wrote: > > > > From: Honghui

Re: [PATCH v2] regulator: sc2731: Fix defines for SC2731_WR_UNLOCK and SC2731_PWR_WR_PROT_VALUE

2018-01-02 Thread Erick Chen
Hi Axel, On 一, 1月 01, 2018 at 08:38:50下午 +0800, Axel Lin wrote: > The defines for SC2731_WR_UNLOCK and SC2731_PWR_WR_PROT_VALUE makes > regmap_write() call looks strange because it takes reg parameter fist > then val. > Base on Erick's suggestion to define SC2731_PWR_WR_PROT and >

[PATCH v2 4/4] dmaengine: xilinx_dma: Free BD consistent memory

2018-01-02 Thread Kedareswara rao Appana
Free BD consistent memory while freeing the channel i.e in free_chan_resources. Signed-off-by: Radhey Shyam Pandey Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> None. drivers/dma/xilinx/xilinx_dma.c | 5 + 1 file changed, 5

[PATCH v2 2/4] dmaengine: xilinx_dma: properly configure the SG mode bit in the driver for cdma

2018-01-02 Thread Kedareswara rao Appana
If the hardware is configured for Scatter Gather(SG) mode, and hardware is idle, in the control register SG mode bit must be set to a 0 then back to 1 by the software, to force the CDMA SG engine to use a new value written to the CURDESC_PNTR register, failure to do so could result errors from the

[PATCH v2 3/4] dmaengine: xilinx_dma: Fix warning variable prev set but not used

2018-01-02 Thread Kedareswara rao Appana
This patch fixes the below sparse warning in the driver drivers/dma/xilinx/xilinx_dma.c: In function ‘xilinx_vdma_dma_prep_interleaved’: drivers/dma/xilinx/xilinx_dma.c:1614:43: warning: variable ‘prev’ set but not used [-Wunused-but-set-variable] struct xilinx_vdma_tx_segment *segment, *prev =

[PATCH v2 0/4] dmaengine: xilinx_dma: Bug fixes

2018-01-02 Thread Kedareswara rao Appana
This patch series does the below --> Fixes sparse warnings in the driver. --> properly configures the SG mode bit in the driver for cdma. --> populates dma caps properly. This patch series got created on top of linux tag 4.15-rc4 i.e slave-dma.git next branch Kedareswara rao Appana (4):

Re: [PATCH v3 00/27] kill devm_ioremap_nocache

2018-01-02 Thread Yisheng Xie
+ cris/ia64/mn10300/openrisc maintainers On 2017/12/25 9:09, Yisheng Xie wrote: > hi Christophe and Greg, > > On 2017/12/24 16:55, christophe leroy wrote: >> >> >> Le 23/12/2017 à 16:57, Guenter Roeck a écrit : >>> On 12/23/2017 05:48 AM, Greg KH wrote: On Sat, Dec 23, 2017 at 06:55:25PM

[PATCH v2 1/4] dmaengine: xilinx_dma: populate dma caps properly

2018-01-02 Thread Kedareswara rao Appana
When client driver uses dma_get_slave_caps() api, it checks for certain fields of dma_device struct currently driver is not settings the directions and addr_widths fields resulting dma_get_slave_caps() returning failure. This patch fixes this issue by populating proper values to the struct

Re: [f2fs-dev] [PATCH v3] f2fs: add reserved blocks for root user

2018-01-02 Thread Chao Yu
On 2018/1/3 3:24, Jaegeuk Kim wrote: >> How about adding uid & gid verification also like ext4? > > Again, that's another feature which requires a mount option. I think it'd be > better to add that, once we have a use-case. That's OK. ;) Thanks,

Re: [f2fs-dev] [PATCH v5] f2fs: add reserved blocks for root user

2018-01-02 Thread Chao Yu
On 2018/1/3 10:21, Jaegeuk Kim wrote: > This patch allows root to reserve some blocks via mount option. > > "-o reserve_root=N" means N x 4KB-sized blocks for root only. > > Signed-off-by: Jaegeuk Kim > --- > > Change log from v4: > - fix f_bfree in statfs Could you fix

Re: [PATCH 0/2] perf-probe: Improve warning message for buildid mismatch

2018-01-02 Thread Ravi Bangoria
On 12/18/2017 12:58 PM, Masami Hiramatsu wrote: > Hello, > > This series ensure the build-ids for target binary and debuginfo > are matched. If there is a mismatch, it warns user to check the > package versions. For the series, Reviewed-by: Ravi Bangoria

Re: [PATCH 2/3] dt-bindings: mtd: atmel-quadspi: add an optional property 'dmacap,memcpy'

2018-01-02 Thread ludovic.desroc...@microchip.com
On Tue, Jan 02, 2018 at 07:18:58PM +, Trent Piepho wrote: > On Tue, 2018-01-02 at 11:22 +0100, Ludovic Desroches wrote: > > On Wed, Dec 27, 2017 at 10:40:00PM +0100, Cyrille Pitchen wrote: > > > > > Or maybe no change at all is required at the at_xdmac.c driver side: we > > > just don't care

Re: [PATCH] mm/fadvise: discard partial pages iff endbyte is also eof

2018-01-02 Thread 夷则(Caspar)
> 在 2017年12月23日,12:16,十刀 写道: > > From: "shidao.ytt" > > in commit 441c228f817f7 ("mm: fadvise: document the > fadvise(FADV_DONTNEED) behaviour for partial pages") Mel Gorman > explained why partial pages should be preserved instead of

Re: [PATCH] nokia N9: Add support for magnetometer and touchscreen

2018-01-02 Thread Filip Matijević
Hi, On 01/02/2018 06:27 PM, Sebastian Reichel wrote: > Hi, > > On Tue, Jan 02, 2018 at 02:17:22PM +0100, Pavel Machek wrote: >> This adds dts support for magnetometer and touchscreen on Nokia N9. > > I think it makes sense to have this splitted. > >> Signed-off-by: Pavel Machek

Re: [PATCH] bonding: Delete an error message for a failed memory allocation in bond_update_slave_arr()

2018-01-02 Thread महेश बंडेवार
On Mon, Jan 1, 2018 at 8:07 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 1 Jan 2018 17:00:04 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using

Re: [PATCH] exec: Weaken dumpability for secureexec

2018-01-02 Thread Serge E. Hallyn
On Tue, Jan 02, 2018 at 03:21:33PM -0800, Kees Cook wrote: > This is a logical revert of: > > commit e37fdb785a5f ("exec: Use secureexec for setting dumpability") > > This weakens dumpability back to checking only for uid/gid changes in > current (which is useless), but userspace depends on

Re: [PATCH] exec: Weaken dumpability for secureexec

2018-01-02 Thread Serge E. Hallyn
On Tue, Jan 02, 2018 at 03:21:33PM -0800, Kees Cook wrote: > This is a logical revert of: > > commit e37fdb785a5f ("exec: Use secureexec for setting dumpability") > > This weakens dumpability back to checking only for uid/gid changes in > current (which is useless), but userspace depends on

Re: About the try to remove cross-release feature entirely by Ingo

2018-01-02 Thread Theodore Ts'o
On Wed, Jan 03, 2018 at 11:10:37AM +0900, Byungchul Park wrote: > > The point I was trying to drive home is that "all we have to do is > > just classify everything well or just invalidate the right lock > > Just to be sure, we don't have to invalidate lock objects at all but > a problematic

Re: 4.15-rc6 PTI regression: L1 TLB mismatch MCE on Athlon64

2018-01-02 Thread Meelis Roos
> > These MCE-s do not happen on 4.14 and 4.15.0-rc4-00041-gace52288edf0. > > They do happen on each boot into 4.15-rc6. Will try to bisect. > > Please do. And try -rc5 too. 4.15-rc5 is OK. Will try CONFIG_X86_PTDUMP on the next kernel. > And then Linus' pti merges: > >

Re: [Intel-gfx] [PATCH v2] drm/i915: Try EDID bitbanging on HDMI after failed read

2018-01-02 Thread Jani Nikula
On Tue, 02 Jan 2018, Chris Wilson wrote: > Quoting Rodrigo Vivi (2018-01-02 19:12:18) >> On Sun, Dec 31, 2017 at 10:34:54PM +, Stefan Brüns wrote: >> > + edid = drm_get_edid(connector, i2c); >> > + >> > + if (!edid && !intel_gmbus_is_forced_bit(i2c)) { >> > +

[PATCH v4 4/7] typec: tcpm: Add core support for sink side PPS

2018-01-02 Thread Adam Thomson
This commit adds code to handle requesting of PPS APDOs. Switching between standard PDOs and APDOs, and re-requesting an APDO to modify operating voltage/current will be triggered by an external call into TCPM. Signed-off-by: Adam Thomson ---

Re: [PATCH] btrfs: qgroup: remove unused label 'retry'

2018-01-02 Thread David Sterba
On Fri, Dec 22, 2017 at 12:55:08AM +, Colin King wrote: > From: Colin Ian King > > Label 'retry' is not used, remove it. Cleans up a clang build > warning: > > warning: label ‘retry’ defined but not used [-Wunused-label] > > Fixes: b283738ab0ad ("Revert "btrfs:

  1   2   3   4   5   6   7   8   9   10   >