Re: [PATCH RFC] drm/sun4i: rgb: Add 5% tolerance to dot clock frequency check

2017-02-26 Thread Thierry Reding
On Fri, Feb 24, 2017 at 10:51:12AM +0100, Lucas Stach wrote: > +CC Thierry, as the drm_panel maintainer. > > Am Donnerstag, den 23.02.2017, 10:54 -0500 schrieb Sean Paul: > > On Wed, Dec 07, 2016 at 11:48:55AM +0200, Laurent Pinchart wrote: > > > Hello, > > > > > > On Wednesday 07 Dec 2016 10:26:

Re: [linux-sunxi] [PATCH 2/3] pwm: sunxi: Add A64 support

2017-02-26 Thread Maxime Ripard
On Sat, Feb 25, 2017 at 05:23:09PM +0800, Icenowy Zheng wrote: > > > 25.02.2017, 16:53, "Chen-Yu Tsai" : > > On Sat, Feb 25, 2017 at 3:42 PM, Icenowy Zheng wrote: > >>  A64 PWM controller has same register layout as sun4i driver, so it works > >>  by adding A64 specific data. > >> > >>  Signed-o

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-26 Thread Huang, Kai
On 2/25/2017 2:44 PM, Herongguang (Stephen) wrote: On 2017/2/24 23:14, Paolo Bonzini wrote: On 24/02/2017 16:10, Chris Friesen wrote: On 02/23/2017 08:23 PM, Herongguang (Stephen) wrote: On 2017/2/22 22:43, Paolo Bonzini wrote: Hopefully Gaohuai and Rongguang can help with this too.

Re: [PATCH 0/7] net: stmmac: Fixes and Tegra186 support

2017-02-26 Thread Thierry Reding
On Thu, Feb 23, 2017 at 12:57:05PM -0500, David Miller wrote: > > The net-next tree is closed, therefore it is not appropriate to submit > feature patches or cleanups at this time. > > Please wait for the merge window to be finished and the net-next tree > to open back up before resubmitting this

Re: [PATCH] powernv:idle: Fix bug due to labeling ambiguity in power_enter_stop

2017-02-26 Thread Gautham R Shenoy
Hi Anton, On Mon, Feb 27, 2017 at 10:37:07AM +1100, Anton Blanchard wrote: > Hi Gautham, > > > +handle_esl_ec_set: > > Unless we want to expose this to things like perf, we might want to > make it a local label (eg .Lxx) Sure. We don't want to expose this to perf at least as of now! Will resend

Re: [PATCH] ASoC: tegra: Remove unnecessary 'out of memory' message

2017-02-26 Thread Thierry Reding
On Sat, Feb 25, 2017 at 01:18:08PM +0200, Codrut Grosu wrote: > This was reported by checkpatch.pl > > Signed-off-by: Codrut GROSU > --- > sound/soc/tegra/tegra20_ac97.c | 1 - > sound/soc/tegra/tegra20_das.c| 1 - > sound/soc/tegra/tegra20_i2s.c| 1 - > sound/soc/tegra/tegra20_spdif.c

Re: [PATCH 0/4] fujitsu_init() cleanup

2017-02-26 Thread Michał Kępień
> Darren, Andy, > > Please drop this patch series for now. I will send a rebased v2 after a > long overdue patch series from Alan Jenkins gets applied in a reworked > form. > > However, your input is still essential for determining the future shape > of fujitsu-laptop. I quoted the essential pa

[PATCH v8 2/9] devicetree: property-units: Add uWh and uAh units

2017-02-26 Thread Liam Breck
From: Matt Ranostay Add entries for microwatt-hours and microamp-hours. Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Matt Ranostay Signed-off-by: Liam Breck Acked-by: Sebastian Reichel Acked-by: Rob Herring --- Documentati

[GIT PULL] s390 patches for 4.11 merge window #2

2017-02-26 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Next to the usual bug fixes (including the TASK_SIZE fix), there is one larger crypto item. It allows to use protected keys with

[PATCH] serial: sh-sci: Fix panic when serial console and DMA are enabled

2017-02-26 Thread Yoshihiro Shimoda
From: Takatoshi Akiyama This patch fixes an issue that kernel panic happens when DMA is enabled and we press enter key while the kernel booting on the serial console. * An interrupt may occur after sci_request_irq(). * DMA transfer area is initialized by setup_timer() in sci_request_dma() and

Re: [PATCH V5 3/6] mm: move MADV_FREE pages into LRU_INACTIVE_FILE list

2017-02-26 Thread Minchan Kim
Hello Shaohua, On Fri, Feb 24, 2017 at 01:31:46PM -0800, Shaohua Li wrote: > madv MADV_FREE indicate pages are 'lazyfree'. They are still anonymous > pages, but they can be freed without pageout. To destinguish them > against normal anonymous pages, we clear their SwapBacked flag. > > MADV_FREE p

Re: [PATCH V5 2/6] mm: don't assume anonymous pages have SwapBacked flag

2017-02-26 Thread Hillf Danton
On February 25, 2017 5:32 AM Shaohua Li wrote: > > There are a few places the code assumes anonymous pages should have > SwapBacked flag set. MADV_FREE pages are anonymous pages but we are > going to add them to LRU_INACTIVE_FILE list and clear SwapBacked flag > for them. The assumption doesn't

Re: [PATCH V5 4/6] mm: reclaim MADV_FREE pages

2017-02-26 Thread Minchan Kim
Hi Shaohua, On Fri, Feb 24, 2017 at 01:31:47PM -0800, Shaohua Li wrote: > When memory pressure is high, we free MADV_FREE pages. If the pages are > not dirty in pte, the pages could be freed immediately. Otherwise we > can't reclaim them. We put the pages back to anonumous LRU list (by > setting S

linux-kernel@vger.kernel.org

2017-02-26 Thread Julia Lawall
On Sun, 26 Feb 2017, Scott Branden wrote: > > > On 17-02-26 01:56 PM, Joe Perches wrote: > > On Sun, 2017-02-26 at 20:40 +0100, Julia Lawall wrote: > > > On Sun, 26 Feb 2017, Joe Perches wrote: > > > > On Sun, 2017-02-26 at 19:59 +0100, Julia Lawall wrote: > > > > > On Sun, 26 Feb 2017, Joe Perc

Re: [PATCH 1/3] mm, vmscan: fix zone balance check in prepare_kswapd_sleep

2017-02-26 Thread Minchan Kim
Hi Mel, On Fri, Feb 24, 2017 at 09:11:28AM +, Mel Gorman wrote: > On Fri, Feb 24, 2017 at 10:17:06AM +0900, Minchan Kim wrote: > > Hi Mel, > > > > On Thu, Feb 23, 2017 at 03:05:34PM +, Mel Gorman wrote: > > > On Wed, Feb 22, 2017 at 04:00:36PM +0900, Minchan Kim wrote: > > > > > There are

Re: [PATCH v2] mm/vmscan: fix high cpu usage of kswapd if there are no reclaimable pages

2017-02-26 Thread hejianet
Hi Tested-by: Jia He cat /proc/meminfo [...] CmaFree: 0 kB HugePages_Total:1831 HugePages_Free: 1831 HugePages_Rsvd:0 HugePages_Surp:0 Hugepagesize: 16384 kB top - 06:50:29 up 1:26, 1 user, load average: 0.00, 0.00, 0.00 Tasks: 1 total, 0 runni

Re: [PATCHv3 1/4] Encasing macros with complex values (ie: base value plus index) with parentheses.

2017-02-26 Thread Tobin C. Harding
On Sun, Feb 26, 2017 at 06:00:19PM -0800, Matthew Giassa wrote: > --- > drivers/staging/ks7010/ks_wlan_ioctl.h | 64 > +- > 1 file changed, 32 insertions(+), 32 deletions(-) > > diff --git a/drivers/staging/ks7010/ks_wlan_ioctl.h > b/drivers/staging/ks7010/ks_wla

pull request: linux-firmware: update cxgb4 firmware

2017-02-26 Thread Ganesh Goudar
Hi, Kindly pull from the following URL? git://git.chelsio.net/pub/git/linux-firmware.git for-upstream The following changes since commit fedc06024bf7145a2338c5e38d376ebce2d20917: cxgb4: update firmware to revision 1.16.29.0 (2017-02-24 06:46:36 -0800) are available in the git repository at:

Re: [PATCH] target/user: Add daynmic growing data area featuresupport

2017-02-26 Thread Xiubo Li
Cool. This is a good approach for an initial patch but this raises concerns about efficiently managing kernel memory usage -- the data area grows but never shrinks, and total possible usage increases per backstore. (What if there are 1000?) Any ideas how we could also improve these aspects of th

Re: [platform/x86] 84c2f235ad BUG: KASAN: null-ptr-deref on address 0000000000000008

2017-02-26 Thread Jonathan Woithe
On Mon, Feb 27, 2017 at 12:58:40PM +0800, Fengguang Wu wrote: > Here is another bisect result. The attached reproduce-* script may > help debug the issue. Thanks for this. FYI the cause of this issue is already understood (refer to previous linux-platform-driver ML discussions). The relevant par

[REGRESSION] pinctrl, of, unable to find hogs

2017-02-26 Thread Mika Penttilä
With current linus git (pre 4.11), unable to find the pinctrl hogs : imx6q-pinctrl 20e.iomuxc: unable to find group for node hoggrp Device is i.MX6 based. --Mika

[PATCH] kbuild: avoid unrecognized option error for external DTC

2017-02-26 Thread Masahiro Yamada
Since commit 6b22b3d1614a ("kbuild: Allow using host dtc instead of kernel's copy"), it is possible to use an external dtc. In this case, we do not know which options are supported on it. Commit bc553986a2f7 ("dtc: turn off dtc unit address warnings by default") gives -Wno-unit_address_vs_reg, bu

stack frame unwindind KASAN errors

2017-02-26 Thread Daniel J Blueman
On 4.9.13 with KASAN enabled [1], we see a number of stack unwinding errors reported [2,3]. This seems to occur at half of boots. Let me know for further debug info/patch testing and thanks, Daniel [1] https://quora.org/config [2] https://quora.org/dmesg.txt -- [3] BUG: KASAN: stack-out-of-b

Re: [PATCH V3 0/4] Define coherent device memory node

2017-02-26 Thread Anshuman Khandual
On 02/27/2017 07:26 AM, Bob Liu wrote: > On 2017/2/24 12:53, Jerome Glisse wrote: >> On Fri, Feb 24, 2017 at 09:06:19AM +0800, Bob Liu wrote: >>> On 2017/2/21 21:39, Anshuman Khandual wrote: On 02/21/2017 04:41 PM, Michal Hocko wrote: > On Fri 17-02-17 17:11:57, Anshuman Khandual wrote: >>

[v2 PATCH] powernv:idle: Fix bug due to labeling ambiguity in power_enter_stop

2017-02-26 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" Commit 09206b600c76 ("powernv: Pass PSSCR value and mask to power9_idle_stop") added additional code in power_enter_stop() to distinguish between stop requests whose PSSCR had ESL=EC=1 from those which did not. When ESL=EC=1, we do a forward-jump to a location labelled b

Re: [platform/x86] 84c2f235ad BUG: KASAN: null-ptr-deref on address 0000000000000008

2017-02-26 Thread Fengguang Wu
On Mon, Feb 27, 2017 at 03:53:56PM +1030, Jonathan Woithe wrote: On Mon, Feb 27, 2017 at 12:58:40PM +0800, Fengguang Wu wrote: Here is another bisect result. The attached reproduce-* script may help debug the issue. Thanks for this. FYI the cause of this issue is already understood (refer to

Re: [PATCH v5 02/11] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2017-02-26 Thread Kishon Vijay Abraham I
Hi, On Thursday 23 February 2017 12:20 AM, Alim Akhtar wrote: > On Fri, Feb 3, 2017 at 2:49 PM, Alim Akhtar wrote: >> Hi Kishon, >> >> >> On 11/19/2015 07:09 PM, Kishon Vijay Abraham I wrote: >>> >>> Hi, >>> >>> On Tuesday 17 November 2015 01:41 PM, Alim Akhtar wrote: Hi Thanks aga

Re: [PATCH] PCI: dwc: Fix crashes seen due to missing assignments

2017-02-26 Thread Kishon Vijay Abraham I
Hi Guenter, On Saturday 25 February 2017 03:38 PM, Guenter Roeck wrote: > Fix the following crash, seen in dwc/pci-imx6. > > Unable to handle kernel NULL pointer dereference at virtual address 0070 > pgd = c0004000 > [0070] *pgd= > Internal error: Oops: 805 [#1] SMP ARM > Modules

LTP write03 writev07 xfs failures

2017-02-26 Thread Xiong Zhou
Hi, These 2 tests PASS on Linus tree commit: 37c8596 Merge tag 'tty-4.11-rc1' of git://git.kernel.org/pub/scm/linux... FAIL on commit: 60e8d3e Merge tag 'pci-v4.11-changes' of git://git.kernel.org/pub/scm/... LTP latest commit: c60d3ca move_pages12: include lapi/mmap.h Steps: sh-4.2# pwd /r

Re: [PATCH 5/7] watchdog: s3c2410: Constify local structures

2017-02-26 Thread Guenter Roeck
On 02/24/2017 11:42 PM, Krzysztof Kozlowski wrote: On Fri, Feb 24, 2017 at 02:05:56PM -0800, Guenter Roeck wrote: On 02/24/2017 01:07 PM, Krzysztof Kozlowski wrote: Structures watchdog_device, watchdog_ops and s3c2410_wdt_variant are not modified so they can be made const to increase code safen

[platform/x86] 84c2f235ad BUG: KASAN: null-ptr-deref on address 0000000000000008

2017-02-26 Thread Fengguang Wu
Hi Alan, Here is another bisect result. The attached reproduce-* script may help debug the issue. git://git.infradead.org/users/dvhart/linux-platform-drivers-x86.git testing commit 84c2f235ad130cf59911fdd1970d297d28540d35 Author: Alan Jenkins AuthorDate: Wed Feb 8 14:46:31 2017 +0100 Commit

LTP write03 writev07 xfs failures

2017-02-26 Thread Xiong Zhou
Hi, These 2 tests PASS on Linus tree commit: 37c8596 Merge tag 'tty-4.11-rc1' of git://git.kernel.org/pub/scm/linux... FAIL on commit: 60e8d3e Merge tag 'pci-v4.11-changes' of git://git.kernel.org/pub/scm/... LTP latest commit: c60d3ca move_pages12: include lapi/mmap.h Steps: sh-4.2# pwd /r

Re: [PATCH v3 0/2] perf/sdt: Directly record SDT events with 'perf record'

2017-02-26 Thread Ravi Bangoria
Looks like I've older address of Masami(masami.hiramatsu...@hitachi.com) in my database. Adding To: mhira...@kernel.org -Ravi On Friday 24 February 2017 01:13 PM, Ravi Bangoria wrote: > All events from 'perf list', except SDT events, can be directly recorded > with 'perf record'. But, the flow

Re: Recommended notation for OPP to avoid DTC warnings

2017-02-26 Thread Viresh Kumar
On 26-02-17, 14:18, Masahiro Yamada wrote: > Hi. > > > Decumentation/devicetree/bindings/opp/opp.txt > takes examples like this: > > opp@10 { > opp-hz = /bits/ 64 <10>; > opp-microvolt = <97 975000 985000>; > opp-microam

Re: watchdog: softdog: fire watchdog even if softirqs do not get to run

2017-02-26 Thread Guenter Roeck
On Fri, Feb 17, 2017 at 07:25:02PM +0100, Niklas Cassel wrote: > From: Niklas Cassel > > Checking for timer expiration is done from the softirq TIMER_SOFTIRQ. > > Since commit 4cd13c21b207 ("softirq: Let ksoftirqd do its job"), > pending softirqs are no longer always handled immediately, instead

Re: [PATCH RFC] arm64/mm: handle memmap kernel option

2017-02-26 Thread Yisheng Xie
Hi Ard, Thanks for comment. On 2017/2/26 18:46, Ard Biesheuvel wrote: > On 25 February 2017 at 06:47, Yisheng Xie wrote: >> When use device tree mode, user can reserve memory by changes the dts, >> however, when boot with ACPI, user cannot reserve memory except by >> changing the ACPI table in BI

Re: [PATCH v2 1/2] extcon: int3496: Rename GPIO pins in accordance with binding

2017-02-26 Thread Chanwoo Choi
Hi, On 2017년 02월 24일 21:35, Andy Shevchenko wrote: > Update GPIO pin names in extcon-intel-int3496.c driver to follow > the existing extcon binding. > > Signed-off-by: Andy Shevchenko > --- > drivers/extcon/extcon-intel-int3496.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >

linux-next: Tree for Feb 27

2017-02-26 Thread Stephen Rothwell
Hi all, Please do not add any material intended for v4.12 to your linux-next included branches until after v4.11-rc1 has been released. Changes since 20170224: The vfs tree gained conflicts agains Linus' and the f2fs trees and a build failure for which I added a fix patch. The drm tree lost its

Re: [PATCH v4 00/23] drm/rockchip: MIPI fixes & improvements

2017-02-26 Thread Chris Zhong
Hi John I have test this v4 series on my RK3399 board, it works well, thanks. Tested-by: Chris Zhong On 02/24/2017 08:54 PM, John Keeping wrote: This version is mostly small changes in response to review comments from Sean and Chris, the details are in the individual patches. I decided to dr

Re: [PATCH 2/2] media: s5p-mfc: fix MMAP of mfc buffer during reqbufs

2017-02-26 Thread pankaj.dubey
Hello Javier, On Saturday 25 February 2017 01:12 AM, Javier Martinez Canillas wrote: > Hello Pankaj, > > On 12/16/2016 08:48 AM, Pankaj Dubey wrote: >> From: Smitha T Murthy >> >> It has been observed on ARM64 based Exynos SoC, if IOMMU is not enabled >> and we try to use reserved memory for MFC

Re: [PATCH net] rxrpc: Kernel calls get stuck in recvmsg

2017-02-26 Thread David Miller
From: David Howells Date: Fri, 24 Feb 2017 21:57:13 + > Calls made through the in-kernel interface can end up getting stuck because > of a missed variable update in a loop in rxrpc_recvmsg_data(). The problem > is like this: > > (1) A new packet comes in and doesn't cause a notification to

Re: [PATCH V2] f2fs: introduce free nid bitmap

2017-02-26 Thread Chao Yu
On 2017/2/26 3:02, Jaegeuk Kim wrote: > On 02/25, Chao Yu wrote: >> Hi Jaegeuk, >> >> I added below diff code into this patch in order to fix incorrectly nid >> status >> updating to reduce large latency of generic/251 in fstest, could you help to >> review code below? > > Understand the problem,

Re: [PATCH 1/2] media: s5p-mfc: convert drivers to use the new vb2_queue dev field

2017-02-26 Thread pankaj.dubey
Hello Javier, On Saturday 25 February 2017 12:52 AM, Javier Martinez Canillas wrote: > Hello Pankaj, > > On 12/16/2016 08:48 AM, Pankaj Dubey wrote: >> From: Smitha T Murthy >> >> commit 2548fee63d9e ("[media] media/platform: convert drivers to use the new >> vb2_queue dev field") has missed to

Re: [f2fs-dev] [PATCH 2/3] f2fs: add bitmaps for empty or full NAT blocks

2017-02-26 Thread Chao Yu
On 2017/2/26 2:34, Jaegeuk Kim wrote: > On 02/25, Chao Yu wrote: >> On 2017/2/24 6:54, Jaegeuk Kim wrote: >>> On 02/23, Chao Yu wrote: On 2017/2/14 10:06, Jaegeuk Kim wrote: > ... >>> > +static int scan_nat_bits(struct f2fs_sb_info *sbi) > +{ > + struct f2fs_nm_info *nm_i = NM_I(sb

RE: [PATCH 1/2] dt-bindings: qoriq-clock: Add coreclk

2017-02-26 Thread Y.T. Tang
PING! Regards, Yuantian > -Original Message- > From: yuantian.t...@nxp.com [mailto:yuantian.t...@nxp.com] > Sent: Wednesday, February 15, 2017 1:48 PM > To: mturque...@baylibre.com > Cc: sb...@codeaurora.org; robh...@kernel.org; mark.rutl...@arm.com; > linux-...@vger.kernel.org; devicet..

Re: [PATCH v2 1/2] dt-bindings: arm: hisilicon: add bindings for hi3798cv200 SoC and Poplar board

2017-02-26 Thread Alex Elder
On 02/26/2017 07:24 PM, Jiancheng Xue wrote: > Hi Andreas, > > On 2017/2/26 9:32, Andreas Färber wrote: >> Am 22.02.2017 um 09:38 schrieb Jiancheng Xue: >>> Add bindings for HiSilicon hi3798cv200 SoC and Poplar Board. >>> >>> Signed-off-by: Jiancheng Xue >>> --- >>> Documentation/devicetree/bind

RE: [PATCH v2] acpi: acpica: fix acpi operand cache leak

2017-02-26 Thread Zheng, Lv
Hi, Rafael > From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Rafael J. > Wysocki > Subject: Re: [PATCH v2] acpi: acpica: fix acpi operand cache leak > > On Fri, Feb 24, 2017 at 11:37 PM, Seunghun Han wrote: > > Hi, Rafael. > > > > I agree with you

[PATCH 25/34] staging: lustre: lnet: change lnet_event_t to proper structure

2017-02-26 Thread James Simmons
Change lnet_event_t from typedef to proper structure. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- drivers/staging/lustre/i

Re: [PATCH] lib: Allow compile-testing of parman

2017-02-26 Thread David Miller
From: Geert Uytterhoeven Date: Fri, 24 Feb 2017 11:25:55 +0100 > This allows to enable and run the accompanying test (test_parman) > without dependencies on other users of parman. > > Signed-off-by: Geert Uytterhoeven Applied, thanks.

[PATCHv3 3/4] Removing mixed spaces/hard-tabs in the alignment indentation to appease checkpatch.

2017-02-26 Thread Matthew Giassa
--- drivers/staging/ks7010/ks_wlan_ioctl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ks7010/ks_wlan_ioctl.h b/drivers/staging/ks7010/ks_wlan_ioctl.h index 0aa402d..9f71f01 100644 --- a/drivers/staging/ks7010/ks_wlan_ioctl.h +++ b/drivers/staging/ks701

[PATCH 22/34] staging: lustre: lnet: give LNET_MATCH* enum a name

2017-02-26 Thread James Simmons
The LNET_MATCH* flags are an enum without a name. Lets label that enum. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- driver

Re: [PATCH] pinctrl: samsung: Calculate GPIO base for pinctrl_add_gpio_range

2017-02-26 Thread Tomasz Figa
Hi Charles, 2017-02-24 2:54 GMT+09:00 Charles Keepax : > As the pinctrl is now added before the GPIOs are registered we need to > manually calculate what the GPIO base will be, otherwise the base for > each gpio_range will be set to zero. Fortunately the driver > already assigns a GPIO base, in sa

[bpf] 9d876e79df: BUG: unable to handle kernel paging request at 653a8346

2017-02-26 Thread kernel test robot
17- 18 Merge 'linux-review/Codrut-Grosu/ASoC-ux500-Added-to-the-next-line/20170226-035023' into devel-catchup-201702260425 git bisect bad 0838cbbd5637d7bb585c370d073f80008760c339 # 12:25 8- 9 Merge 'linux-review/Codrut-Grosu/ASoC-ux500-Added-blank-line

Re: [f2fs-dev] [PATCH 1/4] f2fs: avoid very large discard command

2017-02-26 Thread Chao Yu
On 2017/2/23 12:28, Jaegeuk Kim wrote: > This patch adds MAX_DISCARD_BLOCKS() to avoid issuing too much large single > discard command. > > Signed-off-by: Jaegeuk Kim This patch set looks good to me, please add reviewed-by into all patches. :) Reviewed-by: Chao Yu

[PATCHv3 4/4] Changing alignment and indentation in function prototypes so parameters line up to make checkpatch happy (no more warnings/errors).

2017-02-26 Thread Matthew Giassa
--- drivers/staging/ks7010/ks_wlan_ioctl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ks7010/ks_wlan_ioctl.h b/drivers/staging/ks7010/ks_wlan_ioctl.h index 9f71f01..adc935d 100644 --- a/drivers/staging/ks7010/ks_wlan_ioctl.h +++ b/drivers/staging/ks7010/ks

[PATCHv3 1/4] Encasing macros with complex values (ie: base value plus index) with parentheses.

2017-02-26 Thread Matthew Giassa
--- drivers/staging/ks7010/ks_wlan_ioctl.h | 64 +- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/drivers/staging/ks7010/ks_wlan_ioctl.h b/drivers/staging/ks7010/ks_wlan_ioctl.h index 8e62b10..47c8015 100644 --- a/drivers/staging/ks7010/ks_wlan_io

[PATCHv3] checkpatch fixes for drivers/staging/ks7010/ks_wlan_ioctl.h

2017-02-26 Thread Matthew Giassa
Assembling a set of patches to address all outstanding checkpatch issues in staging/drivers/ks7010/ks_wlan_ioctl.h to replace my earlier v2 work which attempted to do all of this in a single patch. This includes wrapping macros with complex values in parentheses, removing extraneous/mixed whitespac

[PATCHv3 2/4] Removing trailing whitespace in comment block.

2017-02-26 Thread Matthew Giassa
--- drivers/staging/ks7010/ks_wlan_ioctl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ks7010/ks_wlan_ioctl.h b/drivers/staging/ks7010/ks_wlan_ioctl.h index 47c8015..0aa402d 100644 --- a/drivers/staging/ks7010/ks_wlan_ioctl.h +++ b/drivers/staging/ks7010/ks

Re: [PATCH V3 0/4] Define coherent device memory node

2017-02-26 Thread Bob Liu
On 2017/2/24 12:53, Jerome Glisse wrote: > On Fri, Feb 24, 2017 at 09:06:19AM +0800, Bob Liu wrote: >> On 2017/2/21 21:39, Anshuman Khandual wrote: >>> On 02/21/2017 04:41 PM, Michal Hocko wrote: On Fri 17-02-17 17:11:57, Anshuman Khandual wrote: [...] > * User space using mbind() to

[PATCH v5 0/5] pstore: ramoops: support multiple pmsg instances

2017-02-26 Thread Nobuhiro Iwamatsu
The following series implements multiple pmsg. This feature allows userspace program to control individual content aging or priority. If a pstore backend module(e.g. ramoops) requires the multiple pmsg instances when registering itself to pstore, multiple /dev/pmsg[ID] are created. Writes to each

[PATCH v5 2/5] ramoops: Add __ramoops_init_prz() as generic function

2017-02-26 Thread Nobuhiro Iwamatsu
This commit adds generic function __ramoops_init_prz() to reduce redundancy between ramoops_init_prz() and ramoops_init_przs(). Signed-off-by: Nobuhiro Iwamatsu Signed-off-by: Hiraku Toyooka Cc: Anton Vorontsov Cc: Colin Cross Cc: Kees Cook Cc: Mark Salyzyn Cc: Seiji Aguchi Cc: Shuah Khan

[PATCH v5 5/5] selftests/pstore: add testcases for multiple pmsg instances

2017-02-26 Thread Nobuhiro Iwamatsu
From: Hiraku Toyooka To test multiple pmsg, we should check that /dev/pmsg[N] (N > 0) is available. After reboot, we should check that pmsg-[backend]-[N] which keeps content is detected even if pmsg-[backend]-[N-M] (0 < M <= N) doesn't exist due to lack of contents. So this adds the following te

Re: linux-next: build failure after merge of the scsi-mkp tree

2017-02-26 Thread Stephen Rothwell
Hi James, On Thu, 23 Feb 2017 08:06:39 +1100 Stephen Rothwell wrote: > > On Wed, 22 Feb 2017 13:41:19 +1100 Stephen Rothwell > wrote: > > > > After merging the scsi-mkp tree, today's linux-next build (powerpc > > ppc64_defconfig) failed like this: > > > > ERROR: ".nvme_fc_unregister_remotepor

[PATCH v5 4/5] ramoops: support multiple pmsg instances

2017-02-26 Thread Nobuhiro Iwamatsu
This enables ramoops to deal with multiple pmsg instances. A User can configure the size of each buffers by its module parameter as follows. pmsg_size=0x1000,0x2000,... Then, the ramoops allocates multiple buffers and tells the number of buffers to pstore to create multiple /dev/pmsg[ID]. Sign

[PATCH v5 3/5] pstore: support multiple pmsg instances

2017-02-26 Thread Nobuhiro Iwamatsu
From: Hiraku Toyooka This enables pmsg to deal with multiple instances. One possible use is content priority control on limited persistent store space. By using different buffers, we can prevent important messages from being overwritten by less important messages. When pstore backend module spec

[PATCH v5 1/5] pstore: Change parameter of ramoops_free_przs()

2017-02-26 Thread Nobuhiro Iwamatsu
This commit changes parameter of ramoops_free_przs() from struct ramoops_context * into struct persistent_ram_zone * in order to make it available for all prz array. Signed-off-by: Nobuhiro Iwamatsu Signed-off-by: Hiraku Toyooka Cc: Anton Vorontsov Cc: Colin Cross Cc: Kees Cook Cc: Mark Salyz

[PATCH 30/34] staging: lustre: lnet: change lnet_event_kind_t to proper enum

2017-02-26 Thread James Simmons
Change lnet_event_kind_t from typedef to proper enum. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- drivers/staging/lustre/i

[PATCH 29/34] staging: lustre: lnet: change lnet_ins_pos_t to proper enum

2017-02-26 Thread James Simmons
Change lnet_ins_pos_t from typedef to proper enum. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- drivers/staging/lustre/incl

Re: [PATCH v4 00/23] drm/rockchip: MIPI fixes & improvements

2017-02-26 Thread Mark yao
On 2017年02月24日 20:54, John Keeping wrote: This version is mostly small changes in response to review comments from Sean and Chris, the details are in the individual patches. I decided to drop the final patch which adds support for MIPI read commands because I'm not using that feature now and I c

[PATCH 24/34] staging: lustre: lnet: change lnet_md_t to proper structure

2017-02-26 Thread James Simmons
Change lnet_md_t from typedef to proper structure. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- drivers/staging/lustre/incl

[PATCH 1/2] crypto: cbc - Propagate NEED_FALLBACK bit

2017-02-26 Thread Marcelo Henrique Cerri
When requesting a fallback algorithm, we should propagate the NEED_FALLBACK bit when search for the underlying algorithm. This will prevents drivers from allocating unnecessary fallbacks that are never called. For instance, currently the vmx-crypto driver will use the following chain of calls when

Re: [lkp-robot] [platform/x86] a869ab5dab: BUG:unable_to_handle_kernel

2017-02-26 Thread Ye Xiaolong
On 02/27, Jonathan Woithe wrote: >On Mon, Feb 27, 2017 at 09:04:14AM +0800, kernel test robot wrote: >> FYI, we noticed the following commit: >> >> commit: a869ab5dabf6ec5327a3b2bb366eccf80b207d76 ("platform/x86: >> fujitsu-laptop: only register backlight device if FUJ02B1 is present") >> git://g

Re: [PATCH v2 1/2] dt-bindings: arm: hisilicon: add bindings for hi3798cv200 SoC and Poplar board

2017-02-26 Thread Jiancheng Xue
Hi Andreas, On 2017/2/26 9:32, Andreas Färber wrote: > Am 22.02.2017 um 09:38 schrieb Jiancheng Xue: >> Add bindings for HiSilicon hi3798cv200 SoC and Poplar Board. >> >> Signed-off-by: Jiancheng Xue >> --- >> Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt | 4 >> 1 file chan

[PATCH 20/34] staging: lustre: lnet: change lnet_portal_t to proper structure

2017-02-26 Thread James Simmons
Change lnet_portal_t from typedef to proper structure. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- drivers/staging/lustre/

Re: [RFC][PATCH 07/10] orangefs: Use RCU for destroy_inode

2017-02-26 Thread Linus Torvalds
On Sun, Feb 26, 2017 at 4:34 PM, Mike Marshall wrote: > Since Orangefs uses ref-walk, not rcu-walk, this patch with call_rcu > has seemed weird to me. Even if orangefs never really allows RCU walking, the VFS layer will look up dentries - and look at their inodes - from RCU. It will then call int

[PATCH 02/34] staging: lustre: lnet: change lnet_handle_eq_t to proper struct

2017-02-26 Thread James Simmons
Change lnet_handle_eq_t from a typedef of another typedef into a proper stand alone structure. Create the inline functions LNetInvalidateEQHandle and LNetEQHandleIsInvalid to handle this new piece of data. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: O

[PATCH 14/34] staging: lustre: lnet: change lnet_rc_data_t to proper structure

2017-02-26 Thread James Simmons
Change lnet_rc_data_t from typedef to proper structure. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- drivers/staging/lustre

[PATCH 04/34] staging: lustre: lnet: change lnet_handle_me_t to proper struct

2017-02-26 Thread James Simmons
Change lnet_handle_me_t from a typedef of another typedef into a proper stand alone structure. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: Jam

[PATCH 03/34] staging: lustre: lnet: change lnet_handle_md_t to proper struct

2017-02-26 Thread James Simmons
Change lnet_handle_md_t from a typedef of another typedef into a proper stand alone structure. Create the inline functions LNetInvalidateMDHandle and LNetMDHandleIsInvalid to handle this new piece of data. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: O

[PATCH 34/34] staging: lustre: lnet: use struct bio_vec instead of typedef

2017-02-26 Thread James Simmons
Kill off lnet_kiov_t and use struct bio_vec directly. Signed-off-by: James Simmons --- drivers/staging/lustre/include/linux/lnet/lib-lnet.h| 8 drivers/staging/lustre/include/linux/lnet/lib-types.h | 6 +++--- drivers/staging/lustre/include/linux/lnet/types.h | 7 +++

[PATCH 32/34] staging: lustre: lnet: remove LNET_SEQ_BASETYPE

2017-02-26 Thread James Simmons
The lnet_seq_t is a simple unsigned long so lets simplify it. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- drivers/staging/

[PATCH 33/34] staging: lustre: lnet: remove unused lnet_md_iovec_t

2017-02-26 Thread James Simmons
The typedef lnet_md_iovec_t is never used so kill it off. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- drivers/staging/lust

Re: [lkp-robot] [platform/x86] a869ab5dab: BUG:unable_to_handle_kernel

2017-02-26 Thread Jonathan Woithe
On Mon, Feb 27, 2017 at 09:04:14AM +0800, kernel test robot wrote: > FYI, we noticed the following commit: > > commit: a869ab5dabf6ec5327a3b2bb366eccf80b207d76 ("platform/x86: > fujitsu-laptop: only register backlight device if FUJ02B1 is present") > git://git.infradead.org/users/dvhart/linux-pla

[PATCH 31/34] staging: lustre: lnet: change lnet_ack_req_t to proper enum

2017-02-26 Thread James Simmons
Change lnet_ack_req_t from typedef to proper enum. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- drivers/staging/lustre/incl

[lkp-robot] [x86/mm/ptdump] 243b72aae2: WARNING:at_arch/x86/mm/dump_pagetables.c:#note_page

2017-02-26 Thread kernel test robot
FYI, we noticed the following commit: commit: 243b72aae28ca1032284028323bb81c9235b15c9 ("x86/mm/ptdump: Optimize check for W+X mappings for CONFIG_KASAN=y") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master in testcase: trinity with following parameters: runtime: 3

[PATCH 28/34] staging: lustre: lnet: change lnet_unlink_t to proper enum

2017-02-26 Thread James Simmons
Change lnet_unlink_t from typedef to proper enum. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- drivers/staging/lustre/inclu

[PATCH 27/34] staging: lustre: lnet: change lnet_msg_type_t to proper enum

2017-02-26 Thread James Simmons
Change lnet_msg_type_t from typedef to proper enum. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- drivers/staging/lustre/inc

[lkp-robot] [platform/x86] 84c2f235ad: general_protection_fault:#[##]KASAN

2017-02-26 Thread kernel test robot
FYI, we noticed the following commit: commit: 84c2f235ad130cf59911fdd1970d297d28540d35 ("platform/x86: fujitsu-laptop: only register backlight device if FUJ02B1 is present") git://git.infradead.org/users/dvhart/linux-platform-drivers-x86.git testing in testcase: boot on test machine: qemu-syst

[PATCH 26/34] staging: lustre: lnet: change lnet_process_id_t to proper structure

2017-02-26 Thread James Simmons
Change lnet_process_id_t from typedef to proper structure. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- drivers/staging/lus

Re: [PATCH -next] ASoC: hdmi-codec: fix non static symbol warnings

2017-02-26 Thread Takashi Sakamoto
Hi, On Feb 6 2017 23:38, Wei Yongjun wrote: From: Wei Yongjun Fixes the following sparse warnings: sound/soc/codecs/hdmi-codec.c:34:1: warning: symbol 'hdmi_device_list' was not declared. Should it be static? sound/soc/codecs/hdmi-codec.c:80:33: warning: symbol 'hdmi_codec_stereo_chmaps' wa

[PATCH 2/2] crypto: ctr - Propagate NEED_FALLBACK bit

2017-02-26 Thread Marcelo Henrique Cerri
When requesting a fallback algorithm, we should propagate the NEED_FALLBACK bit when search for the underlying algorithm. This will prevents drivers from allocating unnecessary fallbacks that are never called. For instance, currently the vmx-crypto driver will use the following chain of calls when

[PATCH 0/2] Propagate fallback bit for cbc and ctr

2017-02-26 Thread Marcelo Henrique Cerri
Hi Herbert, These are similar changes for cbc and ctr as the one you did for xts. They rely on the helper function you created. I confirmed that for vmx-crypto those changes cause the driver to allocate "cbc(aes-generic)" and "ctr(aes-generic)" as fallbacks instead of "cbc(p8_aes)" and "ctr(p8_ae

[PATCH 23/34] staging: lustre: lnet: change lnet_counter_t to proper structure

2017-02-26 Thread James Simmons
Change lnet_counter_t from typedef to proper structure. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- drivers/staging/lustre

[PATCH 21/34] staging: lustre: lnet: change lnet_t to proper structure

2017-02-26 Thread James Simmons
Change lnet_t from typedef to proper structure. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- drivers/staging/lustre/include

[PATCH 19/34] staging: lustre: lnet: change lnet_rtrbuf_t to proper structure

2017-02-26 Thread James Simmons
Change lnet_rtrbuf_t from typedef to proper structure. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- drivers/staging/lustre/

[PATCH 18/34] staging: lustre: lnet: change lnet_rtrbufpool_t to proper structure

2017-02-26 Thread James Simmons
Change lnet_rtrbufpool_t from typedef to proper structure. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- drivers/staging/lus

[PATCH 17/34] staging: lustre: lnet: change lnet_remotenet_t to proper structure

2017-02-26 Thread James Simmons
Change lnet_remotenet_t from typedef to proper structure. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- .../staging/lustre/i

[PATCH 16/34] staging: lustre: lnet: change lnet_route_t to proper structure

2017-02-26 Thread James Simmons
Change lnet_route_t from typedef to proper structure. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- .../staging/lustre/inclu

[PATCH 15/34] staging: lustre: lnet: change lnet_peer_t to proper structure

2017-02-26 Thread James Simmons
Change lnet_peer_t from typedef to proper structure. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- .../staging/lustre/includ

[PATCH 13/34] staging: lustre: lnet: change lnet_ni_t to proper structure

2017-02-26 Thread James Simmons
Change lnet_ni_t from typedef to proper structure. Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/20831 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- .../staging/lustre/include/

  1   2   3   >