Re: [GIT PULL] kbuild post v4.9-rc1 fixes

2016-11-20 Thread Adam Borowski
On Fri, Nov 18, 2016 at 09:50:51PM +0100, Michal Marek wrote: > Hi Linus, > > Here are some regression fixes for kbuild: > - modversion support for exported asm symbols (Nick Piggin). The > affected architectures need separate patches adding asm-prototypes.h. As the pull request's comment says,

Re: [PATCH 1/2] kbuild: provide include/asm/asm-prototypes.h for ARM

2016-11-20 Thread Russell King - ARM Linux
On Sun, Nov 20, 2016 at 10:32:50AM -0800, Linus Torvalds wrote: > On Sun, Nov 20, 2016 at 5:21 AM, Russell King - ARM Linux > wrote: > > On Tue, Oct 25, 2016 at 07:32:00PM +1100, Nicholas Piggin wrote: > >> > >> Michal, what's your thoughts? If you merge my patch 2/2 and skip 1/2, it > >> should n

[PATCH v2 5/5] ARM: s5pv210_defconfig: Remove old MACHs

2016-11-20 Thread Krzysztof Kozlowski
Remove non-existing MACH symbols from S5PV210 defconfig. Signed-off-by: Krzysztof Kozlowski --- arch/arm/configs/s5pv210_defconfig | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/configs/s5pv210_defconfig b/arch/arm/configs/s5pv210_defconfig index fa989902236d..c51f0f02012b 1006

[RFT v2 0/5] ASoC: samsung: Minor cleanup for old machines

2016-11-20 Thread Krzysztof Kozlowski
Hi, Few patches removing dead code (machines not supported). Changes since v1: 1. Squash two smdk_wm8580 changes into patch #2. Now num_dai_links is always equal to two, so remove also SEC_PLAYBACK dai_link. (suggested by Lars-Peter Clausen). The second patch ([RFT v2 2/5] ASoC: samsu

[PATCH v2 3/5] ASoC: samsung: Enable COMPILE_TEST for SmartQ and WM8580

2016-11-20 Thread Krzysztof Kozlowski
The I2S sound drivers for SmartQ board and WM8580 codec can be compile tested to increase build coverage. Signed-off-by: Krzysztof Kozlowski --- sound/soc/samsung/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sound/soc/samsung/Kconfig b/sound/soc/samsung/Kconfi

[PATCH v2 1/5] ASoC: samsung: Remove non-existing MACH dependencies

2016-11-20 Thread Krzysztof Kozlowski
MACH_SMDKC100 was removed in commit b8529ec1c1b0 ("ARM: S5PC100: no more support S5PC100 SoC"). MACH_SMDKV210 and MACH_SMDKC110 in commit 28c8331d386 ("ARM: S5PV210: Remove support for board files"). Signed-off-by: Krzysztof Kozlowski --- sound/soc/samsung/Kconfig | 2 +- 1 file changed, 1 inser

[PATCH v2 4/5] ASoC: samsung: Enable COMPILE_TEST for entire Samsung ASoc

2016-11-20 Thread Krzysztof Kozlowski
Instead of build time, Samsung ASoC drivers have rather runtime dependency on Exynos or other Samsung platforms. For building they require Common Clock Framework. If it is provided they could be compile tested to increase build coverage. Signed-off-by: Krzysztof Kozlowski --- sound/soc/samsung

[RFT v2 2/5] ASoC: samsung: smdk_wm8580: Remove old platforms and drop mach-types usage

2016-11-20 Thread Krzysztof Kozlowski
MACH_SMDKC100, MACH_SMDKV210 and MACH_SMDKC110 are no longer supported so we can drop the dead code. After this the driver no longer differentiates between machines (S3C24xx machines are not supported by it) so there is no need to override I2S device id in cpu_dai_name and SEC_PLAYBACK dai_link ca

Re: [PATCH] x86/boot: Fail the boot if !M486 and CPUID is missing

2016-11-20 Thread Henrique de Moraes Holschuh
On Sun, 20 Nov 2016, Borislav Petkov wrote: > We will have set (or not) the X86_FEATURE_CPUID bit at > early_identify_cpu() time. Looking at the code, we do call sync_core() > pretty early. :-\ Hmm, watch out for the early microcode update driver for Intel processors should something get changed i

Re: [RFC PATCH v2 1/2] macb: Add 1588 support in Cadence GEM.

2016-11-20 Thread Richard Cochran
On Fri, Nov 18, 2016 at 03:21:51PM +0100, Andrei Pistirica wrote: > - Frequency adjustment is not directly supported by this IP. This statement still makes no sense. Doesn't the following text... > addend is the initial value ns increment and similarly addendesub. > The ppb (parts per billio

Re: Linux 4.9: Reported regressions as of Sunday, 2016-11-20

2016-11-20 Thread Adam Borowski
On Sun, Nov 20, 2016 at 04:09:51PM +0100, Thorsten Leemhuis wrote: > Hi! Here is my fourth regression report for Linux 4.9. > == Current regressions == > > Desc: builddeb: fix cross-building to arm64 producing host-arch debs > Repo: 16-11-04 https://www.spinics.net/lists/linux-kbuild/msg13635.htm

Re: [RFC PATCH v2 1/2] macb: Add 1588 support in Cadence GEM.

2016-11-20 Thread Richard Cochran
On Fri, Nov 18, 2016 at 03:21:51PM +0100, Andrei Pistirica wrote: > +#ifdef CONFIG_MACB_USE_HWSTAMP > +void macb_ptp_init(struct net_device *ndev); > +#else > +void macb_ptp_init(struct net_device *ndev) { } static inline ^^^ > +#endif > +void macb_ptp_init(struct net_device *ndev) > +{ > +

Re: [RFC PATCH v2 2/2] macb: Enable 1588 support in SAMA5D2 platform.

2016-11-20 Thread Richard Cochran
On Fri, Nov 18, 2016 at 03:21:52PM +0100, Andrei Pistirica wrote: > diff --git a/drivers/net/ethernet/cadence/macb.c > b/drivers/net/ethernet/cadence/macb.c > index d975882..eb66b76 100644 > --- a/drivers/net/ethernet/cadence/macb.c > +++ b/drivers/net/ethernet/cadence/macb.c > @@ -697,6 +697,8 @@

Re: Consulta

2016-11-20 Thread Jose Ricardo
3% OFERTA DE PRESTAMO. APLICA AHORA Dejame saber la cantidad que necesita y en cuantos anos o cuanto puede pagar mensualmente? Atte.

Re: [HMM v13 16/18] mm/hmm/migrate: new memory migration helper for use with device memory

2016-11-20 Thread Jerome Glisse
On Sun, Nov 20, 2016 at 11:51:48PM +0530, Aneesh Kumar K.V wrote: > Jerome Glisse writes: > > . > > >> > + > >> > +*pfns = hmm_pfn_from_pfn(pfn) | HMM_PFN_MIGRATE | flags; > >> > +*pfns |= write ? HMM_PFN_WRITE : 0; > >> > +migrate->npages++; >

Re: [05/20] hwmon/via-cputemp: Remove pointless CPU check on each CPU

2016-11-20 Thread Sebastian Andrzej Siewior
On 2016-11-19 19:53:21 [-0800], Guenter Roeck wrote: > Problem is that I have no idea if any of the patches in this series really > work. > I wasn't copied on all patches, meaning I don't have the infrastructure, > meaning > I'll have to dig them up from patchwork for testing, and/or figure out i

Re: [PATCH] audit: skip sessionid sentinel value when auto-incrementing

2016-11-20 Thread Paul Moore
On Thu, Nov 17, 2016 at 9:27 PM, Richard Guy Briggs wrote: > On 2016-11-17 18:34, Paul Moore wrote: >> On Tue, Nov 15, 2016 at 3:49 AM, Richard Guy Briggs wrote: >> > On 2016-11-14 15:17, Paul Moore wrote: >> >> On Thu, Nov 10, 2016 at 1:41 AM, Richard Guy Briggs >> >> wrote: >> >> > The value

Re: [PATCH v2] staging: skein: threefish_block.c Remove blank lines

2016-11-20 Thread Jason Cooper
Hi Walt, > On Nov 19, 2016, at 11:54, Walt Feasel wrote: > > Make suggested checkpatch modification for > > CHECK: Please don't use multiple blank lines > > Signed-off-by: Walt Feasel I Acked the previous version, so you should place that above your S-o-b when submitting a new version. If n

collect2: error: ld returned 1 exit status

2016-11-20 Thread kbuild test robot
Hi Linus, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 77079b133f242d3e3710c9b89ed54458307e54ff commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM date: 3 months ago config: um-al

Re: [PATCH] x86/boot: Fail the boot if !M486 and CPUID is missing

2016-11-20 Thread Borislav Petkov
On Sun, Nov 20, 2016 at 05:34:43PM -0200, Henrique de Moraes Holschuh wrote: > On Sun, 20 Nov 2016, Borislav Petkov wrote: > > We will have set (or not) the X86_FEATURE_CPUID bit at > > early_identify_cpu() time. Looking at the code, we do call sync_core() > > pretty early. :-\ > > Hmm, watch out

Re: logfs: GPF in logfs_alloc_inode

2016-11-20 Thread Richard Weinberger
On Sun, Nov 20, 2016 at 10:57 AM, Dmitry Vyukov wrote: > On Fri, Nov 18, 2016 at 7:54 PM, Dmitry Vyukov wrote: >> On Fri, Nov 18, 2016 at 7:45 PM, Omar Sandoval wrote: >>> On Fri, Nov 18, 2016 at 11:09:54AM +0100, Dmitry Vyukov wrote: Hello, The following program triggers GPF in l

[PATCH v3] staging: skein: threefish_block.c Remove blank lines

2016-11-20 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: Please don't use multiple blank lines Acked-by: Jason Cooper --- v3 adds previously missed ack and --to email for Jason v2 makes changes to correct for email format patch submission drivers/staging/skein/threefish_block.c | 16

[PATCH] printk: Add Kconfig option to set default console loglevel

2016-11-20 Thread Olof Johansson
Add a configuration option to set the default console loglevel. This is, as before, still possible to override at runtime through bootargs (loglevel=), sysrq and /proc/printk. There are cases where adding additional arguments on the commandline is impractical, and changing the default for the kern

[PATCH 1/5] usb: dwc2: Do not set host parameter in peripheral mode

2016-11-20 Thread Stefan Wahren
Since commit "usb: dwc2: Improve handling of host and device hwparams" the host mode specific hardware parameter aren't initialized in peripheral mode from the register settings anymore. So we better do not set them in this case which avoids the following warnings on bcm2835: 256 invalid for hos

[PATCH 4/5] usb: dwc2: gadget: fix default value for gadget-dma-desc

2016-11-20 Thread Stefan Wahren
The current default for gadget DMA descriptor results on bcm2835 in a unnecessary error message: Invalid value 1 for param gadget-dma-desc So fix this by using hw->dma_desc_enable as default value. Fixes: dec4b55677e ("usb: dwc2: gadget: Add descriptor DMA parameter") Signed-off-by: Stefan Wah

[PATCH 3/5] usb: dwc2: fix default value for DMA support

2016-11-20 Thread Stefan Wahren
The current defaults for DMA results on a non-DMA platform in a unnecessary error message: Invalid value 0 for param gadget-dma So fix this by using dma_capable as default value. Fixes: 9962b62f1be ("usb: dwc2: Deprecate g-use-dma binding") Signed-off-by: Stefan Wahren --- drivers/usb/dwc2/p

[PATCH 0/5] usb: dwc2: fix parameter handling

2016-11-20 Thread Stefan Wahren
This patch series fixes several parameter handling issues found on bcm2835 in gadget mode. It's based on Felipe's USB next. Stefan Wahren (5): usb: dwc2: Do not set host parameter in peripheral mode usb: dwc2: fix dwc2_get_device_property for u8 and u16 usb: dwc2: fix default value for DMA s

[PATCH 2/5] usb: dwc2: fix dwc2_get_device_property for u8 and u16

2016-11-20 Thread Stefan Wahren
According to the Devicetree ePAPR [1] the datatypes u8 and u16 are not defined. So using device_property_read_u16() would result in a partial read of a 32-bit big-endian integer which is not intended. So we better read the complete 32-bit value. This fixes a regression on bcm2835 where the values f

[PATCH 5/5] usb: dwc2: fix kernel-doc for dwc2_set_param

2016-11-20 Thread Stefan Wahren
Since there is no parameter @value replace it with @legacy. Fixes: 05ee799f202 ("usb: dwc2: Move gadget settings into core_params") Signed-off-by: Stefan Wahren --- drivers/usb/dwc2/params.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc2/params.c b/driver

Re: [PATCH 2/3] rtc: sparc: make starfire explicitly non-modular

2016-11-20 Thread David Miller
From: Paul Gortmaker Date: Mon, 31 Oct 2016 14:55:26 -0400 > The Kconfig currently controlling compilation of this code is: > > drivers/rtc/Kconfig:config RTC_DRV_STARFIRE > drivers/rtc/Kconfig:bool "Starfire RTC" > > ...meaning that it currently is not being built as a module by anyone. >

Re: [PATCH 3/3] rtc: sparc: make sun4v explicitly non-modular

2016-11-20 Thread David Miller
From: Paul Gortmaker Date: Mon, 31 Oct 2016 14:55:27 -0400 > The Kconfig currently controlling compilation of this code is: > > drivers/rtc/Kconfig:config RTC_DRV_SUN4V > drivers/rtc/Kconfig:bool "SUN4V Hypervisor RTC" > > ...meaning that it currently is not being built as a module by anyon

Re: [PATCH 2/3] rtc: sparc: make starfire explicitly non-modular

2016-11-20 Thread Alexandre Belloni
Hi Dave, I already carry both patches in my tree but I would gladly add an ack. On 20/11/2016 at 16:29:19 -0500, David Miller wrote : > From: Paul Gortmaker > Date: Mon, 31 Oct 2016 14:55:26 -0400 > > > The Kconfig currently controlling compilation of this code is: > > > > drivers/rtc/Kconfig:

Re: [PATCH v2] sparc64: Multi-page size support

2016-11-20 Thread David Miller
From: Nitin Gupta Date: Wed, 12 Oct 2016 15:58:11 -0700 > @@ -117,26 +117,11 @@ tsb_miss_page_table_walk_sun4v_fastpath: > /* Valid PTE is now in %g5. */ > > #if defined(CONFIG_HUGETLB_PAGE) || defined(CONFIG_TRANSPARENT_HUGEPAGE) > -661: sethi %uhi(_PAGE_SZALL_4U), %g7 > +661

[PATCH v5 1/2] console: Move scrollback data into its own struct

2016-11-20 Thread Manuel Schölling
This refactoring is in preparation for persistent scrollback support for VGA console. Signed-off-by: Manuel Schölling --- drivers/video/console/vgacon.c | 91 ++ 1 file changed, 47 insertions(+), 44 deletions(-) diff --git a/drivers/video/console/vgacon.c

[PATCH v5 0/2] console: Add persistent scrollback buffers for all VGA console

2016-11-20 Thread Manuel Schölling
Changes in v5: - Clearify documentation - Skip superfluous array initialization - Disable scrollback if buffer allocation fails - Refactor vgacon_switch_scrollback() - Rename vgacon_switch_scrollback() to vgacon_scrollback_switch() - Add check for fg_console in vgacon_scrollback_update

[PATCH v5 2/2] console: Add persistent scrollback buffers for all VGA consoles

2016-11-20 Thread Manuel Schölling
Add a scrollback buffers for each VGA console. The benefit is that the scrollback history is not flushed when switching between consoles but is persistent. The buffers are allocated on demand when a new console is opened. This breaks tools like clear_console that rely on flushing the scrollback hi

Re: [PATCH] mtd: maps: add missing iounmap() in error path

2016-11-20 Thread Marek Vasut
On 11/16/2016 11:50 PM, Luis Henriques wrote: > This patch was triggered by the following Coccinelle error: > > ./drivers/mtd/maps/sc520cdp.c:246:3-9: \ > ERROR: missing iounmap; ioremap on line 242 \ > and execution via conditional on line 244 > > Signed-off-by: Luis Henriques Revi

Re: [PATCH V3 0/3] Add support for session ID user filtering

2016-11-20 Thread Paul Moore
On Thu, Aug 18, 2016 at 1:43 PM, Richard Guy Briggs wrote: > https://github.com/linux-audit/audit-kernel/wiki/RFE-Session-ID-User-Filter > RFE Session ID User Filter > > https://github.com/linux-audit/audit-kernel/issues/4 > RFE: add a session ID filter to the kernel's user filter > > See also the

Linux 4.9-rc6

2016-11-20 Thread Linus Torvalds
We're getting further in the rc series, and while things have stayed pretty calm, I'm not sure if we're quite there yet. There's a few outstanding issues that just shouldn't be issues at rc6 time, so we'll just have to see. This may be one of those releases that have an rc8, which considering the s

Re: [PATCH v5 2/2] console: Add persistent scrollback buffers for all VGA consoles

2016-11-20 Thread kbuild test robot
Hi Manuel, [auto build test ERROR on linus/master] [also build test ERROR on v4.9-rc6 next-20161117] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Manuel-Sch-lling/console-Move-scrollback-data-

Re: [04/20] hwmon/coretemp: Convert to hotplug state machine

2016-11-20 Thread Guenter Roeck
On Thu, Nov 17, 2016 at 07:35:25PM +0100, Sebastian Andrzej Siewior wrote: > Install the callbacks via the state machine. Setup and teardown are handled > by the hotplug core. > > Cc: Fenghua Yu > Cc: Jean Delvare > Cc: Guenter Roeck > Cc: linux-hw...@vger.kernel.org > Signed-off-by: Sebastian

Re: Linux 4.9-rc6

2016-11-20 Thread Eric Dumazet
On Sun, 2016-11-20 at 14:05 -0800, Linus Torvalds wrote: > That said, nothing particular is bothering me all that much, but we've > had some of the VMALLOC_STACK fixups continue to trickle in, so I > worry that we're not quite done there yet. And let's see what > Thorsten's regression list looks l

Re: [RFC PATCH v3 10/20] Add support to access boot related data in the clear

2016-11-20 Thread Borislav Petkov
On Sat, Nov 19, 2016 at 12:33:49PM -0600, Tom Lendacky wrote: > >> +{ > >> + /* SME is not active, just return true */ > >> + if (!sme_me_mask) > >> + return true; > > > > I don't understand the logic here: SME is not active -> apply encryption?! > > It does seem counter-intuitive, but

Re: Linux 4.9-rc6

2016-11-20 Thread Linus Torvalds
On Sun, Nov 20, 2016 at 2:27 PM, Eric Dumazet wrote: > > Hosts with ~100,000 threads have an issue with /prov/vmallocinfo > > It can take about 800 usec to skip over ~100,000 struct vmap_area > in s_start(), while holding vmap_area_lock spinlock, and therefore > blocking fork()/pthread_create(). >

[PATCH v2] mm: support anonymous stable page

2016-11-20 Thread Minchan Kim
On Fri, Nov 18, 2016 at 01:26:59PM -0800, Hugh Dickins wrote: > On Fri, 18 Nov 2016, Minchan Kim wrote: > > On Thu, Nov 17, 2016 at 08:35:10PM -0800, Hugh Dickins wrote: > > > > > > Maybe add SWP_STABLE_WRITES in include/linux/swap.h, and set that > > > in swap_info->flags according to bdi_cap_sta

[PATCH] openrisc: prevent VGA console, fix builds

2016-11-20 Thread Randy Dunlap
From: Randy Dunlap OpenRISC does not support VGA console, so prevent that kconfig symbol from being enabled for OpenRISC, thus fixing these build errors: drivers/built-in.o: In function `vgacon_save_screen': vgacon.c:(.text+0x20e0): undefined reference to `screen_info' vgacon.c:(.text+0

Re: logfs: GPF in logfs_alloc_inode

2016-11-20 Thread Omar Sandoval
On Sun, Nov 20, 2016 at 10:05:16PM +0100, Richard Weinberger wrote: > On Sun, Nov 20, 2016 at 10:57 AM, Dmitry Vyukov wrote: > > On Fri, Nov 18, 2016 at 7:54 PM, Dmitry Vyukov wrote: > >> On Fri, Nov 18, 2016 at 7:45 PM, Omar Sandoval wrote: > >>> On Fri, Nov 18, 2016 at 11:09:54AM +0100, Dmitry

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2016-11-20 Thread Paul E. McKenney
On Sat, Nov 19, 2016 at 12:22:09AM -0800, Paul E. McKenney wrote: > On Sat, Nov 19, 2016 at 03:50:32PM +0800, Ding Tianhong wrote: > > > > > > On 2016/11/18 21:01, Paul E. McKenney wrote: > > > On Fri, Nov 18, 2016 at 08:40:09PM +0800, Ding Tianhong wrote: > > >> The commit bedc196915 ("rcu: Fix

Re: [HMM v13 01/18] mm/memory/hotplug: convert device parameter bool to set of flags

2016-11-20 Thread Balbir Singh
On 19/11/16 05:18, Jérôme Glisse wrote: > Only usefull for arch where we support ZONE_DEVICE and where we want to > also support un-addressable device memory. We need struct page for such > un-addressable memory. But we should avoid populating the kernel linear > mapping for the physical address

[BUG] msr-trace.h:42 suspicious rcu_dereference_check() usage!

2016-11-20 Thread Jiri Olsa
hi, Jan hit following output when msr tracepoints are enabled on amd server: [ 91.585653] === [ 91.589840] [ INFO: suspicious RCU usage. ] [ 91.594025] 4.9.0-rc1+ #1 Not tainted [ 91.597691] --- [ 91.601877] ./arch/x86/include/asm/m

lånetilbud

2016-11-20 Thread UK CREDIT LTD LOAN
Hilsener Sir / Madam:     Jeg er Dr. Peter Ibrahim fra private lån selskapet UK CREDIT LTD lån, som ligger i Storbritannia. Vi tilbyr alle typer lån til enkeltpersoner og bedrifter, Gjør deg selv økonomisk stabil ved å skaffe et lån fra UK CREDIT LTD LÅN 3% rente så kort og Langsiktige lån, corp

Re: [BUG 4.4.26] bio->bi_bdev == NULL in raid6 return_io()

2016-11-20 Thread NeilBrown
On Sun, Nov 20 2016, Konstantin Khlebnikov wrote: > On 07.11.2016 23:34, Konstantin Khlebnikov wrote: >> On Mon, Nov 7, 2016 at 10:46 PM, Shaohua Li wrote: >>> On Sat, Nov 05, 2016 at 01:48:45PM +0300, Konstantin Khlebnikov wrote: return_io() resolves request_queue even if trace point isn't

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2016-11-20 Thread Ding Tianhong
On 2016/11/21 8:13, Paul E. McKenney wrote: > On Sat, Nov 19, 2016 at 12:22:09AM -0800, Paul E. McKenney wrote: >> On Sat, Nov 19, 2016 at 03:50:32PM +0800, Ding Tianhong wrote: >>> >>> >>> On 2016/11/18 21:01, Paul E. McKenney wrote: On Fri, Nov 18, 2016 at 08:40:09PM +0800, Ding Tianhong w

Re: Linux 4.9-rc6

2016-11-20 Thread Al Viro
On Sun, Nov 20, 2016 at 03:27:07PM -0800, Linus Torvalds wrote: > On Sun, Nov 20, 2016 at 2:27 PM, Eric Dumazet wrote: > > > > Hosts with ~100,000 threads have an issue with /prov/vmallocinfo > > > > It can take about 800 usec to skip over ~100,000 struct vmap_area > > in s_start(), while holding

RE: question about sound/soc/intel/boards/mfld_machine.c

2016-11-20 Thread Jie, Yang
> -Original Message- > From: Julia Lawall [mailto:julia.law...@lip6.fr] > Sent: Sunday, November 20, 2016 1:34 AM > To: lgirdw...@gmail.com; broo...@kernel.org; pe...@perex.cz; > ti...@suse.com; Jie, Yang > Cc: alsa-de...@alsa-project.org; linux-kernel@vger.kernel.org > Subject: question a

Re: [HMM v13 04/18] mm/ZONE_DEVICE/free-page: callback when page is freed

2016-11-20 Thread Balbir Singh
On 19/11/16 05:18, Jérôme Glisse wrote: > When a ZONE_DEVICE page refcount reach 1 it means it is free and nobody > is holding a reference on it (only device to which the memory belong do). > Add a callback and call it when that happen so device driver can implement > their own free page manageme

Re: [HMM v13 06/18] mm/ZONE_DEVICE/unaddressable: add special swap for unaddressable

2016-11-20 Thread Balbir Singh
On 19/11/16 05:18, Jérôme Glisse wrote: > To allow use of device un-addressable memory inside a process add a > special swap type. Also add a new callback to handle page fault on > such entry. > > Signed-off-by: Jérôme Glisse > Cc: Dan Williams > Cc: Ross Zwisler > --- > fs/proc/task_mmu.c

[PATCH] ACPI: Override rev for DELL Latitude 3350

2016-11-20 Thread AceLan Kao
The ethernet network fails to work on DELL Latitude 3350 after this commit ea7d521 Revert 'Revert "ACPICA: Permanently set _REV to the value '2'."' dmesg shows r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded r8169 :03:00.0: can't disable ASPM; OS doesn't have ASPM control pci :

Re: [HMM v13 07/18] mm/ZONE_DEVICE/x86: add support for un-addressable device memory

2016-11-20 Thread Balbir Singh
On 19/11/16 05:18, Jérôme Glisse wrote: > It does not need much, just skip populating kernel linear mapping > for range of un-addressable device memory (it is pick so that there > is no physical memory resource overlapping it). All the logic is in > share mm code. > > Only support x86-64 as this

Re: vmalloced stacks and scatterwalk_map_and_copy()

2016-11-20 Thread Andy Lutomirski
[Adding Thorsten to help keep this from getting lost] On Thu, Nov 3, 2016 at 1:30 PM, Andy Lutomirski wrote: > On Thu, Nov 3, 2016 at 11:16 AM, Eric Biggers wrote: >> Hello, >> >> I hit the BUG_ON() in arch/x86/mm/physaddr.c:26 while testing some crypto >> code >> in an x86_64 kernel with CONFI

Re: [PATCH V8 3/3] stm: Mark the functions of writing buffer with notrace

2016-11-20 Thread Chunyan Zhang
On 18 November 2016 at 22:45, Alexander Shishkin wrote: > Chunyan Zhang writes: > >> If CONFIG_STM_SOURCE_FTRACE is selected, Function trace data can be writen >> to sink via STM, all functions that related to writing data packets to >> STM should be marked 'notrace' to avoid being traced by Ftra

Re: [HMM v13 08/18] mm/hmm: heterogeneous memory management (HMM for short)

2016-11-20 Thread Balbir Singh
On 19/11/16 05:18, Jérôme Glisse wrote: > HMM provides 3 separate functionality : > - Mirroring: synchronize CPU page table and device page table > - Device memory: allocating struct page for device memory > - Migration: migrating regular memory to device memory > > This patch introd

[PATCH v2.1 7/9] arm64: dts: rockchip: add pd_edp node for rk3399

2016-11-20 Thread Caesar Wang
From: zhangqing This patch adds the below pd_edp information for rk3399. 1. add pd_edp node for RK3399 SoC 2. add the pd support for edp Signed-off-by: Elaine Zhang Signed-off-by: Caesar Wang Reviewed-by: Doug Anderson --- Changes in v2.1: (Hope the v3 will fix the display stuff with upstrea

Re: [PATCHv0 1/1] fbdev: add Intel FPGA FRAME BUFFER driver

2016-11-20 Thread Ong, Hean Loong
On Fri, 2016-11-18 at 12:56 -0600, Rob Herring wrote: > On Fri, Nov 18, 2016 at 8:15 AM, One Thousand Gnomes > wrote: > > > > > > > > AIUI, we're not taking new FB drivers. This should be a DRM > > > driver > > > instead. > > Yes - clone one of the dumb DRM drivers, or if you've got any > > litt

Re: [PATCH v3 10/10] ARM: dts: da850: add usb device node

2016-11-20 Thread David Lechner
On 11/07/2016 02:39 PM, Axel Haslam wrote: This adds the ohci device node for the da850 soc. It also enables it for the omapl138 hawk board. Signed-off-by: Axel Haslam --- arch/arm/boot/dts/da850-lcdk.dts | 8 arch/arm/boot/dts/da850.dtsi | 8 2 files changed, 16 insertio

Re: [HMM v13 09/18] mm/hmm/mirror: mirror process address space on device with HMM helpers

2016-11-20 Thread Balbir Singh
On 19/11/16 05:18, Jérôme Glisse wrote: > This is a heterogeneous memory management (HMM) process address space > mirroring. In a nutshell this provide an API to mirror process address > space on a device. This boils down to keeping CPU and device page table > synchronize (we assume that both dev

Re: [PATCH v2 3/9] arm64: dts: rockchip: add VOP and VOP iommu node for rk3399

2016-11-20 Thread Caesar Wang
在 2016年11月15日 00:05, Heiko Stuebner 写道: Am Mittwoch, 9. November 2016, 21:21:55 CET schrieb Caesar Wang: From: Mark Yao Add the core display-subsystem node and the two display controllers available on the rk3399. Signed-off-by: Mark Yao Signed-off-by: Yakir Yang Signed-off-by: Caesar Wang

Re: [PATCH] reset: hisilicon: add a polarity cell for reset line specifier

2016-11-20 Thread Jiancheng Xue
Hi Philipp, On 2016/11/16 11:17, Jiancheng Xue wrote: > Hi Philipp, > > On 2016/11/15 18:43, Philipp Zabel wrote: >> Hi Jiancheng, >> >> Am Dienstag, den 15.11.2016, 15:09 +0800 schrieb Jiancheng Xue: >>> Add a polarity cell for reset line specifier. If the reset line >>> is asserted when the reg

Re: [RFC] timekeeping: Use cached readouts for monotonic and raw clocks in suspend

2016-11-20 Thread joelaf
Hi Thomas, On 11/20/2016 05:24 AM, Thomas Gleixner wrote: On Sat, 19 Nov 2016, Joel Fernandes wrote: I am planning to add boot clock as a trace clock that can account suspend time during tracing, however ktime_get_with_offset throws a warning as the clocksource is attempted to be accessed in s

Re: [kbuild-all] [Patch v6.1] x86/kvm: Add AVX512_4VNNIW and AVX512_4FMAPS support

2016-11-20 Thread Ye Xiaolong
On 11/15, He Chen wrote: >On Tue, Nov 15, 2016 at 04:24:39AM +0800, kbuild test robot wrote: >> Hi He, >> >> [auto build test ERROR on kvm/linux-next] >> [also build test ERROR on v4.9-rc5] >> [cannot apply to next-20161114] >> [if your patch is applied to the wrong git tree, please drop us a note

Re: [PATCH V8 1/3] tracing: add a possibility of exporting function trace to other places instead of ring buffer only

2016-11-20 Thread Chunyan Zhang
On 19 November 2016 at 00:45, Steven Rostedt wrote: > On Fri, 18 Nov 2016 16:57:53 +0200 > Alexander Shishkin wrote: > >> Steven Rostedt writes: >> >> > This looks good to me, although I would like this to go through my tree >> > (to make sure it gets all my testing). I understand the next two >

Re: [HMM v13 16/18] mm/hmm/migrate: new memory migration helper for use with device memory

2016-11-20 Thread Balbir Singh
On 19/11/16 05:18, Jérôme Glisse wrote: > This patch add a new memory migration helpers, which migrate memory adds helper migrates > backing a range of virtual address of a process to different memory > (which can be allocated through special allocator).

[PATCH - v2] block: call trace_block_split() from bio_split()

2016-11-20 Thread NeilBrown
Somewhere around Commit: 20d0189b1012 ("block: Introduce new bio_split()") and Commit: 4b1faf931650 ("block: Kill bio_pair_split()") in 3.14 we lost the call to trace_block_split() from bio_split(). Commit: cda22646adaa ("block: add call to split trace point") in 4.5 added it back for blk_queue

Re: [PATCH v2] cpufreq: Avoid using inactive policies

2016-11-20 Thread Viresh Kumar
On 18-11-16, 13:40, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > There are two places in the cpufreq core in which low-level driver > callbacks may be invoked for an inactive cpufreq policy, which isn't > guaranteed to work in general. Both are due to possible races with > CPU offline.

Re: [PATCH 0/2] ACPI / processor / cpufreq: Function return value cleanups

2016-11-20 Thread Viresh Kumar
On 18-11-16, 13:57, Rafael J. Wysocki wrote: > Hi, > > Two cleanups related to unused function return values, [1/2] in > processor_perflib.c > and [2/2] in cpufreq.c. Acked-by: Viresh Kumar -- viresh

Re: [PATCH] thermal/powerclamp: add back module device table

2016-11-20 Thread Zhang Rui
On Thu, 2016-11-17 at 11:42 -0800, Jacob Pan wrote: > On Tue, 15 Nov 2016 08:03:32 +0100 > Greg Kroah-Hartman wrote: > > > > > On Mon, Nov 14, 2016 at 11:08:45AM -0800, Jacob Pan wrote: > > > > > > Commit 3105f234e0aba43e44e277c20f9b32ee8add43d4 replaced module > > > cpu id table with a cpu fea

RE: [PATCH v11 1/6] drivers/platform/x86/p2sb: New Primary to Sideband bridge support driver for Intel SOC's

2016-11-20 Thread Tan, Jui Nee
> -Original Message- > From: Andy Shevchenko [mailto:andriy.shevche...@linux.intel.com] > Sent: Friday, November 18, 2016 7:22 PM > To: Tan, Jui Nee ; mika.westerb...@linux.intel.com; > heikki.kroge...@linux.intel.com; t...@linutronix.de; dvh...@infradead.org; > mi...@redhat.com; h...@zyt

Re: [RFC][PATCH 7/7] kref: Implement using refcount_t

2016-11-20 Thread Boqun Feng
On Fri, Nov 18, 2016 at 05:06:55PM +, Will Deacon wrote: > On Fri, Nov 18, 2016 at 12:37:18PM +0100, Peter Zijlstra wrote: > > On Fri, Nov 18, 2016 at 10:07:26AM +, Reshetova, Elena wrote: > > > > > > Peter do you have the changes to the refcount_t interface compare to > > > the version in

Re: [PATCH]: staging: Greybus: Remove unnecessary braces for single statement block

2016-11-20 Thread Viresh Kumar
On Fri, Nov 18, 2016 at 8:45 PM, Rahul Krishnan wrote: > This patch fixes the following checkpath.pl warning > WARNING: braces {} are not necessary for single statement blocks > > > Signed-off-by: Rahul Krishnan > --- > drivers/staging/greybus/sdio.c | 3 +-- > 1 file changed, 1 insertion(+), 2

[PATCH v2 1/2] dmaengine: dma_slave_config: add support for slave port window

2016-11-20 Thread Peter Ujfalusi
Some slave devices uses address window instead of single register for read and/or write of data. With the src/dst_port_window_size the address window can be specified and the DMAengine driver should use this information to correctly set up the transfer to loop within the provided window. Signed-of

[PATCH] ARM: davinci: Allocate spare interrupts

2016-11-20 Thread David Lechner
This allocates spare interrupts for mach-davinci. These extra interrupts are need for things like IIO triggers that define software interrupts. Signed-off-by: David Lechner --- arch/arm/mach-davinci/include/mach/irqs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/a

Re: [PATCH] mm: don't cap request size based on read-ahead setting

2016-11-20 Thread Hillf Danton
On Saturday, November 19, 2016 3:41 AM Jens Axboe wrote: > We ran into a funky issue, where someone doing 256K buffered reads saw > 128K requests at the device level. Turns out it is read-ahead capping > the request size, since we use 128K as the default setting. This doesn't > make a lot of sense

[PATCH] fsldma: t4240qds: drop "SG" CAP for DMA3

2016-11-20 Thread yanjiang.jin
From: Yanjiang Jin T4240QDS DMA controller uses the external DMA control signals to start or restart a paused DMA transfer, acknowledge a DMA transfer in progress and also indicates a transfer completion. "scatterlist copy" depends on these signals. But as "T4240 Reference Manual" shown: "The ex

Re: [HMM v13 01/18] mm/memory/hotplug: convert device parameter bool to set of flags

2016-11-20 Thread Jerome Glisse
On Mon, Nov 21, 2016 at 11:44:36AM +1100, Balbir Singh wrote: > > > On 19/11/16 05:18, Jérôme Glisse wrote: > > Only usefull for arch where we support ZONE_DEVICE and where we want to > > also support un-addressable device memory. We need struct page for such > > un-addressable memory. But we sho

[PATCH] powerpc: cputime: fix a compile warning

2016-11-20 Thread yanjiang.jin
From: Yanjiang Jin This patch is to avoid the below warning: kernel/sched/cpuacct.c:298:25: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'long unsigned int' [-Wformat=] Signed-off-by: Yanjiang Jin --- arch/powerpc/include/asm/cputime.h | 3 ++- 1 fi

Re: [HMM v13 04/18] mm/ZONE_DEVICE/free-page: callback when page is freed

2016-11-20 Thread Jerome Glisse
On Mon, Nov 21, 2016 at 12:49:55PM +1100, Balbir Singh wrote: > On 19/11/16 05:18, Jérôme Glisse wrote: > > When a ZONE_DEVICE page refcount reach 1 it means it is free and nobody > > is holding a reference on it (only device to which the memory belong do). > > Add a callback and call it when that

[PATCHv2] arm64: dts: exynos: add the mshc_2 node for supporting T-Flash

2016-11-20 Thread Jaehoon Chung
Add the mshc_2 node for supporting T-flash. And it needs to add the "mshc*" aliases. Because dwmmc driver should be assigned to "ctrl_id" after parsing to "mshc". If there is no aliases for mshc, then it might be set to the wrong capabilities. Signed-off-by: Jaehoon Chung --- Changelog on V2: -

Re: Linux 4.9-rc6

2016-11-20 Thread Eric Dumazet
On Mon, 2016-11-21 at 01:35 +, Al Viro wrote: > > Umm... One possibility would be something like fs/namespace.c:m_start() - > if nothing has changed since the last time, just use a cached pointer. > That has sped the damn thing (/proc/mounts et.al.) big way, but it's > dependent upon having

[PATCH] ext4: remove unused function ext4_aligned_io()

2016-11-20 Thread Ross Zwisler
The last user of ext4_aligned_io() was the DAX path in ext4_direct_IO_write(). This usage was removed by Jan Kara's patch entitled "ext4: Rip out DAX handling from direct IO path". Signed-off-by: Ross Zwisler --- fs/ext4/ext4.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/fs/ext4/e

Re: [HMM v13 06/18] mm/ZONE_DEVICE/unaddressable: add special swap for unaddressable

2016-11-20 Thread Jerome Glisse
On Mon, Nov 21, 2016 at 01:06:45PM +1100, Balbir Singh wrote: > > > On 19/11/16 05:18, Jérôme Glisse wrote: > > To allow use of device un-addressable memory inside a process add a > > special swap type. Also add a new callback to handle page fault on > > such entry. > > > > Signed-off-by: Jérôme

Re: [HMM v13 07/18] mm/ZONE_DEVICE/x86: add support for un-addressable device memory

2016-11-20 Thread Jerome Glisse
On Mon, Nov 21, 2016 at 01:08:56PM +1100, Balbir Singh wrote: > > > On 19/11/16 05:18, Jérôme Glisse wrote: > > It does not need much, just skip populating kernel linear mapping > > for range of un-addressable device memory (it is pick so that there > > is no physical memory resource overlapping

Re: [HMM v13 08/18] mm/hmm: heterogeneous memory management (HMM for short)

2016-11-20 Thread Jerome Glisse
On Mon, Nov 21, 2016 at 01:29:23PM +1100, Balbir Singh wrote: > On 19/11/16 05:18, Jérôme Glisse wrote: > > HMM provides 3 separate functionality : > > - Mirroring: synchronize CPU page table and device page table > > - Device memory: allocating struct page for device memory > > - Migra

RE: [PATCH] bfa: turn bfa_mem_{kva,dma}_setup into inline functions

2016-11-20 Thread Gurumurthy, Anil
Patch looks good. Acked by: Anil Gurumurthy -Original Message- From: Johannes Thumshirn [mailto:jthumsh...@suse.de] Sent: 18 November 2016 18:52 To: Arnd Bergmann Cc: James E.J. Bottomley ; Martin K. Petersen ; Anil Gurumurthy ; Sudarsana Kalluru ; linux-s...@vger.kernel.org; linux-

Re: [HMM v13 09/18] mm/hmm/mirror: mirror process address space on device with HMM helpers

2016-11-20 Thread Jerome Glisse
On Mon, Nov 21, 2016 at 01:42:43PM +1100, Balbir Singh wrote: > On 19/11/16 05:18, Jérôme Glisse wrote: [...] > > +/* > > + * hmm_mirror_register() - register a mirror against an mm > > + * > > + * @mirror: new mirror struct to register > > + * @mm: mm to register against > > + * > > + * To start

[PATCH v3] ARM: at91/dt: add dts file for sama5d36ek CMP board

2016-11-20 Thread Wenyou Yang
The sama5d36ek CMP board is the variant of sama5d3xek board. It is equipped with the low-power DDR2 SDRAM, PMIC ACT8865 and some power rail. Its main purpose is used to measure the power consumption. The difference of the sama5d36ek CMP dts from sama5d36ek dts is listed as below. 1. The USB host n

Re: Synopsys Ethernet QoS Driver

2016-11-20 Thread Rayagond Kokatanur
On Sat, Nov 19, 2016 at 7:26 PM, Rabin Vincent wrote: > On Fri, Nov 18, 2016 at 02:20:27PM +, Joao Pinto wrote: >> For now we are interesting in improving the synopsys QoS driver under >> /nect/ethernet/synopsys. For now the driver structure consists of a single >> file >> called dwc_eth_qos.

Re: [HMM v13 16/18] mm/hmm/migrate: new memory migration helper for use with device memory

2016-11-20 Thread Jerome Glisse
On Mon, Nov 21, 2016 at 02:30:46PM +1100, Balbir Singh wrote: > On 19/11/16 05:18, Jérôme Glisse wrote: [...] > > + > > + > > +#if defined(CONFIG_HMM) > > +struct hmm_migrate { > > + struct vm_area_struct *vma; > > + unsigned long start; > > + unsigned long end; > > +

[PATCH] staging/lustre: Use proper number of bytes in copy_from_user

2016-11-20 Thread Oleg Drokin
From: Jian Yu This patch removes the usage of MAX_STRING_SIZE from copy_from_user() and just copies enough bytes to cover count passed in. Signed-off-by: Jian Yu Reviewed-on: http://review.whamcloud.com/23462 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8774 Reviewed-by: John L. Hammond

Re: [PATCH 4.9.0-rc5] AR9300 calibration problems with antenna selected

2016-11-20 Thread miaoqing
I would prefer that you didn't submit this. I recently tried to select a single antenna on AR9300 and it works for 30 seconds only. The subsequent calibration makes the RX signal level to drop from the usual -30/-40 dBm to -70/-80 dBm, and the transmission practically stops. With the attached

Re: 'kbuild' merge before 4.9-rc1 breaks build and boot

2016-11-20 Thread Nicholas Piggin
On Sun, 20 Nov 2016 19:26:23 +0100 Peter Wu wrote: > Hi Nicholas, > > Current git master (v4.9-rc5-364-g77079b1) with the latest kbuild fixes > is still failing to load modules when built with CONFIG_MODVERSIONS=y on > x86_64 using GCC 6.2.1. > > It can still be reproduced with make defconfig,

<    1   2   3   >