Re: [PATCH 1/4] ARM: dts: exynos: Add missing used PMIC regulators on Exynos5422 Odroid boards

2018-08-13 Thread Krzysztof Kozlowski
On 13 August 2018 at 08:37, Anand Moon wrote: > Hi Krzysztof, > > On Sun, 12 Aug 2018 at 18:55, Krzysztof Kozlowski wrote: >> >> On 11 August 2018 at 08:39, Anand Moon wrote: >> > Hi Krzysztof, >> > >> > These patches should also be ported to u-boot to enable PMIC. >> > >> > I was just looking i

[GIT PULL] configfs updates for 4.19

2018-08-13 Thread Christoph Hellwig
The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40: Linux 4.18-rc1 (2018-06-17 08:04:49 +0900) are available in the Git repository at: git://git.infradead.org/users/hch/configfs.git tags/configfs-for-4.19 for you to fetch changes up to cc57c07343bd071cdf1915a91a24ab

[PATCH v2 2/2] mtd: rawnand: fsl_ifc: fixup SRAM init for newer ctrl versions

2018-08-13 Thread Kurt Kanzenbach
Newer versions of the IFC controller use a different method of initializing the internal SRAM: Instead of reading from flash, a bit in the NAND configuration register has to be set in order to trigger the self-initializing process. Signed-off-by: Kurt Kanzenbach --- Changes since v1: - Subject

[PATCH v2 0/2] mtd: rawnand: fsl_ifc: fix SRAM initialization for newer controller

2018-08-13 Thread Kurt Kanzenbach
Hi, this is version two of lkml.kernel.org/r/20180806092137.9287-1-k...@linutronix.de Changes since v1: - Addressed comments from Miquel Raynal - Changed subject - Coding style - Using timeout constants - Moving version check completely into fsl_ifc_sram_init() Thanks, Kurt Kurt

[PATCH v2 1/2] mtd: rawnand: fsl_ifc: check result of SRAM initialization

2018-08-13 Thread Kurt Kanzenbach
The SRAM initialization might fail. If that happens further NAND operations won't be successful. Therefore, the chip init routine should fail if the SRAM initialization didn't work. Signed-off-by: Kurt Kanzenbach --- Changes since v1: - Subject drivers/mtd/nand/raw/fsl_ifc_nand.c | 17

Re: [PATCH v2] pinctrl: qcom: Add sdm660 pinctrl driver

2018-08-13 Thread Michal Vokáč
Hi Craig, On 12.8.2018 16:24, Craig Tatlor wrote: Add initial pinctrl driver to support pin configuration with pinctrl framework for sdm660. Based off CAF implementation. Signed-off-by: Craig Tatlor --- The documentation portion should be a separate patch. Please refer to Documentation/device

Re: [PATCH v2] coccicheck: return proper error code on fail

2018-08-13 Thread Masahiro Yamada
2018-08-11 5:31 GMT+09:00 Julia Lawall : > > > On Fri, 10 Aug 2018, efre...@linux.com wrote: > >> From: Denis Efremov >> >> If coccicheck fails, it should return an error code distinct from zero >> to signal about an internal problem. Current code instead of exiting with >> the tool's error code r

Re: [PATCH v2] pinctrl: qcom: Add sdm660 pinctrl driver

2018-08-13 Thread Craig Tatlor
On 13 August 2018 08:24:43 BST, "Michal Vokáč" wrote: >Hi Craig, >On 12.8.2018 16:24, Craig Tatlor wrote: >> Add initial pinctrl driver to support pin configuration with >> pinctrl framework for sdm660. >> Based off CAF implementation. >> >> Signed-off-by: Craig Tatlor >> --- > >The documenta

Re: [PATCH v2] pinctrl: qcom: Add sdm660 pinctrl driver

2018-08-13 Thread Craig Tatlor
On 13 August 2018 08:24:43 BST, "Michal Vokáč" wrote: >Hi Craig, >On 12.8.2018 16:24, Craig Tatlor wrote: >> Add initial pinctrl driver to support pin configuration with >> pinctrl framework for sdm660. >> Based off CAF implementation. >> >> Signed-off-by: Craig Tatlor >> --- > >The documenta

Re: [PATCH] zram: fix bug storing backing_dev

2018-08-13 Thread Sergey Senozhatsky
On (08/13/18 15:16), Minchan Kim wrote: > > The call to strlcpy in backing_dev_store is incorrect. It should take > > the size of the destination buffer instead of the size of the source > > buffer. Additionally, ignore the newline character (\n) when reading > > the new file_name buffer. This mak

[PATCH v2 10/11] x86/paravirt: move the Xen-only pv_mmu_ops under the PARAVIRT_XXL umbrella

2018-08-13 Thread Juergen Gross
Most of the paravirt ops defined in pv_mmu_ops are for Xen PV guests only. Define them only if CONFIG_PARAVIRT_XXL is set. Signed-off-by: Juergen Gross --- arch/x86/include/asm/fixmap.h | 2 +- arch/x86/include/asm/mmu_context.h| 4 +- arch/x86/include/asm/paravirt.h | 115

[PATCH v2 06/11] x86/paravirt: introduce new config option PARAVIRT_XXL

2018-08-13 Thread Juergen Gross
A large amount of paravirt ops is used by Xen PV guests only. Add a new config option PARAVIRT_XXL which is selected by XEN_PV. Later we can put the Xen PV only paravirt ops under the PARACVIRT_XXL umbrella. Signed-off-by: Juergen Gross --- arch/x86/Kconfig | 3 +++ arch/x86/xen/Kconfig | 1

Re: [PATCH v8 3/6] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-13 Thread Ravi Bangoria
Hi Song, On 08/13/2018 11:17 AM, Ravi Bangoria wrote: >>> + >>> +static void delayed_uprobe_remove(struct uprobe *uprobe, struct mm_struct >>> *mm) >>> +{ >>> + struct list_head *pos, *q; >>> + struct delayed_uprobe *du; >>> + >>> + if (!uprobe && !mm) >>> + return

[PATCH v2] docs: provide more details about security bug reporting

2018-08-13 Thread Willy Tarreau
Hi Randy, On Sun, Aug 12, 2018 at 09:14:29AM -0700, Randy Dunlap wrote: > I have a few corrections/comments below. Thanks a lot, I've addressed them in the attached version. Linus, please take this one instead. (...) > +Analysing a report takes a lot of time, and while sometimes it's > +better t

[PATCH v2 00/11] x86/paravirt: several cleanups

2018-08-13 Thread Juergen Gross
This series removes some no longer needed stuff from paravirt infrastructure and puts large quantities of paravirt ops under a new config option PARAVIRT_XXL which is selected by XEN_PV only. A pvops kernel without XEN_PV being configured is about 2.5% smaller with this series applied. tip commit

[PATCH v2 05/11] x86/paravirt: remove unused paravirt bits

2018-08-13 Thread Juergen Gross
The macros ENABLE_INTERRUPTS_SYSEXIT, GET_CR0_INTO_EAX and PARAVIRT_ADJUST_EXCEPTION_FRAME are used nowhere. Remove their definitions. Signed-off-by: Juergen Gross --- arch/x86/include/asm/irqflags.h | 4 arch/x86/include/asm/paravirt.h | 9 + arch/x86/kernel/asm-offsets.c | 1 -

Re: [PATCH] gcc-plugins: require GCC

2018-08-13 Thread Masahiro Yamada
2018-08-11 18:48 GMT+09:00 Stefan Agner : > Unsurprisingly GCC plugins require GCC as a compiler. This avoids > GCC plugins being selectable when using clang. > > Signed-off-by: Stefan Agner > --- > arch/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/Kconfig

[PATCH v2 01/11] x86/paravirt: make paravirt_patch_call() and paravirt_patch_jmp() static

2018-08-13 Thread Juergen Gross
paravirt_patch_call() and paravirt_patch_jmp() are used in paravirt.c only. Convert them to static. Signed-off-by: Juergen Gross --- arch/x86/include/asm/paravirt_types.h | 6 -- arch/x86/kernel/paravirt.c| 12 ++-- 2 files changed, 6 insertions(+), 12 deletions(-) diff

Re: [PATCH] clk: qcom: Add Global Clock controller (GCC) driver for SDM660

2018-08-13 Thread Craig Tatlor
On 13 August 2018 07:55:34 BST, Taniya Das wrote: >Hello Craig, > >Could you please correct the authorship and also provide the reference >to code where this is picked from? Okay, Got code from here https://github.com/sonyxperiadev/kernel/blob/aosp/LA.UM.6.4.r1/drivers/clk/qcom/gcc-sdm660.c

Re: [PATCH v2 1/3] dt-bindings: interrupt-controller: Actions external interrupt controller

2018-08-13 Thread Marc Zyngier
On 13/08/18 05:34, Manivannan Sadhasivam wrote: > Hi Parthiban, > > On Sun, Aug 12, 2018 at 02:22:13PM +0200, Parthiban Nallathambi wrote: >> Actions Semi OWL family SoC's provides support for external interrupt >> controller to be connected and controlled using SIRQ pins. S500, S700 >> and S900 p

linux-next: manual merge of the akpm-current tree with the block tree

2018-08-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got conflicts in: drivers/md/bcache/Kconfig drivers/md/bcache/util.h between commits: bc81b47e828a ("bcache: prefer 'help' in Kconfig") fc2d5988b597 ("bcache: add identifier names to arguments of function definitions") from the

Re: [PATCH v2] pinctrl: qcom: Add sdm660 pinctrl driver

2018-08-13 Thread Michal Vokáč
On 13.8.2018 09:36, Craig Tatlor wrote: On 13 August 2018 08:24:43 BST, "Michal Vokáč" wrote: Hi Craig, On 12.8.2018 16:24, Craig Tatlor wrote: Add initial pinctrl driver to support pin configuration with pinctrl framework for sdm660. Based off CAF implementation. Signed-off-by: Craig Tatlo

Re: [PATCH v2] cpuidle: menu: Handle stopped tick more aggressively

2018-08-13 Thread Rafael J. Wysocki
On Sun, Aug 12, 2018 at 3:44 PM wrote: > > On Sun, Aug 12, 2018 at 12:07:45PM +0200, Rafael J. Wysocki wrote: > > [...] > > > > > > > --- linux-pm.orig/drivers/cpuidle/governors/menu.c > > > > > > +++ linux-pm/drivers/cpuidle/governors/menu.c > > > > > > @@ -285,9 +285,8 @@ static int menu_select(

[GIT PULL] s390 updates for 4.19

2018-08-13 Thread Heiko Carstens
Hello Linus, since Martin is on vacation you get the s390 pull request from me: please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: - Host large page support for KVM guests. As the patches

Re: [PATCH v1 1/2] Bluetooth: mediatek: Add protocol support for MediaTek MT7668U USB devices

2018-08-13 Thread Marcel Holtmann
Hi Sean, > This adds the support of enabling MT7668U Bluetooth function running > on the top of btusb driver. The patch also adds a newly created file > mtkbt.c able to be reused independently from the transport type such > as UART, USB and SDIO. Include /sys/kernel/debug/usb/device portion in th

Re: [RESEND PATCH v1 1/2] cpuidle: menu: Correct the criteria for stopping tick

2018-08-13 Thread Rafael J. Wysocki
On Sun, Aug 12, 2018 at 6:07 PM wrote: > > On Sun, Aug 12, 2018 at 01:12:41PM +0200, Rafael J. Wysocki wrote: > > On Fri, Aug 10, 2018 at 11:03 AM wrote: [cut] > > > > Assuming shot noise wakeups, if > > drv->states[drv->state_count-1].target_residency is less than > > TICK_USEC, the tick will

Re: [PATCH 1/4] ARM: dts: exynos: Add missing used PMIC regulators on Exynos5422 Odroid boards

2018-08-13 Thread Anand Moon
hi Krzysztof, On Mon, 13 Aug 2018 at 12:43, Krzysztof Kozlowski wrote: > > On 13 August 2018 at 08:37, Anand Moon wrote: > > Hi Krzysztof, > > > > On Sun, 12 Aug 2018 at 18:55, Krzysztof Kozlowski wrote: > >> > >> On 11 August 2018 at 08:39, Anand Moon wrote: > >> > Hi Krzysztof, > >> > > >> >

Re: [PATCH v3] cpuidle: menu: Handle stopped tick more aggressively

2018-08-13 Thread Rafael J. Wysocki
On Sun, Aug 12, 2018 at 4:55 PM wrote: > > On Fri, Aug 10, 2018 at 01:15:58PM +0200, Rafael J . Wysocki wrote: > > From: Rafael J. Wysocki > > [cut] > > I tried this patch at my side, firstly just clarify this patch is okay > for me, but there have other underlying issues I observed the CPU > s

Re: [PATCH 05/25] ubifs: implement ubifs_lpt_lookup using ubifs_pnode_lookup

2018-08-13 Thread Sascha Hauer
On Mon, Aug 13, 2018 at 08:34:00AM +0200, Richard Weinberger wrote: > Am Montag, 13. August 2018, 08:31:27 CEST schrieb Sascha Hauer: > > On Wed, Jul 04, 2018 at 02:41:17PM +0200, Sascha Hauer wrote: > > > ubifs_lpt_lookup() starts by looking up the nth pnode in the LPT. We > > > already have this

Re: [PATCH v8 5/6] trace_uprobe/sdt: Prevent multiple reference counter for same uprobe

2018-08-13 Thread Ravi Bangoria
Hi Song, On 08/11/2018 01:42 PM, Song Liu wrote: > Do we really need this given we already have PATCH 4/6? > uprobe_regsiter() can be called > out of trace_uprobe, this patch won't catch all conflicts anyway. Right but it, at least, catch all conflicts happening via trace_uprobe. I don't mind in

linux-next: build failure after merge of the akpm-current tree

2018-08-13 Thread Stephen Rothwell
Hi all, After merging the akpm-current tree, today's linux-next build (arm multi_v7_defconfig) failed like this: kernel/exit.c: In function 'reparent_leader': kernel/exit.c:640:3: error: too few arguments to function 'group_send_sig_info' group_send_sig_info(p->signal->pdeath_signal_proc, ^

Re: [PATCH] arm64: dts: rockchip: Add idle-states to device tree for rk3399

2018-08-13 Thread Heiko Stuebner
Hi Tao, Am Sonntag, 12. August 2018, 18:24:45 CEST schrieb Tao Huang: > On 2018年08月10日 04:09, Heiko Stuebner wrote: > > Am Mittwoch, 6. Juli 2016, 10:20:54 CEST schrieb Caesar Wang: > > > >> arch/arm64/boot/dts/rockchip/rk3399.dtsi | 18 ++ > >> 1 file changed, 18 insertions(+) >

Re: [PATCH v8 5/6] trace_uprobe/sdt: Prevent multiple reference counter for same uprobe

2018-08-13 Thread Srikar Dronamraju
* Ravi Bangoria [2018-08-09 09:48:55]: > We assume to have only one reference counter for one uprobe. > Don't allow user to add multiple trace_uprobe entries having > same inode+offset but different reference counter. > > Ex, > # echo "p:sdt_tick/loop2 /home/ravi/tick:0x6e4(0x10036)" > uprobe_

Re: [PATCH v8 5/6] trace_uprobe/sdt: Prevent multiple reference counter for same uprobe

2018-08-13 Thread Srikar Dronamraju
* Ravi Bangoria [2018-08-13 13:49:44]: > Hi Song, > > On 08/11/2018 01:42 PM, Song Liu wrote: > > Do we really need this given we already have PATCH 4/6? > > uprobe_regsiter() can be called > > out of trace_uprobe, this patch won't catch all conflicts anyway. > > Right but it, at least, catch a

Re: [PATCH v8 4/6] Uprobes/sdt: Prevent multiple reference counter for same uprobe

2018-08-13 Thread Srikar Dronamraju
* Ravi Bangoria [2018-08-09 09:48:54]: > We assume to have only one reference counter for one uprobe. > Don't allow user to register multiple uprobes having same > inode+offset but different reference counter. > > Signed-off-by: Ravi Bangoria > --- Looks good to me. Acked-by: Srikar Dronamraju

Re: [PATCH v8 2/6] Uprobe: Additional argument arch_uprobe to uprobe_write_opcode()

2018-08-13 Thread Srikar Dronamraju
* Ravi Bangoria [2018-08-09 09:48:52]: > Add addition argument 'arch_uprobe' to uprobe_write_opcode(). > We need this in later set of patches. > > Signed-off-by: Ravi Bangoria Looks good to me. Acked-by: Srikar Dronamraju

Re: [PATCH 3/3] mm/memory_hotplug: Cleanup unregister_mem_sect_under_nodes

2018-08-13 Thread Oscar Salvador
On Fri, Aug 10, 2018 at 05:29:31PM +0200, osalva...@techadventures.net wrote: > From: Oscar Salvador > > With the assumption that the relationship between > memory_block <-> node is 1:1, we can refactor this function a bit. > > This assumption is being taken from register_mem_sect_under_node() >

Re: [BUG] mm: truncate: a possible sleep-in-atomic-context bug in truncate_exceptional_pvec_entries()

2018-08-13 Thread Jan Kara
Hi, On Mon 13-08-18 11:10:23, Jia-Ju Bai wrote: > The kernel may sleep with holding a spinlock. > > The function call paths (from bottom to top) in Linux-4.16 are: > > [FUNC] schedule > fs/dax.c, 259: schedule in get_unlocked_mapping_entry > fs/dax.c, 450: get_unlocked_mapping_entry in __dax_inv

Re: [PATCH v8 1/6] Uprobes: Simplify uprobe_register() body

2018-08-13 Thread Srikar Dronamraju
* Ravi Bangoria [2018-08-09 09:48:51]: > Simplify uprobe_register() function body and let __uprobe_register() > handle everything. Also move dependency functions around to fix build > failures. > One nit: s/to fix build/failures/to avoid build failures/ > Signed-off-by: Ravi Bangoria > ---

Re: [PATCH] arm64: dts: rockchip: Add idle-states to device tree for rk3399

2018-08-13 Thread Tao Huang
On 2018年08月13日 16:25, Heiko Stuebner wrote: > Hi Tao, > > Am Sonntag, 12. August 2018, 18:24:45 CEST schrieb Tao Huang: >> On 2018年08月10日 04:09, Heiko Stuebner wrote: >>> Am Mittwoch, 6. Juli 2016, 10:20:54 CEST schrieb Caesar Wang: >>> arch/arm64/boot/dts/rockchip/rk3399.dtsi | 18 ++

[RFC PATCH] PCI: xilinx-nwl: nwl_setup_service_irqs() can be static

2018-08-13 Thread kbuild test robot
Fixes: 19cbd2e19134 ("PCI: xilinx-nwl: Add method to setup_platform_service_irq hook") Signed-off-by: kbuild test robot --- pcie-xilinx-nwl.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/controller/pcie-xilinx-nwl.c b/drivers/pci/controller/pcie-xilin

Re: [PATCH v5 09/11] clk: mediatek: add new clkmux register API

2018-08-13 Thread Owen Chen
On Thu, 2018-07-19 at 14:57 +0800, Sean Wang wrote: > On Tue, 2018-07-17 at 16:52 +0800, Mars Cheng wrote: > > From: Owen Chen > > > > MT6765 add "set/clr" register for each clkmux setting, and > > one update register to trigger value change. It is designed > > to prevent read-modify-write racing

Re: [PATCH 4/4] PCI: xilinx-nwl: Add method to setup_platform_service_irq hook

2018-08-13 Thread kbuild test robot
/commits/Bharat-Kumar-Gogada/Add-support-to-register-platform-service-IRQ/20180813-144216 base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse

Re: [PATCH v5 01/11] dt-bindings: clock: mediatek: document clk bindings for Mediatek MT6765 SoC

2018-08-13 Thread Owen Chen
On Fri, 2018-07-20 at 11:43 -0600, Rob Herring wrote: > On Tue, Jul 17, 2018 at 04:52:22PM +0800, Mars Cheng wrote: > > This patch adds the binding documentation for apmixedsys, audsys, camsys, > > imgsys, infracfg, mipi0a, topckgen, vcodecsys > > > > Signed-off-by: Mars Cheng > > Signed-off-by:

Re: [PATCH v2 1/3] dt-bindings: interrupt-controller: Actions external interrupt controller

2018-08-13 Thread Manivannan Sadhasivam
On Mon, Aug 13, 2018 at 08:51:54AM +0100, Marc Zyngier wrote: > On 13/08/18 05:34, Manivannan Sadhasivam wrote: > > Hi Parthiban, > > > > On Sun, Aug 12, 2018 at 02:22:13PM +0200, Parthiban Nallathambi wrote: > >> Actions Semi OWL family SoC's provides support for external interrupt > >> controlle

Re: [PATCH v2 1/3] dt-bindings: interrupt-controller: Actions external interrupt controller

2018-08-13 Thread Manivannan Sadhasivam
On Mon, Aug 13, 2018 at 02:45:47PM +0530, Manivannan Sadhasivam wrote: > On Mon, Aug 13, 2018 at 08:51:54AM +0100, Marc Zyngier wrote: > > On 13/08/18 05:34, Manivannan Sadhasivam wrote: > > > Hi Parthiban, > > > > > > On Sun, Aug 12, 2018 at 02:22:13PM +0200, Parthiban Nallathambi wrote: > > >> A

Re: [PATCH v8 04/22] s390/zcrypt: Integrate ap_asm.h into include/asm/ap.h.

2018-08-13 Thread Harald Freudenberger
Here is now the add-on patch which changes the returncode for the ap_instructions_available() function. I talked with Heiko Carstens and this patch will go into the next pull request for the 4.19 kernel. - >Fr

we do mobile apps

2018-08-13 Thread Jack Dike
Do you need mobile apps development? We can do it for you. We are an India base company. Here are the details about us: Years in business: 8 Staffs: 125 App developed: 350 We work on Android, iOS, Ionic, and PhoneGap platforms, we have clients across different kind of industries. Such like retai

Re: [BUG] kernel: rcu: a possible sleep-in-atomic-context bug in srcu_read_delay()

2018-08-13 Thread Jia-Ju Bai
On 2018/8/13 12:18, Paul E. McKenney wrote: On Mon, Aug 13, 2018 at 11:04:10AM +0800, Jia-Ju Bai wrote: The kernel may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] schedule_timeout_interruptible kernel/rcu/rcutorture.c, 523: schedule_

[PATCH 1/3] nds32: Fix get_user/put_user macro expand pointer problem

2018-08-13 Thread Zong Li
The pointer argument of macro need to be taken out once first, and then use the new pointer in the macro body. In kernel/trace/trace.c, get_user(ch, ubuf++) causes the unexpected increment after expand the macro. Signed-off-by: Zong Li --- arch/nds32/include/asm/uaccess.h | 26 ++---

[PATCH 2/3] nds32: Clean up the coding style

2018-08-13 Thread Zong Li
1. Adjust indentation. 2. Unify argument name of each macro. 3. Add space after comma in parameters list. 4. Add space after 'if' keyword. 5. Replace space by tab. 6. Change asm volatile to __asm__ __volatile__ Signed-off-by: Zong Li --- arch/nds32/include/asm/uaccess.h | 201 +++

[PATCH 3/3] nds32: Extract the checking and getting pointer to a macro

2018-08-13 Thread Zong Li
Signed-off-by: Zong Li --- arch/nds32/include/asm/uaccess.h | 80 1 file changed, 41 insertions(+), 39 deletions(-) diff --git a/arch/nds32/include/asm/uaccess.h b/arch/nds32/include/asm/uaccess.h index e1a2b5b..362a32d 100644 --- a/arch/nds32/include/asm

[PATCH 0/3] Fix get_user and put_user pointer issue

2018-08-13 Thread Zong Li
These patches fix the issue of expand macro with pointer argument, clean up the coding style and refactor the macro by extracting the checking and getting pointer to another macro definition. Zong Li (3): nds32: Fix get_user/put_user macro expand pointer problem nds32: Clean up the coding sty

Re: [BUG] mm: truncate: a possible sleep-in-atomic-context bug in truncate_exceptional_pvec_entries()

2018-08-13 Thread Jia-Ju Bai
On 2018/8/13 16:56, Jan Kara wrote: Hi, On Mon 13-08-18 11:10:23, Jia-Ju Bai wrote: The kernel may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] schedule fs/dax.c, 259: schedule in get_unlocked_mapping_entry fs/dax.c, 450: get_unlocke

linux-next: Tree for Aug 13

2018-08-13 Thread Stephen Rothwell
Hi all, Changes since 20180810: The ida tree lost its build failure. The akpm-current tree gained conflicts against the block tree and a build failure due to an interaction with the userns tree for which I applied a merge fix patch. Non-merge commits (relative to Linus' tree): 11957 10727 file

Re: [PATCH v8 04/22] s390/zcrypt: Integrate ap_asm.h into include/asm/ap.h.

2018-08-13 Thread Cornelia Huck
On Mon, 13 Aug 2018 11:24:48 +0200 Harald Freudenberger wrote: > Here is now the add-on patch which changes the returncode for the > ap_instructions_available() function. > > I talked with Heiko Carstens and this patch will go into the next pull > request for the 4.19 kernel. I was just about t

[PATCH] md/bcache: Remove NULL check.

2018-08-13 Thread Sean Fu
Remove unnessesary NULL check before kmem_cache_destroy() in drivers/md/bcache/request.c Signed-off-by: Sean Fu --- drivers/md/bcache/request.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/md/bcache/request.c b/drivers/md/bcache/request.c index ae67f5f..0ddee35 1

mobile apps design

2018-08-13 Thread Jack Dike
Do you need mobile apps development? We can do it for you. We are an India base company. Here are the details about us: Years in business: 8 Staffs: 125 App developed: 350 We work on Android, iOS, Ionic, and PhoneGap platforms, we have clients across different kind of industries. Such like retai

Re: [PATCH] clk: qcom: Add Global Clock controller (GCC) driver for SDM660

2018-08-13 Thread Craig Tatlor
On 13 August 2018 07:55:34 BST, Taniya Das wrote: >Hello Craig, > >Could you please correct the authorship and also provide the reference >to code where this is picked from? > Also, don't you have a program that just spits out the clock setup? And I did leave copyright in file. >On 8/11/2018 1

[GIT PULL] regmap updates for v4.19

2018-08-13 Thread Mark Brown
The following changes since commit 1ffaddd029c867d134a1dde39f540dcc8c52e274: Linux 4.18-rc8 (2018-08-05 12:37:41 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git tags/regmap-v4.19 for you to fetch changes up to 1dce5d849f94b9

Re: [PATCH V3 3/4] mm: add a function to differentiate the pages is from DAX device memory

2018-08-13 Thread Zhang,Yi
On 2018年08月09日 17:23, Pankaj Gupta wrote: >> DAX driver hotplug the device memory and move it to memory zone, these >> pages will be marked reserved flag, however, some other kernel componet >> will misconceive these pages are reserved mmio (ex: we map these dev_dax >> or fs_dax pages to kvm for

Re: [RESEND PATCH v1 1/2] cpuidle: menu: Correct the criteria for stopping tick

2018-08-13 Thread leo . yan
On Mon, Aug 13, 2018 at 10:01:20AM +0200, Rafael J. Wysocki wrote: > On Sun, Aug 12, 2018 at 6:07 PM wrote: > > > > On Sun, Aug 12, 2018 at 01:12:41PM +0200, Rafael J. Wysocki wrote: > > > On Fri, Aug 10, 2018 at 11:03 AM wrote: > > [cut] > > > > > > > Assuming shot noise wakeups, if > > > drv-

Re: [PATCH] md/bcache: Remove NULL check.

2018-08-13 Thread Coly Li
On 2018/8/13 5:38 PM, Sean Fu wrote: > Remove unnessesary NULL check before kmem_cache_destroy() in > drivers/md/bcache/request.c > > Signed-off-by: Sean Fu Hi Sean, A same change is posted in my previous checkpatch fixes series. You may find it from, https://git.kernel.org/pub/scm/linux/kernel

[GIT PULL] SPI updates for v4.19

2018-08-13 Thread Mark Brown
The following changes since commit 1ffaddd029c867d134a1dde39f540dcc8c52e274: Linux 4.18-rc8 (2018-08-05 12:37:41 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-v4.19 for you to fetch changes up to c1acb21b32a3bb6014537

Re: [PATCH v8 3/6] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-13 Thread Srikar Dronamraju
> + > +static int delayed_uprobe_add(struct uprobe *uprobe, struct mm_struct *mm) > +{ > + struct delayed_uprobe *du; > + > + if (delayed_uprobe_check(uprobe, mm)) > + return 0; > + > + du = kzalloc(sizeof(*du), GFP_KERNEL); > + if (!du) > + return -ENOMEM; >

Re: [PATCH v3 06/14] sched/cpufreq: uclamp: add utilization clamping for RT tasks

2018-08-13 Thread Patrick Bellasi
Hi Vincent! On 09-Aug 18:03, Vincent Guittot wrote: > > On 07-Aug 15:26, Juri Lelli wrote: [...] > > > > + util_cfs = cpu_util_cfs(rq); > > > > + util_rt = cpu_util_rt(rq); > > > > + if (sched_feat(UCLAMP_SCHED_CLASS)) { > > > > + util = 0; > > > > + if (util_cfs) > >

Re: [PATCH v3 06/14] sched/cpufreq: uclamp: add utilization clamping for RT tasks

2018-08-13 Thread Patrick Bellasi
Hi Quentin! On 09-Aug 16:55, Quentin Perret wrote: > Hi Patrick, > > On Thursday 09 Aug 2018 at 16:41:56 (+0100), Patrick Bellasi wrote: > > > IIUC, not far below this you should still have something like: > > > > > > if (rt_rq_is_runnable(&rq->rt)) > > > return max; > > > > Do you

Re: [PATCH v1 1/2] Bluetooth: mediatek: Add protocol support for MediaTek MT7668U USB devices

2018-08-13 Thread Sean Wang
On Mon, 2018-08-13 at 10:00 +0200, Marcel Holtmann wrote: > Hi Sean, > > > This adds the support of enabling MT7668U Bluetooth function running > > on the top of btusb driver. The patch also adds a newly created file > > mtkbt.c able to be reused independently from the transport type such > > as U

Re: [PATCH v1 1/2] Bluetooth: mediatek: Add protocol support for MediaTek MT7668U USB devices

2018-08-13 Thread Sean Wang
On Mon, 2018-08-13 at 18:20 +0800, Sean Wang wrote: > On Mon, 2018-08-13 at 10:00 +0200, Marcel Holtmann wrote: > > Hi Sean, > > > > > This adds the support of enabling MT7668U Bluetooth function running > > > on the top of btusb driver. The patch also adds a newly created file > > > mtkbt.c able

Darlehensangebot,

2018-08-13 Thread Wilfred larry
Hallo, Sind Sie auf der Suche nach einem Business-Darlehen, persönliche Darlehen, Hypotheken, Auto Darlehen, Darlehen für Studenten, Schuldenkonsolidierung, unbesicherte Kredite, Risiko Hauptstadt, etc. ... Sie sind am richtigen Ort Ihre Kreditlösungen! Ich bin ein privater Kreditgeber, der verl

mobile apps for you

2018-08-13 Thread Jack Dike
Do you need mobile apps development? We can do it for you. We are an India base company. Here are the details about us: Years in business: 8 Staffs: 125 App developed: 350 We work on Android, iOS, Ionic, and PhoneGap platforms, we have clients across different kind of industries. Such like retai

ACTUALIZAÇÃO ATUALIZADA

2018-08-13 Thread SERVIÇO DE TI
Prezado usuário do WEB-Mail Observamos várias tentativas por este endereço IP: 77.224.178.23, tentando obter acesso à sua conta de e-mail do México. Pretendemos suspender sua conta nas próximas 24 horas. Sua caixa de correio excedeu o limite de armazenamento de 2 GB definido por seu administ

Re: [PATCH v3 06/14] sched/cpufreq: uclamp: add utilization clamping for RT tasks

2018-08-13 Thread Juri Lelli
On 13/08/18 11:12, Patrick Bellasi wrote: > Hi Vincent! > > On 09-Aug 18:03, Vincent Guittot wrote: > > > On 07-Aug 15:26, Juri Lelli wrote: > > [...] > > > > > > + util_cfs = cpu_util_cfs(rq); > > > > > + util_rt = cpu_util_rt(rq); > > > > > + if (sched_feat(UCLAMP_SCHED_CLASS)) { > > >

Re: [PATCH] zsmalloc: fix linking bug in init_zspage

2018-08-13 Thread Sergey Senozhatsky
On (08/13/18 15:05), Minchan Kim wrote: > > From: zhouxianrong > > > > The last partial object in last subpage of zspage should not be linked > > in allocation list. Otherwise it could trigger BUG_ON explicitly at > > function zs_map_object. But it happened rarely. > > Could you be more specific

Re: [PATCH 1/3] arm64: implement ftrace with regs

2018-08-13 Thread Julien Thierry
Hi Torsten, On 10/08/18 17:02, Torsten Duwe wrote: Check for compiler support of -fpatchable-function-entry and use it to intercept functions immediately on entry, saving the LR in x9. Disable ftracing in efi/libstub, because this triggers cross-section linker errors now (-pg used to be disabled

Re: [PATCH] mm: migration: fix migration of huge PMD shared pages

2018-08-13 Thread Kirill A. Shutemov
On Sun, Aug 12, 2018 at 08:41:08PM -0700, Mike Kravetz wrote: > The page migration code employs try_to_unmap() to try and unmap the > source page. This is accomplished by using rmap_walk to find all > vmas where the page is mapped. This search stops when page mapcount > is zero. For shared PMD h

[GIT PULL] file locking updates for 4.19

2018-08-13 Thread Jeff Layton
The following changes since commit 2837461dbe6f4a9acc0d86f88825888109211c99: Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi (2018-06-14 16:35:32 +0900) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git

Re: [BUG] gpio: gpio-adp5588: A possible sleep-in-atomic-context bug in adp5588_gpio_direction_input()

2018-08-13 Thread Michael Hennerich
On 11.08.2018 04:03, Jia-Ju Bai wrote: The driver may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] mutex_lock_nested drivers/gpio/gpio-adp5588.c, 113: mutex_lock_nested in adp5588_gpio_direction_input drivers/gpio/gpio-adp5588.c, 224: ad

[PATCH] staging:pci-mt7621: Use PTR_ERR_OR_ZERO to replace the open code

2018-08-13 Thread zhong jiang
PTR_ERR_OR_ZERO has implemented the if(IS_ERR(...)) + PTR_ERR, So just replace them rather than duplicating its implement. Signed-off-by: zhong jiang --- drivers/staging/mt7621-pci/pci-mt7621.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/mt7621-pci/pci-

[PATCH 2/2] perf tools: Move syscall_64.tbl check into check-headers.sh

2018-08-13 Thread Jiri Olsa
Probably leftover from the time we introducd the check-headers.sh script. Link: http://lkml.kernel.org/n/tip-oh56ckqztoc07we7mtdph...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/arch/x86/Makefile | 3 --- tools/perf/check-headers.sh | 3 +++ 2 files changed, 3 insertions(+), 3 deleti

[PATCH 1/2] perf tools: Make check-headers.sh check based on kernel dir

2018-08-13 Thread Jiri Olsa
Changing the logic to compare files with paths relative to kernel source base dir. This way we can keep the output message for 2 unrelated files, which is coming in following patch. Link: http://lkml.kernel.org/n/tip-gpfv1vdqfjda80m451w9a...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf

Re: [PATCH] perf tools: Fix check-headers.sh AND list path of execution

2018-08-13 Thread Jiri Olsa
On Sat, Aug 11, 2018 at 11:39:15AM +0300, Alexander Kapshuk wrote: > The '||' path of execution in the 'test' block of the check_2() function > may also be taken if file2 does not exist, in which case the warning > message about the ABI headers being different would still be printed > where it shou

Re: [PATCH] perf tools: Fix check-headers.sh AND list path of execution

2018-08-13 Thread Alexander Kapshuk
On Mon, Aug 13, 2018 at 2:16 PM Jiri Olsa wrote: > > On Sat, Aug 11, 2018 at 11:39:15AM +0300, Alexander Kapshuk wrote: > > The '||' path of execution in the 'test' block of the check_2() function > > may also be taken if file2 does not exist, in which case the warning > > message about the ABI he

Re: [PATCH v8 3/6] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-13 Thread Oleg Nesterov
On 08/13, Srikar Dronamraju wrote: > > > + > > +static int delayed_uprobe_add(struct uprobe *uprobe, struct mm_struct *mm) > > +{ > > + struct delayed_uprobe *du; > > + > > + if (delayed_uprobe_check(uprobe, mm)) > > + return 0; > > + > > + du = kzalloc(sizeof(*du), GFP_KERNEL); > >

Re: powerpc/mm: remove huge_pte_offset_and_shift() prototype

2018-08-13 Thread Michael Ellerman
On Wed, 2018-08-08 at 15:36:34 UTC, Christophe Leroy wrote: > huge_pte_offset_and_shift() has never existed > > Signed-off-by: Christophe Leroy Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/646dbe40fa2a54118975792fa9b98c cheers

Re: [PATCH] staging:pci-mt7621: Use PTR_ERR_OR_ZERO to replace the open code

2018-08-13 Thread Sergio Paracuellos
On Mon, Aug 13, 2018 at 12:54 PM, zhong jiang wrote: > PTR_ERR_OR_ZERO has implemented the if(IS_ERR(...)) + PTR_ERR, So > just replace them rather than duplicating its implement. > > Signed-off-by: zhong jiang > --- > drivers/staging/mt7621-pci/pci-mt7621.c | 4 +--- > 1 file changed, 1 inserti

[PATCH v4] cpuidle: menu: Handle stopped tick more aggressively

2018-08-13 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Commit 87c9fe6ee495 (cpuidle: menu: Avoid selecting shallow states with stopped tick) missed the case when the target residencies of deep idle states of CPUs are above the tick boundary which may cause the CPU to get stuck in a shallow idle state for a long time. Say ther

Re: [PATCH 05/25] ubifs: implement ubifs_lpt_lookup using ubifs_pnode_lookup

2018-08-13 Thread Richard Weinberger
Am Montag, 13. August 2018, 10:12:38 CEST schrieb Sascha Hauer: > > Can you please add a helper function for that? These shift games are > > always confusing and not easy to spot. > > Do you have a suggestion for a helper function? lpt.c is full of rather > non obvious arithmetic operations and I

Re: [PATCH] staging:pci-mt7621: Use PTR_ERR_OR_ZERO to replace the open code

2018-08-13 Thread zhong jiang
On 2018/8/13 19:26, Sergio Paracuellos wrote: > On Mon, Aug 13, 2018 at 12:54 PM, zhong jiang wrote: >> PTR_ERR_OR_ZERO has implemented the if(IS_ERR(...)) + PTR_ERR, So >> just replace them rather than duplicating its implement. >> >> Signed-off-by: zhong jiang >> --- >> drivers/staging/mt7621-

[PATCH 2/2] phy:phy-lantiq-rcu-usb2: Use PTR_ERR_OR_ZERO to replace the open code

2018-08-13 Thread zhong jiang
PTR_ERR_OR_ZERO has implemented the if(IS_ERR(...)) + PTR_ERR, So just replace them rather than duplicating its implement. Signed-off-by: zhong jiang --- drivers/phy/lantiq/phy-lantiq-rcu-usb2.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/phy/lantiq/phy-lantiq-

[PATCH 0/2] phy: Use PTR_ERR_OR_ZERO to replace the open code

2018-08-13 Thread zhong jiang
The issue is detected with the help of Coccinelle. zhong jiang (2): phy:phy-brcm-us: Use PTR_ERR_OR_ZERO to replace the open code phy:phy-lantiq-rcu-usb2: Use PTR_ERR_OR_ZERO to replace the open code drivers/phy/broadcom/phy-brcm-usb.c | 4 +--- drivers/phy/lantiq/phy-lantiq-rcu-usb2.c

[PATCH 1/2] phy:phy-brcm-us: Use PTR_ERR_OR_ZERO to replace the open code

2018-08-13 Thread zhong jiang
PTR_ERR_OR_ZERO has implemented the if(IS_ERR(...)) + PTR_ERR, So just replace them rather than duplicating its implement. Signed-off-by: zhong jiang --- drivers/phy/broadcom/phy-brcm-usb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/phy/broadcom/phy-brcm-usb.c

[PATCH 0/2] rtc: Use PTR_ERR_OR_ZERO to replace the open code

2018-08-13 Thread zhong jiang
The issue is detected with the help of Coccinelle. zhong jiang (2): rtc:rtc-digicolor: Use PTR_ERR_OR_ZERO to replace the open code rtc:rtc-ds1347: Use PTR_ERR_OR_ZERO to replace the open code drivers/rtc/rtc-digicolor.c | 4 +--- drivers/rtc/rtc-ds1347.c| 5 + 2 files changed, 2 ins

[PATCH 1/2] rtc:rtc-digicolor: Use PTR_ERR_OR_ZERO to replace the open code

2018-08-13 Thread zhong jiang
PTR_ERR_OR_ZERO has implemented the if(IS_ERR(...)) + PTR_ERR, So just replace them rather than duplicating its implement. Signed-off-by: zhong jiang --- drivers/rtc/rtc-digicolor.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-digicolor.c b/drivers/rtc/r

[PATCH 2/2] rtc:rtc-ds1347: Use PTR_ERR_OR_ZERO to replace the open code

2018-08-13 Thread zhong jiang
PTR_ERR_OR_ZERO has implemented the if(IS_ERR(...)) + PTR_ERR, So just replace them rather than duplicating its implement. Signed-off-by: zhong jiang --- drivers/rtc/rtc-ds1347.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-ds1347.c b/drivers/rtc/rtc-ds

Re: [PATCH v2 2/3] drivers/irqchip: Add Actions external interrupts support

2018-08-13 Thread Marc Zyngier
On 12/08/18 13:22, Parthiban Nallathambi wrote: > Actions Semi Owl family SoC's S500, S700 and S900 provides support > for 3 external interrupt controllers through SIRQ pins. > > Each line can be independently configured as interrupt and triggers > on either of the edges (raising or falling) or ei

Re: [PATCH 3/8] staging: erofs: add error handling for xattr submodule

2018-08-13 Thread Dan Carpenter
> -static void xattr_iter_fixup(struct xattr_iter *it) > +static inline int xattr_iter_fixup(struct xattr_iter *it) > { > - if (unlikely(it->ofs >= EROFS_BLKSIZ)) { > - xattr_iter_end(it, true); > + if (likely(it->ofs < EROFS_BLKSIZ)) > + return 0; > > -

[PATCH v2 1/2] dt-bindings: arm: amlogic: Add Meson G12A binding

2018-08-13 Thread Jianxin Pan
Introduce new bindings for the Meson G12A SoC Signed-off-by: Jianxin Pan --- Documentation/devicetree/bindings/arm/amlogic.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/devicetree/bindings/arm/amlogic.txt index b5

[PATCH v2 2/2] arm64: dts: meson-g12a: add initial g12a s905d2 SoC DT support

2018-08-13 Thread Jianxin Pan
Try to add basic DT support for the Amlogic's Meson-G12A S905D2 SoC, which describe components as follows: Reserve Memory, CPU, GIC, IRQ, Timer, UART. It's capable of booting up into the serial console. Signed-off-by: Jianxin Pan --- arch/arm64/boot/dts/amlogic/Makefile| 1 + arch/

Re: [PATCH v2 1/2] media: davinci: vpif_display: Mix memory leak on probe error path

2018-08-13 Thread Lad, Prabhakar
Hi, Thanks for the patch. On Mon, Aug 6, 2018 at 4:50 PM Anton Vasilyev wrote: > > If vpif_probe() fails on v4l2_device_register() then memory allocated > at initialize_vpif() for global vpif_obj.dev[i] become unreleased. > > The patch adds deallocation of vpif_obj.dev[i] on the probe error path

  1   2   3   4   >