[PATCH] usb: dwc3: gadget: Avoid race between dwc3 interrupt handler and irq thread handler

2016-12-26 Thread Baolin Wang
On some platfroms(like x86 platform), when one core is running the USB gadget irq thread handler by dwc3_thread_interrupt(), meanwhile another core also can respond other interrupts from dwc3 controller and modify the event buffer by dwc3_interrupt() function, that will cause getting the wrong even

drivers/built-in.o:undefined reference to `sys_fillrect'

2016-12-26 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7ce7d89f48834cefece7804d38fc5d85382edf77 commit: 8992da44c6805d53b920fe538992eae4afd6f22e auxdisplay: ht16k33: Driver for LED controller date: 7 weeks ago config: i386-randconfig-b0-12261424 (attached as .

Re: [RFC PATCH 4.10 0/6] Switch BPF's digest to SHA256

2016-12-26 Thread Herbert Xu
Andy Lutomirski wrote: > Since there are plenty of uses for the new-in-4.10 BPF digest feature > that would be problematic if malicious users could produce collisions, > the BPF digest should be collision-resistant. SHA-1 is no longer > considered collision-resistant, so switch it to SHA-256. >

Re: Linux 4.10-rc1

2016-12-26 Thread Hanjun Guo
Hi Linus, On 2016/12/26 8:41, Linus Torvalds wrote: > It's Christmas Day, and it's two weeks since the merge window opened. > Thus, the merge window is now closed. > > I did a few final pulls today, but I also rejected a couple of pulls > that came in late in the window and looked dodgy. You know

[Patch V7 2/4] irqchip/qeic: merge qeic init code from platforms to a common function

2016-12-26 Thread Zhao Qiang
The codes of qe_ic init from a variety of platforms are redundant, merge them to a common function and put it to irqchip/irq-qeic.c For non-p1021_mds mpc85xx_mds boards, use "qe_ic_init(np, 0, qe_ic_cascade_low_mpic, qe_ic_cascade_high_mpic);" instead of "qe_ic_init(np, 0, qe_ic_cascade_muxed_mpic

[Patch V7 3/4] irqchip/qeic: merge qeic_of_init into qe_ic_init

2016-12-26 Thread Zhao Qiang
qeic_of_init just get device_node of qeic from dtb and call qe_ic_init, pass the device_node to qe_ic_init. So merge qeic_of_init into qe_ic_init to get the qeic node in qe_ic_init. Signed-off-by: Zhao Qiang --- Changes for v2: - modify subject and commit msg - return 0 and add pu

[Patch V7 1/4] irqchip/qeic: move qeic driver from drivers/soc/fsl/qe

2016-12-26 Thread Zhao Qiang
move the driver from drivers/soc/fsl/qe to drivers/irqchip, merge qe_ic.h and qe_ic.c into irq-qeic.c. Signed-off-by: Zhao Qiang --- Changes for v2: - modify the subject and commit msg Changes for v3: - merge .h file to .c, rename it with irq-qeic.c Changes for v4: - modif

lkml.org issues

2016-12-26 Thread Nikita Yushchenko
Hi Is lkml.org supported? Currently: - [headers] link on top of pages does not show message headers, - [forward] link on top of pages is not functional - it requests text from captcha but does not show image. [forward] could be useful to get a list mail that one did not receive, to be able to

Re: [PATCH v5 00/14] ACPI platform MSI support and its example mbigen

2016-12-26 Thread majun (Euler7)
Hi Hanjun: This patch set works fine on my Hisilicon D05 board. Feel free to add Tested-by: Majun 在 2016/12/22 13:35, Hanjun Guo 写道: > From: Hanjun Guo > > v4 -> v5: > - Add mbigen support back with tested on with Agustin's patchset, > and it's a good example of ho

[Patch V7 4/4] irqchip/qeic: remove PPCisms for QEIC

2016-12-26 Thread Zhao Qiang
QEIC was supported on PowerPC, and dependent on PPC, Now it is supported on other platforms, so remove PPCisms. Signed-off-by: Zhao Qiang --- Changes for v6: - new added Changes for v7: - fix warning drivers/irqchip/irq-qeic.c | 34 -- include/soc

Re: [PATCH v5 13/14] irqchip: mbigen: introduce mbigen_of_create_domain()

2016-12-26 Thread majun (Euler7)
Hi hanjun: 在 2016/12/22 13:35, Hanjun Guo 写道: > From: Kefeng Wang > > Introduce mbigen_of_create_domain() to consolidate OF related > code and prepare for ACPI later, no funtional change. > > Signed-off-by: Kefeng Wang > Signed-off-by: Hanjun Guo > Cc: Marc Zyngier > Cc: Thomas Gleixner > C

Re: [PATCH v5 12/14] irqchip: mbigen: drop module owner

2016-12-26 Thread majun (Euler7)
Hi hanjun: 在 2016/12/22 13:35, Hanjun Guo 写道: > From: Kefeng Wang > > Module owner will be set by driver core, so drop it. > > Signed-off-by: Kefeng Wang > Signed-off-by: Hanjun Guo > Cc: Marc Zyngier > Cc: Thomas Gleixner > Cc: Ma Jun > --- > drivers/irqchip/irq-mbigen.c | 1 - > 1 file

Re: [PATCH v5 14/14] irqchip: mbigen: Add ACPI support

2016-12-26 Thread majun (Euler7)
Hi hanjun: 在 2016/12/22 13:35, Hanjun Guo 写道: > From: Hanjun Guo > > With the preparation of platform msi support and interrupt producer > in DSDT, we can add mbigen ACPI support now. > > We are using _PRS methd to indicate number of irq pins instead > of num_pins in DT to avoid _DSD usage in t

Re: [PATCH] PCI: exynos: refactor exynos pcie driver

2016-12-26 Thread Jaehoon Chung
Hi Pankaj, On 12/23/2016 07:56 PM, Pankaj Dubey wrote: > From: Niyas Ahmed S T > > Currently Exynos PCIe driver is only supported for Exynos5440 SoC. > This patch does refactoring of Exynos PCIe driver to extend support > for other Exynos SoC. > > Following are the main changes done via this pa

Re: [patch] mm, thp: always direct reclaim for MADV_HUGEPAGE even when deferred

2016-12-26 Thread Michal Hocko
On Fri 23-12-16 14:46:43, David Rientjes wrote: [...] > You want defrag=madvise to start doing background compaction for > everybody, which was never done before for existing users of > defrag=madvise? That might be possible, I don't really care, I just think > it's riskier because there are ex

Re: [PATCH] PCI: exynos: refactor exynos pcie driver

2016-12-26 Thread Jaehoon Chung
On 12/26/2016 06:02 PM, Jaehoon Chung wrote: > Hi Pankaj, > > On 12/23/2016 07:56 PM, Pankaj Dubey wrote: >> From: Niyas Ahmed S T >> >> Currently Exynos PCIe driver is only supported for Exynos5440 SoC. >> This patch does refactoring of Exynos PCIe driver to extend support >> for other Exynos So

Re: Linux 4.10-rc1

2016-12-26 Thread Kefeng Wang
On 2016/12/26 16:38, Hanjun Guo wrote: > Hi Linus, > > On 2016/12/26 8:41, Linus Torvalds wrote: >> It's Christmas Day, and it's two weeks since the merge window opened. >> Thus, the merge window is now closed. >> >> I did a few final pulls today, but I also rejected a couple of pulls >> that ca

Re: [HMM v14 05/16] mm/ZONE_DEVICE/unaddressable: add support for un-addressable device memory

2016-12-26 Thread Anshuman Khandual
On 12/09/2016 02:07 AM, Jerome Glisse wrote: >> On 12/08/2016 08:39 AM, Jerome Glisse wrote: > >> On 12/08/2016 08:39 AM, Jérôme Glisse wrote: >>> > >>> > > Architecture that wish to support un-addressable device >>> > >>> > > memory should >>> > >>> > > make >>> > >>> > > sur

Re: Linux 4.10-rc1

2016-12-26 Thread Al Viro
On Mon, Dec 26, 2016 at 04:38:13PM +0800, Hanjun Guo wrote: > ./include/asm-generic/atomic-long.h:23: Error: unknown mnemonic `typedef' -- > `typedef atomic64_t atomic_long_t' *blink* OK, I see what has happened here - it's "arm64: Factor out PAN enabling/disabling into separate uaccess_* macr

Re: Linux 4.10-rc1

2016-12-26 Thread Al Viro
On Mon, Dec 26, 2016 at 05:05:37PM +0800, Kefeng Wang wrote: > It looks like we need revert the changes from assembly files. Better yet, split the damn thing in two and include the asm-only part. > diff --git a/arch/arm64/mm/cache.S b/arch/arm64/mm/cache.S > diff --git a/arch/arm64/xen/hypercall.

[PATCH] ceph: cleanup ACCESS_ONCE -> READ_ONCE

2016-12-26 Thread Seraphime Kirkovski
This removes the uses of ACCESS_ONCE in favor of READ_ONCE Signed-off-by: Seraphime Kirkovski --- fs/ceph/addr.c | 4 ++-- fs/ceph/caps.c | 2 +- fs/ceph/dir.c| 2 +- fs/ceph/inode.c | 2 +- fs/ceph/mds_client.c | 10 +- 5 files changed, 10 insertions(+), 10

Re: [PATCH v5 00/14] ACPI platform MSI support and its example mbigen

2016-12-26 Thread majun (Euler7)
Hi: 在 2016/12/26 16:57, majun (Euler7) 写道: > Hi Hanjun: > This patch set works fine on my Hisilicon D05 board. > Feel free to add Based on the Patch 1/3, 2/3 of [PATCH V9 0/3] irqchip: qcom: Add IRQ combiner driver from Agustin Vega-Frias https://lwn.net/Articles/709222/ > Tested-b

coresight: Problem caused by resetting enable_sink

2016-12-26 Thread Wangnan (F)
Hi Mathieu, I meet problems caused by your commit d52c9750f150 ('coresight: reset "enable_sink" flag when need be'). Not only the one I posted in the previous patch. My use case is a simple 'perf record -e cs_etm// ls'. It works properly before this commit, and failed when allocating aux buffer

[RESEND 2/2] arm64: dts: Add dts files for Hisilicon Hi3660 SoC

2016-12-26 Thread Chen Feng
Add initial dtsi file to support Hisilicon Hi3660 SoC with support of Octal core CPUs in two clusters(4 * A53 & 4 * A73). Also add dts file to support HiKey960 development board which based on Hi3660 SoC. The output console is earlycon "earlycon=pl011,0xfdf05000". And the con_init uart5 with a fix

[RESEND 1/2] document: dt: add binding for Hi3660 SoC

2016-12-26 Thread Chen Feng
Add binding for hisilicon Hi3660 SoC and HiKey960 Board. Signed-off-by: Chen Feng --- Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt b/Documentation/devicetree/bi

Re: Linux 4.10-rc1

2016-12-26 Thread Hanjun Guo
On 2016/12/26 17:18, Al Viro wrote: > On Mon, Dec 26, 2016 at 05:05:37PM +0800, Kefeng Wang wrote: >> It looks like we need revert the changes from assembly files. > Better yet, split the damn thing in two and include the asm-only part. > >> diff --git a/arch/arm64/mm/cache.S b/arch/arm64/mm/cache.

Re: Linux 4.10-rc1

2016-12-26 Thread Hanjun Guo
On 2016/12/26 17:18, Al Viro wrote: > On Mon, Dec 26, 2016 at 05:05:37PM +0800, Kefeng Wang wrote: >> It looks like we need revert the changes from assembly files. I tested Kefeng's patch and works. more comments below. > Better yet, split the damn thing in two and include the asm-only part. spl

Re: [PATCH] PCI: exynos: refactor exynos pcie driver

2016-12-26 Thread Alim Akhtar
Hello Jaehoon On 12/26/2016 02:32 PM, Jaehoon Chung wrote: Hi Pankaj, On 12/23/2016 07:56 PM, Pankaj Dubey wrote: From: Niyas Ahmed S T Currently Exynos PCIe driver is only supported for Exynos5440 SoC. This patch does refactoring of Exynos PCIe driver to extend support for other Exynos SoC.

[PATCH] perf/x86/amd/ibs: Fix typo after cleanup state names in cpu/hotplug

2016-12-26 Thread Sedat Dilek
Fix a small typo after cleanup state names in cpu/hotplug. The new convention is 'subsys/xxx/yyy:state' where "state" here is called "starting" not "STARTING". Fixes: 73c1b41e63f0 ("cpu/hotplug: Cleanup state names") CC: Thomas Gleixner CC: Ingo Molnar CC: "H. Peter Anvin" CC: x...@kernel.org C

[PATCH] arm64: Do not include linux/uaccess.h from assembler files

2016-12-26 Thread Guenter Roeck
Including linux/uaccess.h from assembler files in arm64 builds results in the following build errors. In file included from arm64/include/asm/asm-offsets.h:1:0, from arch/arm64/include/asm/assembler.h:26, from arch/arm64/include/asm/alternative.h:68,

Re: [PATCH] drivers: watchdog: pika_wdt: add __ro_after_init to ident

2016-12-26 Thread Guenter Roeck
On 12/25/2016 12:00 AM, Bhumika Goyal wrote: The object ident of type watchdog_info structure is not modified after getting initialized by pikawdt_init. Apart from getting referenced in init it is also passed as an argument to the function copy_to_user but this argument is of type const void *. T

Re: [RFC PATCH v2 3/4] hwmon: adc128d818: Trivial code style fixup

2016-12-26 Thread Guenter Roeck
On 12/23/2016 02:12 PM, Alexander Koch wrote: Replace sysfs symbolic file permissions, e.g. 'S_IRUGO', by octal permissions. This fixes checkpatch.pl warnings. Signed-off-by: Alexander Koch Please do not bother with those warnings and ignore checkpatch. We are in the process of doing an autom

Re: Bug 4.9 and memorymanagement

2016-12-26 Thread Michal Hocko
[CCing linux-mm] On Sun 25-12-16 21:52:52, Klaus Ethgen wrote: > Hello, > > The last days I compiled version 4.9 for my i386 laptop. (Lenovo x61s) Do you have memory cgroups enabled in runtime (aka does the same happen with cgroup_disable=memory)? > First, everything seems to be sane but after

Re: [GIT pull] smp/hotplug: Removal of notifiers

2016-12-26 Thread Markus Trippelsdorf
On 2016.12.26 at 08:45 +0100, Markus Trippelsdorf wrote: > On 2016.12.25 at 14:39 +0100, Thomas Gleixner wrote: > > Linus, > > > > please pull the latest smp-urgent-for-linus git tree from: > > > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > > smp-urgent-for-linus > > > > Tho

Re: [PATCH v3 2/4] dt-bindings: add bindings for rk3328 clock controller

2016-12-26 Thread Heiko Stuebner
Hi Elaine, Am Montag, 26. Dezember 2016, 11:45:28 CET schrieb Elaine Zhang: > Add devicetree bindings for Rockchip cru which found on > Rockchip SoCs. > > Signed-off-by: Elaine Zhang > --- > .../bindings/clock/rockchip,rk3328-cru.txt | 57 > ++ 1 file changed, 57 inse

Re: [PATCH v3 4/4] clk: rockchip: add new pll-type for rk3328

2016-12-26 Thread Heiko Stuebner
Am Montag, 26. Dezember 2016, 11:45:30 CET schrieb Elaine Zhang: > The rk3328's pll and clock are similar with rk3036's, > it different with pll_mode_mask, the rk3328 soc > pll mode only one bit(rk3036 soc have two bits) > so these should be independent and separate from > the series of rk3328s. >

RE: [PATCH] adc: add adc driver for Hisilicon BVT SOCs

2016-12-26 Thread liurenzhong
Hi Jonathan, Thanks very much for your reply , it get me great courage to continue this upstreaming . we will make a careful analysis of your suggestion and update a new patch after a few days. Best regards /Allen /-/ From: Jonathan Cameron [mailto:ji...@jic23.retrosnub.c

[PATCH] rtc: armada38x: add __ro_after_init to armada38x_rtc_ops

2016-12-26 Thread Bhumika Goyal
The object armada38x_rtc_ops of type rtc_class_ops structure is not modified after getting initialized by armada38x_rtc_probe. Apart from getting referenced in init it is also passed as an argument to the function devm_rtc_device_register but this argument is of type const struct rtc_class_ops *. T

Re: [PATCH] mm/page_alloc: Wait for oom_lock before retrying.

2016-12-26 Thread Sergey Senozhatsky
Cc Greg, Jiri, On (12/26/16 19:54), Tetsuo Handa wrote: [..] > > (3) I got below warning. (Though not reproducible.) > If fb_flashcursor() called console_trylock(), console_may_schedule is set > to 1? hmmm... it takes an atomic/spin `printing_lock' lock in vt_console_print(), then call cons

Re: [RFC PATCH 4/6] PCI: exynos5433: Add new exynos pci host controller for Exynos5433

2016-12-26 Thread Joao Pinto
Hello Jaehoon, Às 5:20 AM de 12/26/2016, Jaehoon Chung escreveu: > Exynos5433 supports the PCIe. > This patch adds new pci-exynos5433.c file for Exynos ARM64. > > Signed-off-by: Jaehoon Chung > --- > drivers/pci/host/Kconfig | 9 + > drivers/pci/host/Makefile | 1 + > driv

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

2016-12-26 Thread Stephen Rothwell
Hi All, On Sun, 25 Dec 2016 16:41:46 -0800 Linus Torvalds wrote: > > It's Christmas Day, and it's two weeks since the merge window opened. > Thus, the merge window is now closed. As usual, the executive friendly graph is at http://neuling.org/linux-next-size.html :-) (No merge commits counted,

Re: [lkp-developer] [mm, memcg] d18e2b2aca: WARNING:at_mm/memcontrol.c:#mem_cgroup_update_lru_size

2016-12-26 Thread Michal Hocko
On Mon 26-12-16 06:25:56, kernel test robot wrote: > > FYI, we noticed the following commit: > > commit: d18e2b2aca0396849f588241e134787a829c707d ("mm, memcg: fix (Re: OOM: > Better, but still there on)") > url: > https://github.com/0day-ci/linux/commits/Michal-Hocko/mm-memcg-fix-Re-OOM-Better-

[RFC PATCH] ext4: increase the protection of drop nlink and ext4 inode destroy

2016-12-26 Thread yi zhang
Because of the disk and hardware issue, the ext4 filesystem have many errors, the inode->i_nlink of ext4 becomes zero abnormally but the dentry is still positive, it will cause memory corruption after the following process: 1) Due to the inode->i_nlink is 0, this inode will be added into the o

Re: [RFC PATCH] mm, memcg: fix (Re: OOM: Better, but still there on)

2016-12-26 Thread Michal Hocko
On Fri 23-12-16 23:26:00, Nils Holland wrote: > On Fri, Dec 23, 2016 at 03:47:39PM +0100, Michal Hocko wrote: > > > > Nils, even though this is still highly experimental, could you give it a > > try please? > > Yes, no problem! So I kept the very first patch you sent but had to > revert the lates

Re: [lkp-developer] [mm, memcg] d18e2b2aca: WARNING:at_mm/memcontrol.c:#mem_cgroup_update_lru_size

2016-12-26 Thread Michal Hocko
On Mon 26-12-16 13:26:51, Michal Hocko wrote: > On Mon 26-12-16 06:25:56, kernel test robot wrote: [...] > > [ 95.226364] init: tty6 main process (990) killed by TERM signal > > [ 95.314020] init: plymouth-upstart-bridge main process (1039) terminated > > with status 1 > > [ 97.588568] -

Re: PROBLEM: Kernel BUG with raid5 soft + Xen + DRBD - invalid opcode

2016-12-26 Thread MasterPrenium
Hi guys, I've tested the same set-up except with a RAID 1 Soft Array, in this case I get no issue at all. It's definitely a raid 5 problem. As requested, I've tested re-creating the RAID 5 array (just to be sure), issue remains the same, even with metadata 0.90 or metadata 1.2. Thanks, Le 2

[PATCH 1/2] scsi: qla2xxx: silent -Wformat-security warning

2016-12-26 Thread Nicolas Iooss
qla24xx_enable_msix() calls scnprintf() with a non-literal format string. This makes clang report -Wformat-security warnings when compiling this function: drivers/scsi/qla2xxx/qla_isr.c:3083:7: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]

[PATCH 2/2] scsi: qla2xxx: make msix_entries const

2016-12-26 Thread Nicolas Iooss
msix_entries and qla82xx_msix_entries arrays are never modified in drivers/scsi/qla2xxx/qla_isr.c. Move their contents to read-only data. Signed-off-by: Nicolas Iooss --- drivers/scsi/qla2xxx/qla_isr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/qla2xxx

[PATCH 1/1] [media] v4l: rcar_fdp1: use %4.4s to format a 4-byte string

2016-12-26 Thread Nicolas Iooss
Using %4s to format f->fmt.pix_mp.pixelformat in fdp1_try_fmt() and fdp1_s_fmt() may lead to more characters being printed (when the byte following field pixelformat is not zero). Add ".4" to the format specifier to limit the number of printed characters to four. The resulting format specifier "%4

[PATCH] drivers: watchdog: constify watchdog_info structures

2016-12-26 Thread Bhumika Goyal
Declare watchdog_info structures as const as they are only stored in the info field of watchdog_device structures. This field is of type const struct watchdog_info *, so watchdog_info structures having this property can be declared const too. Done using Coccinelle: @r1 disable optional_qualifier@

Re: [PATCH 0/4] PCI: exynos: cleans the minor things

2016-12-26 Thread Jingoo Han
On Tuesday, December 20, 2016 12:36 PM, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Monday, December 19, 2016 05:16:10 PM Jaehoon Chung wrote: > > Current pci-exnoys.c is used for only EXYNOS5440. > > Even if there is no use-case, just cleans the codes for maintaining. > > > > In future, I wi

[PATCH 1/1] drm/i915/gvt: verify functions types in new_mmio_info()

2016-12-26 Thread Nicolas Iooss
The current prototype of new_mmio_info() uses void* for parameters read and write, which are functions with precise calling conventions (argument types and return type). Write down these conventions in new_mmio_info() definition. This has been reported by the following warnings when clang is used

RE: [RFC PATCH 4/7] HW Filter Initialization code and register access APIs

2016-12-26 Thread Koteshwar Rao, Satha
Hi Sunil, Thanks for review. Answers inline. Thanks, Satha. -Original Message- From: Sunil Kovvuri [mailto:sunil.kovv...@gmail.com] Sent: Wednesday, December 21, 2016 4:36 AM To: Koteshwar Rao, Satha Cc: LKML; Goutham, Sunil; Robert Richter; David S. Miller; Daney, David; Vatsavayi, Ra

RE: [RFC PATCH 5/7] Multiple VF's grouped together under single physical port called PF group PF Group maintainance API's

2016-12-26 Thread Koteshwar Rao, Satha
Thanks for suggestion. Will clean up code in next revision Thanks, Satha -Original Message- From: Sunil Kovvuri [mailto:sunil.kovv...@gmail.com] Sent: Wednesday, December 21, 2016 4:44 AM To: Koteshwar Rao, Satha Cc: LKML; Goutham, Sunil; Robert Richter; David S. Miller; Daney, David; V

RE: [RFC PATCH 1/7] PF driver modified to enable HW filter support, changes works in backward compatibility mode Enable required things in Makefile Enable LZ4 dependecy inside config file

2016-12-26 Thread Koteshwar Rao, Satha
Responses inline Thanks, Satha -Original Message- From: Sunil Kovvuri [mailto:sunil.kovv...@gmail.com] Sent: Wednesday, December 21, 2016 5:05 AM To: Koteshwar Rao, Satha Cc: LKML; Goutham, Sunil; Robert Richter; David S. Miller; Daney, David; Vatsavayi, Raghu; Chickles, Derek; Romanov,

RE: [RFC PATCH 0/7] ThunderX Embedded switch support

2016-12-26 Thread Koteshwar Rao, Satha
Hi Sunil, In RFC cover letter we explained the feature details, files organized based on their supporting functionality, let me know if you are interested in any specific details Thanks, Satha -Original Message- From: Sunil Kovvuri [mailto:sunil.kovv...@gmail.com] Sent: Wednesday, Dec

Re: Linux 4.10-rc1

2016-12-26 Thread Al Viro
On Mon, Dec 26, 2016 at 05:45:10PM +0800, Hanjun Guo wrote: > On 2016/12/26 17:18, Al Viro wrote: > > On Mon, Dec 26, 2016 at 05:05:37PM +0800, Kefeng Wang wrote: > >> It looks like we need revert the changes from assembly files. > > I tested Kefeng's patch and works. more comments below. > > > B

RE: [RFC PATCH 3/7] Enable pause frame support

2016-12-26 Thread Koteshwar Rao, Satha
Thanks Sunil, will fix this in next version Thanks, Satha From: Goutham, Sunil Sent: Wednesday, December 21, 2016 1:20 AM To: Koteshwar Rao, Satha; linux-kernel@vger.kernel.org Cc: r...@kernel.org; da...@davemloft.net; Daney, David; Vatsavayi, Raghu; Chickles, Derek; Romanov, Philip; net...@vge

Re: [linux-sunxi] [PATCH 1/2] drivers: pinctrl: add driver for Allwinner H5 SoC

2016-12-26 Thread André Przywara
Hi, On 23/12/16 12:50, Icenowy Zheng wrote: > Based on the Allwinner H5 datasheet and the pinctrl driver of the > backward-compatible H3 this introduces the pin multiplex assignments for > the H5 SoC. > > H5 introduced some more pin functions (e.g. three more groups of TS > pins, and one more gro

Re: [PATCH] PCI: exynos: refactor exynos pcie driver

2016-12-26 Thread Jingoo Han
Jaehoon Chung wtote: > > Hi Pankaj, > > On 12/23/2016 07:56 PM, Pankaj Dubey wrote: > > From: Niyas Ahmed S T > > > > Currently Exynos PCIe driver is only supported for Exynos5440 SoC. > > This patch does refactoring of Exynos PCIe driver to extend support > > for other Exynos SoC. > > > > Follo

[PATCH tip/master] kprobes: extable: Identify kprobes' insn-slots as kernel text area

2016-12-26 Thread Masami Hiramatsu
Make __kernel_text_address()/kernel_text_address() returns true if the given address is on a kprobe's instruction slot, which is generated by kprobes as a trampoline code. This can help stacktraces to determine the address is on a text area or not. To implement this without any sleep in is_kprobe_

Re: [RFC PATCH 0/7] ThunderX Embedded switch support

2016-12-26 Thread Andrew Lunn
On Mon, Dec 26, 2016 at 02:04:27PM +, Koteshwar Rao, Satha wrote: > Hi Sunil, > > In RFC cover letter we explained the feature details, files organized based > on their supporting functionality, let me know if you are interested in any > specific details Please don't top post. Also, please

Re: Question regarding power button of Dell XPS13

2016-12-26 Thread Ozgur Karatas
26.12.2016, 00:27, "Linus Torvalds" : > On Fri, Dec 23, 2016 at 4:36 AM, Paul Menzel wrote: >>  I heard that you both have a Dell XPS13. I got the “revision” 9360, and >>  installed Debian Stretch/testing on it with Linux 4.8.15 and Linux 4.9-rc8. >> >>  When pressing the power button the GNOME di

Re: lkml.org issues

2016-12-26 Thread Ozgur Karatas
26.12.2016, 10:46, "Nikita Yushchenko" : > Hi > > Is lkml.org supported? > > Currently: > > - [headers] link on top of pages does not show message headers, You can just display the header's list. > - [forward] link on top of pages is not functional - it requests text > from captcha but does not

Re: Linux 4.10-rc1

2016-12-26 Thread Al Viro
On Mon, Dec 26, 2016 at 02:23:43PM +, Al Viro wrote: > On Mon, Dec 26, 2016 at 05:45:10PM +0800, Hanjun Guo wrote: > > On 2016/12/26 17:18, Al Viro wrote: > > > On Mon, Dec 26, 2016 at 05:05:37PM +0800, Kefeng Wang wrote: > > >> It looks like we need revert the changes from assembly files. > >

[PATCH tip/master v2] kprobes: extable: Identify kprobes' insn-slots as kernel text area

2016-12-26 Thread Masami Hiramatsu
Make __kernel_text_address()/kernel_text_address() returns true if the given address is on a kprobe's instruction slot, which is generated by kprobes as a trampoline code. This can help stacktraces to determine the address is on a text area or not. To implement this without any sleep in is_kprobe_

[PATCH] PCI: acpiphp_ibm: add __ro_after_init to ibm_apci_table_attr

2016-12-26 Thread Bhumika Goyal
The object ibm_apci_table_attr of type bin_attribute structure is not modified after getting initialized by ibm_acpiphp_init. Apart from getting referenced in init it is also passed as an argument to the functions sysfs_{remove/create}_bin_file but both the arguments are of type const struct bin_a

[PATCH 2/2] Style fixes

2016-12-26 Thread Guillermo O. Freschi
Missing braces on `if` statement; misaligned parameter. Signed-off-by: Guillermo O. Freschi --- drivers/staging/lustre/lustre/ldlm/ldlm_lock.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/staging/lustre/lustre/ldlm/ldlm_lock.c b/drivers/staging/lustre

Re: [PATCH 2/6] wl1251: Use request_firmware_prefer_user() for loading NVS calibration data

2016-12-26 Thread Pavel Machek
Hi! > > > NVS calibration data for wl1251 are model specific. Every one > > > device with wl1251 chip has different and calibrated in factory. > > > > > > Not all wl1251 chips have own EEPROM where are calibration data > > > stored. And in that case there is no "standard" place. Every > > > devic

[PATCH 1/2] Fixed signedness check

2016-12-26 Thread Guillermo O. Freschi
Was `unsigned int`, but `enum`s are signed. Signed-off-by: Guillermo O. Freschi --- drivers/staging/lustre/lustre/ldlm/ldlm_lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/ldlm/ldlm_lock.c b/drivers/staging/lustre/lustre/ldlm/ldlm_lock.c

Re: [GIT pull] smp/hotplug: Removal of notifiers

2016-12-26 Thread Markus Trippelsdorf
On 2016.12.26 at 12:06 +0100, Markus Trippelsdorf wrote: > On 2016.12.26 at 08:45 +0100, Markus Trippelsdorf wrote: > > On 2016.12.25 at 14:39 +0100, Thomas Gleixner wrote: > > > Linus, > > > > > > please pull the latest smp-urgent-for-linus git tree from: > > > > > >git://git.kernel.org/pub/sc

Re: [PATCH 2/6] wl1251: Use request_firmware_prefer_user() for loading NVS calibration data

2016-12-26 Thread Pali Rohár
On Monday 26 December 2016 16:43:53 Pavel Machek wrote: > Hi! > > > > > NVS calibration data for wl1251 are model specific. Every one > > > > device with wl1251 chip has different and calibrated in > > > > factory. > > > > > > > > Not all wl1251 chips have own EEPROM where are calibration data >

Re: lkml.org issues

2016-12-26 Thread Richard Weinberger
On Mon, Dec 26, 2016 at 9:46 AM, Nikita Yushchenko wrote: > Hi > > Is lkml.org supported? > > Currently: No. lkml.org is a random mailing list archive. Please contact the webmaster of it. See lkml.org -- Thanks, //richard

Re: [PATCH v3 1/3] ARM: dts: imx6: Add Savageboard common file

2016-12-26 Thread Fabio Estevam
On Thu, Dec 8, 2016 at 11:04 PM, Milo Kim wrote: > * Memory > memblock for DDR3 1GB > > * Regulator > 3.3V for panel and backlight. > > * Display > Enable HDMI and LVDS panel. Savageboard supports AVIC TM097TDH02 panel > which is compatible with Hannstar HSD100PXN1, so reuse it. > > * Cloc

Re: [PATCH v2 3/3] ARM: dts: imx6: Support Savageboard quad

2016-12-26 Thread Fabio Estevam
On Tue, Dec 6, 2016 at 5:08 AM, Milo Kim wrote: > Use common board file and support SATA interface additionally. > > Signed-off-by: Milo Kim Reviewed-by: Fabio Estevam

Re: [PATCH 2/6] wl1251: Use request_firmware_prefer_user() for loading NVS calibration data

2016-12-26 Thread Pavel Machek
On Sun 2016-12-25 21:15:40, Arend Van Spriel wrote: > On 24-12-2016 17:52, Pali Rohár wrote: > > NVS calibration data for wl1251 are model specific. Every one device with > > wl1251 chip has different and calibrated in factory. > > > > Not all wl1251 chips have own EEPROM where are calibration dat

Re: [PATCH] nohz: Fix collision between tick and other hrtimers

2016-12-26 Thread Frederic Weisbecker
On Sun, Dec 25, 2016 at 09:56:57PM -0500, Rik van Riel wrote: > On Sat, 2016-12-24 at 17:15 +0100, Frederic Weisbecker wrote: > > When the tick is stopped and an interrupt occurs afterward, we check > > on > > that interrupt exit if the next tick needs to be rescheduled. If it > > doesn't need any

Re: [PATCH] drivers: watchdog: constify watchdog_info structures

2016-12-26 Thread Guenter Roeck
On 12/26/2016 05:47 AM, Bhumika Goyal wrote: Declare watchdog_info structures as const as they are only stored in the info field of watchdog_device structures. This field is of type const struct watchdog_info *, so watchdog_info structures having this property can be declared const too. Done usin

Re: lkml.org issues

2016-12-26 Thread Randy Dunlap
On 12/26/16 00:46, Nikita Yushchenko wrote: > Hi > > Is lkml.org supported? > Not here. Just contact Jasper Spaans directly. > Currently: > what rw said. -- ~Randy

Re: [PATCH v3 2/3] ARM: dts: imx6: Support Savageboard dual

2016-12-26 Thread Fabio Estevam
On Thu, Dec 8, 2016 at 11:04 PM, Milo Kim wrote: > Common savageboard DT file is used for board support. > Specify this dtb file for i.MX6Q build. > > Signed-off-by: Milo Kim Reviewed-by: Fabio Estevam

[PATCH v2] watchdog: constify watchdog_info structures

2016-12-26 Thread Bhumika Goyal
Declare watchdog_info structures as const as they are only stored in the info field of watchdog_device structures. This field is of type const struct watchdog_info *, so watchdog_info structures having this property can be declared const too. Done using Coccinelle: @r1 disable optional_qualifier@

Re: [PATCH tip/master v2] kprobes: extable: Identify kprobes' insn-slots as kernel text area

2016-12-26 Thread kbuild test robot
Hi Masami, [auto build test ERROR on tip/master] url: https://github.com/0day-ci/linux/commits/Masami-Hiramatsu/kprobes-extable-Identify-kprobes-insn-slots-as-kernel-text-area/20161226-233830 config: sparc64-defconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9

Re: [GIT pull] smp/hotplug: Removal of notifiers

2016-12-26 Thread Boris Ostrovsky
On 12/26/2016 10:45 AM, Markus Trippelsdorf wrote: > On 2016.12.26 at 12:06 +0100, Markus Trippelsdorf wrote: >> On 2016.12.26 at 08:45 +0100, Markus Trippelsdorf wrote: >>> On 2016.12.25 at 14:39 +0100, Thomas Gleixner wrote: Linus, please pull the latest smp-urgent-for-linus git tr

[RFC 3/8] KVM: arm/arm64: Add the EL1 physical timer context

2016-12-26 Thread Jintack Lim
Add the EL1 physical timer context. Signed-off-by: Jintack Lim --- include/kvm/arm_arch_timer.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/kvm/arm_arch_timer.h b/include/kvm/arm_arch_timer.h index cf84145..d21652a 100644 --- a/include/kvm/arm_arch_timer.h +++ b/include/kvm/arm

[RFC 6/8] KVM: arm/arm64: Update the physical timer interrupt level

2016-12-26 Thread Jintack Lim
Now that we maintain the EL1 physical timer register states of the VM, update the physical timer interrupt level along with the virtual one. Note that the emulated EL1 physical timer is not mapped to any hardware timer, so we let vgic know that. With this commit, VMs are able to get the physical

[RFC 7/8] KVM: arm/arm64: Set up a background timer for the physical timer emulation

2016-12-26 Thread Jintack Lim
Set a background timer for the EL1 physical timer emulation while VMs are running, so that VMs get interrupts for the physical timer in a timely manner. We still use just one background timer. When a VM is runnable, we use the background timer for the physical timer emulation. When the VM is abou

Re: [PATCH tip/master v2] kprobes: extable: Identify kprobes' insn-slots as kernel text area

2016-12-26 Thread kbuild test robot
Hi Masami, [auto build test ERROR on tip/master] url: https://github.com/0day-ci/linux/commits/Masami-Hiramatsu/kprobes-extable-Identify-kprobes-insn-slots-as-kernel-text-area/20161226-233830 config: sh-r7785rp_defconfig (attached as .config) compiler: sh4-linux-gnu-gcc (Debian 6.1.1-9

[RFC 5/8] KVM: arm64: Add the EL1 physical timer access handler

2016-12-26 Thread Jintack Lim
KVM traps on the EL1 phys timer accesses from VMs, but it doesn't handle those traps. This results in terminating VMs. Instead, set a handler for the EL1 phys timer access, and inject an undefined exception as an intermediate step. Signed-off-by: Jintack Lim --- arch/arm64/kvm/sys_regs.c | 34 ++

[RFC 4/8] KVM: arm/arm64: Initialize the emulated EL1 physical timer

2016-12-26 Thread Jintack Lim
Initialize the emulated EL1 physical timer with the default irq number. Signed-off-by: Jintack Lim --- arch/arm/kvm/reset.c | 9 - arch/arm64/kvm/reset.c | 9 - include/kvm/arm_arch_timer.h | 3 ++- virt/kvm/arm/arch_timer.c| 12 ++-- 4 files changed,

[PATCH v2] ARM: dts: sunxi: Add num-cs for A20 spi nodes

2016-12-26 Thread Emmanuel Vadot
The spi0 controller on the A20 have up to 4 CS (Chip Select) while the others three only have 1. Add the num-cs property to each node. The current driver doesn't read this property but this is useful for downstream user of DTS (FreeBSD for example). Signed-off-by: Emmanuel Vadot --- Changes in v

[RFC 8/8] KVM: arm/arm64: Emulate the EL1 phys timer register access

2016-12-26 Thread Jintack Lim
Emulate read and write operations to CNTP_TVAL, CNTP_CVAL and CNTP_CTL. Now the VM is able to use the EL1 physical timer. Signed-off-by: Jintack Lim --- arch/arm64/kvm/sys_regs.c| 35 --- include/kvm/arm_arch_timer.h | 3 +++ virt/kvm/arm/arch_timer.c| 4

[RFC 0/8] Provide the EL1 physical timer to the VM

2016-12-26 Thread Jintack Lim
The ARM architecture defines the EL1 physical timer and the virtual timer, and it is reasonable for an OS to expect to be able to access both. However, the current KVM implementation does not provide the EL1 physical timer to VMs but terminates VMs on access to the timer. On VHE systems, this wou

[RFC 2/8] KVM: arm/arm64: Decouple kvm timer functions from virtual timer

2016-12-26 Thread Jintack Lim
Now that we have a separate structure for timer context, make functions general so that they can work on any timer context, not just the virtual timer context. This does not change the virtual timer functionality. Signed-off-by: Jintack Lim --- arch/arm/kvm/arm.c | 2 +- include/kvm/

[RFC 1/8] KVM: arm/arm64: Abstract virtual timer context into separate structure

2016-12-26 Thread Jintack Lim
Abstract virtual timer context into a separate structure and change all callers referring to timer registers, irq state and so on. No change in functionality. This is about to become very handy when adding the EL1 physical timer. Signed-off-by: Jintack Lim Acked-by: Christoffer Dall --- includ

Re: [RFC PATCH 4.10 1/6] crypto/sha256: Refactor the API so it can be used without shash

2016-12-26 Thread Ard Biesheuvel
On 26 December 2016 at 07:57, Herbert Xu wrote: > On Sat, Dec 24, 2016 at 09:57:53AM -0800, Andy Lutomirski wrote: >> >> I actually do use incremental hashing later on. BPF currently >> vmallocs() a big temporary buffer just so it can fill it and hash it. >> I change it to hash as it goes. > > H

[PATCH] auxdisplay: fix new ht16k33 build errors

2016-12-26 Thread Randy Dunlap
From: Randy Dunlap Fix build errors caused by selecting incorrect kconfig symbols. drivers/built-in.o:(.data+0x19cec): undefined reference to `sys_fillrect' drivers/built-in.o:(.data+0x19cf0): undefined reference to `sys_copyarea' drivers/built-in.o:(.data+0x19cf4): undefined reference to `sys_i

[PATCH] ARM: dts: sunxi: Enable spi1 and spi2 for Olimex A20 SOM EVB

2016-12-26 Thread Emmanuel Vadot
Enable the spi1 and spi2 node since the pins are exposed on the UEXT connectors. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts b/arch/arm/boot/dts/sun7i-a20-ol

Re: [RFC PATCH 4.10 1/6] crypto/sha256: Refactor the API so it can be used without shash

2016-12-26 Thread Andy Lutomirski
On Mon, Dec 26, 2016 at 9:51 AM, Ard Biesheuvel wrote: > On 26 December 2016 at 07:57, Herbert Xu wrote: >> On Sat, Dec 24, 2016 at 09:57:53AM -0800, Andy Lutomirski wrote: >>> >>> I actually do use incremental hashing later on. BPF currently >>> vmallocs() a big temporary buffer just so it can

Re: [GIT pull] smp/hotplug: Removal of notifiers

2016-12-26 Thread Thomas Gleixner
On Mon, 26 Dec 2016, Boris Ostrovsky wrote: > On 12/26/2016 10:45 AM, Markus Trippelsdorf wrote: > > The comment in arch/x86/kernel/cpu/mcheck/mce_amd.c says: > > > > 1384 * mcheck_init_device should be inited before threshold_init_device to > > 1385 * initialize mce_device, otherwise a NULL ptr

Re: [RFC PATCH] ext4: increase the protection of drop nlink and ext4 inode destroy

2016-12-26 Thread Andreas Dilger
On Dec 26, 2016, at 5:34 AM, yi zhang wrote: > > Because of the disk and hardware issue, the ext4 filesystem have > many errors, the inode->i_nlink of ext4 becomes zero abnormally > but the dentry is still positive, it will cause memory corruption > after the following process: > > 1) Due to the

  1   2   3   >