Re: [Intel-gfx] [4.2-rc4] acpi|drm|i915: circular locking dependency: acpi_video_get_backlight_type

2015-08-12 Thread Sedat Dilek
On Wed, Aug 12, 2015 at 9:26 PM, Ville Syrjälä wrote: > On Mon, Aug 10, 2015 at 08:29:00PM +0200, Sedat Dilek wrote: >> On Sat, Aug 1, 2015 at 2:23 PM, Sedat Dilek wrote: >> > On Mon, Jul 27, 2015 at 12:33 AM, Sedat Dilek >> > wrote: >> >> Hi, >> >> >> >> this my first build of a 4.2-rcN Linux-

Re: [PATCH V8 03/25] perf tools: Add Intel PT instruction decoder

2015-08-12 Thread Adrian Hunter
On 12/08/15 23:55, Arnaldo Carvalho de Melo wrote: > Em Fri, Jul 17, 2015 at 07:33:38PM +0300, Adrian Hunter escreveu: >> Add support for decoding instructions for Intel Processor Trace. The >> kernel x86 instruction decoder is copied for this. >> >> This essentially provides intel_pt_get_insn() w

Re: [PATCH 0/2] x86/KASAN updates for 4.3

2015-08-12 Thread Ingo Molnar
* Andrey Ryabinin wrote: > These 2 patches taken from v5 'KASAN for arm64' series. > The only change is updated changelog in second patch. > > I hope this is not too late to queue these for 4.3, > as this allow us to merge arm64/KASAN patches in v4.4 > through arm64 tree. > > Andrey Ryabinin (

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

2015-08-12 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Wed, Aug 12, 2015 at 02:44:52PM -0400, Boris Ostrovsky wrote: > > On 08/12/2015 02:36 PM, Peter Zijlstra wrote: > > >On Wed, Aug 12, 2015 at 11:26:41AM -0700, H. Peter Anvin wrote: > > >>One option might be to do the addition in assembly, i.e.: > > >> > > >>"i" (key)

Re: [PATCH 1/2] crypto: export crypto_alg_list and rwsem

2015-08-12 Thread Herbert Xu
On Thu, Aug 13, 2015 at 03:37:55PM +0900, Joonsoo Kim wrote: > > Is there any way to access netlink interface and get the output from > kernel-side? I'd like to show information through > "/sys/block/zramX/comp_algorithm", because some user program can be > broken if we change output of userspace e

RE: [PATCH 1/2] KVM: x86: set TMR when the interrupt is accepted

2015-08-12 Thread Zhang, Yang Z
Zhang, Yang Z wrote on 2015-08-04: > Paolo Bonzini wrote on 2015-08-04: >> >> >> On 04/08/2015 02:46, Zhang, Yang Z wrote: It is a problem for split irqchip, where the EOI exit bitmap can be inferred from the IOAPIC routes but the TMR cannot. The hardware behavior on the other han

Re: [Regression v4.2] Re: [PATCH 7/9] drm/radeon: add VCE 1.0 support v4

2015-08-12 Thread Lucas Stach
Am Donnerstag, den 13.08.2015, 15:18 +0900 schrieb Michel Dänzer: > On 13.08.2015 15:03, Lucas Stach wrote: > > Hi Christian, > > > > this commit is causing a boot regression with v4.2-rcX on my Richland > > APU (CHIP_ARUBA) based laptop. I didn't have time yet to track down > > where exactly it i

Re: [PATCH RFC v2 0/2] hwspinlock: Introduce raw capability for hwspinlock_device

2015-08-12 Thread Ohad Ben-Cohen
On Wed, Jul 29, 2015 at 12:51 AM, Lina Iyer wrote: >> Let's not make this more complicated than needed, so please add the >> hwcaps member to hwspinlock_device instead of to hwspinlock struct. We >> could always change this later if it proves to be insufficient. >> > But this could yield wrong loc

Re: [PATCH] sched: sync with the cfs_rq when changing sched class

2015-08-12 Thread Yuyang Du
On Thu, Aug 13, 2015 at 02:55:55PM +0900, byungchul.p...@lge.com wrote: > > currently, a task load is synced with its cfs_rq, only when it > leaves from fair class. we also need to sync it with cfs_rq when > it returns back to fair class, too. Syncing it at the time it is switched to fair is not

Re: [PATCH 1/2] crypto: export crypto_alg_list and rwsem

2015-08-12 Thread Joonsoo Kim
On Thu, Aug 13, 2015 at 11:19:54AM +0800, Herbert Xu wrote: > On Thu, Aug 13, 2015 at 11:24:13AM +0900, Joonsoo Kim wrote: > > Until now, zram uses compression algorithm through direct call > > to core algorithm function, but, it has drawback that we need to add > > compression algorithm manually t

Re: [v5,2/3] spi: mediatek: Add spi bus for Mediatek MT8173

2015-08-12 Thread lei liu
Hi, > > +#include > > +#include > > +#include > > +#include > > Since you are using readl/writel, please import linux/io.h as well (it > is implicitly imported by spi/spi.h, but better be safe...) > OK, I'll fix it. > > +#include > > +#include > > +#include > > + > > +#define SPI_CMD_AC

Re: [PATCH v5 4/5] dax: fix mapping lifetime handling, convert to __pfn_t + kmap_atomic_pfn_t()

2015-08-12 Thread Boaz Harrosh
On 08/13/2015 06:01 AM, Dan Williams wrote: > The primary source for non-page-backed page-frames to enter the system > is via the pmem driver's ->direct_access() method. The pfns returned by > the top-level bdev_direct_access() may be passed to any other subsystem > in the kernel and those sub-sys

Re: [llvm-dev] llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-08-12 Thread Wangnan (F)
Thank you for your reply. Add He Kuang to CC list. On 2015/8/12 21:15, Brenden Blanco wrote: Hi Wangnan, I've been authoring the BCC development, so I'll answer those specific questions. Could you please give us further information about your clang rewriter? I guess you need a new .so when in

[PATCH] PM / Domains: Make pm_genpd_init() available to modules

2015-08-12 Thread Rajendra Nayak
Export symbol pm_genpd_init so it can be used in loadable kernel modules Signed-off-by: Rajendra Nayak Reported-by: Stephen Rothwell --- drivers/base/power/domain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index 0ee43c1..578d1

Re: enabling libgcc for 64-bit divisions, was Re: PROBLEM: XFS on ARM corruption 'Structure needs cl

2015-08-12 Thread George Spelvin
Linus wrote: > Ugh. gcc still does a pretty horrible job at it. While gcc knows that > a widening 32x32->64 multiplication can be simplified, it doesn't do > the same thing for a 64/32->64 division, and always calls __udivdi3 > for it. Agreed. But some x86 code I'm working on now, I have a *lot*

Re: [Regression v4.2] Re: [PATCH 7/9] drm/radeon: add VCE 1.0 support v4

2015-08-12 Thread Michel Dänzer
On 13.08.2015 15:03, Lucas Stach wrote: > Hi Christian, > > this commit is causing a boot regression with v4.2-rcX on my Richland > APU (CHIP_ARUBA) based laptop. I didn't have time yet to track down > where exactly it is going wrong, but I bisected it down to this single > commit. > > I don't ha

[GIT] Networking

2015-08-12 Thread David Miller
1) Workaround hw bug when acquiring PCI bos ownership of iwlwifi devices, from Emmanuel Grumbach. 2) Falling back to vmalloc in conntrack should not emit a warning, from Pablo Neira Ayuso. 3) Fix NULL deref when rtlwifi driver is used as an AP, from Luis Felipe Dominguez Vega. 4) Rocke

[PATCH] target: Fix handling of small allocation lengths in REPORT LUNS

2015-08-12 Thread Spencer Baugh
From: Roland Dreier REPORT LUNS should not fail just because the allocation length is less than 16. The relevant section of SPC-4 is: 4.2.5.6 Allocation length The ALLOCATION LENGTH field specifies the maximum number of bytes or blocks that an application client has allocated in the Data

SOCK_STREAM socket + bind without calling listen makes address hidden

2015-08-12 Thread Manvendra Bhangui
Stumbled on an issue of imap server refusing to start on TCP port 993 with error EADDRINUSE inspite of netstat, lsof, ss programs indicating no process has bound on tcp port 993 On debugging found the issue to be with portreserve program. http://linux.die.net/man/1/portreserve But portreserve i

Re: [dm-devel] [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios

2015-08-12 Thread Hannes Reinecke
On 08/08/2015 11:02 AM, Kent Overstreet wrote: > On Sat, Aug 08, 2015 at 10:52:24AM +0200, Hannes Reinecke wrote: >> Wouldn't it be easier to move both max_write_same_sectors and >> max_discard sectors to 64 bit (ie to type sector_t) and be done with the >> overflow? >> Seems to me this is far too

[Regression v4.2] Re: [PATCH 7/9] drm/radeon: add VCE 1.0 support v4

2015-08-12 Thread Lucas Stach
Hi Christian, this commit is causing a boot regression with v4.2-rcX on my Richland APU (CHIP_ARUBA) based laptop. I didn't have time yet to track down where exactly it is going wrong, but I bisected it down to this single commit. I don't have the VCE firmware installed on this system, so from a

linux-next: manual merge of the clk tree with the drm-msm tree

2015-08-12 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the clk tree got a conflict in: drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c between commit: bdbc06e2309b ("drm/msm/dsi: Save/Restore PLL status across PHY reset") from the drm-msm tree and commit: 3dde2c2b968a ("drm/msm/dsi: Convert to clk_hw based pro

Re: [PATCH v5 2/5] allow mapping page-less memremaped areas into KVA

2015-08-12 Thread Boaz Harrosh
On 08/13/2015 06:01 AM, Dan Williams wrote: > Introduce a type that encapsulates a page-frame-number that can also be > used to encode other information. This other information is the > traditional "page_link" encoding in a scatterlist, but can also denote > "device memory". Where "device memory"

[PATCH] sched: sync with the cfs_rq when changing sched class

2015-08-12 Thread byungchul . park
From: Byungchul Park this work is based on a patch below, which may not be reviewed yet. https://lkml.org/lkml/2015/8/12/914, that subject is, "sched: sync with the prev cfs when changing cgroup within a cpu". ->8- >From e96bc0439a8d9504c9ea33d6253f946a92c3dbc5 Mon Sep 17 00:00:00 2001

Re: [PATCH v5 6/8] pmem: convert to generic memremap

2015-08-12 Thread Christoph Hellwig
On Wed, Aug 12, 2015 at 08:12:35PM -0400, Dan Williams wrote: > Kill arch_memremap_pmem() and just let the architecture specify the > flags to be passed to memremap(). Default to writethrough by default. Looks good, Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line

Re: [PATCH v5 3/8] cleanup IORESOURCE_CACHEABLE vs ioremap()

2015-08-12 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [REPOST PATCH] kexec: Remove the unnecessary conditional judgement to simplify the code logic

2015-08-12 Thread Baoquan He
On 08/13/15 at 09:55am, Simon Horman wrote: > On Tue, Jul 28, 2015 at 12:46:42PM +0800, Minfei Huang wrote: > > Transforming PFN(Page Frame Number) to struct page is never failure, so > > we can simplify the code logic to do the image->control_page assignment > > directly in the loop, and remove th

Re: get_vmalloc_info() and /proc/meminfo insanely expensive

2015-08-12 Thread Linus Torvalds
On Wed, Aug 12, 2015 at 9:00 PM, Andrew Morton wrote: > > Do your /proc/meminfo vmalloc numbers actually change during that build? > Mine don't. Perhaps we can cache the most recent vmalloc_info and > invalidate that cache whenever someone does a vmalloc/vfree/etc. Sure, that works too. Looking

[PATCH 0/2] x86/KASAN updates for 4.3

2015-08-12 Thread Andrey Ryabinin
These 2 patches taken from v5 'KASAN for arm64' series. The only change is updated changelog in second patch. I hope this is not too late to queue these for 4.3, as this allow us to merge arm64/KASAN patches in v4.4 through arm64 tree. Andrey Ryabinin (2): x86/kasan: define KASAN_SHADOW_OFFSE

[PATCH v6 1/2] x86/kasan: define KASAN_SHADOW_OFFSET per architecture

2015-08-12 Thread Andrey Ryabinin
Current definition of KASAN_SHADOW_OFFSET in include/linux/kasan.h will not work for upcomming arm64, so move it to the arch header. Signed-off-by: Andrey Ryabinin --- arch/x86/include/asm/kasan.h | 3 +++ include/linux/kasan.h| 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff

[PATCH v6 2/2] x86/kasan, mm: introduce generic kasan_populate_zero_shadow()

2015-08-12 Thread Andrey Ryabinin
Introduce generic kasan_populate_zero_shadow(shadow_start, shadow_end). This function maps kasan_zero_page to the [shadow_start, shadow_end] addresses. This replaces x86_64 specific populate_zero_shadow() and will be used for ARM64 in follow on patches. The main changes from original version are:

Re: regression introduced by "block: Add support for DAX reads/writes to block devices"

2015-08-12 Thread Boaz Harrosh
On 08/13/2015 12:11 AM, Jeff Moyer wrote: > Boaz Harrosh writes: > >> On 08/07/2015 11:41 PM, Jeff Moyer wrote: >> <> >>> We need to cope with the case where the end of a partition isn't on a page boundary though. >>> >>> Well, that's usually done by falling back to buffered I/O. I gav

Re: [PATCH 2/2] zram: use crypto API to compress the page

2015-08-12 Thread Sergey Senozhatsky
Removed Herbert, David, Stephan not spam their mail boxes. I'd rather investigate something like this. WARNING!!! NOT TESTED AT ALL! like for real... only compile tested. RFC define ZLIB backend the same way as we already do. and introduce compression frontend ->flags field. backend that req

Re: page-flags behavior on compound pages: a worry

2015-08-12 Thread Hugh Dickins
On Fri, 7 Aug 2015, Kirill A. Shutemov wrote: > On Thu, Aug 06, 2015 at 12:24:22PM -0700, Hugh Dickins wrote: > > > > Oh, and I know a patchset which avoids these problems completely, > > by not using compound pages at all ;) > > BTW, I haven't heard anything about the patchset for a while. > Wha

Re: [PATCH] net: fix wrong skb_get() usage / crash in IGMP/MLD parsing code

2015-08-12 Thread Alexei Starovoitov
On Thu, Aug 13, 2015 at 05:54:07AM +0200, Linus Lüssing wrote: > The recent refactoring of the IGMP and MLD parsing code into > ipv6_mc_check_mld() / ip_mc_check_igmp() introduced a potential crash / > BUG() invocation for bridges: > > I wrongly assumed that skb_get() could be used as a simple ref

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

2015-08-12 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in: drivers/staging/ozwpan/ozproto.c between commit: 5a447f09a8df ("staging: ozwpan: Fix hrtimer wreckage") from the tip tree and commit: a73e99cb67e7 ("staging: ozwpan: Remove from tree") from the staging tree. I fi

[PATCH v2] power_supply: max8998: Use devm_power_supply_register

2015-08-12 Thread Vaishali Thakkar
Use managed resource function devm_power_supply_register instead of power_supply_register to simplify the error path by allowing unregister to happen automatically on error. To be compatible with the change, replace various gotos by direct returns and remove unneeded label err. Also, remove max899

Re: [PATCH 0/5] add GPT timer support for mt8173

2015-08-12 Thread Daniel Kurtz
On Wed, Aug 12, 2015 at 8:32 PM, Daniel Lezcano wrote: > On 08/11/2015 05:54 PM, Daniel Kurtz wrote: >> >> On Mon, Jul 13, 2015 at 5:32 PM, Yingjoe Chen >> wrote: >>> >>> This series add GPT timer support for mt8173. This is based on v4.2-rc1 >>> and Matthias' next branch (for dts parts). >>> >>>

Re: [PATCH v8 2/7] arm64: Add more test functions to insn.c

2015-08-12 Thread David Long
On 08/11/15 14:00, Will Deacon wrote: On Tue, Aug 11, 2015 at 01:52:39AM +0100, David Long wrote: From: "David A. Long" Certain instructions are hard to execute correctly out-of-line (as in kprobes). Test functions are added to insn.[hc] to identify these. The instructions include any that u

[GIT PULL] EDAC fix for 4.2

2015-08-12 Thread Borislav Petkov
Hi Linus, please pull a ppc4xx_edac fix for an oops due to wrongly dereferencing a csrow descriptor. Thanks. --- The following changes since commit d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754: Linux 4.2-rc1 (2015-07-05 11:01:52 -0700) are available in the git repository at: git://git.kernel.

Re: page-flags behavior on compound pages: a worry

2015-08-12 Thread Hugh Dickins
On Thu, 13 Aug 2015, Kirill A. Shutemov wrote: > > All this situation is ugly. I'm thinking on more general solution for > PageTail() vs. ->first_page race. > > We would be able to avoid the race in first place if we encode PageTail() > and position of head page within the same word in struct pag

Re: [PATCH] genet:Fix error handling in the function bcmgenet_fini_gma

2015-08-12 Thread Florian Fainelli
Le 08/12/15 19:27, Nicholas Krause a écrit : > This fixes error handing in the function bcmgenet_fini_gma to > properly check if its internal call to the function > bcm_genet_teardown has failed by returning a error code and if > so return immediately to this function's caller with a return > state

[PATCH] net: fix wrong skb_get() usage / crash in IGMP/MLD parsing code

2015-08-12 Thread Linus Lüssing
The recent refactoring of the IGMP and MLD parsing code into ipv6_mc_check_mld() / ip_mc_check_igmp() introduced a potential crash / BUG() invocation for bridges: I wrongly assumed that skb_get() could be used as a simple reference counter for an skb which is not the case. skb_get() bears addition

[PATCH] net/fddi: remove HWM_REVERSE() macro

2015-08-12 Thread yalin wang
HWM_REVERSE() macro is unused, remove it. Signed-off-by: yalin wang --- drivers/net/fddi/skfp/h/hwmtm.h | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/net/fddi/skfp/h/hwmtm.h b/drivers/net/fddi/skfp/h/hwmtm.h index 5924d42..4ca2341 100644 --- a/drivers/net/fddi/skfp/h/hwmtm.

Re: get_vmalloc_info() and /proc/meminfo insanely expensive

2015-08-12 Thread Andrew Morton
On Wed, 12 Aug 2015 20:29:34 -0700 Linus Torvalds wrote: > I just did some profiling of a simple "make test" in the git repo, and > was surprised by the top kernel offender: get_vmalloc_info() showed up > at roughly 4% cpu use. > > It turns out that bash ends up reading /proc/meminfo on every s

[RFC PATCH 2/7] x86, mm: introduce struct vmem_altmap

2015-08-12 Thread Dan Williams
This is a preparation patch only, no functional changes. It simply makes the following patch easier to read. struct vmem_altmap modifies the memory hotplug code to enable it to map "device memory" while allocating the storage for struct page from that same capacity. The first user of this capabil

[PATCH 1/2] crypto: KEYS: convert public key to the akcipher API

2015-08-12 Thread Tadeusz Struk
This patch converts the module verification code to the new akcipher API. RSA implementation from crypto/asymmetric_keys has been removed and the new API is used for cryptographic primitives. The signature verification has been moved into a new crypto/asymmetric_keys/rsa_pkcs1_v1_5.c file. There is

[RFC PATCH 7/7] libnvdimm, pmem: 'struct page' for pmem

2015-08-12 Thread Dan Williams
Enable the pmem driver to handle PFN device instances. Attaching a pmem namespace to a pfn device triggers the driver to allocate and initialize struct page entries for pmem. Memory capacity for this allocation can either come from RAM (if the mapped PMEM capacity is low), or from PMEM (if the wr

[RFC PATCH 4/7] mm: register_dev_memmap()

2015-08-12 Thread Dan Williams
Provide an interface for device drivers to register physical memory The register_dev_memmap() api enables a device driver like pmem to setup struct page entries for the memory it has discovered. While this mechanism is motivated by the desire to use persistent memory outside of the block I/O and

[RFC PATCH 3/7] x86, mm: arch_add_dev_memory()

2015-08-12 Thread Dan Williams
Use struct vmem_altmap to augment vmemmap_{populate|free}(). In support of providing struct page coverage for persistent memory, use struct vmem_altmap to change the default policy for mapping pfns for a page range. The default vmemmap_populate() allocates page table storage area from the page al

[RFC PATCH 5/7] libnvdimm, e820: make CONFIG_X86_PMEM_LEGACY a tristate option

2015-08-12 Thread Dan Williams
Purely for ease of testing, with this in place we can run the unit test alongside any tests that depend on the memmap=ss!nn kernel parameter. The unit test mocking implementation requires that libnvdimm be a module and not built-in. A nice side effect is the implementation is a bit more generic as

[RFC PATCH 6/7] libnvdimm, pfn: 'struct page' provider infrastructure

2015-08-12 Thread Dan Williams
Implement the base infrastructure for libnvdimm PFN devices. Similar to BTT devices they take a namespace as a backing device and layer functionality on top. In this case the functionality is reserving space for an array of 'struct page' entries to be handed out through pfn_to_page(). For now this

[PATCH 2/2] crypto: qat - Don't move data inside output buffer

2015-08-12 Thread Tadeusz Struk
Don't need to move data inside of the output buffer because SW doen't need to do this anymore sice the new MPI mpi_read_buf() has been added. Just set the correct output len. Signed-off-by: Tadeusz Struk --- drivers/crypto/qat/qat_common/qat_asym_algs.c |3 --- 1 file changed, 3 deletions(-)

[RFC PATCH 1/7] x86, mm: ZONE_DEVICE for "device memory"

2015-08-12 Thread Dan Williams
While pmem is usable as a block device or via DAX mappings to userspace there are several usage scenarios that can not target pmem due to its lack of struct page coverage. In preparation for "hot plugging" pmem into the vmemmap add ZONE_DEVICE as a new zone to tag these pages separately from the on

[RFC PATCH 0/7] 'struct page' driver for persistent memory

2015-08-12 Thread Dan Williams
When we last left this debate [1] it was becoming clear that the 'page-less' approach left too many I/O scenarios off the table. The page-less enabling is still useful for avoiding the overhead of struct page where it is not needed, but in the end, page-backed persistent memory seems to be a requi

[PATCH 0/2] crypto: KEYS: convert public key to the akcipher API

2015-08-12 Thread Tadeusz Struk
This patch converts the module verification code to the new akcipher API. RSA implementation from crypto/asymmetric_keys has been removed and the new API is used for cryptographic primitives. The signature verification has been moved into a new crypto/asymmetric_keys/rsa_pkcs1_v1_5.c file. There is

Re: [PATCH v8 1/7] arm64: Add HAVE_REGS_AND_STACK_ACCESS_API feature

2015-08-12 Thread David Long
On 08/11/15 13:31, Will Deacon wrote: Hi David, On Tue, Aug 11, 2015 at 01:52:38AM +0100, David Long wrote: From: "David A. Long" Add HAVE_REGS_AND_STACK_ACCESS_API feature for arm64. Signed-off-by: David A. Long --- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/ptrace.h

Re: [PATCH 2/2] zram: use crypto API to compress the page

2015-08-12 Thread Sergey Senozhatsky
On (08/13/15 11:24), Joonsoo Kim wrote: > Until now, zram uses compression algorithm through direct call > to core algorithm function, but, it has drawback that we need to add > compression algorithm manually to zram if needed. Without this work, > we cannot utilize various compression algorithms i

Re: [PATCH v5 3/3] arm64: dts: Add spi bus dts

2015-08-12 Thread lei liu
> > + spi: spi@1100a000 { > > + compatible = "mediatek,mt8173-spi"; > > + #address-cells = <1>; > > + #size-cells = <0>; > > + reg = <0 0x1100a000 0 0x1000>; > > + interrupts

RE: [Intel-gfx] [4.2-rc4] acpi|drm|i915: circular locking dependency: acpi_video_get_backlight_type

2015-08-12 Thread Zheng, Lv
Hi, Ville Have you reported this to the owner of the backlight core? This looks like a bug that the backlight core should handle. What intel backlight driver and acpi backlight driver have done here are just invoking APIs provided by the backlight core. So it is the duty of the backlight core to

get_vmalloc_info() and /proc/meminfo insanely expensive

2015-08-12 Thread Linus Torvalds
I just did some profiling of a simple "make test" in the git repo, and was surprised by the top kernel offender: get_vmalloc_info() showed up at roughly 4% cpu use. It turns out that bash ends up reading /proc/meminfo on every single activation, and "make test" is basically just running a huge col

Re: enabling libgcc for 64-bit divisions, was Re: PROBLEM: XFS on ARM corruption 'Structure needs cleaning'

2015-08-12 Thread Andrew Morton
On Wed, 12 Aug 2015 15:20:54 -0700 Andy Lutomirski wrote: > On 08/12/2015 08:49 AM, Linus Torvalds wrote: > > On Tue, Aug 11, 2015 at 11:24 PM, Christoph Hellwig > > wrote: > >> > >> Maybe it's time to rely on gcc to handle 64 bit divisions now? > > > > Ugh. gcc still does a pretty horrible job

Re: [PATCH v2 09/16] PM / hibernate: Reserve hibernation key and erase footprints

2015-08-12 Thread joeyli
Hi Yu, Thanks for your reviewing. On Thu, Aug 13, 2015 at 02:45:32AM +, Chen, Yu C wrote: > Hi Chun-yi, > On Tue, 2015-08-11 at 14:16 +0800, Lee, Chun-Yi wrote: > > > +/* A page used to keep hibernation keys */ > > +static struct hibernation_keys *hibernation_keys; > > + > > +void __init pa

Re: [PATCH v3 1/5] pwm: add the Berlin pwm controller driver

2015-08-12 Thread Jisheng Zhang
Dear Antoine, On Wed, 12 Aug 2015 15:51:33 +0200 Antoine Tenart wrote: > Add a PWM controller driver for the Marvell Berlin SoCs. This PWM > controller has 4 channels. > > Signed-off-by: Antoine Tenart > --- > drivers/pwm/Kconfig | 9 ++ > drivers/pwm/Makefile | 1 + > drivers/pw

Re: [PATCH 1/2] crypto: export crypto_alg_list and rwsem

2015-08-12 Thread Herbert Xu
On Thu, Aug 13, 2015 at 11:24:13AM +0900, Joonsoo Kim wrote: > Until now, zram uses compression algorithm through direct call > to core algorithm function, but, it has drawback that we need to add > compression algorithm manually to zram. If we don't do that, we cannot > utilize various compression

Re: [GIT PULL] MODSIGN: Use PKCS#7 for module signatures [ver #8]

2015-08-12 Thread David Howells
Merge tag 'asn1-fixes-20150805' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs into next (2015-08-07 13:27:58 +1000) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/modsign-pkcs7-20150812-3 for

[PATCH v5 1/5] mm: move __phys_to_pfn and __pfn_to_phys to asm/generic/memory_model.h

2015-08-12 Thread Dan Williams
From: Christoph Hellwig Three architectures already define these, and we'll need them genericly soon. Signed-off-by: Christoph Hellwig Signed-off-by: Dan Williams --- arch/arm/include/asm/memory.h |6 -- arch/arm64/include/asm/memory.h |6 -- arch/unicore32/include/a

[PATCH v5 3/5] dax: drop size parameter to ->direct_access()

2015-08-12 Thread Dan Williams
None of the implementations currently use it. The common bdev_direct_access() entry point handles all the size checks before calling ->direct_access(). Signed-off-by: Christoph Hellwig Signed-off-by: Dan Williams --- arch/powerpc/sysdev/axonram.c |2 +- drivers/block/brd.c |6

[PATCH v5 5/5] scatterlist: convert to __pfn_t

2015-08-12 Thread Dan Williams
__pfn_t has flags for sg_chain and sg_last, use it to replace the (struct page *) entry in struct scatterlist. Signed-off-by: Dan Williams --- include/linux/mm.h |9 +++ include/linux/scatterlist.h | 111 ++- samples/kfifo/dma-example.c |

[PATCH v5 4/5] dax: fix mapping lifetime handling, convert to __pfn_t + kmap_atomic_pfn_t()

2015-08-12 Thread Dan Williams
The primary source for non-page-backed page-frames to enter the system is via the pmem driver's ->direct_access() method. The pfns returned by the top-level bdev_direct_access() may be passed to any other subsystem in the kernel and those sub-systems either need to assume that the pfn is page back

[PATCH v5 2/5] allow mapping page-less memremaped areas into KVA

2015-08-12 Thread Dan Williams
Introduce a type that encapsulates a page-frame-number that can also be used to encode other information. This other information is the traditional "page_link" encoding in a scatterlist, but can also denote "device memory". Where "device memory" is a set of pfns that are not part of the kernel's

[PATCH v5 0/5] introduce __pfn_t for unmapped pfn I/O and DAX lifetime

2015-08-12 Thread Dan Williams
Changes since v4 [1]: 1/ Allow up to PAGE_SHIFT bits in PFN_ flags. Previously the __pfn_t value was a union with a 'struct page *', but now __pfn_t_to_page() internally does a pfn_to_page() instead of type-punning the value. (Linus, Matthew) 2/ Move the definition to include/linux/mm.h

Re: [Intel-gfx] [RFC 1/1] drm/i915 : Wait until SYSTEM_RUNNING before loading CSR firmware

2015-08-12 Thread James Ausmus
On Wednesday 15 July 2015 11:34:43 Daniel Vetter wrote: > On Tue, Jul 14, 2015 at 01:37:32PM -0700, Greg KH wrote: > > On Tue, Jul 14, 2015 at 11:22:35AM +0200, Daniel Vetter wrote: > > > On Mon, Jul 13, 2015 at 09:36:45AM -0700, jay.p.pa...@intel.com wrote: > > > > From: Jay Patel > > > > > > >

Re: [GIT PULL] MODSIGN: Use PKCS#7 for module signatures [ver #8]

2015-08-12 Thread David Howells
David Howells wrote: > > I'm still seeing these warnings: > > > > scripts/sign-file.c: In function ‘main’: > > scripts/sign-file.c:188: warning: value computed is not used > > Ummm... What do you see on line 188? "BIO_reset(b);"? If so, that seems to > be an openssl bug. b is created four l

Re: [PATCH v2 09/16] PM / hibernate: Reserve hibernation key and erase footprints

2015-08-12 Thread Chen, Yu C
Hi Chun-yi, On Tue, 2015-08-11 at 14:16 +0800, Lee, Chun-Yi wrote: > +/* A page used to keep hibernation keys */ > +static struct hibernation_keys *hibernation_keys; > + > +void __init parse_hibernation_keys(u64 phys_addr, u32 data_len) > +{ > + struct setup_data *hibernation_setup_data; > + >

Re: [PATCH V10] fixup: audit: implement audit by executable

2015-08-12 Thread Paul Moore
On Wednesday, August 12, 2015 11:19:44 AM Richard Guy Briggs wrote: > On 15/08/12, Paul Moore wrote: > > On Wednesday, August 12, 2015 05:48:48 AM Richard Guy Briggs wrote: > > > Do you plan to push this fix to next? > > > > Patience. Yes, I'll be pushing this to next sometime this week; as usual

[PATCH] power: align wakeup_sources format

2015-08-12 Thread check.kernel
From: yangdongdong This aligns every column of elements in wakeup_sources to conveniently check any specific column for suspicious power consumption wakeup source or for other easily readable purpose. Signed-off-by: yangdongdong --- drivers/base/power/wakeup.c | 4 ++-- 1 file changed, 2 inser

Re: [PATCH] x86, vsyscall: add CONFIG to control default

2015-08-12 Thread Josh Triplett
On Wed, Aug 12, 2015 at 05:55:19PM -0700, Kees Cook wrote: > Most modern systems can run with vsyscall=none. In an effort to provide > a way for build-time defaults to lack legacy settings, this adds a new > CONFIG to select the type of vsyscall mapping to use, similar to the > existing "vsyscall"

[PATCH 1/2] crypto: export crypto_alg_list and rwsem

2015-08-12 Thread Joonsoo Kim
Until now, zram uses compression algorithm through direct call to core algorithm function, but, it has drawback that we need to add compression algorithm manually to zram. If we don't do that, we cannot utilize various compression algorithms in the system. To improve this situation, zram will be ch

[PATCH 2/2] zram: use crypto API to compress the page

2015-08-12 Thread Joonsoo Kim
Until now, zram uses compression algorithm through direct call to core algorithm function, but, it has drawback that we need to add compression algorithm manually to zram if needed. Without this work, we cannot utilize various compression algorithms in the system. Moreover, to add new compression a

UPON YOUR REPLY I WILL EXPLAIN.

2015-08-12 Thread James Kadiogo
Dear Friend, Greetings and I hope you are fine. I have a business venture that will be of mutual benefits and the deal is worth 11.8 Million Dollars coming from a certain dormant account in my Bank in Burkina Faso, West Africa and once you indicate your interest I will furnish you with details th

Re: [PATCH] printk: rebalance printk

2015-08-12 Thread Pan Xinhui
On 2015年08月12日 20:31, Peter Hurley wrote: > On 08/11/2015 02:16 PM, Greg Kroah-Hartman wrote: >> On Tue, Aug 11, 2015 at 07:23:01PM +0800, Pan Xinhui wrote: >>> From: Pan Xinhui >>> >>> printk can be called in any context, It's very useful to output debug >>> info. >>> >>> But it might cause ver

Re: [PATCH] mm, vmscan: Do not wait for page writeback for GFP_NOFS allocations

2015-08-12 Thread Hugh Dickins
On Fri, 7 Aug 2015, Nikolay Borisov wrote: > On 08/04/2015 09:32 AM, Hugh Dickins wrote: > > > > And I've done quite a bit of testing. The loads that hung at the > > weekend have been running nicely for 24 hours now, no problem with the > > writeback hang and no problem with the dcache ENOTDIR is

[auxdisplay: ks0108] BUG: unable to handle kernel

2015-08-12 Thread kernel test robot
4668a4983cc46e31a7b3f0c74e # 09:41 61+ 0 auxdisplay: ks0108: use min_t # extra tests with DEBUG_INFO git bisect bad 4edd70c133f3921c594883d8f9da31a7261f8b4f # 09:49 0- 38 auxdisplay: ks0108: use new parport device model # extra tests on HEAD of linux-next/master git bisect bad

Re: [PATCH] spi: Mediatek: fix endian warnings

2015-08-12 Thread lei liu
Hello Mark, This patch is applied, should I append a new patch or you rollback it? Thanks. On Wed, 2015-08-12 at 16:45 +0200, Jonas Gorski wrote: > Hi, > > On Tue, Aug 11, 2015 at 12:43 PM, Leilk Liu wrote: > > This patch fixes endian warnings detected by sparse: > > - sparse: incorrect type i

Re: [GIT PULL] MODSIGN: Use PKCS#7 for module signatures [ver #8]

2015-08-12 Thread David Howells
t://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/modsign-pkcs7-20150812-2 for you to fetch changes up to 772111ab01eace6a7e4cf821a4348cec64a97c92: PKCS#7: Add MODULE_LICENSE() to test module (2015-08-13 02:51:33 +0100) -

Re: [PATCH v8 00/21] Compile-time stack validation

2015-08-12 Thread Josh Poimboeuf
On Wed, Aug 12, 2015 at 04:24:49PM -0500, Chris J Arges wrote: > > > > > Thanks for trying it out. I couldn't figure out how to recreate this > > exact error, but I played around with "make mrproper" and saw some > > probably related errors. Does this fix it? > > > > ---8<--- > > > > Subject:

[PATCH] drm/exynos: Staticize local function in exynos_drm_gem.c

2015-08-12 Thread Krzysztof Kozlowski
The exynos_drm_gem_mmap_buffer() is not used outside so make it static. Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_

Re: [Ksummit-discuss] [BELATED CORE TOPIC] context tracking / nohz / RCU state

2015-08-12 Thread Lai Jiangshan
On Thu, Aug 13, 2015 at 12:03 AM, Paul E. McKenney wrote: > On Wed, Aug 12, 2015 at 04:27:34PM +0200, Frederic Weisbecker wrote: >> On Tue, Aug 11, 2015 at 08:42:58PM +0200, Luis R. Rodriguez wrote: >> > On Tue, Aug 11, 2015 at 10:49:36AM -0700, Andy Lutomirski wrote: >> > > This is a bit late, bu

Re: [f2fs-dev] [PATCH 2/2 v3] f2fs: skip checkpoint if there is no dirty segments

2015-08-12 Thread Jaegeuk Kim
Change log from v2: - consider omitting current dirty segments >From 181cb245f6a406e89c00976f65a5727956a72942 Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Tue, 11 Aug 2015 21:59:49 -0700 Subject: [PATCH] f2fs: skip checkpoint if there is no dirty and prefree segments We should avoid needle

[PATCH] vfio: Enable VFIO device for powerpc

2015-08-12 Thread David Gibson
ec53500f "kvm: Add VFIO device" added a special KVM pseudo-device which is used to handle any necessary interactions between KVM and VFIO. Currently that device is built on x86 and ARM, but not powerpc, although powerpc does support both KVM and VFIO. This makes things awkward in userspace Curre

Patch "x86/asm/entry/64: Remove pointless jump to irq_return" has been added to the 4.1-stable tree

2015-08-12 Thread gregkh
This is a note to let you know that I've just added the patch titled x86/asm/entry/64: Remove pointless jump to irq_return to the 4.1-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: x8

Re: [GIT PULL] MODSIGN: Use PKCS#7 for module signatures [ver #8]

2015-08-12 Thread James Morris
On Wed, 12 Aug 2015, David Howells wrote: > Hi James, > > Can you pull this into security/next please? Its aim is twofold: firstly, > make the module signatures of PKCS#7/CMS format rather than a home-brewed > format and secondly to pave the way for use of the signing code for > firmware signatu

[PATCH 7/7] ARM: bcm2835: Add VC4 to the device tree.

2015-08-12 Thread Eric Anholt
Signed-off-by: Eric Anholt --- arch/arm/boot/dts/bcm2835.dtsi | 43 ++ 1 file changed, 43 insertions(+) diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi index 8f3ba88..dda67aa 100644 --- a/arch/arm/boot/dts/bcm2835.dtsi +++ b/ar

what's cooking in zram for 4.2

2015-08-12 Thread Sergey Senozhatsky
Hello Karel, ... planned to write this earlier. zram will see some user-space visible improvements in 4.2 we'd love to let you know about -- on-demand device creation/removal. For that purpose we introduce zram control sysfs class, which has two sysfs attrs: - hot_add -- add a new zram de

[PATCH 3/7] drm/vc4: Add KMS support for Raspberry Pi.

2015-08-12 Thread Eric Anholt
This is the start of a full VC4 driver. Right now this just supports configuring the display using a pre-existing video mode (because changing the pixel clock isn't available yet, and doesn't work when it is). However, this is enough for fbcon and bringing up X using xf86-video-modesetting. Sign

[PATCH 6/7] ARM: bcm2835: Add the DDC I2C controller to the device tree.

2015-08-12 Thread Eric Anholt
We need to use it for getting video modes over HDMI. Signed-off-by: Eric Anholt --- arch/arm/boot/dts/bcm2835.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi index 301c73f..8f3ba88 100644 --- a/arch/arm/boot/dts/bc

[PATCH 1/7] drm/vc4: Add devicetree bindings for VC4.

2015-08-12 Thread Eric Anholt
Signed-off-by: Eric Anholt --- .../devicetree/bindings/gpu/brcm,bcm-vc4.txt | 83 ++ 1 file changed, 83 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpu/brcm,bcm-vc4.txt diff --git a/Documentation/devicetree/bindings/gpu/brcm,bcm-vc4.txt b/Docume

Raspberry Pi KMS-only driver

2015-08-12 Thread Eric Anholt
Here's the first patch series for graphics on the Raspberry Pi. It brings up fbcon on KMS, and the xf86-video-modesetting driver runs so you can do X with no further userspace drivers. Right now this series doesn't support changing video modes away from the firmware boot setup, because when I set

[PATCH 2/7] MAINTAINERS: Add myself for the new VC4 (RPi GPU) graphics driver.

2015-08-12 Thread Eric Anholt
Signed-off-by: Eric Anholt --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8133cef..d0dc42c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3573,6 +3573,12 @@ S: Maintained F: drivers/gpu/drm/rockchip/ F: Documentation/devic

  1   2   3   4   5   6   7   8   9   10   >