[PATCH 1/4] fpga: mgr: add devm_fpga_mgr_create

2018-10-15 Thread Alan Tull
Add devm_fpga_mgr_create() which is the managed version of fpga_mgr_create(). Change current FPGA manager drivers to use devm_fpga_mgr_create() Signed-off-by: Alan Tull Suggested-by: Federico Vaga Acked-by: Moritz Fischer --- Documentation/driver-api/fpga/fpga-mgr.rst | 13 +++--- drivers/fpg

[PATCH 0/4] fpga: add managed create functions

2018-10-15 Thread Alan Tull
Hi Greg, Please take these four patches that have been reviewed on the mailing list. They all apply and build cleanly on the current linux-next and char-misc-testing. The first 3 add managed create functions for the FPGA API. The fourth is documentation rework. Alan Alan Tull (4): fpga: mgr

Re: [PATCH 1/2] ARM: copypage-fa: add kto and kfrom to input operands list

2018-10-15 Thread Russell King - ARM Linux
On Tue, Oct 16, 2018 at 12:16:29AM +0200, Stefan Agner wrote: > When functions incoming parameters are not in input operands list gcc > 4.5 does not load the parameters into registers before calling this > function but the inline assembly assumes valid addresses inside this > function. This breaks

Re: [RFC PATCH] mm, proc: report PR_SET_THP_DISABLE in proc

2018-10-15 Thread David Rientjes
On Mon, 15 Oct 2018, Michal Hocko wrote: > > > No, because the offending commit actually changed the precedence itself: > > > PR_SET_THP_DISABLE used to be honored for future mappings and the commit > > > changed that for all current mappings. > > > > Which is the actual and the full point of t

Re: perf's handling of unfindable user symbols...

2018-10-15 Thread Arnaldo Carvalho de Melo
Em Sun, Oct 14, 2018 at 12:42:38AM -0700, David Miller escreveu: > > Perf has this hack where it uses the kernel symbol map as a backup > when a symbol can't be found in the user's symbol table(s). Right, I recall that, lemme find where this got introduced... there, Ingo added it while perf lived

Re: [PATCH v4 1/3] mm: Shuffle initial free memory

2018-10-15 Thread Kees Cook
On Wed, Oct 10, 2018 at 6:36 PM, Dan Williams wrote: > While SLAB_FREELIST_RANDOM reduces the predictability of some local slab > caches it leaves vast bulk of memory to be predictably in order > allocated. That ordering can be detected by a memory side-cache. > > The shuffling is done in terms of

[PATCH 2/2] ARM: copypage: do not use naked functions

2018-10-15 Thread Stefan Agner
GCC documentation says naked functions should only use basic ASM syntax. The extended ASM or mixture of basic ASM and "C" code is not guaranteed. Currently it seems to work though. Furthermore with Clang using parameters in extended asm in a naked function is not supported: arch/arm/mm/copypage-

Re: [PATCH 1/2] mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2018-10-15 Thread David Rientjes
On Wed, 10 Oct 2018, David Rientjes wrote: > > I think "madvise vs mbind" is more an issue of "no-permission vs > > permission" required. And if the processes ends up swapping out all > > other process with their memory already allocated in the node, I think > > some permission is correct to be re

Re: [PATCH v4 1/3] mm: Shuffle initial free memory

2018-10-15 Thread Dan Williams
On Mon, Oct 15, 2018 at 3:25 PM Kees Cook wrote: > > On Wed, Oct 10, 2018 at 6:36 PM, Dan Williams > wrote: > > While SLAB_FREELIST_RANDOM reduces the predictability of some local slab > > caches it leaves vast bulk of memory to be predictably in order > > allocated. That ordering can be detecte

Re: [PATCH v3 6/8] input: stpmic1: add stpmic1 onkey driver

2018-10-15 Thread dmitry.torok...@gmail.com
Hi Pascal, On Mon, Oct 08, 2018 at 04:29:41PM +, Pascal PAILLET-LME wrote: > From: pascal paillet > > The stpmic1 pmic is able to manage an onkey button. This driver exposes > the stpmic1 onkey as an input device. It can also be configured to > shut-down the power supplies on a long key-pres

Re: [PATCH v8 3/5] Cleanup ISA string setting

2018-10-15 Thread Palmer Dabbelt
On Sun, 14 Oct 2018 16:46:40 PDT (-0700), alan...@andestech.com wrote: Hi Guenter, On Sat, Oct 13, 2018 at 05:02:05PM -0700, Guenter Roeck wrote: Hi, With this patch in -next applied, I get the following error when building riscv:defconfig. I guess what you meant was this commit: commit 0a5b

[PATCH] drivers: staging: rtl*: fix spelling mistake "Orginial" -> "Original"

2018-10-15 Thread Colin King
From: Colin Ian King Trivial fix to common spelling mistakes in some rtl* drivers Signed-off-by: Colin Ian King --- drivers/staging/rtl8188eu/hal/odm.c | 8 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c | 8 drivers/staging/rtlwifi/phydm/phydm_edcaturb

Re: [PATCH 2/2] ARM: copypage: do not use naked functions

2018-10-15 Thread Nicolas Pitre
On Tue, 16 Oct 2018, Stefan Agner wrote: > GCC documentation says naked functions should only use basic ASM > syntax. The extended ASM or mixture of basic ASM and "C" code is > not guaranteed. Currently it seems to work though. > > Furthermore with Clang using parameters in extended asm in a > na

Re: [PATCH 1/2] ARM: copypage-fa: add kto and kfrom to input operands list

2018-10-15 Thread Stefan Agner
On 16.10.2018 00:23, Russell King - ARM Linux wrote: > On Tue, Oct 16, 2018 at 12:16:29AM +0200, Stefan Agner wrote: >> When functions incoming parameters are not in input operands list gcc >> 4.5 does not load the parameters into registers before calling this >> function but the inline assembly as

Re: [patch] mm, slab: avoid high-order slab pages when it does not reduce waste

2018-10-15 Thread Christopher Lameter
On Fri, 12 Oct 2018, Andrew Morton wrote: > > If the amount of waste is the same at higher cachep->gfporder values, > > there is no significant benefit to allocating higher order memory. There > > will be fewer calls to the page allocator, but each call will require > > zone->lock and finding the

Re: [PATCH 2/2] ARM: copypage: do not use naked functions

2018-10-15 Thread Russell King - ARM Linux
On Mon, Oct 15, 2018 at 06:35:33PM -0400, Nicolas Pitre wrote: > On Tue, 16 Oct 2018, Stefan Agner wrote: > > > GCC documentation says naked functions should only use basic ASM > > syntax. The extended ASM or mixture of basic ASM and "C" code is > > not guaranteed. Currently it seems to work thoug

Re: [patch] mm, slab: avoid high-order slab pages when it does not reduce waste

2018-10-15 Thread Christopher Lameter
On Fri, 12 Oct 2018, David Rientjes wrote: > @@ -1803,6 +1804,20 @@ static size_t calculate_slab_order(struct kmem_cache > *cachep, >*/ > if (left_over * 8 <= (PAGE_SIZE << gfporder)) > break; > + > + /* > + * If a highe

Re: [PATCH 1/2] mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2018-10-15 Thread Andrew Morton
On Mon, 15 Oct 2018 15:30:17 -0700 (PDT) David Rientjes wrote: > At the risk of beating a dead horse that has already been beaten, what are > the plans for this patch when the merge window opens? I'll hold onto it until we've settled on something. Worst case, Andrea's original is easily backp

Re: [RFC 1/4] pwm: sifive: Add DT documentation for SiFive PWM Controller.

2018-10-15 Thread Atish Patra
On 10/10/18 6:51 AM, Thierry Reding wrote: On Tue, Oct 09, 2018 at 11:51:22AM -0700, Atish Patra wrote: [...] +- interrupts: one interrupt per PWM channel (currently unused in the driver) This should probably say what the interrupt is used for. And once you have that, remove the comment about

Re: [PATCH 1/2] ARM: copypage-fa: add kto and kfrom to input operands list

2018-10-15 Thread Russell King - ARM Linux
On Tue, Oct 16, 2018 at 12:39:54AM +0200, Stefan Agner wrote: > On 16.10.2018 00:23, Russell King - ARM Linux wrote: > > On Tue, Oct 16, 2018 at 12:16:29AM +0200, Stefan Agner wrote: > >> When functions incoming parameters are not in input operands list gcc > >> 4.5 does not load the parameters int

Re: Gang scheduling

2018-10-15 Thread Subhra Mazumdar
On 10/12/2018 11:01 AM, Tim Chen wrote: On 10/10/2018 05:09 PM, Subhra Mazumdar wrote: Hi, I was following the Coscheduling patch discussion on lkml and Peter mentioned he had a patch series. I found the following on github. https://github.com/pdxChen/gang/commits/sched_1.23-loadbal I wou

Re: [PATCH 2/2] ARM: copypage: do not use naked functions

2018-10-15 Thread Stefan Agner
On 16.10.2018 00:41, Russell King - ARM Linux wrote: > On Mon, Oct 15, 2018 at 06:35:33PM -0400, Nicolas Pitre wrote: >> On Tue, 16 Oct 2018, Stefan Agner wrote: >> >> > GCC documentation says naked functions should only use basic ASM >> > syntax. The extended ASM or mixture of basic ASM and "C" co

Re: [PATCH 1/2] ARM: copypage-fa: add kto and kfrom to input operands list

2018-10-15 Thread Stefan Agner
On 16.10.2018 00:46, Russell King - ARM Linux wrote: > On Tue, Oct 16, 2018 at 12:39:54AM +0200, Stefan Agner wrote: >> On 16.10.2018 00:23, Russell King - ARM Linux wrote: >> > On Tue, Oct 16, 2018 at 12:16:29AM +0200, Stefan Agner wrote: >> >> When functions incoming parameters are not in input o

Re: [PATCH 2/2] ARM: copypage: do not use naked functions

2018-10-15 Thread Nicolas Pitre
On Mon, 15 Oct 2018, Russell King - ARM Linux wrote: > On Mon, Oct 15, 2018 at 06:35:33PM -0400, Nicolas Pitre wrote: > > On Tue, 16 Oct 2018, Stefan Agner wrote: > > > > > GCC documentation says naked functions should only use basic ASM > > > syntax. The extended ASM or mixture of basic ASM and

linux-next: manual merge of the jc_docs tree with the pci tree

2018-10-15 Thread Stephen Rothwell
Hi Jonathan, Today's linux-next merge of the jc_docs tree got a conflict in: Documentation/driver-api/index.rst between commit: 7618a41f1a25 ("docs-rst: Add a new directory for PCI documentation") from the pci tree and commit: ea2ae0ecc9ad ("FireWire: add a Documentation driver-api chap

Re: [PATCH 1/2] mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2018-10-15 Thread Andrea Arcangeli
On Mon, Oct 15, 2018 at 03:30:17PM -0700, David Rientjes wrote: > At the risk of beating a dead horse that has already been beaten, what are > the plans for this patch when the merge window opens? It would be rather > unfortunate for us to start incurring a 14% increase in access latency and >

Re: [RFC 1/4] pwm: sifive: Add DT documentation for SiFive PWM Controller.

2018-10-15 Thread Atish Patra
On 10/10/18 6:49 AM, Thierry Reding wrote: On Tue, Oct 09, 2018 at 11:51:22AM -0700, Atish Patra wrote: From: "Wesley W. Terpstra" DT documentation for PWM controller added with updated compatible string. Signed-off-by: Wesley W. Terpstra [Atish: Compatible string update] Signed-off-by: Atis

Re: perf's handling of unfindable user symbols...

2018-10-15 Thread David Miller
From: Arnaldo Carvalho de Melo Date: Mon, 15 Oct 2018 19:25:46 -0300 > But I think we should have it as a property of 'struct machine', because we > may > be processing on, say, x86, a perf.data file recorded on a Sparc machine, so > we > need to save this property on the perf.data file, humm,

Re: [PATCH 2/2] ARM: copypage: do not use naked functions

2018-10-15 Thread Russell King - ARM Linux
On Mon, Oct 15, 2018 at 06:54:49PM -0400, Nicolas Pitre wrote: > On Mon, 15 Oct 2018, Russell King - ARM Linux wrote: > > > On Mon, Oct 15, 2018 at 06:35:33PM -0400, Nicolas Pitre wrote: > > > On Tue, 16 Oct 2018, Stefan Agner wrote: > > > > > > > GCC documentation says naked functions should onl

Re: [PATCH 1/2] ARM: copypage-fa: add kto and kfrom to input operands list

2018-10-15 Thread Russell King - ARM Linux
On Tue, Oct 16, 2018 at 12:52:58AM +0200, Stefan Agner wrote: > On 16.10.2018 00:46, Russell King - ARM Linux wrote: > > On Tue, Oct 16, 2018 at 12:39:54AM +0200, Stefan Agner wrote: > >> On 16.10.2018 00:23, Russell King - ARM Linux wrote: > >> > On Tue, Oct 16, 2018 at 12:16:29AM +0200, Stefan Ag

Re: [PATCH v2] regulator/gpio: Allow nonexclusive GPIO access

2018-10-15 Thread Laurent Pinchart
Hello, On Friday, 12 October 2018 19:44:24 EEST Mark Brown wrote: > On Fri, Oct 12, 2018 at 04:26:12PM +0200, jacopo mondi wrote: > > Sorry, I'm going slightly OT with this, but please read below. > > > > On Fri, Oct 12, 2018 at 02:54:12PM +0200, Linus Walleij wrote: > > > This allows nonexclusiv

Re: [PATCH v4 0/5] Fix some bugs on RV32 build fail and issue

2018-10-15 Thread Palmer Dabbelt
On Mon, 15 Oct 2018 05:33:17 PDT (-0700), zong...@gmail.com wrote: Zong Li 於 2018年10月3日 週三 上午11:12寫道: This patches contain the modificaion as follows: 1. Fix up the building fail on RV32. 2. Add umoddi3 and udivmoddi4 functions for RV32. 3. Fix ioremap problem on RV32. Thanks all for review t

Re: [RFC 1/4] pwm: sifive: Add DT documentation for SiFive PWM Controller.

2018-10-15 Thread Wesley Terpstra
On Mon, Oct 15, 2018 at 3:57 PM Atish Patra wrote: > >> +SiFive PWM controller > >> + > >> +Unlike most other PWM controllers, the SiFive PWM controller currently > >> only > >> +supports one period for all channels in the PWM. This is set globally in > >> DTS. > >> +The period also has signific

Re: [PATCH 1/2] mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2018-10-15 Thread Andrea Arcangeli
Hello Andrew, On Mon, Oct 15, 2018 at 03:44:59PM -0700, Andrew Morton wrote: > On Mon, 15 Oct 2018 15:30:17 -0700 (PDT) David Rientjes > wrote: > > Would it be possible to test with my > > patch[*] that does not try reclaim to address the thrashing issue? > > Yes please. It'd also be great i

Re: [PATCH 2/2] ARM: copypage: do not use naked functions

2018-10-15 Thread Nicolas Pitre
On Tue, 16 Oct 2018, Stefan Agner wrote: > On 16.10.2018 00:41, Russell King - ARM Linux wrote: > > On Mon, Oct 15, 2018 at 06:35:33PM -0400, Nicolas Pitre wrote: > >> On Tue, 16 Oct 2018, Stefan Agner wrote: > >> > >> > GCC documentation says naked functions should only use basic ASM > >> > synta

Re: [PATCH] kernel/signal: Signal-based pre-coredump notification

2018-10-15 Thread Eric W. Biederman
Enke Chen writes: > For simplicity and consistency, this patch provides an implementation > for signal-based fault notification prior to the coredump of a child > process. A new prctl command, PR_SET_PREDUMP_SIG, is defined that can > be used by an application to express its interest and to speci

Re: [PATCH] mm/kasan: make quarantine_lock a raw_spinlock_t

2018-10-15 Thread Andrew Morton
On Sat, 13 Oct 2018 15:50:58 +0200 Peter Zijlstra wrote: > The whole raw_spinlock_t is for RT, no other reason. Oh. I never realised that. Is this documented anywhere? Do there exist guidelines which tell non-rt developers and reviewers when it should be used?

Miss Aminata musa ibrahim

2018-10-15 Thread Miss Amina musa ibrahim
-- Miss Aminata musa ibrahim from Libya, I am 22 years old, I am in St. Christopher's Parish for refugee in Burkina Faso under United Nations High commission for Refugee ,I lost my parents in the recent war in Libya, right now am in Burkina Faso, please save my life i am in danger need your

Re: [PATCH] of: overlay: user space synchronization

2018-10-15 Thread Frank Rowand
On 10/15/18 13:38, Alan Tull wrote: > On Mon, Oct 15, 2018 at 1:09 PM Frank Rowand wrote: >> >> On 10/15/18 01:24, Geert Uytterhoeven wrote: >>> >>> Please say explicitly that tree_version contains a 32-bit unsigned >>> decimal number, which is incremented before and after every change. >>> I had

Re: [PATCH v2 0/6] sparsemem support for RISC-V

2018-10-15 Thread Palmer Dabbelt
On Mon, 15 Oct 2018 10:56:56 PDT (-0700), log...@deltatee.com wrote: This patchset implements sparsemem on RISC-V. The first few patches move some code in existing architectures into common helpers so they can be used by the new RISC-V implementation. The final patch actually adds sparsmem suppor

Re: [PATCH] staging: add nrf24 driver

2018-10-15 Thread Joe Perches
On Tue, 2018-10-16 at 01:17 +0200, Marcin Ciupak wrote: > This patch adds driver for Nordic Semiconductor nRF24L01+ radio module. [] > diff --git a/drivers/staging/nrf24/nrf24_hal.c > b/drivers/staging/nrf24/nrf24_hal.c [] > +static ssize_t nrf24_read_reg(struct spi_device *spi, u8 addr) > +{ >

Re: [PATCH] signal: Mark expected switch fall-throughs

2018-10-15 Thread Michael Ellerman
[ Cc += ebied...@xmission.com ] "Gustavo A. R. Silva" writes: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Signed-off-by: Gustavo A. R. Silva > --- > include/linux/signal.h | 6 ++ > 1 file changed, 6 insertions(+) The

Re: [PATCH] selftests/vm: Add a test for MAP_FIXED_NOREPLACE

2018-10-15 Thread Michael Ellerman
Michal Hocko writes: > On Sun 14-10-18 00:39:29, Michael Ellerman wrote: >> Add a test for MAP_FIXED_NOREPLACE, based on some code originally by >> Jann Horn. This would have caught the overlap bug reported by Daniel Micay. >> >> I originally suggested to Michal that we create MAP_FIXED_NOREPLAC

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

2018-10-15 Thread Stephen Rothwell
Hi all, On Wed, 3 Oct 2018 10:32:22 +1000 Stephen Rothwell wrote: > > After merging the vfs tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > /home/sfr/next/next/fs/f2fs/super.c: In function 'f2fs_remount': > /home/sfr/next/next/fs/f2fs/super.c:1589:16: error: 'MS_RDO

Working test 4

2018-10-15 Thread Judy
Did you get my email from last week? Let me know if you have photos for cutting out or retouching? We are an image team who can do editing for your the web store photos, industry photos or portrait photos. Send photos, we will do testing for you to check quality. Waiting for your reply soon. Th

[PATCH v2] of: overlay: user space synchronization

2018-10-15 Thread frowand . list
From: Frank Rowand When an overlay is applied or removed, the live devicetree visible in /proc/device-tree/, aka /sys/firmware/devicetree/base/, reflects the changes. There is no method for user space to determine whether the live devicetree was modified by overlay actions. Provide a sysfs file

linux-next: manual merge of the block tree with the pci tree

2018-10-15 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: include/linux/blkdev.h between commit: 113ff970ccda ("block: Add PCI P2P flag for request queue") from the pci tree and commit: cd84a62e0078 ("block, scsi: Change the preempt-only flag into a counter") from the bloc

Re: [PATCH] kernel/signal: Signal-based pre-coredump notification

2018-10-15 Thread valdis . kletnieks
On Mon, 15 Oct 2018 18:28:03 -0500, Eric W. Biederman said: > Enke Chen writes: > > > For simplicity and consistency, this patch provides an implementation > > for signal-based fault notification prior to the coredump of a child > > process. A new prctl command, PR_SET_PREDUMP_SIG, is defined that

Re: [PATCH v2] of: overlay: user space synchronization

2018-10-15 Thread valdis . kletnieks
On Mon, 15 Oct 2018 17:27:01 -0700, frowand.l...@gmail.com said: > From: Frank Rowand > > When an overlay is applied or removed, the live devicetree visible in > /proc/device-tree/, aka /sys/firmware/devicetree/base/, reflects the > changes. There is no method for user space to determine whether

Re: [patch] mm, slab: avoid high-order slab pages when it does not reduce waste

2018-10-15 Thread David Rientjes
On Mon, 15 Oct 2018, Christopher Lameter wrote: > > > If the amount of waste is the same at higher cachep->gfporder values, > > > there is no significant benefit to allocating higher order memory. There > > > will be fewer calls to the page allocator, but each call will require > > > zone->lock a

Working test 3

2018-10-15 Thread Judy
Did you get my email from last week? Let me know if you have photos for cutting out or retouching? We are an image team who can do editing for your the web store photos, industry photos or portrait photos. Send photos, we will do testing for you to check quality. Waiting for your reply soon. Th

Working test 3

2018-10-15 Thread Judy
Did you get my email from last week? Let me know if you have photos for cutting out or retouching? We are an image team who can do editing for your the web store photos, industry photos or portrait photos. Send photos, we will do testing for you to check quality. Waiting for your reply soon. Th

Re: [PATCH v2 1/6] clocksource: exynos_mct: Remove dead code

2018-10-15 Thread Chanwoo Choi
On 2018년 10월 15일 21:31, Marek Szyprowski wrote: > Exynos Multi-Core Timer driver is used only on device-tree based > systems, so remove non-dt related code. In case of !CONFIG_OF > the code is anyway equal because of_irq_count() has a stub > returning 0. > > Signed-off-by: Marek Szyprowski > Revi

Working test 5

2018-10-15 Thread Judy
Did you get my email from last week? Let me know if you have photos for cutting out or retouching? We are an image team who can do editing for your the web store photos, industry photos or portrait photos. Send photos, we will do testing for you to check quality. Waiting for your reply soon. Th

Re: [PATCH v2 0/3] treewide: add vibrator support for various MSM SOCs

2018-10-15 Thread Stephen Boyd
Quoting Brian Masney (2018-09-26 16:51:09) > This patch set adds support for the vibrator found on various Qualcomm > MSM SOCs. This is based on work from: Can you please stop adding 'treewide:' to your cover letters? It is very confusing while reading over subject summaries to see something that

Re: [PATCH] kernel/signal: Signal-based pre-coredump notification

2018-10-15 Thread Enke Chen
Hi, Eric: On 10/15/18 4:28 PM, Eric W. Biederman wrote: > Enke Chen writes: > >> For simplicity and consistency, this patch provides an implementation >> for signal-based fault notification prior to the coredump of a child >> process. A new prctl command, PR_SET_PREDUMP_SIG, is defined that can

Re: [RFC PATCH] memcg, oom: throttle dump_header for memcg ooms without eligible tasks

2018-10-15 Thread Tetsuo Handa
On 2018/10/15 22:35, Michal Hocko wrote: >> Nobody can prove that it never kills some machine. This is just one example >> result of >> one example stress tried in my environment. Since I am secure programming >> man from security >> subsystem, I really hate your "Can you trigger it?" resistance.

[PATCH v2] mtd: spi-nor: Add support for SPI boot flash access for AMD Family 16h

2018-10-15 Thread Grandbois, Brett
Add support to expose the SPI boot flash on AMD Family 16h CPUs as a standard mtd device to give userspace BIOS updaters greater feature support. The BIOS and Kernel Developer's Guide refers to this as the 'SPI ROM' controller and so the driver follows that naming convention for consistency. Sign

Re: [PATCH v2 4/6] clocksource: Change CPU hotplug priority of exynos_mct driver

2018-10-15 Thread Chanwoo Choi
On 2018년 10월 15일 21:31, Marek Szyprowski wrote: > Exynos Multi-Core Timer driver (exynos_mct) must be started before > ARM Architected Timers (arch_timer), because both timers share common > hardware block and turning on MCT is needed to get ARM Architected > Timer working properly. > > Signed-off

[PATCH v2] kvm:x86 :remove unnecessary recalculate_apic_map

2018-10-15 Thread Peng Hao
In the previous code, the variable sw_apic_disabled influences recalculate_apic_map. But in "KVM: x86: simplify kvm_apic_map" (commit:3b5a5ffa928a3f875b0d5dd284eeb7c322e1688a), the access to sw_apic_disabled in recalculate_apic_map has been deleted. Signed-off-by: Peng Hao --- arch/x86/kvm/lapic

[PATCH v3 0/2] add new UniPhier PCIe host driver

2018-10-15 Thread Kunihiko Hayashi
This series adds PCIe host controller driver for Socionext UniPhier SoCs. This controller is based on the DesignWare PCIe core. This driver supports LD20 and PXs3 SoCs. v2: https://www.spinics.net/lists/linux-pci/msg75930.html About legacy IRQ, it might be necessary to share common view from keys

[PATCH v3 2/2] PCI: uniphier: Add UniPhier PCIe host controller support

2018-10-15 Thread Kunihiko Hayashi
This introduces specific glue layer for UniPhier platform to support PCIe host controller that is based on the DesignWare PCIe core, and this driver supports Root Complex (host) mode. Signed-off-by: Kunihiko Hayashi --- drivers/pci/controller/dwc/Kconfig | 9 + drivers/pci/controller/d

[PATCH v3 1/2] dt-bindings: PCI: Add UniPhier PCIe host controller description

2018-10-15 Thread Kunihiko Hayashi
Add DT bindings for PCIe controller implemented in UniPhier SoCs when configured in Root Complex (host) mode. This controller is based on the DesignWare PCIe core. Signed-off-by: Kunihiko Hayashi Reviewed-by: Rob Herring --- .../devicetree/bindings/pci/uniphier-pcie.txt | 81 ++

Re: [PATCH v2 2/6] clocksource: exynos_mct: Fix error path in timer resources initialization

2018-10-15 Thread Chanwoo Choi
Dear Marek, On 2018년 10월 15일 21:31, Marek Szyprowski wrote: > While freeing interrupt handlers in error path, don't assume that all > requested interrupts are per-processor interrupts and properly release > standard interrupts too. > > Suggested-by: Krzysztof Kozlowski > Fixes: 56a94f13919c ("cl

Re: [PATCH v3 2/2] PCI: uniphier: Add UniPhier PCIe host controller support

2018-10-15 Thread Kunihiko Hayashi
Sorry to occur build error because some lines are missing in the patch. I'll resend them. Thank you, On Tue, 16 Oct 2018 10:26:08 +0900 wrote: > This introduces specific glue layer for UniPhier platform to support > PCIe host controller that is based on the DesignWare PCIe core, and > this driv

[PATCH] Kbuild: Hide Clang's -Wempty-body behind W=1

2018-10-15 Thread Nathan Chancellor
There are only a few instances of this warning in an arm64 allyesconfig build but none of them appear useful. I believe the intention of the warning is to avoid situations like this: if (condition); statement; where the user really intended if (condition) statement; However, the

config EXTRA_FIRMWARE not compiling muliple files

2018-10-15 Thread noman pouigt
Hello Folks, CONFIG_FW_LOADER=y CONFIG_FIRMWARE_IN_KERNEL=y CONFIG_EXTRA_FIRMWARE="first_image" "second_image" request_firmware for "first_image" is passing but for "second_image" the loading is not happening. Is this a known scripting issue? I get "Request firmware defered -11". Please advice.

[GIT] Sparc

2018-10-15 Thread David Miller
1) Revert the %pOF change, it causes regressions. 2) Wire up io_pgetevents(). 3) Fix perf events on single-PCR sparc64 cpus. 4) Do proper perf event throttling like arm and x86. Please pull, thanks a lot! The following changes since commit 0854ba5ff5c938307cd783e996b62c83f1ce923b: Merge g

[PATCH v4 15/18] of: overlay: set node fields from properties when add new overlay node

2018-10-15 Thread frowand . list
From: Frank Rowand Overlay nodes added by add_changeset_node() do not have the node fields name, phandle, and type set. The node passed to __of_attach_node() when the add node changeset entry is processed does not contain any properties. The node's properties are located in add property changes

[PATCH v4 09/18] of: overlay: validate overlay properties #address-cells and #size-cells

2018-10-15 Thread frowand . list
From: Frank Rowand If overlay properties #address-cells or #size-cells are already in the live devicetree for any given node, then the values in the overlay must match the values in the live tree. If the properties are already in the live tree then there is no need to create a changeset entry to

Re: [PATCH v2] of: overlay: user space synchronization

2018-10-15 Thread Frank Rowand
On 10/15/18 17:35, valdis.kletni...@vt.edu wrote: > On Mon, 15 Oct 2018 17:27:01 -0700, frowand.l...@gmail.com said: >> From: Frank Rowand >> >> When an overlay is applied or removed, the live devicetree visible in >> /proc/device-tree/, aka /sys/firmware/devicetree/base/, reflects the >> changes.

答复: 答复: [PATCH] arm64/ptrace: add PTRACE_SYSEMU and PTRACE_SYSEMU_SINGLESTEP support

2018-10-15 Thread Haibo Xu (Arm Technology China)
On Wed, Sep 05, 2018 at 03:45:51AM +0200, Richard Weinberger wrote: > Am Dienstag, 4. September 2018, 04:11:07 CEST schrieb Haibo Xu (Arm > Technology China): > > Hi Richard, > > > > What do you mean by done it in the core? moving macro definition to > > include/uapi/linux/ptrace.h? > >The patch

[PATCH V9 00/21] C-SKY(csky) Linux Kernel Port

2018-10-15 Thread Guo Ren
This is the 9th version patchset to add the Linux kernel port for C-SKY(csky) based on linux-4.19-rc3. There are only a few changes between V8 patchset. Hope it could be merged into linux-4.20 and I'm very grateful for any help. Here is the LTP test report: ---

[PATCH V9 02/21] csky: defconfig

2018-10-15 Thread Guo Ren
This patch adds csky defconfig. Signed-off-by: Guo Ren Cc: Arnd Bergmann --- arch/csky/configs/defconfig | 61 + 1 file changed, 61 insertions(+) create mode 100644 arch/csky/configs/defconfig diff --git a/arch/csky/configs/defconfig b/arch/csky/con

[PATCH V9 03/21] csky: Kernel booting

2018-10-15 Thread Guo Ren
This patch add boot code. Thx boot params is all in dtb and it's the only way to let kernel get bootloader param information. Signed-off-by: Guo Ren Cc: Arnd Bergmann --- Changelog: - Use built-in dtb when dtb param is NULL. - Add dummy console for allmodconfig. --- --- arch/csky/kernel/head.

[PATCH V9 01/21] csky: Build infrastructure

2018-10-15 Thread Guo Ren
This patch adds Makefile, Kconfig for build infrastructure. Signed-off-by: Guo Ren Cc: Arnd Bergmann --- Changelog: - make allmodconfig is OK. - Use BUILTIN_DTB as string, remove bool define for compile. - Add xor.h in asm/Kbuild - Add compat.h in asm/Kbuild. - Add select DMA_DIRECT_OPS in

RE: [RFC/RFT/[PATCH] cpuidle: New timer events oriented governor for tickless systems

2018-10-15 Thread Doug Smythies
On 2018.10.15 00:52 Rafael J. Wysocki wrote: > On Sun, Oct 14, 2018 at 8:53 AM Doug Smythies wrote: >> On 2018.10.11 14:02 Rafael J. Wysocki wrote: > > ...[cut]... > >>> Overall, it selects deeper idle states than menu more often, but >>> that doesn't seem to make a significant difference in the m

[PATCH V9 04/21] csky: Exception handling and mm-fault

2018-10-15 Thread Guo Ren
This patch adds exception handling code, cpuinfo and mm-fault code. Signed-off-by: Guo Ren Cc: Arnd Bergmann --- Changelog: - Fixup r15 may used by unalignment access and remove r1. --- --- arch/csky/abiv1/alignment.c | 326 + arch/csky/abiv1/inc/abi/entry.h

[PATCH V9 11/21] csky: Atomic operations

2018-10-15 Thread Guo Ren
This patch adds atomic, cmpxchg, spinlock files. Signed-off-by: Guo Ren Cc: Peter Zijlstra Cc: Andrea Parri Cc: Arnd Bergmann --- Changlog: - SMP supported - ticklock supported - queue-rwlock supported --- --- arch/csky/include/asm/atomic.h | 212 + arch/csk

[PATCH V9 06/21] csky: Cache and TLB routines

2018-10-15 Thread Guo Ren
This patch adds cache and tlb sync codes for abiv1 & abiv2. Signed-off-by: Guo Ren Cc: Arnd Bergmann --- Changelog: - fixup module compile error for EXPORT_SYMBOL(cache_wbinv_range). - tlb.h & cacheflush.h: fix flush_cache_range and tlb_start_vma of abiv1 in flush_cache_range(vma, ...).

[PATCH V9 05/21] csky: System Call

2018-10-15 Thread Guo Ren
This patch adds files related to syscall. Signed-off-by: Guo Ren Cc: Arnd Bergmann --- arch/csky/include/asm/syscall.h | 71 + arch/csky/include/asm/syscalls.h| 15 arch/csky/include/uapi/asm/unistd.h | 10 ++ arch/csky/kernel/syscall.c

[PATCH V9 09/21] csky: VDSO and rt_sigreturn

2018-10-15 Thread Guo Ren
This patch adds files related to VDSO and our VDSO only support rt_sigreturn. Signed-off-by: Guo Ren Cc: Arnd Bergmann --- arch/csky/abiv1/inc/abi/vdso.h | 17 + arch/csky/abiv2/inc/abi/vdso.h | 23 +++ arch/csky/include/asm/vdso.h | 12 ++ arch/csky/kernel/vdso.c|

[PATCH V9 10/21] csky: IRQ handling

2018-10-15 Thread Guo Ren
This patch adds IRQ handling files. Signed-off-by: Guo Ren Cc: Arnd Bergmann Cc: Thomas Gleixner --- Changelog: - Use CONFIG_GENERIC_IRQ_MULTI_HANDLER --- --- arch/csky/include/asm/irqflags.h | 49 arch/csky/kernel/irq.c | 22

[PATCH V9 08/21] csky: Process management and Signal

2018-10-15 Thread Guo Ren
This patch adds files related to task_switch, sigcontext, signal, fpu context switch. Signed-off-by: Guo Ren Cc: Arnd Bergmann --- Changelog: - abiv2/fpu.c: Userspace should never be sent NSIGXXX as a si_code. Use FPE_FLTUNK instead. - abiv2/fpu.c: Use force_sig_fault instead. --- --- arch

[PATCH 3/3] i2c: uniphier-f: fix race condition when IRQ is cleared

2018-10-15 Thread Masahiro Yamada
The current IRQ handler clears all the IRQ status bits when it bails out. This is dangerous because it might clear away the status bits that have just been set while processing the current handler. If this happens, the IRQ event for the latest transfer is lost forever. The IRQ status bits must be

[PATCH 1/3] i2c: uniphier-f: make driver robust against concurrency

2018-10-15 Thread Masahiro Yamada
This is unlikely to happen, but it is possible for a CPU to enter the interrupt handler just after wait_for_completion_timeout() has expired. If this happens, the hardware is accessed from multiple contexts concurrently. Disable the IRQ after wait_for_completion_timeout(), and do nothing from the

[PATCH V9 07/21] csky: MMU and page table management

2018-10-15 Thread Guo Ren
This patch adds files related to memory management and here is our memory-layout: Fixmap : 0xffc02000 – 0xf000 (4 MB - 12KB) Pkmap: 0xff80 – 0xffc0 (4 MB) Vmalloc : 0xf020 – 0xff00 (238 MB) Lowmem : 0x8000 – 0xc000

[PATCH 0/3] i2c: uniphier-f: fix concurrency issues and race conditions

2018-10-15 Thread Masahiro Yamada
Currently, this driver has issues that rarely happen. With this patch series, long-run tests passed. Masahiro Yamada (3): i2c: uniphier-f: make driver robust against concurrency i2c: uniphier-f: fix occasional timeout error i2c: uniphier-f: fix race condition when IRQ is cleared drive

[PATCH V9 12/21] csky: ELF and module probe

2018-10-15 Thread Guo Ren
This patch adds ELF definition and module relocate codes. Signed-off-by: Guo Ren Cc: Arnd Bergmann --- arch/csky/abiv1/inc/abi/elf.h | 26 arch/csky/abiv2/inc/abi/elf.h | 43 arch/csky/include/asm/elf.h | 85 +++ arch/csky/

[PATCH V9 13/21] csky: Library functions

2018-10-15 Thread Guo Ren
This patch adds string optimize codes and some auxiliary codes. Signed-off-by: Chen Linfei Signed-off-by: Mao Han Signed-off-by: Guo Ren Cc: Arnd Bergmann --- Changelog: - Use bt instead of jbt in asm, jbt will cause relocation problem. - remove kernel/platform.c --- --- arch/csky/abiv1/bsw

[PATCH 2/3] i2c: uniphier-f: fix occasional timeout error

2018-10-15 Thread Masahiro Yamada
Currently, a timeout error could happen at a repeated START condition. For a (non-repeated) START condition, the controller starts sending data when the UNIPHIER_FI2C_CR_STA bit is set. However, for a repeated START condition, the hardware starts running when the slave address is written to the TX

RE: [PATCH] thermal: qoriq: add multiple sensors support

2018-10-15 Thread Andy Tang
Hi Daniel, Please see my reply inline. > -Original Message- > From: Daniel Lezcano > Sent: 2018年10月15日 16:56 > To: Andy Tang ; rui.zh...@intel.com > Cc: edubez...@gmail.com; linux...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH] thermal: qoriq: add multiple senso

[PATCH V9 14/21] csky: User access

2018-10-15 Thread Guo Ren
The patch adds "user access from kernel" codes. Signed-off-by: Guo Ren Cc: Arnd Bergmann --- arch/csky/include/asm/uaccess.h | 416 arch/csky/lib/usercopy.c| 262 + 2 files changed, 678 insertions(+) create mode 100644 ar

[PATCH V9 15/21] csky: Debug and Ptrace GDB

2018-10-15 Thread Guo Ren
This patch adds arch ptrace implementation, stack dump and bug.h. Signed-off-by: Guo Ren Cc: Arnd Bergmann --- arch/csky/include/asm/bug.h | 26 +++ arch/csky/include/uapi/asm/ptrace.h | 104 arch/csky/kernel/dumpstack.c| 66 arch/csky/kernel/ptrace.c

[PATCH V9 16/21] csky: SMP support

2018-10-15 Thread Guo Ren
This patch adds boot, ipi, hotplug codes for SMP. Signed-off-by: Guo Ren Cc: Marc Zyngier Cc: Mark Rutland Cc: Peter Zijlstra Cc: Arnd Bergmann --- Changelog: - Use PER_CPU_DEFINE for ipi_data. - Remove unused variable and add static for enable_smp_ipi(). - Add comment to explain pass args

Re: config EXTRA_FIRMWARE not compiling muliple files

2018-10-15 Thread noman pouigt
On Mon, Oct 15, 2018 at 7:22 PM noman pouigt wrote: > > Hello Folks, > > CONFIG_FW_LOADER=y > CONFIG_FIRMWARE_IN_KERNEL=y > CONFIG_EXTRA_FIRMWARE="first_image" "second_image" figured out that it should be in one string as "first_image second_image" > > request_firmware for "first_image" is passi

[PATCH 1/1] net-next/hinic: add checksum offload and TSO support

2018-10-15 Thread Xue Chaojing
From: Zhao Chen This patch adds checksum offload and TSO support for the HiNIC driver. Perfomance test (Iperf) shows more than 100% improvement in TCP streams. Signed-off-by: Zhao Chen Signed-off-by: Xue Chaojing --- .../net/ethernet/huawei/hinic/hinic_hw_dev.h | 2 + .../net/ethernet/huaw

[PATCH V9 17/21] csky: Misc headers

2018-10-15 Thread Guo Ren
This patch adds csky registers' definition, bitops, byteorder, asm-offsets codes. Signed-off-by: Guo Ren Cc: Arnd Bergmann --- arch/csky/abiv1/inc/abi/reg_ops.h | 27 +++ arch/csky/abiv1/inc/abi/regdef.h | 26 ++ arch/csky/abiv2/inc/abi/reg_ops.h | 17 +++ ar

[PATCH V9 18/21] dt-bindings: csky CPU Bindings

2018-10-15 Thread Guo Ren
This patch adds the documentation to describe that how to add cpu nodes in dts for SMP. Signed-off-by: Guo Ren Cc: Rob Herring --- Changelog: - Add compatible. - Remove status part. --- --- Documentation/devicetree/bindings/csky/cpus.txt | 73 + 1 file changed, 73 inse

[PATCH V9 19/21] dt-bindings: Add vendor prefix for csky

2018-10-15 Thread Guo Ren
Add csky vendor definition. Signed-off-by: Guo Ren Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.tx

<    1   2   3   4   5   6   7   8   9   >