Re: [patch v4] mm, oom: fix unnecessary killing of additional processes

2018-07-24 Thread Tetsuo Handa
On 2018/07/25 7:51, David Rientjes wrote: > On Wed, 25 Jul 2018, Tetsuo Handa wrote: > You might worry about situations where __oom_reap_task_mm() is a no-op. But that is not always true. There is no point with emitting pr_info("oom_reaper: unable to reap pid:%d (%s)\n",

Re: [PATCH v5 5/5] rtc: isl1219: add device tree docu

2018-07-24 Thread Rob Herring
On Tue, Jul 24, 2018 at 11:31:22AM +, Denis OSTERLAND wrote: > From: Denis Osterland > > The devicetree documentation for the ISL1219 device tree > binding is added with an short example. It is not a trivial > device, because it supports two interrupt sources. > > Signed-off-by: Denis

Re: Reminder to review a few patches sent two weeks ago

2018-07-24 Thread Joe Perches
On Tue, 2018-07-24 at 14:56 -0700, pher...@codeaurora.org wrote: > A reminder to review a few patches I had sent last week. Below are the > links for the patches. > > https://lkml.org/lkml/2018/7/5/798 I have no fundamental object to this one, but the 80 column use is unnecessary and should be

Assalamualikum,

2018-07-24 Thread Mrs.Lisa Banneth
Hi friend I am a banker in ADB BANK. I want to transfer an abandoned $15.5Million to your Bank account. 40/percent will be your share. For more details contanct me urgently. Yours Mrs. Lisa Banneth.

Re: INTERNAL TRANSFER DOCS - MILAD GHAEM BEARING CO.

2018-07-24 Thread Logistics Manager
Dear Jyothi, Please find attached docs for proceeding transfer. Kindly advise the container and truck details for proceeding. Thanks & Regards, T. FrancisLogistics Manager Gulf Worldwide Distribution FZEMO 0253, PO Box 261619Jebel Ali Free ZoneDUBAI - UAETel: +9714 8814100Fax: +97148814343

Re: [PATCH v2] PCI/AER: Do not clear AER bits if we don't own AER

2018-07-24 Thread kbuild test robot
Hi Alexandru, Thank you for the patch! Yet something to improve: [auto build test ERROR on pci/next] [also build test ERROR on v4.18-rc6 next-20180724] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [PATCH 1/3] [BUGFIX] tracing: Fix double free of event_trigger_data

2018-07-24 Thread Masami Hiramatsu
On Tue, 24 Jul 2018 16:49:59 -0400 Steven Rostedt wrote: > On Wed, 25 Jul 2018 00:09:09 +0900 > Masami Hiramatsu wrote: > > > Hmm, your patch seems to leak a memory since event_trigger_init() will > > be called twice on same trigger_data (Note that event_trigger_init() > > does not init ref

[PATCH v23 4/4] soc: mediatek: Add Mediatek CMDQ helper

2018-07-24 Thread Houlong Wei
Add Mediatek CMDQ helper to create CMDQ packet and assemble GCE op code. Signed-off-by: Houlong Wei Signed-off-by: HS Liao --- drivers/soc/mediatek/Kconfig | 12 ++ drivers/soc/mediatek/Makefile |1 + drivers/soc/mediatek/mtk-cmdq-helper.c | 291

Re: [PATCH 3/3] mm: move mirrored memory specific code outside of memmap_init_zone

2018-07-24 Thread Pavel Tatashin
On Tue, Jul 24, 2018 at 9:18 PM Andrew Morton wrote: > > On Tue, 24 Jul 2018 19:55:20 -0400 Pavel Tatashin > wrote: > > > memmap_init_zone, is getting complex, because it is called from different > > contexts: hotplug, and during boot, and also because it must handle some > > architecture

Re: [PATCH 2/3] mm: calculate deferred pages after skipping mirrored memory

2018-07-24 Thread Andrew Morton
On Tue, 24 Jul 2018 19:55:19 -0400 Pavel Tatashin wrote: > update_defer_init() should be called only when struct page is about to be > initialized. Because it counts number of initialized struct pages, but > there we may skip struct pages if there is some mirrored memory. > > So move,

Re: Zram writeback feature unstable with heavy swap utilization - BUG: Bad page state in process...

2018-07-24 Thread Minchan Kim
Hi Tino, On Tue, Jul 24, 2018 at 09:30:34AM +0200, Tino Lehnig wrote: > Hi, > > The first build I used was from the master branch of the mainline kernel, > somewhere between rc5 and rc6. I have just reproduced the bug with 4.17.9 > and 4.18-rc6. Kernel messages below. > > The bug does not

Re: [tip:x86/mm] x86/mm/tlb: Leave lazy TLB mode at page table free time

2018-07-24 Thread Anders Roxell
) > > +#define tlb_flush_remove_tables_local(mm) do {} while (0) > > +#endif > > Is there a reason these are not inline functions, which gets us type > checking and the like? More to that, when building (linux-next tag: next-20180724) on arm 32 there is this build error when CON

Re: [PATCH] KVM/MMU: Combine flushing remote tlb in mmu_set_spte()

2018-07-24 Thread Junaid Shahid
On 07/24/2018 07:35 AM, Paolo Bonzini wrote: > On 24/07/2018 10:17, Tianyu Lan wrote: >> mmu_set_spte() flushes remote tlbs for drop_parent_pte/drop_spte() >> and set_spte() separately. This may introduce redundant flush. This >> patch is to combine these flushes and check flush request after >>

Re: Zram writeback feature unstable with heavy swap utilization - BUG: Bad page state in process...

2018-07-24 Thread Matthew Wilcox
On Wed, Jul 25, 2018 at 11:16:57AM +0900, Minchan Kim wrote: > On Tue, Jul 24, 2018 at 06:55:02PM -0700, Matthew Wilcox wrote: > > On Wed, Jul 25, 2018 at 10:32:50AM +0900, Minchan Kim wrote: > > > Hi Tino, > > > > > > On Tue, Jul 24, 2018 at 09:30:34AM +0200, Tino Lehnig wrote: > > > > Hi, > > >

Re: [PATCH] KVM/MMU: Combine flushing remote tlb in mmu_set_spte()

2018-07-24 Thread Tianyu Lan
Hi Junaid: Thanks for your review. On 7/25/2018 10:26 AM, Junaid Shahid wrote: > On 07/24/2018 07:35 AM, Paolo Bonzini wrote: >> On 24/07/2018 10:17, Tianyu Lan wrote: >>> mmu_set_spte() flushes remote tlbs for drop_parent_pte/drop_spte() >>> and set_spte() separately. This may introduce

Re: [PATCH v2] RFC: clear 1G pages with streaming stores on x86

2018-07-24 Thread Cannon Matthews
Reimplement clear_gigantic_page() to clear gigabytes pages using the non-temporal streaming store instructions that bypass the cache (movnti), since an entire 1GiB region will not fit in the cache anyway. Doing an mlock() on a 512GiB 1G-hugetlb region previously would take on average 134 seconds,

Re: [PATCH 1/3] [BUGFIX] tracing: Fix double free of event_trigger_data

2018-07-24 Thread Steven Rostedt
On Wed, 25 Jul 2018 10:16:53 +0900 Masami Hiramatsu wrote: > Hm, as far as I can see, when register_trigger() returns >= 0, it already > calls ->init the trigger_data. This means its refcount++, and in that > case, below patch will miss to free the trigger_data. > How about below for tentative

[PATCH 2/3] userfaultfd: selftest: Skip test if a feature isn't supported

2018-07-24 Thread Thiago Jung Bauermann
If userfaultfd runs on a system that doesn't support some feature it is trying to test, it currently ends with error code 1 which indicates test failure: # ./userfaultfd anon 10 10 nr_pages: 160, nr_pages_per_cpu: 80 bounces: 9, mode: rnd poll, userfaults: 7 59 bounces: 8, mode: poll,

[PATCH 3/3] userfaultfd: selftest: Report XFAIL if shmem doesn't support zeropage

2018-07-24 Thread Thiago Jung Bauermann
If userfaultfd runs on a system that doesn't support UFFDIO_ZEROPAGE for shared memory, it currently ends with error code 1 which indicates test failure: # ./userfaultfd shmem 10 10 nr_pages: 160, nr_pages_per_cpu: 80 bounces: 9, mode: rnd poll, unexpected missing ioctl for anon memory #

[PATCH 0/3] userfaultfd: selftest: Improve behavior with older kernels

2018-07-24 Thread Thiago Jung Bauermann
Hello, A tester ran the upstream selftest on a distro kernel and sounded the alarm when it reported failures for features which aren't included in that kernel. This patch set improves the test behavior in that scenario. Thiago Jung Bauermann (3): userfaultfd: selftest: Fix checking of

Re: [PATCH] RFC: clear 1G pages with streaming stores on x86

2018-07-24 Thread Cannon Matthews
On Tue, Jul 24, 2018 at 2:09 PM Matthew Wilcox wrote: > > On Tue, Jul 24, 2018 at 01:46:39PM -0700, Cannon Matthews wrote: > > Reimplement clear_gigantic_page() to clear gigabytes pages using the > > non-temporal streaming store instructions that bypass the cache > > (movnti), since an entire

hello

2018-07-24 Thread MR.MUSA AHMED
-- DEAR FRIEND I am MR.MUSA AHMED With the business proposal deal of US(US$18.5 mllion US Dollars) to transfer into your account, if you are interested get back to me for more detail.at my E-mail (mr.musa.ahme...@gmail.com) Best Regard MR.MUSA AHMED --

[PATCH 1/3] userfaultfd: selftest: Fix checking of userfaultfd_open() result

2018-07-24 Thread Thiago Jung Bauermann
If the userfaultfd test is run on a kernel with CONFIG_USERFAULTFD=n, it will report that the system call is not available yet go ahead and continue anyway: # ./userfaultfd anon 30 1 nr_pages: 480, nr_pages_per_cpu: 120 userfaultfd syscall not available in this kernel bounces: 0, mode:,

Re: [PATCH] RFC: clear 1G pages with streaming stores on x86

2018-07-24 Thread Cannon Matthews
On Tue, Jul 24, 2018 at 1:53 PM Andrew Morton wrote: > > On Tue, 24 Jul 2018 13:46:39 -0700 Cannon Matthews > wrote: > > > Reimplement clear_gigantic_page() to clear gigabytes pages using the > > non-temporal streaming store instructions that bypass the cache > > (movnti), since an entire 1GiB

Re: Zram writeback feature unstable with heavy swap utilization - BUG: Bad page state in process...

2018-07-24 Thread Minchan Kim
On Tue, Jul 24, 2018 at 07:35:32PM -0700, Matthew Wilcox wrote: > On Wed, Jul 25, 2018 at 11:16:57AM +0900, Minchan Kim wrote: > > On Tue, Jul 24, 2018 at 06:55:02PM -0700, Matthew Wilcox wrote: > > > On Wed, Jul 25, 2018 at 10:32:50AM +0900, Minchan Kim wrote: > > > > Hi Tino, > > > > > > > > On

Re: Zram writeback feature unstable with heavy swap utilization - BUG: Bad page state in process...

2018-07-24 Thread Matthew Wilcox
On Wed, Jul 25, 2018 at 10:32:50AM +0900, Minchan Kim wrote: > > [ 804.485321] BUG: Bad page state in process qemu-system-x86 pfn:1c4b08e > > [ 804.485403] page:e809312c2380 count:0 mapcount:0 > > mapping: index:0x1 > > [ 804.485483] flags: 0x17fffc8(uptodate) > > [

Re: Zram writeback feature unstable with heavy swap utilization - BUG: Bad page state in process...

2018-07-24 Thread Matthew Wilcox
On Wed, Jul 25, 2018 at 11:51:06AM +0900, Minchan Kim wrote: > On Tue, Jul 24, 2018 at 07:35:32PM -0700, Matthew Wilcox wrote: > > There is NOTHING in a union with _refcount. > > Confusing. Matthew, what am I missing? > > Before: > > counters consumes 8 bytes > units and _refcount consumes each

[PATCH] selftests: kselftest: Remove outdated comment

2018-07-24 Thread Thiago Jung Bauermann
Commit 3c07aaef6598 ("selftests: kselftest: change KSFT_SKIP=4 instead of KSFT_PASS") reverted commit 11867a77eb85 ("selftests: kselftest framework: change skip exit code to 0") but missed removing the comment which that commit added, so do that now. Signed-off-by: Thiago Jung Bauermann ---

Re: Zram writeback feature unstable with heavy swap utilization - BUG: Bad page state in process...

2018-07-24 Thread Minchan Kim
On Tue, Jul 24, 2018 at 07:55:25PM -0700, Matthew Wilcox wrote: > On Wed, Jul 25, 2018 at 11:51:06AM +0900, Minchan Kim wrote: > > On Tue, Jul 24, 2018 at 07:35:32PM -0700, Matthew Wilcox wrote: > > > There is NOTHING in a union with _refcount. > > > > Confusing. Matthew, what am I missing? > >

Re: [tip:x86/timers] sched/clock: Enable sched clock early

2018-07-24 Thread Pavel Tatashin
Peter, The problem is in this stack start_kernel local_irq_enable late_time_init sched_clock_init generic_sched_clock_init sched_clock_register WARN_ON(!irqs_disabled()); Before this work, sched_clock_init() was called prior to enabling interrupts, but now after. So, we

[PATCH] fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr failed

2018-07-24 Thread piaojun
In my testing, v9fs_fid_xattr_set will return successfully even if the backend ext4 filesystem has no space to store xattr key-value. That will cause inconsistent behavior between front end and back end. The reason is that lsetxattr will be triggered by p9_client_clunk, and unfortunately we did

Re: [PATCH -next 0/2] fs/epoll: loosen irq safety when possible

2018-07-24 Thread Andrew Morton
On Sat, 21 Jul 2018 11:31:27 -0700 Davidlohr Bueso wrote: > On Sat, 21 Jul 2018, Peter Zijlstra wrote: > > >On Sat, Jul 21, 2018 at 10:21:20AM -0700, Davidlohr Bueso wrote: > >> On Fri, 20 Jul 2018, Andrew Morton wrote: > >> > >> > We could open-code it locally. Add a couple of > >> >

[PATCH] dt-bindings: thermal: qcom-spmi-temp-alarm: Improve thermal zone in example

2018-07-24 Thread Matthias Kaehlcke
The current example for a thermal zone isn't very useful as reference since it would result in a hardware shutdown at 145°C, instead of allowing the system to try to shutdown gracefully. Without an ADC channel a maximum of two trip points is useful in practice for this sensor, with temperatures

[PATCH 3/3] mm: move mirrored memory specific code outside of memmap_init_zone

2018-07-24 Thread Pavel Tatashin
memmap_init_zone, is getting complex, because it is called from different contexts: hotplug, and during boot, and also because it must handle some architecture quirks. One of them is mirroed memory. Move the code that decides whether to skip mirrored memory outside of memmap_init_zone, into a

[PATCH 0/3] memmap_init_zone improvements

2018-07-24 Thread Pavel Tatashin
Three small patches that improve memmap_init_zone() and also fix a small deferred pages bug. The improvements include reducing number of ifdefs and making code more modular. The bug is the deferred_init_update() should be called after the mirrored memory skipping is taken into account. Pavel

[PATCH] thermal: qcom-spmi: Delete unused field 'prev_stage'

2018-07-24 Thread Matthias Kaehlcke
The field 'prev_stage' in struct qpnp_tm_chip is not used, remove it. Signed-off-by: Matthias Kaehlcke --- drivers/thermal/qcom-spmi-temp-alarm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/thermal/qcom-spmi-temp-alarm.c b/drivers/thermal/qcom-spmi-temp-alarm.c index

Re: [PATCH v5 1/3] thermal: qcom-spmi: Use PMIC thermal stage 2 for critical trip points

2018-07-24 Thread Matthias Kaehlcke
On Tue, Jul 24, 2018 at 04:46:34PM -0700, Matthias Kaehlcke wrote: > There are three thermal stages defined in the PMIC: > > stage 1: warning > stage 2: system should shut down > stage 3: emergency shut down > > By default the PMIC assumes that the OS isn't doing anything and thus > at stage 2

Re: [patch v4] mm, oom: fix unnecessary killing of additional processes

2018-07-24 Thread David Rientjes
On Wed, 25 Jul 2018, Tetsuo Handa wrote: > > If exit_mmap() gets preempted indefinitely before it can free any memory, > > we are better off oom killing another process. The purpose of the timeout > > is to give an oom victim an amount of time to free its memory and exit > > before selecting

Re: [PATCH] sched/numa: do not balance tasks onto isolated cpus

2018-07-24 Thread jiang.biao2
Hi, > On Tue, Jul 24, 2018 at 09:11:37AM +0800, jiang.bi...@zte.com.cn wrote: > >> >> Signed-off-by: Cheng Lin >> >> Signed-off-by: Tan Hu >> >> Signed-off-by: Jiang Biao >> > >> >This SoB chain is invalid. > >> Mm, we don't quite understand what the *Signed-off-by* precisely means, >> Does it

[PATCH v2 2/3] tty: Make constants to be enums instead of #define in goldfish.c

2018-07-24 Thread rkir
From: Roman Kiryanov enums produce better compilation errors than defines. Signed-off-by: Roman Kiryanov --- Changes in v2: - Added the enum types (goldfish_tty_reg and goldfish_tty_cmd). drivers/tty/goldfish.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-)

[PATCH v2 1/3] tty: Address checkpatch warnings in goldfish.c

2018-07-24 Thread rkir
From: Roman Kiryanov checkpatch.pl complained about missing blank lines (between variable definitions and executable code) and using just "unsigned" instead of "unsigned int". Signed-off-by: Roman Kiryanov --- Changes in v2: - Updated the commit message. drivers/tty/goldfish.c | 6 -- 1

[PATCH v2 3/3] tty: Replace goldfish_tty_line_count with a #define

2018-07-24 Thread rkir
From: Roman Kiryanov The driver never mutates this variable - no benefits of keeping it mutable. Signed-off-by: Roman Kiryanov --- Changes in v2: - Replaced "const u32" with "#define". drivers/tty/goldfish.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git

Re: [PATCH 1/3] [BUGFIX] tracing: Fix double free of event_trigger_data

2018-07-24 Thread Masami Hiramatsu
On Tue, 24 Jul 2018 19:13:31 -0400 Steven Rostedt wrote: > On Tue, 24 Jul 2018 17:30:08 -0400 > Steven Rostedt wrote: > > > I don't see where ->reg() would return anything but 1 on success. Maybe > > I'm missing something. I'll look some more, but I'm thinking of changing > > ->reg() to return

Re: linux-next: Signed-off-by missing for commit in the gfs2 tree

2018-07-24 Thread Stephen Rothwell
Hi Andreas, On Wed, 25 Jul 2018 00:23:22 +0200 Andreas Grünbacher wrote: > > 2018-07-25 0:01 GMT+02:00 Stephen Rothwell : > > Hi all, > > > > Commit > > > > b6fbc2f6a686 ("GFS2: Fix recovery issues for spectators") > > > > is missing a Signed-off-by from its committer. It was rebased. > >

Re: [PATCH 3/3] mm: move mirrored memory specific code outside of memmap_init_zone

2018-07-24 Thread Andrew Morton
On Tue, 24 Jul 2018 19:55:20 -0400 Pavel Tatashin wrote: > memmap_init_zone, is getting complex, because it is called from different > contexts: hotplug, and during boot, and also because it must handle some > architecture quirks. One of them is mirroed memory. > > Move the code that decides

[PATCH v23 1/4] dt-bindings: soc: Add documentation for the MediaTek GCE unit

2018-07-24 Thread Houlong Wei
This adds documentation for the MediaTek Global Command Engine (GCE) unit found in MT8173 SoCs. Signed-off-by: Houlong Wei Signed-off-by: HS Liao --- .../devicetree/bindings/mailbox/mtk-gce.txt| 57 include/dt-bindings/gce/mt8173-gce.h | 44

[PATCH v23 0/4] MediaTek MT8173 CMDQ support

2018-07-24 Thread Houlong Wei
Hi, This is Mediatek MT8173 Command Queue(CMDQ) driver. The CMDQ is used to help write registers with critical time limitation, such as updating display configuration during the vblank. It controls Global Command Engine (GCE) hardware to achieve this requirement. Changes since v22: -remove

[PATCH v23 3/4] arm64: dts: mt8173: Add GCE node

2018-07-24 Thread Houlong Wei
This patch adds the device node of the GCE hardware for CMDQ module. Signed-off-by: Houlong Wei Signed-off-by: HS Liao --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi

[PATCH v23 2/4] mailbox: mediatek: Add Mediatek CMDQ driver

2018-07-24 Thread Houlong Wei
This patch is first version of Mediatek Command Queue(CMDQ) driver. The CMDQ is used to help write registers with critical time limitation, such as updating display configuration during the vblank. It controls Global Command Engine (GCE) hardware to achieve this requirement. Currently, CMDQ only

Re: [PATCH v3 1/2] clk: meson: add DT documentation for emmc clock controller

2018-07-24 Thread Rob Herring
On Thu, Jul 12, 2018 at 09:12:43PM +, Yixun Lan wrote: > Document the MMC sub clock controller driver, the potential consumer > of this driver is MMC or NAND. Also add three clock bindings IDs which > provided by this driver. > > Signed-off-by: Yixun Lan > --- >

Re: [PATCH v3 01/18] doc: dt-bindings: jz4780-dma: Update bindings to reflect driver changes

2018-07-24 Thread Rob Herring
On Sat, Jul 21, 2018 at 01:06:26PM +0200, Paul Cercueil wrote: > The driver is now compatible with four SoCs: JZ4780, JZ4770, JZ4725B and > JZ4740. What the driver supports is irrelevant to the binding. > > Besides, it now expects the devicetree to supply a second memory > resource. This resource

[PATCH v5 1/3] thermal: qcom-spmi: Use PMIC thermal stage 2 for critical trip points

2018-07-24 Thread Matthias Kaehlcke
There are three thermal stages defined in the PMIC: stage 1: warning stage 2: system should shut down stage 3: emergency shut down By default the PMIC assumes that the OS isn't doing anything and thus at stage 2 it does a partial PMIC shutdown and at stage 3 it kills all power. When switching

[PATCH v5 2/3] arm64: dts: qcom: pm8998: Add spmi-temp-alarm node

2018-07-24 Thread Matthias Kaehlcke
This adds the spmi-temp-alarm node to pm8998 based on the examples in the bindings. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson --- Changes in v5: - added tag 'Reviewed-by: Douglas Anderson ' Changes in v4: - none Changes in v3: - changed node name from

[PATCH v5 3/3] arm64: dts: qcom: pm8998: Add pm8998 thermal zone

2018-07-24 Thread Matthias Kaehlcke
The thermal zone uses spmi-temp-alarm as sensor, the trip points correspond to the PMIC thermal stages 1 and 2. The critical trip point at 125°C disables the partial PMIC shutdown at stage 2. Without an IIO input the sensor only reports a limited number of temperatures: - 37°C for temperatures

[PATCH] dt-bindings: thermal: qcom-spmi-temp-alarm: Fix documentation of 'reg'

2018-07-24 Thread Matthias Kaehlcke
The documentation claims that the 'reg' property consists of two values, the SPMI address and the length of the controller's registers. However the SPMI bus to which it is added specifies "#size-cells = <0>;". Remove the controller register length from the documentation of the field and the

[PATCH 2/3] mm: calculate deferred pages after skipping mirrored memory

2018-07-24 Thread Pavel Tatashin
update_defer_init() should be called only when struct page is about to be initialized. Because it counts number of initialized struct pages, but there we may skip struct pages if there is some mirrored memory. So move, update_defer_init() after checking for mirrored memory. Also, rename

[PATCH 1/3] mm: make memmap_init a proper function

2018-07-24 Thread Pavel Tatashin
memmap_init is sometimes a macro sometimes a function based on __HAVE_ARCH_MEMMAP_INIT. It is only a function on ia64. Make memmap_init a weak function instead, and let ia64 redefine it. Signed-off-by: Pavel Tatashin --- arch/ia64/include/asm/pgtable.h | 1 - mm/page_alloc.c | 9

Re: [RFC][PATCH] kconfig: Add "m or y" and "y or m" answers for oldconfig

2018-07-24 Thread Masahiro Yamada
2018-07-12 21:50 GMT+09:00 Ville Syrjala : > From: Ville Syrjälä > > Make it possible to answer "m or y" or "y or m" to > oldconfig so that scripted kernel builds can easily > enable new features not present in the existing .config. > > The particular use case I have in mind is continuous

Re: [tip:x86/timers] sched/clock: Enable sched clock early

2018-07-24 Thread Pavel Tatashin
> clocks. > > > > > > > This patch causes a regression when running a qemu emulation with > > arm:integratorcp. > > Thank you for the report. I will study it. > > > > > ... > > Console: colour dummy device 80x30 > > ----[ cut he

Re: [PATCH 2/3] mm: calculate deferred pages after skipping mirrored memory

2018-07-24 Thread Andrew Morton
On Tue, 24 Jul 2018 19:55:19 -0400 Pavel Tatashin wrote: > update_defer_init() should be called only when struct page is about to be > initialized. Because it counts number of initialized struct pages, but > there we may skip struct pages if there is some mirrored memory. What are the runtime

Re: [PATCH 2/3] mm: calculate deferred pages after skipping mirrored memory

2018-07-24 Thread Pavel Tatashin
On Tue, Jul 24, 2018 at 9:12 PM Andrew Morton wrote: > > On Tue, 24 Jul 2018 19:55:19 -0400 Pavel Tatashin > wrote: > > > update_defer_init() should be called only when struct page is about to be > > initialized. Because it counts number of initialized struct pages, but > > there we may skip

Re: [PATCH 2/4] Staging: octeon-usb: Applying coding style for column width.

2018-07-24 Thread Joe Perches
On Wed, 2018-07-25 at 01:22 +0300, Georgios Tsotsos wrote: > This patch resolves the warnings as its refereed to TODO list. > There are also a code style issues that could be resolved via breaking > down cvmx_usb_poll_channel(). It was better before this change. If checkpatch caused you to

Re: [tip:x86/timers] sched/clock: Enable sched clock early

2018-07-24 Thread Guenter Roeck
[ cut here ] WARNING: CPU: 0 PID: 0 at kernel/time/sched_clock.c:180 sched_clock_register+0x44/0x278 Modules linked in: CPU: 0 PID: 0 Comm: swapper Not tainted 4.18.0-rc6-next-20180724 #1 Hardware name: ARM Integrator/CP (Device Tree) [] (unwind_backtrace) from [] (show_stack+0x10/0x18

RE: [PATCH v3 3/3] dmaengine: imx-sdma: allocate max 20 bds for one transfer

2018-07-24 Thread Robin Gong
> -Original Message- > From: Lucas Stach [mailto:l.st...@pengutronix.de] > Sent: 2018年7月24日 17:22 > To: Robin Gong ; vk...@kernel.org; > dan.j.willi...@intel.com; s.ha...@pengutronix.de; li...@armlinux.org.uk > Cc: dmaeng...@vger.kernel.org; dl-linux-imx ; > ker...@pengutronix.de;

Re: [PATCH v2] PCI/AER: Do not clear AER bits if we don't own AER

2018-07-24 Thread kbuild test robot
Hi Alexandru, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on pci/next] [also build test WARNING on v4.18-rc6 next-20180724] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH 2/3] mm: calculate deferred pages after skipping mirrored memory

2018-07-24 Thread Pavel Tatashin
On Tue, Jul 24, 2018 at 9:31 PM Andrew Morton wrote: > > On Tue, 24 Jul 2018 19:55:19 -0400 Pavel Tatashin > wrote: > > > update_defer_init() should be called only when struct page is about to be > > initialized. Because it counts number of initialized struct pages, but > > there we may skip

Re: Zram writeback feature unstable with heavy swap utilization - BUG: Bad page state in process...

2018-07-24 Thread Matthew Wilcox
On Wed, Jul 25, 2018 at 10:32:50AM +0900, Minchan Kim wrote: > Hi Tino, > > On Tue, Jul 24, 2018 at 09:30:34AM +0200, Tino Lehnig wrote: > > Hi, > > > > The first build I used was from the master branch of the mainline kernel, > > somewhere between rc5 and rc6. I have just reproduced the bug

Re: [RESEND PATCH 4/4] sh: remove board_time_init() callback

2018-07-24 Thread Baolin Wang
Hi Arnd, On 25 July 2018 at 05:33, Arnd Bergmann wrote: > On Tue, Jul 24, 2018 at 7:07 PM, kbuild test robot wrote: >> Hi Arnd, >> >> I love your patch! Yet something to improve: >> >> [auto build test ERROR on sof-driver-fuweitax/master] >> [also buil

Re: [PATCH] hexagon: switch to NO_BOOTMEM

2018-07-24 Thread Richard Kuo
On Tue, Jul 24, 2018 at 08:47:04AM +0300, Mike Rapoport wrote: > On Mon, Jul 23, 2018 at 04:23:39PM -0500, Richard Kuo wrote: > > > > On Mon, Jul 16, 2018 at 10:43:18AM +0300, Mike Rapoport wrote: > > > This patch adds registration of the system memory with memblock, > > > eliminates > > >

Reminder

2018-07-24 Thread Mrs.Pamela Atuegbe
Dear Friend, I was shocked you stopped communicating with me, I really can't understand your reason for doing so, but I am very happy now to inform you about my success in getting the fund out of the bank with the help of a staff working in the remittance office and also with the special

Re: Zram writeback feature unstable with heavy swap utilization - BUG: Bad page state in process...

2018-07-24 Thread Minchan Kim
On Tue, Jul 24, 2018 at 06:55:02PM -0700, Matthew Wilcox wrote: > On Wed, Jul 25, 2018 at 10:32:50AM +0900, Minchan Kim wrote: > > Hi Tino, > > > > On Tue, Jul 24, 2018 at 09:30:34AM +0200, Tino Lehnig wrote: > > > Hi, > > > > > > The first build I used was from the master branch of the mainline

Re: [PATCH] ARM: dma-mapping: always clear allocated buffers

2018-07-24 Thread YueHaibing
On 2018/7/25 2:09, Christoph Hellwig wrote: > On Tue, Jul 24, 2018 at 10:04:35PM +0800, YueHaibing wrote: >> Sean Wang report dma_zalloc_coherent doesn't work as expect on his >> armv7,the allocated mem is not zeroed.The reason is __alloc_from_pool >> doesn't honor __GFP_ZERO. > > Please explain

[RESEND PATCH v4 0/2] Add aproperty in at24.c

2018-07-24 Thread alanx . chiang
From: Alan Chiang The RESEND PATCH modifies the commit message and adds the Reviewed-by. In at24.c, it uses 8-bit addressing by default. In this patch add a property address-width that provides a flexible method to pass the information to the driver. Alan Chiang (2): dt-bindings: at24: Add

[RESEND PATCH v4 1/2] dt-bindings: at24: Add address-width property

2018-07-24 Thread alanx . chiang
From: Alan Chiang Currently the only way to use a variant of a supported model with a different address with a different address width is to define a new compatible string and the corresponding chip data structure. Provide a flexible way to specify the size of the address pointer by defining a

[RESEND PATCH v4 2/2] eeprom: at24: Add support for address-width property

2018-07-24 Thread alanx . chiang
From: Alan Chiang Provide a flexible way to determine the addressing bits of eeprom. Pass the addressing bits to driver through address-width property. Signed-off-by: Alan Chiang Signed-off-by: Andy Yeh --- drivers/misc/eeprom/at24.c | 17 + 1 file changed, 17 insertions(+)

[PATCH] f2fs: avoid fi->i_gc_rwsem[WRITE] lock in f2fs_gc

2018-07-24 Thread Jaegeuk Kim
The f2fs_gc() called by f2fs_balance_fs() requires to be called outside of fi->i_gc_rwsem[WRITE], since f2fs_gc() can try to grab it in a loop. Signed-off-by: Jaegeuk Kim --- fs/f2fs/file.c| 2 ++ fs/f2fs/segment.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH/RFT 1/6] i2c: designware: use open drain for recovery GPIO

2018-07-24 Thread Phil Reid
On 24/07/2018 15:26, Wolfram Sang wrote: Hi Phil, So, it is not possible to read SCL status then? Hmm, currently a working get_scl is required... ... Well, I don't know much about this IP core and how/where it is used. I just wonder what happens if another user comes along using an

Re: [RFC 0/4] Virtio uses DMA API for all devices

2018-07-24 Thread Anshuman Khandual
On 07/23/2018 02:38 PM, Michael S. Tsirkin wrote: > On Mon, Jul 23, 2018 at 11:58:23AM +0530, Anshuman Khandual wrote: >> On 07/20/2018 06:46 PM, Michael S. Tsirkin wrote: >>> On Fri, Jul 20, 2018 at 09:29:37AM +0530, Anshuman Khandual wrote: This patch series is the follow up on the

Re: [PATCH net-next 0/2] docs: net: Convert netdev-FAQ to RST

2018-07-24 Thread Tobin C. Harding
On Wed, Jul 25, 2018 at 12:50:03PM +1000, Tobin C. Harding wrote: Please drop this. I've forgotten to deal with the links from Documentation/*.rst to Documentation/networking/netdev-FAQ.txt Since I've already botched it can I ask for guidance here. The problem is updating the links means

Re: [PATCH 1/3] hexagon: remove the sync_single_for_cpu DMA operation

2018-07-24 Thread Richard Kuo
On Thu, Jul 19, 2018 at 05:56:33AM -0700, Christoph Hellwig wrote: > hexagon does all the required cache maintainance at dma map time, and none > at unmap time. It thus has to implement sync_single_for_device to match > the map cace for buffer reuse, but there is no point in doing another >

[PATCH] RDS: RDMA: Fix the NULL-ptr deref in rds_ib_get_mr

2018-07-24 Thread Avinash Repaka
Registration of a memory region(MR) through FRMR/fastreg(unlike FMR) needs a connection/qp. With a proxy qp, this dependency on connection will be removed, but that needs more infrastructure patches, which is a work in progress. As an intermediate fix, the get_mr returns EOPNOTSUPP when

Re: [PATCH] fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr failed

2018-07-24 Thread Dominique Martinet
piaojun wrote on Wed, Jul 25, 2018: > In my testing, v9fs_fid_xattr_set will return successfully even if the > backend ext4 filesystem has no space to store xattr key-value. That will > cause inconsistent behavior between front end and back end. The reason is > that lsetxattr will be triggered by

Re: [PATCH v3] cpufreq: trace frequency limits change

2018-07-24 Thread Viresh Kumar
On 24 July 2018 at 23:05, Joel Fernandes wrote: > From: Ruchi Kandoi > > systrace used for tracing for Android systems has carried a patch for > many years in the Android tree that traces when the cpufreq limits > change. With the help of this information, systrace can know when the > policy

[PATCH] drm/bridge/synopsys: dw-hdmi: re-run dw_hdmi_setup when setting mode

2018-07-24 Thread Icenowy Zheng
Currently dw_hdmi_setup is only run when the dw-hdmi bridge is enabled, with the mode set last time. When the bridge is enabled before any mode is set (this may happen when booting), the mode won't be set at all, some setup steps will be skipped or fail, and the HDMI output may not work. Re-run

[PATCH v3 20/20] signal: Don't restart fork when signals come in.

2018-07-24 Thread Eric W. Biederman
Wen Yang and majiang report that a periodic signal received during fork can cause fork to continually restart preventing an application from making progress. The code was being overly pesimistic. Fork needs to guarantee that a signal sent to multiple processes is logically delivered before

Re: general protection fault in rds_ib_get_mr

2018-07-24 Thread santosh.shilim...@oracle.com
On 7/6/18 1:11 AM, Johannes Thumshirn wrote: On Thu, Jul 05, 2018 at 09:09:44AM -0700, Santosh Shilimkar wrote: OK. we will look into it if an interim fix can be made Thanks a lot. Intermediate fix is posted here [1] Regards, Santosh [1] https://patchwork.ozlabs.org/patch/949010/

Re: [PATCH] fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr failed

2018-07-24 Thread piaojun
Hi Dominique, On 2018/7/25 11:32, Dominique Martinet wrote: > piaojun wrote on Wed, Jul 25, 2018: >> In my testing, v9fs_fid_xattr_set will return successfully even if the >> backend ext4 filesystem has no space to store xattr key-value. That will >> cause inconsistent behavior between front end

Re: [PATCH v0] arm64: dts: rockchip: add support for ROC-RK3399-PC board

2018-07-24 Thread djw
Hi Heiko, Heiko Stuebner writes: > Hi Levin, > > Am Samstag, 21. Juli 2018, 10:30:26 CEST schrieb d...@t-chip.com.cn: >> From: Levin Du >> >> ROC-RK3399-PC is the first power efficient 4GB DDR4 single board > > maybe "is a power efficient" instead of "the first" ;-) > > [...] > ok :) >> diff

Re: [PATCH v0] arm64: dts: rockchip: add support for ROC-RK3399-PC board

2018-07-24 Thread djw
Enric Balletbo Serra writes: > Hi Levin, > > Missatge de Heiko Stuebner del dia dt., 24 de jul. > 2018 a les 11:29: >> >> Hi Levin, >> >> Am Samstag, 21. Juli 2018, 10:30:26 CEST schrieb d...@t-chip.com.cn: >> > From: Levin Du >> > >> > ROC-RK3399-PC is the first power efficient 4GB DDR4

Re: [PATCH] fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr failed

2018-07-24 Thread Dominique Martinet
piaojun wrote on Wed, Jul 25, 2018: > On 2018/7/25 11:32, Dominique Martinet wrote: > >>p9_client_write(fid, 0, , ); > > > > I'm not sure what to do about this but it's also possible for > > p9_client_write to not write the full length without setting and error. > > > > We should

Re: [tip:x86/timers] sched/clock: Enable sched clock early

2018-07-24 Thread Pavel Tatashin
> integrator_defconfig+CONFIG_DEVTMPFS=y+CONFIG_DEVTMPFS_MOUNT=y > > Qemu command line is > qemu-system-arm -M integratorcp -m 128 \ > -kernel arch/arm/boot/zImage -no-reboot \ > -initrd busybox-armv4.cpio \ > --append "rdinit=/sbin/init console=ttyAMA0,115200" \ >

Re: [PATCH v4 3/3] lib/test_crc: Add test cases for crc calculation

2018-07-24 Thread Coly Li
On 2018/7/25 1:39 AM, Eric Biggers wrote: > On Wed, Jul 25, 2018 at 12:28:15AM +0800, Coly Li wrote: >> On 2018/7/24 12:44 PM, Eric Biggers wrote: >>> On Thu, Jul 19, 2018 at 12:55:45AM +0800, Coly Li wrote: This patch adds a kernel module to test the consistency of multiple crc

Re: Zram writeback feature unstable with heavy swap utilization - BUG: Bad page state in process...

2018-07-24 Thread Sergey Senozhatsky
On (07/24/18 19:51), Matthew Wilcox wrote: > > Also note that this is in the allocation path; this flag isn't checked > at free. But it is cleared on free, so someone's stomping on page->flags > after they're freed. I suggest enabling more debugging code. Would be lovely if Tino could bisect

Re: [PATCH] 9p: validate PDU length

2018-07-24 Thread Dominique Martinet
Tomas Bortoli wrote on Mon, Jul 23, 2018: > diff --git a/net/9p/client.c b/net/9p/client.c > index 18c5271910dc..92240ccf476b 100644 > --- a/net/9p/client.c > +++ b/net/9p/client.c > @@ -524,6 +525,12 @@ static int p9_check_errors(struct p9_client *c, struct > p9_req_t *req) > int ecode; >

Re: [PATCH] stop_machine: Disable preemption after queueing stopper threads

2018-07-24 Thread isaacm
Hi Sebastian, Thanks for the response. "I haven't look in detail at this but your new preempt_disable() makes things unbalanced for the err != 0 case." This cannot happen. The only possible return values of this function are -ENOENT or 0. In the case where we return -ENOENT, we'll go straight

Re: [PATCH 1/4] treewide: convert ISO_8859-1 text comments to utf-8

2018-07-24 Thread Michael Ellerman
Arnd Bergmann writes: > Almost all files in the kernel are either plain text or UTF-8 > encoded. A couple however are ISO_8859-1, usually just a few > characters in a C comments, for historic reasons. > > This converts them all to UTF-8 for consistency. > > Signed-off-by: Arnd Bergmann > ---

Re: [RFC 4/4] virtio: Add platform specific DMA API translation for virito devices

2018-07-24 Thread Anshuman Khandual
On 07/23/2018 07:46 AM, Anshuman Khandual wrote: > On 07/20/2018 06:45 PM, Michael S. Tsirkin wrote: >> On Fri, Jul 20, 2018 at 09:29:41AM +0530, Anshuman Khandual wrote: >>> Subject: Re: [RFC 4/4] virtio: Add platform specific DMA API translation for >>> virito devices >> >> s/virito/virtio/ > >

Re: include architecture Kconfig files from top-level Kconfig v3

2018-07-24 Thread Masahiro Yamada
2018-07-25 2:56 GMT+09:00 Christoph Hellwig : > Hi Masahiro, > > what do you think about the series below, which moves the includes > of all the architecture independ Kconfig files to the top-level > Kconfig instead of duplicating the includes in all architectures? > > Note that this only handles

Re: [PATCH 1/3] hexagon: remove the sync_single_for_cpu DMA operation

2018-07-24 Thread Christoph Hellwig
On Tue, Jul 24, 2018 at 10:29:48PM -0500, Richard Kuo wrote: > Patch series looks good. Definitely appreciate the cleanup. > > I can take it through my tree, or if not: > > Acked-by: Richard Kuo Please take it through your tree, thanks!

Attractive interest rate @ (2.75%) for project funding/Loan/finance from Coutts & Co U.K !!

2018-07-24 Thread COUTTS & CO
Coutts & Co Ltd 440 Strand, London, WC2R 0QS Website: https://www.coutts.com Telephone:+4420 3389 7785 & +4420 7753 1000 Fax:+44 872 110 3479 OUR REF: Coutts/UK/2018/LOANAPP YOUR REF:LOANAPPT/Coutts/JULY/2018 TO WHOM IT MAY CONCERN We give out both Local/International Loan starting from 2.75%*

<    1   2   3   4   5   6   7   8   9   10   >