[PATCH v2] resource: Merge resources on a node when hot-adding memory

2018-08-05 Thread Rashmica Gupta
When hot-removing memory release_mem_region_adjustable() splits iomem resources if they are not the exact size of the memory being hot-deleted. Adding this memory back to the kernel adds a new resource. Eg a node has memory 0x0 - 0xf. Offlining and hot-removing 1GB from 0xf4000 results

[PATCH 2/2] soc: imx: gpcv2: make pgc driver more generic for other i.MX platforms

2018-08-05 Thread Anson Huang
i.MX8MQ and i.MX8MM share same gpc module with i.MX7D, they can reuse gpcv2 pgc driver for power domain control, this patch renames all functions and structure definitions started with "imx7" to "imx", and check machine type to pass platform specific power domain data for power domain driver, thus

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

2018-08-05 Thread Anson Huang
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 confusion. Signed-off-by: Anson Huang --- drivers/soc/imx/gpcv2.c | 20 ++-- 1 file changed, 10 inserti

Re: [PATCH 0/2] dt: thermal: Fix broken cooling-maps

2018-08-05 Thread Zhang Rui
On 五, 2018-08-03 at 14:10 +0530, Viresh Kumar wrote: > On 31-07-18, 14:00, Zhang Rui wrote: > > > > I suppose this patch should go via Eduardo' tree. > > Eduardo, can you please take a look at this patch set? > Zhang, > > Since Eduardo isn't replying, will it be possible for you to pick it > up a

RE: [PATCH v4 2/2] mmc: host: iproc: Add ACPI support to IPROC SDHCI

2018-08-05 Thread Hunter, Adrian
Acked-by: Adrian Hunter > -Original Message- > From: Srinath Mannam [mailto:srinath.man...@broadcom.com] > Sent: Sunday, August 5, 2018 10:53 AM > To: Ulf Hansson ; Hunter, Adrian > ; Ray Jui ; Scott Branden > ; vikram.prak...@broadcom.com > Cc: bcm-kernel-feedback-l...@broadcom.com; linu

Re: linux-next: manual merge of the kvm tree with the tip tree

2018-08-05 Thread Tianyu Lan
Hi Stephen: Thanks for fix. I will discuss with maintainer about how to deal with the issue. On 8/6/2018 1:12 PM, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the kvm tree got a conflict in: > >arch/x86/include/asm/trace/hyperv.h > > between commit: > >58e

Re: [PATCH] Input: cros_ec_keyb: Remove check before calling pm_wakeup_event.

2018-08-05 Thread Dmitry Torokhov
On Sun, Aug 5, 2018 at 10:29 PM Marek Szyprowski wrote: > > Hi Ravi, > > On 2018-08-03 18:53, Ravi Chandra Sadineni wrote: > > Understood. I am trying to reproduce this issue locally. Wanted to > > know the version of the kernel so I can give a try. Marek, can you > > please confirm the kernel ver

Re: [LKP] [mm, oom] c1e4c54f9c: BUG:KASAN:null-ptr-deref_in_d

2018-08-05 Thread Michal Hocko
On Sun 05-08-18 11:41:50, 禹舟键 wrote: > Hi Michal and David, > AFAICS, the null pointer is the task_struct of p in the dump_header. > Why don't we just add a if before printing the victim task's > informaiton. See http://lkml.kernel.org/r/alpine.deb.2.21.1807301854040.198...@chino.kir.corp.google.

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

2018-08-05 Thread Anson Huang
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 claimed (ptrval) psci_sys_poweroff [1.841707] syscon-poweroff: probe o

Re: [PATCH] s390/qeth: use true and false for boolean values

2018-08-05 Thread Julian Wiedmann
On 08/05/2018 02:59 AM, Gustavo A. R. Silva wrote: > Return statements in functions returning bool should use true or false > instead of an integer value. > > This issue was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A. R. Silva Queued up for net-next, thanks. > --- > dri

Re: [PATCH] Input: cros_ec_keyb: Remove check before calling pm_wakeup_event.

2018-08-05 Thread Marek Szyprowski
Hi Ravi, On 2018-08-03 18:53, Ravi Chandra Sadineni wrote: > Understood. I am trying to reproduce this issue locally. Wanted to > know the version of the kernel so I can give a try. Marek, can you > please confirm the kernel version. > Yes, sorry for the missing context, I was in hurry writing

Re: Getting the instruction pointer on a per arch basis

2018-08-05 Thread Martin Schwidefsky
On Wed, 1 Aug 2018 11:21:13 -0700 Nick Desaulniers wrote: > On Tue, Jul 31, 2018 at 10:41 PM Martin Schwidefsky > wrote: > > > > On Tue, 31 Jul 2018 16:09:06 -0700 > > Nick Desaulniers wrote: > > > > > + More maintainers and lists for visibility > > > > > > On Tue, Jul 31, 2018 at 3:32 PM Nic

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

2018-08-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm tree got a conflict in: arch/x86/kvm/vmx.c between a series of commits in Linus' tree and a series of commits in the kvm tree. I have no idea how to fix all this up, so I just dropped all the changes from Linus' tree (all those commits only touched

Re: [PATCH] firmware: make sure builtin firmware is page alignment

2018-08-05 Thread Zhang, Ning A
在 2018-08-06一的 01:48 +,Zhang, Ning A写道: > 在 2018-08-03五的 12:31 +0200,gre...@linuxfoundation.org写道: > > On Fri, Aug 03, 2018 at 08:42:25AM +, Zhang, Ning A wrote: > > > 在 2018-08-03五的 07:39 +0200,Greg KH写道: > > > > On Fri, Aug 03, 2018 at 09:45:21AM +0800, Zhang Ning wrote: > > > > > when fi

linux-next: manual merge of the kvm tree with the tip tree

2018-08-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm tree got a conflict in: arch/x86/include/asm/trace/hyperv.h between commit: 58ec5e9c9044 ("x86/hyper-v: Trace PV IPI send") from the tip tree and commit: 47c054685621 ("X86/Hyper-V: Add hyperv_nested_flush_guest_mapping ftrace support") from

Re: [RFC PATCH 1/2] checkpatch: Correctly detect git commit references that span 3 lines

2018-08-05 Thread Joe Perches
On Mon, 2018-08-06 at 13:58 +1000, Andrew Donnellan wrote: > If a patch contains a commit reference that happens to span 3 lines, e.g.: > > === > With the optimizations for TLB invalidation from commit 0cef77c7798a > ("powerpc/64s/radix: flush remote CPUs out of single-threaded > mm_cpumask"), the

linux-next: manual merge of the tip tree with the rdma tree

2018-08-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: drivers/infiniband/core/rdma_core.c between commit: 9867f5c6695f ("IB/uverbs: Convert 'bool exclusive' into an enum") from the rdma tree and commit: bfc18e389c7a ("atomics/treewide: Rename __atomic_add_unless() => atom

linux-next: manual merge of the tip tree with the kbuild tree

2018-08-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got conflicts in: arch/arm64/Kconfig arch/openrisc/Kconfig between commit: 1572497cb0e6 ("kconfig: include common Kconfig files from top-level Kconfig") from the kbuild tree and commits: 78ae2e1cd845 ("arm64: Use the new GENERIC_IRQ_MUL

[PATCH] staging/vc04_services: Fix alignment of function arguments

2018-08-05 Thread Greg Gallagher
Fix warning generated by checkpatch.pl for alignment should match open parenthesis. This is a coding style change only. Signed-off-by: Greg Gallagher --- drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging

[RFC PATCH 2/2] checkpatch: Fix commit ID test when "commit" and hash on different lines

2018-08-05 Thread Andrew Donnellan
Signed-off-by: Andrew Donnellan --- RFC because I'm bad at Perl --- scripts/checkpatch.pl | 32 +++- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index aca4d758112a..ae7a54287db7 100755 --- a/scripts/ch

[RFC PATCH 1/2] checkpatch: Correctly detect git commit references that span 3 lines

2018-08-05 Thread Andrew Donnellan
If a patch contains a commit reference that happens to span 3 lines, e.g.: === With the optimizations for TLB invalidation from commit 0cef77c7798a ("powerpc/64s/radix: flush remote CPUs out of single-threaded mm_cpumask"), the scope of a TLBI (global vs. local) can now be influenced by the value

drivers/android/.tmp_gl_binder.o:undefined reference to `__user_bad'

2018-08-05 Thread kbuild test robot
Hi Martijn, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1ffaddd029c867d134a1dde39f540dcc8c52e274 commit: 1190b4e38f97023154e6b3bef61b251aa5f970d0 ANDROID: binder: remove 32-bit binder interface. date: 3 months

[RFC] tracepoint: Run tracepoints even after CPU is offline

2018-08-05 Thread Joel Fernandes (Google)
Commit f37755490fe9 ("tracepoints: Do not trace when cpu is offline") causes a problem for lockdep using tracepoint code. Once a CPU is offline, tracepoints donot get called, however this causes a big problem for lockdep probes that need to run so that IRQ annotations are marked correctly. An issu

[PATCH ftrace/core] tracing: irqsoff: Account for additional preempt_disable

2018-08-05 Thread Joel Fernandes (Google)
Recently we tried to make the preemptirqsoff tracer to use irqsoff tracepoint probes. However this causes issues as reported by Masami: [2.271078] Testing tracer preemptirqsoff: .. no entries found ..FAILED! [2.381015] WARNING: CPU: 0 PID: 1 at /home/mhiramat/ksrc/linux/kernel/ trace/trace.c:1512

Re: [PATCH RESEND 1/2] gpio: mvebu: Add support for multiple PWM lines per GPIO chip

2018-08-05 Thread Andrew Lunn
On Mon, Aug 06, 2018 at 10:29:15AM +0800, Aditya Prayoga wrote: Hi Aditya > + item = kzalloc(sizeof(*item), GFP_KERNEL); > + if (!item) > + return -ENODEV; ENOMEM would be better, since it is a memory allocation which is failing. > > - ret = gpiod_direction_out

Re: [PATCH] remoteproc: q6v5: Add support to vote for rpmh power domains

2018-08-05 Thread Rajendra Nayak
On 8/3/2018 3:40 PM, Ulf Hansson wrote: On 29 June 2018 at 12:20, Rajendra Nayak wrote: With rpmh ARC resources being modelled as power domains with performance state, add support to proxy vote on these for SDM845. Add support to vote on multiple of them, now that genpd supports associating

Re: [PATCH 09/46] dmaengine: cppi41: use dmaenginem_async_device_register to simplify the code

2018-08-05 Thread Huang Shijie
On Fri, Aug 03, 2018 at 10:55:25AM +0300, Peter Ujfalusi wrote: > > > On 2018-08-03 10:19, Huang Shijie wrote: > > Use dmaenginem_async_device_register to simplify the code: > >remove dma_async_device_unregister > > > > Signed-off-by: Huang Shijie > > --- > > drivers/dma/ti/cppi41.c | 7 ++

[PATCH] staging: gasket: remove some extra semicolon

2018-08-05 Thread zhong jiang
That semicolons are unneeded, Just remove them. Signed-off-by: zhong jiang --- drivers/staging/gasket/gasket_interrupt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/gasket/gasket_interrupt.c b/drivers/staging/gasket/gasket_interrupt.c index 09c3d07.

RE: [PATCH v8 5/6] regulator: pfuze100-regulator: provide pm_power_off_prepare handler

2018-08-05 Thread Robin Gong
> >> +static struct pfuze_chip *syspm_pfuze_chip; > >> + > >> +static void pfuze_power_off_prepare(void) > >> + dev_info(syspm_pfuze_chip->dev, "Configure standy mode for power > >> +off"); > > Add 'if (syspm_pfuze_chip ->chip_id == PFUZE100))' here is easy for > > extend Support on pfuze200/3000.

[PATCH] Simplify redundant code

2018-08-05 Thread Liu Song
cbuf's size can be simply assigned. Signed-off-by: Liu Song Reviewed-by: Jiang Biao --- fs/ubifs/super.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index c5466c7..1a8e2032 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c @@ -124

linux-next: please clean up the ipvs-next tree

2018-08-05 Thread Stephen Rothwell
Hi Simon, The ipvs-next tree appears to contain a set of patches that have been merged into the net-next tree as different commits (some of them slightly different). This is just causing conflicts. -- Cheers, Stephen Rothwell pgpIl_KCDzubv.pgp Description: OpenPGP digital signature

Re: [PATCH 1/3] fs/btrfs/disk-io: Remove unneeded variable "err"

2018-08-05 Thread zhong jiang
On 2018/8/5 23:27, Joe Perches wrote: > On Sun, 2018-08-05 at 23:02 +0800, zhong jiang wrote: >> The err is not used after initalization, So remove it and make >> the function to be void function. > [] >> diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c > [] >> @@ -4193,7 +4192,6 @@ static int

Re: [PATCH 0/3] Remove uneeded variable "err"

2018-08-05 Thread zhong jiang
On 2018/8/6 3:14, Nikolay Borisov wrote: > > On 5.08.2018 18:02, zhong jiang wrote: >> zhong jiang (3): >> fs/btrfs/disk-io: Remove unneeded variable "err" >> fs/btrfs/extent-tree: remove redudant variable "err" >> fs/btrfs/tree-log: remove the unneeded variable "err" >> >> fs/btrfs/disk-io

RE: [PATCH v8 1/6] ARM: imx6q: provide documentation for new fsl,pmic-stby-poweroff property

2018-08-05 Thread Robin Gong
> >> Not all boards follow the reference design, that's a fact of life. > >> > >> Please look at the i.MX6Q reference manual. The sequence implemented > >> in this patchset can be found as a valid way to power off the system > >> in > >> "60.4.3 Power mode transitions" "Normal ON to OFF with exte

[PATCH RESEND 1/2] gpio: mvebu: Add support for multiple PWM lines per GPIO chip

2018-08-05 Thread Aditya Prayoga
Allow more than 1 PWM request (eg. PWM fan) on the same GPIO chip. based on initial work on LK4.4 by Alban Browaeys. URL: https://github.com/helios-4/linux-marvell/commit/743ae97 [Aditya Prayoga: forward port, cleanup] Signed-off-by: Aditya Prayoga --- drivers/gpio/gpio-mvebu.c | 63

[PATCH RESEND 0/2] gpio: mvebu: Add support for multiple PWM lines

2018-08-05 Thread Aditya Prayoga
Hi everyone, Helios4, an Armada 388 based NAS SBC, provides 2 (4-pins) fan connectors. The PWM pins on both connector are connected to GPIO on bank 1. Current gpio- mvebu does not allow more than one PWM on the same bank. Resend the patch to add more reviewer. Aditya --- Aditya Prayoga (2):

[PATCH RESEND 2/2] gpio: mvebu: Allow to use non-default PWM counter

2018-08-05 Thread Aditya Prayoga
On multiple PWM lines, if the other PWM counter is unused, allocate it to next PWM request. The priority would be: 1. Default counter assigned to the bank 2. Unused counter that is assigned to other bank 3. Fallback to default counter For example on second bank there are three PWM request, first o

[PATCH] checkpatch: warn on unnecessary int declarations

2018-08-05 Thread Joe Perches
On Sun, 2018-08-05 at 08:52 -0700, Linus Torvalds wrote: > "long unsigned int" isn't _technically_ wrong. But we normally > call that type "unsigned long". So add a checkpatch test for it. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 20 1 file changed, 20 inserti

Re: [PATCH] drivers/staging: Remove some unneeded semicolon

2018-08-05 Thread Gao Xiang
On 2018/8/6 10:11, zhong jiang wrote: > On 2018/8/6 9:27, Gao Xiang wrote: >> Hi Jiang, >> >> On 2018/8/5 21:57, zhong jiang wrote: >>> That semicolons are unneeded, JUst remove them. >>> >>> Signed-off-by: zhong jiang >> Thanks for your patch. Since erofs and gasket are different feature, it is

Re: [PATCH] net/bridge/br_multicast: remove redundant variable "err"

2018-08-05 Thread zhong jiang
On 2018/8/6 8:33, David Miller wrote: > From: zhong jiang > Date: Sun, 5 Aug 2018 22:18:43 +0800 > >> @@ -1797,7 +1795,7 @@ static int br_multicast_ipv4_rcv(struct net_bridge *br, >> struct sk_buff *skb_trimmed = NULL; >> const unsigned char *src; >> struct igmphdr *ih; >> -int

Re: [PATCH] drivers/staging: Remove some unneeded semicolon

2018-08-05 Thread zhong jiang
On 2018/8/6 9:27, Gao Xiang wrote: > Hi Jiang, > > On 2018/8/5 21:57, zhong jiang wrote: >> That semicolons are unneeded, JUst remove them. >> >> Signed-off-by: zhong jiang > Thanks for your patch. Since erofs and gasket are different feature, it is > better to seperate into two patches. > and co

linux-next: build failure after merge of the net-next tree

2018-08-05 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/ptp/ptp_qoriq.o: In function `qoriq_ptp_probe': ptp_qoriq.c:(.text+0xd0c): undefined reference to `__aeabi_uldivmod' Caused by commit 91305f281262 ("ptp_qoriq: support automati

Re: [PATCH] drivers/staging: Remove some unneeded semicolon

2018-08-05 Thread Gao Xiang
Hi Chao, On 2018/8/6 9:58, Chao Yu wrote: > Hi Xiang, > > On 2018/8/6 9:27, Gao Xiang wrote: >> Hi Jiang, >> >> On 2018/8/5 21:57, zhong jiang wrote: >>> That semicolons are unneeded, JUst remove them. >>> >>> Signed-off-by: zhong jiang >> >> Thanks for your patch. Since erofs and gasket are dif

Re: [PATCH v12 0/3] tracing: Centralize preemptirq tracepoints and unify their usage

2018-08-05 Thread Masami Hiramatsu
On Sun, 5 Aug 2018 09:46:56 -0700 Joel Fernandes wrote: > Hi Masami, > > On Fri, Aug 3, 2018 at 9:51 PM, Joel Fernandes wrote: > [...] > >> On Thu, 2 Aug 2018 19:57:09 -0700 > >> Joel Fernandes wrote: > >> > >>> Hi Masami, > >>> > >>> On Thu, Aug 2, 2018 at 7:55 AM, Masami Hiramatsu > >>> wr

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

2018-08-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the rdma tree got a conflict in: drivers/infiniband/core/uverbs_main.c between commit: 1eb9364ce81d ("IB/uverbs: Fix ordering of ucontext check in ib_uverbs_write") from Linus' tree and commit: a9b66d6453d7 ("IB/uverbs: Do not block disassociate durin

Re: [PATCH] drivers/staging: Remove some unneeded semicolon

2018-08-05 Thread Chao Yu
Hi Xiang, On 2018/8/6 9:27, Gao Xiang wrote: > Hi Jiang, > > On 2018/8/5 21:57, zhong jiang wrote: >> That semicolons are unneeded, JUst remove them. >> >> Signed-off-by: zhong jiang > > Thanks for your patch. Since erofs and gasket are different feature, it is > better to seperate into two pa

Re: [PATCH] firmware: make sure builtin firmware is page alignment

2018-08-05 Thread Zhang, Ning A
在 2018-08-03五的 12:31 +0200,gre...@linuxfoundation.org写道: > On Fri, Aug 03, 2018 at 08:42:25AM +, Zhang, Ning A wrote: > > 在 2018-08-03五的 07:39 +0200,Greg KH写道: > > > On Fri, Aug 03, 2018 at 09:45:21AM +0800, Zhang Ning wrote: > > > > when firmware is in filesystem, request_firmware will load it

Re: [PATCH v4 1/2] leds: core: Introduce LED pattern trigger

2018-08-05 Thread Baolin Wang
Hi Jacek, On 6 August 2018 at 00:10, Jacek Anaszewski wrote: > Hi Baolin, > > Thank you for the fix. > > I've found few more details to improve, please take a look > at my comments below. > > On 08/05/2018 06:04 AM, Baolin Wang wrote: >> Some LED controllers have support for autonomously controll

Re: [PATCH] staging:mt29f_spinand: MT29F2G failing as only 16-bit arguments and variables used for addressing.

2018-08-05 Thread Jheng-Jhong Wu
So should I change this into a revert patch, or you will revert commit 6efb21d6d0e7 ("staging:mt29f_spinand: MT29F2G failing as only 16 bits used for addressing.") by yourself? Thanks. Best Regards, Jheng-Jhong Wu (Victor Wu)

Re: [PATCH] staging: erofs: fix if assignment style issue

2018-08-05 Thread Chao Yu
On 2018/8/5 23:21, Kristaps Čivkulis wrote: > Fix coding style issue "do not use assignment in if condition" > detected by checkpatch.pl. > > Signed-off-by: Kristaps Čivkulis Reviewed-by: Chao Yu Thanks,

Re: [RFC PATCH 3/7] vfio: add spimdev support

2018-08-05 Thread Kenneth Lee
On Thu, Aug 02, 2018 at 12:43:27PM -0600, Alex Williamson wrote: > Date: Thu, 2 Aug 2018 12:43:27 -0600 > From: Alex Williamson > To: Cornelia Huck > CC: Kenneth Lee , "Tian, Kevin" > , Kenneth Lee , Jonathan Corbet > , Herbert Xu , "David S . > Miller" , Joerg Roedel , Hao Fang > , Zhou Wang

Contact my secretary in Burkina-Faso

2018-08-05 Thread Dr. Gilmore Carson
Dear Friend, Good day, this is Mr. Henri Zongo, I'm happy to inform you about my success in getting the fund $29.6Million transferred under the co-operation of a new partner from Dubai, Presently I'm in Dubai for investment projects with my own share of the total sum. Meanwhile,I didn't forget

Re: [PATCH v3 4/6] iommu/io-pgtable-arm: add support for non-strict mode

2018-08-05 Thread Yang, Shunyong
Hi, Robin, On 2018/7/26 22:37, Robin Murphy wrote: > On 2018-07-26 8:20 AM, Leizhen (ThunderTown) wrote: >> On 2018/7/25 6:25, Robin Murphy wrote: >>> On 2018-07-12 7:18 AM, Zhen Lei wrote: To support the non-strict mode, now we only tlbi and sync for the strict mode. But for the non-lea

Re: [PATCH] drivers/staging: Remove some unneeded semicolon

2018-08-05 Thread Gao Xiang
Hi Jiang, On 2018/8/5 21:57, zhong jiang wrote: > That semicolons are unneeded, JUst remove them. > > Signed-off-by: zhong jiang Thanks for your patch. Since erofs and gasket are different feature, it is better to seperate into two patches. and could you please cc linux-erofs mailing list as

Re: [RFC PATCH 0/7] A General Accelerator Framework, WarpDrive

2018-08-05 Thread Kenneth Lee
On Fri, Aug 03, 2018 at 03:20:43PM +0100, Alan Cox wrote: > Date: Fri, 3 Aug 2018 15:20:43 +0100 > From: Alan Cox > To: Jerome Glisse > CC: "Tian, Kevin" , Kenneth Lee > , Hao Fang , Herbert Xu > , "k...@vger.kernel.org" > , Jonathan Corbet , Greg > Kroah-Hartman , "linux-...@vger.kernel.org"

[PATCH] workqueue: fix memory leak in wq_numa_init()

2018-08-05 Thread Yi Wang
The 'tbl' variable may leak when return in function wq_numa_init(), and this patch fixes this. Signed-off-by: Yi Wang Reviewed-by: Jiang Biao --- kernel/workqueue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 78b1920..9321a05 100644 --- a/ke

Re: linux-next: Signed-off-by missing for commit in the block tree

2018-08-05 Thread Jens Axboe
On 8/5/18 3:51 PM, Stephen Rothwell wrote: > Hi Jens, > > Commit > > 290a40cb336c ("nvme: don't enable AEN if not supported") > > is missing a Signed-off-by from its committer. It's because I'm an idiot and cherry picked the commit. Not only is it missing the SOB, but it'll also show up twice

Re: [PATCH] misc: cxl: changed asterisk position

2018-08-05 Thread Andrew Donnellan
On 03/08/18 20:20, Parth Y Shah wrote: Resolved <"foo* bar" should be "foo *bar"> error Signed-off-by: Parth Y Shah Thanks for picking this up. Acked-by: Andrew Donnellan --- drivers/misc/cxl/fault.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/cxl/f

linux-next: build failure after merge of the vfs tree

2018-08-05 Thread Stephen Rothwell
Hi Al, After merging the vfs tree, today's linux-next build (x86_64 allmodconfig) failed like this: samples/statx/test-fsinfo.c:26:10: fatal error: linux/fsinfo.h: No such file or directory #include ^~~~ Caused by commit 90b413cb970a ("vfs: syscall: Add fsinfo() to qu

Re: pull-request: wireless-drivers-next 2018-08-05

2018-08-05 Thread David Miller
From: Kalle Valo Date: Sun, 05 Aug 2018 20:07:16 +0300 > a pull request to net-next tree for 4.19. If the merge window doesn't > open today I'm planning to submit one more pull request later next week. > > Please let me know if you have any problems. Pulled, thanks Kalle.

Re: [PATCH] net/bridge/br_multicast: remove redundant variable "err"

2018-08-05 Thread David Miller
From: zhong jiang Date: Sun, 5 Aug 2018 22:18:43 +0800 > @@ -1797,7 +1795,7 @@ static int br_multicast_ipv4_rcv(struct net_bridge *br, > struct sk_buff *skb_trimmed = NULL; > const unsigned char *src; > struct igmphdr *ih; > - int err; > + int err = 0; > > err =

Re: [PATCH net-next] virtio-net: mark expected switch fall-throughs

2018-08-05 Thread David Miller
From: "Gustavo A. R. Silva" Date: Sat, 4 Aug 2018 21:42:05 -0500 > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Addresses-Coverity-ID: 1402059 ("Missing break in switch") > Addresses-Coverity-ID: 1402060 ("Missing break in swi

Re: [PATCH bpf-next 12/13] docs: net: Fix various minor typos

2018-08-05 Thread Tobin C. Harding
On Fri, Aug 03, 2018 at 10:41:12AM +0200, Daniel Borkmann wrote: > On 08/01/2018 07:09 AM, Tobin C. Harding wrote: > > There are a few minor typos and grammatical issues. We should however > > try to keep the current flavour of the document. > > > > Fix typos and grammar if glaringly required. >

Re: [PATCH bpf-next 05/13] docs: net: Fix indentation issues for code snippets

2018-08-05 Thread Tobin C. Harding
On Fri, Aug 03, 2018 at 10:44:23AM +0200, Daniel Borkmann wrote: > On 08/01/2018 07:09 AM, Tobin C. Harding wrote: > [...] > > -Starting bpf_dbg is trivial and just requires issuing: > > +Starting bpf_dbg is trivial and just requires issuing:: > > > > -# ./bpf_dbg > > + # ./bpf_dbg > > > > In

Re: [PATCH] net/bridge/br_multicast: remove redundant variable "err"

2018-08-05 Thread Stephen Hemminger
On Sun, 5 Aug 2018 22:18:43 +0800 zhong jiang wrote: > The err is not used after initalization, So remove it and make > it void function. > > Signed-off-by: zhong jiang Makes sense to me. Acked-by: Stephen Hemminger

Re: [v2, 3/3] ptp_qoriq: support automatic configuration for ptp timer

2018-08-05 Thread David Miller
From: Yangbo Lu Date: Wed, 1 Aug 2018 18:05:54 +0800 > This patch is to support automatic configuration for ptp timer. > If required ptp dts properties are not provided, driver could > try to calculate a set of default configurations to initialize > the ptp timer. This makes the driver work for

Re: [v2, 2/3] powerpc/mpc85xx: add clocks property for fman ptp timer node

2018-08-05 Thread David Miller
From: Yangbo Lu Date: Wed, 1 Aug 2018 18:05:53 +0800 > This patch is to add clocks property for fman ptp timer node. > > Signed-off-by: Yangbo Lu > --- > Changes for v2: > - None. Applied.

Re: [v2, 1/3] arm64: dts: fsl: add clocks property for fman ptp timer node

2018-08-05 Thread David Miller
From: Yangbo Lu Date: Wed, 1 Aug 2018 18:05:52 +0800 > This patch is to add clocks property for fman ptp timer node. > > Signed-off-by: Yangbo Lu > --- > Changes for v2: > - None. Applied.

Re: [PATCH v2] checkpatch: Check for space after "else" keyword

2018-08-05 Thread Joe Perches
On Sun, 2018-08-05 at 22:42 +0200, Michal Zylowski wrote: > Current checkpatch implementation permits notation like: > } else{ > in kernel code. > It looks like oversight and inconsistency in checkpatch rules (e.g. > instruction like 'do' is tested). > > Add regex for checking space after 'else' k

[PATCH v2] zram: remove BD_CAP_SYNCHRONOUS_IO with writeback feature

2018-08-05 Thread Minchan Kim
If zram supports writeback feature, it's no longer a BD_CAP_SYNCHRONOUS_IO device beause zram does asynchronous IO operations for incompressible pages. Do not pretend to be synchronous IO device. It makes the system very sluggish due to waiting for IO completion from upper layers. Furthermore, i

Re: [PATCH v2] riscv: Add support to no-FPU systems

2018-08-05 Thread Alan Kao
On Fri, Aug 03, 2018 at 09:03:00PM -0700, Palmer Dabbelt wrote: > On Wed, 01 Aug 2018 11:23:43 PDT (-0700), Andrew Waterman wrote: > >On Wed, Aug 1, 2018 at 10:55 AM, Palmer Dabbelt wrote: > >>On Tue, 26 Jun 2018 21:22:26 PDT (-0700), alan...@andestech.com wrote: > >>> > >>>This patch adds an opti

Re: 4.18.0-rc1-next-20180619 boot failed on beagle board x15

2018-08-05 Thread Stephen Rothwell
Hi Samuel, On Mon, 2 Jul 2018 09:31:56 -0400 Samuel Morris wrote: > > On Mon, Jul 2, 2018 at 5:32 AM, Tony Lindgren wrote: > > Hi, > > > > * Roger Quadros [180621 14:56]: > >> On 21/06/18 17:31, Samuel Morris wrote: > >> > On Thu, Jun 21, 2018 at 3:58 AM, Roger Quadros wrote: > >> >> +Ra

[RFC] serial: sc16is7xx: Use DT sub-nodes for UART ports

2018-08-05 Thread Andreas Färber
This is to allow using serdev. Signed-off-by: Andreas Färber --- drivers/tty/serial/sc16is7xx.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c index 243c96025053..ad7267274f65 100644 --- a/drivers/tty

Re: [PATCH 1/2] zram: remove BD_CAP_SYNCHRONOUS_IO with writeback feature

2018-08-05 Thread Minchan Kim
Hi Andrew, On Fri, Aug 03, 2018 at 04:28:18PM -0700, Andrew Morton wrote: > On Fri, 3 Aug 2018 11:51:43 +0900 Minchan Kim wrote: > > > > Is it legitimate to be altering the bdi capabilities at this level? Or > > > is this hacky? > > > > Most of device's bdi capability seems to be static but th

Re: [PATCH v4 1/2] leds: core: Introduce LED pattern trigger

2018-08-05 Thread Pavel Machek
Hi! > > +What: /sys/class/leds//repeat > > +Date: August 2018 > > +KernelVersion: 4.19 > > +Description: > > + Specify a pattern repeat number. 0 means repeat indefinitely. > > In current implementation this file on read returns the number > of remaining re

linux-next: Signed-off-by missing for commit in the block tree

2018-08-05 Thread Stephen Rothwell
Hi Jens, Commit 290a40cb336c ("nvme: don't enable AEN if not supported") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgp7XFc8pPUFp.pgp Description: OpenPGP digital signature

Re: framebuffer corruption due to overlapping stp instructions on arm64

2018-08-05 Thread Pavel Machek
Hi! > > Can you run the test program on x86 using the similar framebuffer > > setup? Does doing two writes (one aligned and one unaligned but > > overlapping with previous one) cause the same issue? I suspect it > > does, then using memcpy for frame buffers is wrong. I'm pretty sure it will wor

linux-next: Signed-off-by missing for commit in the risc-v tree

2018-08-05 Thread Stephen Rothwell
Hi Palmer, Commit bce17edfe6af ("fixup: ". " in PLIC docs") is missing a Signed-off-by from its author and committer. -- Cheers, Stephen Rothwell pgpYI05hse_QQ.pgp Description: OpenPGP digital signature

Re: framebuffer corruption due to overlapping stp instructions on arm64

2018-08-05 Thread Pavel Machek
Hi! > > I tried to use a PCIe graphics card on the MacchiatoBIN board and I hit a > > strange problem. > > > > When I use the links browser in graphics mode on the framebuffer, I get > > occasional pixel corruption. Links does memcpy, memset and 4-byte writes > > on the framebuffer - nothing else.

Re: Problems with Zen under Xen and recent Linux kernel improvements

2018-08-05 Thread Adam Novak
OK, I pulled that commit, 74899d92e3dc7671a8017b3146dcd4735f3b, in to the Ubuntu kernel and it seems to solve the problem. Now I just need to get Ubuntu to ship it. Thanks! On Sun, Aug 5, 2018 at 12:27 PM, Adam Novak wrote: > Sorry, I am using Xen version 4.9.2, specifically 4.9.2-0ubuntu1.

and for the photos

2018-08-05 Thread Sam Dennis
Want to know if you have photos for editing? We can edit 300+ images each day. We can work on ecommerce photos, jewelry photos, and portrait photos. We give cut out and clipping path for different kind of photos, and also we provide retouching for them. Send us a test photo and we will do testi

give editing

2018-08-05 Thread Sam Dennis
Want to know if you have photos for editing? We can edit 300+ images each day. We can work on ecommerce photos, jewelry photos, and portrait photos. We give cut out and clipping path for different kind of photos, and also we provide retouching for them. Send us a test photo and we will do testi

Re: [PATCH 2/2] staging:r8188eu: Use lib80211 to encrypt (CCMP) tx frames

2018-08-05 Thread Michael Straube
On 08/05/18 16:07, Greg Kroah-Hartman wrote: On Thu, Aug 02, 2018 at 06:35:05PM +0200, Michael Straube wrote: On 07/16/18 15:30, Michael Straube wrote: On 07/14/18 19:54, Ivan Safonov wrote: Put data to skb, decrypt with lib80211_crypt_ccmp, and place back to tx buffer. Signed-off-by: Ivan Sa

[PATCH v2] checkpatch: Check for space after "else" keyword

2018-08-05 Thread Michal Zylowski
Current checkpatch implementation permits notation like: } else{ in kernel code. It looks like oversight and inconsistency in checkpatch rules (e.g. instruction like 'do' is tested). Add regex for checking space after 'else' keyword and trigger error if space is not present. Signed-off-by: Michal

[PATCH] Revert "staging:r8188eu: Use lib80211 to encrypt (CCMP) tx frames"

2018-08-05 Thread Michael Straube
On a Raven Ridge system with a r8188eu usb wifi device commit 515ce733e86e ("staging:r8188eu: Use lib80211 to encrypt (CCMP) tx frames") is causing two bugs and a warning in dmesg: [ 22.618465] BUG: scheduling while atomic: NetworkManager/489/0x0202 [ 22.618466] Modules linked in: amdkfd

RE: [char-misc-next 06/12] mei: dma ring buffers allocation

2018-08-05 Thread Winkler, Tomas
> Subject: RE: [char-misc-next 06/12] mei: dma ring buffers allocation > > > > On Tue, Jul 31, 2018 at 09:35:38AM +0300, Tomas Winkler wrote: > > > --- /dev/null > > > +++ b/drivers/misc/mei/dma-ring.c > > > @@ -0,0 +1,103 @@ > > > +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 > > > > I

[tip:x86/vdso] x86: vdso: Use $LD instead of $CC to link

2018-08-05 Thread tip-bot for Alistair Strachan
Commit-ID: 379d98ddf41344273d9718556f761420f4dc80b3 Gitweb: https://git.kernel.org/tip/379d98ddf41344273d9718556f761420f4dc80b3 Author: Alistair Strachan AuthorDate: Fri, 3 Aug 2018 10:39:31 -0700 Committer: Thomas Gleixner CommitDate: Sun, 5 Aug 2018 22:33:50 +0200 x86: vdso: Use $LD

[tip:x86/urgent] x86/irqflags: Provide a declaration for native_save_fl

2018-08-05 Thread tip-bot for Nick Desaulniers
Commit-ID: 208cbb32558907f68b3b2a081ca2337ac3744794 Gitweb: https://git.kernel.org/tip/208cbb32558907f68b3b2a081ca2337ac3744794 Author: Nick Desaulniers AuthorDate: Fri, 3 Aug 2018 10:05:50 -0700 Committer: Thomas Gleixner CommitDate: Sun, 5 Aug 2018 22:30:37 +0200 x86/irqflags: Provid

[tip:x86/pti] x86/mm/init: Remove freed kernel image areas from alias mapping

2018-08-05 Thread tip-bot for Dave Hansen
Commit-ID: 2140e26f3d98e615c60c5f6a97d8421a077d61eb Gitweb: https://git.kernel.org/tip/2140e26f3d98e615c60c5f6a97d8421a077d61eb Author: Dave Hansen AuthorDate: Thu, 2 Aug 2018 15:58:31 -0700 Committer: Thomas Gleixner CommitDate: Sun, 5 Aug 2018 22:21:03 +0200 x86/mm/init: Remove freed

[tip:x86/pti] x86/mm/init: Add helper for freeing kernel image pages

2018-08-05 Thread tip-bot for Dave Hansen
Commit-ID: 6ea2738e0ca0e626c75202fb051c1e88d7a950fa Gitweb: https://git.kernel.org/tip/6ea2738e0ca0e626c75202fb051c1e88d7a950fa Author: Dave Hansen AuthorDate: Thu, 2 Aug 2018 15:58:29 -0700 Committer: Thomas Gleixner CommitDate: Sun, 5 Aug 2018 22:21:03 +0200 x86/mm/init: Add helper f

[tip:x86/pti] x86/mm/init: Pass unconverted symbol addresses to free_init_pages()

2018-08-05 Thread tip-bot for Dave Hansen
Commit-ID: 9f515cdb411ef34f1aaf4c40bb0c932cf6db5de1 Gitweb: https://git.kernel.org/tip/9f515cdb411ef34f1aaf4c40bb0c932cf6db5de1 Author: Dave Hansen AuthorDate: Thu, 2 Aug 2018 15:58:28 -0700 Committer: Thomas Gleixner CommitDate: Sun, 5 Aug 2018 22:21:02 +0200 x86/mm/init: Pass unconve

[tip:x86/pti] mm: Allow non-direct-map arguments to free_reserved_area()

2018-08-05 Thread tip-bot for Dave Hansen
Commit-ID: 0d83432811f26871295a9bc24d3c387924da6071 Gitweb: https://git.kernel.org/tip/0d83432811f26871295a9bc24d3c387924da6071 Author: Dave Hansen AuthorDate: Thu, 2 Aug 2018 15:58:26 -0700 Committer: Thomas Gleixner CommitDate: Sun, 5 Aug 2018 22:21:02 +0200 mm: Allow non-direct-map

[tip:x86/pti] x86/mm/pti: Clear Global bit more aggressively

2018-08-05 Thread tip-bot for Dave Hansen
Commit-ID: eac7073aa69aa1cac819aa712146284f53f642b1 Gitweb: https://git.kernel.org/tip/eac7073aa69aa1cac819aa712146284f53f642b1 Author: Dave Hansen AuthorDate: Thu, 2 Aug 2018 15:58:25 -0700 Committer: Thomas Gleixner CommitDate: Sun, 5 Aug 2018 22:21:02 +0200 x86/mm/pti: Clear Global

Re: [PATCH 6/7] x86/mm/pageattr: pass named flag instead of 0/1

2018-08-05 Thread Thomas Gleixner
On Thu, 2 Aug 2018, Dave Hansen wrote: > > From: Dave Hansen > > This is a cleanup. There should be functional changes in this patch. Missing 'no' after 'be', right? Thanks, tglx

[PATCH 10/15] staging: gasket: apex: fold device add/remove logic inline

2018-08-05 Thread Todd Poynor
From: Todd Poynor Gasket device drivers are now in charge of the device add and remove sequences; the framework callbacks for these are deleted. Move the apex device add callback code to the probe function. Apex did not implement the removal callback. Signed-off-by: Todd Poynor --- drivers/s

[PATCH 06/15] staging: gasket: apex: remove device enable and disable callbacks

2018-08-05 Thread Todd Poynor
From: Todd Poynor These are not implemented for apex, and are now being removed from the gasket framework. Signed-off-by: Todd Poynor --- drivers/staging/gasket/apex_driver.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/gasket/apex_driver.c b/drivers/staging/gasket/ap

[PATCH 11/15] staging: gasket: core: remove sysfs setup and cleanup callbacks

2018-08-05 Thread Todd Poynor
From: Todd Poynor Gasket device drivers now call into the gasket framework to initialize and de-initialize, rather than the other way around. The calling code can perform sysfs setup and cleanup actions without callbacks from the framework. Remove the sysfs setup and cleanup callbacks. Signed-

[PATCH 12/15] staging: gasket: apex: move sysfs setup code to probe function

2018-08-05 Thread Todd Poynor
From: Todd Poynor The gasket framework no longer provides callbacks to the device driver for sysfs setup and teardown. Move the sysfs setup code to the device probe function. Apex does not implement sysfs cleanup code. Signed-off-by: Todd Poynor --- drivers/staging/gasket/apex_driver.c | 14

[PATCH 08/15] staging: gasket: apex: enable/disable gasket device from apex

2018-08-05 Thread Todd Poynor
From: Todd Poynor Gasket framework now places device drivers in charge of calling APIs to enable and disable gasket device operations. Make the appropriate calls from the apex driver. Signed-off-by: Todd Poynor --- drivers/staging/gasket/apex_driver.c | 12 1 file changed, 12 ins

[PATCH 07/15] staging: gasket: core: let device driver enable/disable gasket device

2018-08-05 Thread Todd Poynor
From: Todd Poynor Move gasket device enable/disable functions from internal calls to external calls from the gasket device drivers. The device driver will call these functions at appropriate times in its processing, placing the device driver in control of this sequence and reducing the need for

  1   2   >