Re: [PATCH] ath10k: Introduce a devicetree quirk to skip host cap QMI requests

2020-11-02 Thread Amit Pundir
Hi Rob, Bjorn, Kalle, On Thu, 29 Oct 2020 at 19:10, Bjorn Andersson wrote: > > On Tue 29 Sep 14:08 CDT 2020, Rob Herring wrote: > > > On Fri, Sep 25, 2020 at 11:59:41PM +0530, Amit Pundir wrote: > > > There are firmware versions which do not support host capability >

Re: [PATCH] ath10k: Introduce a devicetree quirk to skip host cap QMI requests

2021-02-02 Thread Amit Pundir
sion (WLAN.HL.2.0.XXX), used by Dragonboard 845c (which has Wi-Fi working upstream). Regards, Amit Pundir > > -- > https://patchwork.kernel.org/project/linux-wireless/list/ > > https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

[PATCH v2] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add DSI and panel bits

2021-02-04 Thread Amit Pundir
From: Sumit Semwal Enabling the Display panel for beryllium phone (Xiaomi Pocophone F1) requires DSI labibb regulators and panel dts nodes to be added. It is also required to keep some of the regulators as always-on. Signed-off-by: Sumit Semwal Signed-off-by: Amit Pundir --- v2: Rebased

[PATCH] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add DSI and panel bits

2021-02-03 Thread Amit Pundir
From: Sumit Semwal Enabling the Display panel for beryllium phone (Xiaomi Pocophone F1) requires DSI labibb regulators and panel dts nodes to be added. It is also required to keep some of the regulators as always-on. Signed-off-by: Sumit Semwal Signed-off-by: Amit Pundir --- .../boot/dts

Re: [PATCH] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add DSI and panel bits

2021-02-03 Thread Amit Pundir
Argh.. This patch is not formatted on top of mainline. It doesn't apply cleanly. Sorry about that. I'll fix that in the next version. Regards, Amit Pundir On Wed, 3 Feb 2021 at 15:29, Amit Pundir wrote: > > From: Sumit Semwal > > Enabling the Display panel for beryllium p

Re: [PATCH] dma-pool: Do not allocate pool memory from CMA

2020-07-31 Thread Amit Pundir
dress: Add bus type match for pci ranges parser": OK > v5.8-rc1 + both: BROKEN > > I wanted to test the series to see if this fixes anything. If you would > prefer a different thread for this or further information, please let > me know. Hi Nathan, Here is the patch series: https://lists.linuxfoundation.org/pipermail/iommu/2020-July/047008.html https://lists.linuxfoundation.org/pipermail/iommu/2020-July/047010.html I hope it works for you, it didn't work for me. More details in this thread here: https://lists.linuxfoundation.org/pipermail/iommu/2020-July/047009.html Regards, Amit Pundir > > Cheers, > Nathan

[PATCH v2] arm64: dts: qcom: Add support for Xiaomi Poco F1 (Beryllium)

2020-07-31 Thread Amit Pundir
that shipped with Android-9 based release. Newer bootloader version do not support switching OFF the display panel at all. So we need a few additional smmu patches (under review) from here to boot to shell: https://github.com/pundiramit/linux/commits/beryllium-mainline Signed-off-by: Amit Pundir --- v2

[PATCH] arm64: dts: qcom: Add support for Xiaomi Poco F1 (Beryllium)

2020-06-25 Thread Amit Pundir
that shipped with Android-9 based release. Newer bootloader version do not support switching OFF the display panel at all. So we need a couple of additional smmu patches (under review) from here to boot to shell: https://github.com/pundiramit/linux/commits/beryllium-mainline Signed-off-by: Amit Pundir

Re: [PATCH] dma-pool: Do not allocate pool memory from CMA

2020-07-21 Thread Amit Pundir
happy to help debug things. For what it's worth, I don't see this regression on other two sdm845 devices (db845c and Pixel 3) I tested on. Regards, Amit Pundir > Reported-by: Jeremy Linton > Signed-off-by: Nicolas Saenz Julienne > --- > > An more costly alternative would be addin

Re: [PATCH] dma-pool: Do not allocate pool memory from CMA

2020-07-21 Thread Amit Pundir
On Tue, 21 Jul 2020 at 14:09, Nicolas Saenz Julienne wrote: > > Hi Amit, > > On Tue, 2020-07-21 at 12:51 +0530, Amit Pundir wrote: > > On Wed, 8 Jul 2020 at 22:43, Nicolas Saenz Julienne > > wrote: > > > There is no guarantee to CMA's placement, so allocating a

Re: [PATCH] dma-pool: Do not allocate pool memory from CMA

2020-07-21 Thread Amit Pundir
On Tue, 21 Jul 2020 at 16:45, Nicolas Saenz Julienne wrote: > > On Tue, 2020-07-21 at 14:24 +0530, Amit Pundir wrote: > > On Tue, 21 Jul 2020 at 14:09, Nicolas Saenz Julienne > > wrote: > > > Hi Amit, > > > > Hi Nicolas, > > > > > > >

Re: [PATCH] dma-pool: Do not allocate pool memory from CMA

2020-07-21 Thread Amit Pundir
rom CMA but check the > > address a try? (just because we can..) > > Yes, good idea! > > Amir, could you also test this patch[1] (having reverted the one that > casues trouble) and report on whether it boots or not? Can't boot with that patch either. Regards, Amit Pundir

Re: [PATCH] dma-pool: Do not allocate pool memory from CMA

2020-07-21 Thread Amit Pundir
On Tue, 21 Jul 2020 at 18:15, Nicolas Saenz Julienne wrote: > > On Tue, 2020-07-21 at 17:45 +0530, Amit Pundir wrote: > > On Tue, 21 Jul 2020 at 16:45, Nicolas Saenz Julienne > > wrote: > > > On Tue, 2020-07-21 at 14:24 +0530, Amit Pundir wrote: > > > >

Re: [PATCH] dma-pool: Do not allocate pool memory from CMA

2020-07-24 Thread Amit Pundir
On Fri, 24 Jul 2020 at 15:06, Nicolas Saenz Julienne wrote: > > Hi Amit, > > On Thu, 2020-07-23 at 10:44 +0530, Amit Pundir wrote: > > Hi Nicolas, > > > > Sorry I got stuck on other things yesterday. > > No worries :) > > > On Tue,

Re: [PATCH] dma-pool: Do not allocate pool memory from CMA

2020-07-24 Thread Amit Pundir
ow hackish) way to not apply the addressability check for dma-iommu > allocations. Thank you. The below patch worked on today's linux/master (f37e99aca03f). Regards, Amit Pundir > > diff --git a/kernel/dma/pool.c b/kernel/dma/pool.c > index 6bc74a2d51273e..ec5e525d2b9309 100644 > --- a/ke

Re: [PATCH] dma-pool: Do not allocate pool memory from CMA

2020-07-22 Thread Amit Pundir
Hi Nicolas, Sorry I got stuck on other things yesterday. On Tue, 21 Jul 2020 at 21:57, Nicolas Saenz Julienne wrote: > > On Tue, 2020-07-21 at 20:52 +0530, Amit Pundir wrote: > > [...] > > > > > > Can you try booting *without* my patch and this in the kernel &g

Re: Linux 4.18-rc7

2018-07-30 Thread Amit Pundir
(android::AndroidRuntime::startVm(_JavaVM**, _JNIEnv**, bool)+5038) F DEBUG : #09 pc 2381 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector const&, bool)+196) F DEBUG : #10 pc 046b /system/bin/app_process32 (main+702) Regards, Amit Pundir

Re: Linux 4.18-rc7

2018-07-30 Thread Amit Pundir
On Mon, 30 Jul 2018 at 18:31, Kirill A. Shutemov wrote: > > On Mon, Jul 30, 2018 at 12:17:46PM +0530, Amit Pundir wrote: > > On Mon, 30 Jul 2018 at 03:39, Linus Torvalds > > wrote: > > > > > > So unless something odd happens, this should be the last rc for 4.

Re: Linux 4.18-rc7

2018-07-31 Thread Amit Pundir
5..1af6915 100644 > --- a/drivers/staging/android/ashmem.c > +++ b/drivers/staging/android/ashmem.c > @@ -402,7 +402,8 @@ static int ashmem_mmap(struct file *file, struct > vm_area_struct *vma) > fput(asma->file); > goto out; > } > - } > + } else > + vma_set_anonymous(vma); > > if (vma->vm_file) > fput(vma->vm_file); > This ashmem change ^^ worked too. Regards, Amit Pundir > > Seem to resolve it? (Sorry, I'd test it myself, but I'm away from my > desk for the night). > thanks > -john

Re: [PATCH 4.9 00/71] 4.9.134-stable review

2018-10-17 Thread Amit Pundir
definition. It is added in 582e2b4aecda ("MIPS: GIC: Introduce asm/mips-gic.h with accessor functions"), which need to be backported too because it doesn't apply cleanly on linux-4.9.y. Regards, Amit Pundir > > Jann Horn > mm/vmstat.c: fix outdated vmstat_text >

Re: Linux 4.18-rc7

2018-08-02 Thread Amit Pundir
current HEAD: 6b4703768268 ("Merge branch 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm"). Thanks. Regards, Amit Pundir

Re: [PATCH 4.14 29/45] cgroup/cpuset: remove circular dependency deadlock

2018-10-16 Thread Amit Pundir
.org/r/1504764252-29091-1-git-send-email-prs...@codeaurora.org This patch applies cleanly to 4.14.y and 4.9.y. But I'm confused if this particular patch alone is good enough for these stable kernels, since the commit message talks about some "recent cpu/hotplug refactoring" dependency(?). Regards, Amit Pundir > > thanks, > > greg k-h > > > > > -- > > Regards > > Sudip

[PATCH v2] PM: Print pending wakeup IRQ preventing suspend

2014-09-18 Thread Amit Pundir
Machek Cc: Thomas Gleixner Cc: Rafael J. Wysocki Cc: Len Brown Cc: linux...@vger.kernel.org Cc: Android Kernel Team Acked-by: Pavel Machek Signed-off-by: Todd Poynor [Amit Pundir: Reworded the commit message] Signed-off-by: Amit Pundir --- Resending this patch assuming that it might have got

[PATCH v2] PM: Print wall time at suspend entry and exit

2014-09-18 Thread Amit Pundir
Cc: linux...@vger.kernel.org Cc: Android Kernel Team Signed-off-by: Todd Poynor [Amit Pundir: Reworded the commit message] Signed-off-by: Amit Pundir --- Resending this patch assuming that it might have got lost in between merge window rush last time and now people might have some time to look

Regression in v4.0.0-rc1 with Android Binder

2015-02-26 Thread Amit Pundir
/* guard page? */; ret = map_vm_area(_area, PAGE_KERNEL, page); if (ret) { -->8-- Regards, Amit Pundir -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH v2] android: binder: fix binder mmap failures

2015-03-01 Thread Amit Pundir
m_struct tmp_area' at > all. > > Fixes: 71394fe50146 ("mm: vmalloc: add flag preventing guard hole allocation") > Signed-off-by: Andrey Ryabinin > Reported-by: Amit Pundir > --- > Changes since v1: >- fixed ret check after map_kernel_ranges_noflush(). >

Re: [RFC][PATCH 1/2] usb: gadget: configfs: add MTP function

2015-08-14 Thread Amit Pundir
On 14 August 2015 at 02:11, Krzysztof Opasiak wrote: > > > On 08/13/2015 09:57 PM, Greg Kroah-Hartman wrote: >> >> On Thu, Aug 13, 2015 at 09:34:46PM +0200, Krzysztof Opasiak wrote: >>> >>> Hello, >>> >>> On 08/13/2015 09:12 PM, Amit P

[RFC][PATCH 1/2] usb: gadget: configfs: add MTP function

2015-08-13 Thread Amit Pundir
Kroah-Hartman Cc: Jonathan Corbet Cc: Felipe Balbi Cc: Andrzej Pietrasiewicz Cc: Laurent Pinchart Cc: Yegor Yefremov Cc: Philippe Reynes Cc: John Stultz Cc: Sumit Semwal Signed-off-by: Amit Pundir --- Documentation/ABI/testing/configfs-usb-gadget-mtp |7 + Documentation/usb/gadget

[RFC][PATCH 2/2] usb: gadget: configfs: notify userspace of usb state changes

2015-08-13 Thread Amit Pundir
: Laurent Pinchart Cc: Yegor Yefremov Cc: Philippe Reynes Cc: John Stultz Cc: Sumit Semwal Signed-off-by: Amit Pundir --- drivers/usb/gadget/Kconfig| 8 ++ drivers/usb/gadget/configfs.c | 201 +- 2 files changed, 207 insertions(+), 2 deletions

[RFC][PATCH 0/2] usb: gadget: add MTP function and Uevent userspace notifications

2015-08-13 Thread Amit Pundir
to make it easier to review, provided a coherent patch description and modified it enough that I don't want them to be blamed for any mistakes I've made condensing their patches down. Thoughts and feedback would be appreciated. Thanks, Amit Pundir Cc: Mike Lockwood Cc: Benoit Goby Cc: Colin Cross

[PATCH 1/2] config: android-recommended: disable aio support

2016-12-07 Thread Amit Pundir
going to work properly on Android devices using file-based encryption. Reviewed-at: https://android-review.googlesource.com/#/c/292158/ Signed-off-by: Daniel Micay Signed-off-by: Amit Pundir --- kernel/configs/android-recommended.config | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel

[PATCH 2/2] config: android-base: enable hardened usercopy and kernel ASLR

2016-12-07 Thread Amit Pundir
Enable CONFIG_HARDENED_USERCOPY and CONFIG_RANDOMIZE_BASE in Android base config fragment. Reviewed-at: https://android-review.googlesource.com/#/c/283659/ Reviewed-at: https://android-review.googlesource.com/#/c/278133/ Signed-off-by: Amit Pundir --- kernel/configs/android-base.config | 2

[PATCH] tracing: Resolve stack corruption due to string copy

2017-05-03 Thread Amit Pundir
CodeAurora kernel/msm-3.10 https://source.codeaurora.org/quic/la/kernel/msm-3.10/commit/?id=2161ae9a70b12cf18ac8e5952a20161ffbccb477] Signed-off-by: Amit Pundir --- This patch featured in Android Security Bulletin for May 2017, https://source.android.com/security/bulletin/2017-05-01#eop-in-kernel-trace

Regression in ARM CLCD Fb

2016-10-15 Thread Amit Pundir
, aborting It means Android didn't find /dev/fb* or equivalent /dev/graphics/fb*. Any thoughts on what might be going wrong here? Or am I missing anything obvious in my Qemu setup, though it was working fine so far. I'd be happy to help debug things. Regards, Amit Pundir

Re: [PATCH 3.18 000/145] 3.18.49-stable review

2017-04-17 Thread Amit Pundir
al: 111 pass: 111 fail: 0 >> >> Fixing the build failure requires commit 6c8afa88adce ("Input: gscps2 - fix >> MODULE_DEVICE_TABLE invocation"). > > Ah, nice! I'm pretty amazed that there was only one failure, thanks for > testing all of these and letting me know. I've also queued up this last > patch for 3.18. Can you please pick this one https://www.spinics.net/lists/stable/msg166162.html as well. It fixes ARCH=arm + CONFIG_SMP=n + CONFIG_ARM_PSCI=y builds. Regards, Amit Pundir > > thanks, > > greg k-h

[PATCH 2/9] config: android-recommended: enable CONFIG_ARM64_SW_TTBR0_PAN

2017-06-08 Thread Amit Pundir
From: Sami Tolvanen Enable PAN emulation using TTBR0_EL1 switching. Reviewed-at: https://android-review.googlesource.com/#/c/325997/ Signed-off-by: Sami Tolvanen [AmitP: cherry-picked this change from Android common kernel and updated the commit message] Signed-off-by: Amit Pundir

[PATCH 1/9] config: android-recommended: enable fstack-protector-strong

2017-06-08 Thread Amit Pundir
From: Jeff Vander Stoep If compiler has stack protector support, set CONFIG_CC_STACKPROTECTOR_STRONG. Reviewed-at: https://android-review.googlesource.com/#/c/238388/ Signed-off-by: Jeff Vander Stoep [AmitP: cherry-picked this change from Android common kernel] Signed-off-by: Amit Pundir

[PATCH 5/9] config: android-base: add CONFIG_IKCONFIG option

2017-06-08 Thread Amit Pundir
] Signed-off-by: Amit Pundir --- kernel/configs/android-base.config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/configs/android-base.config b/kernel/configs/android-base.config index efe5ff86767e..e12cfec25758 100644 --- a/kernel/configs/android-base.config +++ b/kernel/configs/android

[PATCH 0/9] kernel/configs: Android config fragment updates

2017-06-08 Thread Amit Pundir
Hi, Following are the Android config fragment changes cherry-picked from Android common kernel for your consideration. Config fragments are folded or re-placed in sorted order wherever required. Regards, Amit Pundir Chenbo Feng (1): config: android-base: add CGROUP_BPF Greg Kroah-Hartman (2

[PATCH 7/9] config: android-base: enable CONFIG_INET_DIAG_DESTROY

2017-06-08 Thread Amit Pundir
From: Lorenzo Colitti As of Android N, this is required to close sockets when a network disconnects. Reviewed-at: https://android-review.googlesource.com/#/c/322674/ [AmitP: cherry-picked this change from Android common kernel] Signed-off-by: Amit Pundir --- kernel/configs/android

[PATCH 8/9] config: android-base: add CGROUP_BPF

2017-06-08 Thread Amit Pundir
] Signed-off-by: Amit Pundir --- kernel/configs/android-base.config | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/configs/android-base.config b/kernel/configs/android-base.config index 5ecedaaf7c2e..01b186c5ef18 100644 --- a/kernel/configs/android-base.config +++ b/kernel/configs

[PATCH 9/9] config: android-base: disable CONFIG_NFSD and CONFIG_NFS_FS

2017-06-08 Thread Amit Pundir
From: Roberto Pereira Disable Network file system support. Reviewed-at: https://android-review.googlesource.com/#/c/409559/ Signed-off-by: Roberto Pereira [AmitP: cherry-picked this change from Android common kernel and updated commit message] Signed-off-by: Amit Pundir --- kernel

[PATCH 6/9] config: android-base: add CONFIG_MODULES option

2017-06-08 Thread Amit Pundir
] Signed-off-by: Amit Pundir --- kernel/configs/android-base.config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/configs/android-base.config b/kernel/configs/android-base.config index e12cfec25758..62cb392fc34b 100644 --- a/kernel/configs/android-base.config +++ b

[PATCH 4/9] config: android-recommended: enable CONFIG_CPU_SW_DOMAIN_PAN

2017-06-08 Thread Amit Pundir
the commit message and re-placed the CONFIG_STRICT_KERNEL_RWX config in sorted order] Signed-off-by: Amit Pundir --- kernel/configs/android-recommended.config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/configs/android-recommended.config b/kernel/configs

[PATCH 3/9] config: android-base: disable CONFIG_USELIB and CONFIG_FHANDLE

2017-06-08 Thread Amit Pundir
From: Max Shi Turn off the two kernel configs to disable related system ABI. Reviewed-at: https://android-review.googlesource.com/#/c/264976/ Signed-off-by: Max Shi [AmitP: cherry-picked this change from Android common kernel] Signed-off-by: Amit Pundir --- kernel/configs/android

Re: [PATCH 7/9] config: android-base: enable CONFIG_INET_DIAG_DESTROY

2017-06-08 Thread Amit Pundir
On 8 June 2017 at 15:32, Lorenzo Colitti wrote: > On Thu, Jun 8, 2017 at 6:55 PM, Amit Pundir wrote: >> Reviewed-at: https://android-review.googlesource.com/#/c/322674/ > > Note: that change was a mistake. > >> --- a/kernel/configs/android-base.config >> +++ b/kern

[PATCH v2 2/8] config: android-recommended: enable CONFIG_ARM64_SW_TTBR0_PAN

2017-06-08 Thread Amit Pundir
From: Sami Tolvanen Enable PAN emulation using TTBR0_EL1 switching. Reviewed-at: https://android-review.googlesource.com/#/c/325997/ Signed-off-by: Sami Tolvanen [AmitP: cherry-picked this change from Android common kernel and updated the commit message] Signed-off-by: Amit Pundir

[PATCH v2 1/8] config: android-recommended: enable fstack-protector-strong

2017-06-08 Thread Amit Pundir
From: Jeff Vander Stoep If compiler has stack protector support, set CONFIG_CC_STACKPROTECTOR_STRONG. Reviewed-at: https://android-review.googlesource.com/#/c/238388/ Signed-off-by: Jeff Vander Stoep [AmitP: cherry-picked this change from Android common kernel] Signed-off-by: Amit Pundir

[PATCH v2 0/8] kernel/configs: Android config fragment updates

2017-06-08 Thread Amit Pundir
Hi, Following are the Android config fragment changes cherry-picked from Android common kernel for your consideration. Config fragments are folded or re-placed in sorted order wherever required. Changes since v1: Dropped that one patch adding non-existent config. Regards, Amit Pundir

[PATCH v2 5/8] config: android-base: add CONFIG_IKCONFIG option

2017-06-08 Thread Amit Pundir
] Signed-off-by: Amit Pundir --- kernel/configs/android-base.config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/configs/android-base.config b/kernel/configs/android-base.config index efe5ff86767e..e12cfec25758 100644 --- a/kernel/configs/android-base.config +++ b/kernel/configs/android

[PATCH v2 8/8] config: android-base: disable CONFIG_NFSD and CONFIG_NFS_FS

2017-06-08 Thread Amit Pundir
From: Roberto Pereira Disable Network file system support. Reviewed-at: https://android-review.googlesource.com/#/c/409559/ Signed-off-by: Roberto Pereira [AmitP: cherry-picked this change from Android common kernel and updated commit message] Signed-off-by: Amit Pundir --- kernel

[PATCH v2 7/8] config: android-base: add CGROUP_BPF

2017-06-08 Thread Amit Pundir
] Signed-off-by: Amit Pundir --- kernel/configs/android-base.config | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/configs/android-base.config b/kernel/configs/android-base.config index 62cb392fc34b..cdde5af6b332 100644 --- a/kernel/configs/android-base.config +++ b/kernel/configs

[PATCH v2 6/8] config: android-base: add CONFIG_MODULES option

2017-06-08 Thread Amit Pundir
] Signed-off-by: Amit Pundir --- kernel/configs/android-base.config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/configs/android-base.config b/kernel/configs/android-base.config index e12cfec25758..62cb392fc34b 100644 --- a/kernel/configs/android-base.config +++ b

[PATCH v2 3/8] config: android-base: disable CONFIG_USELIB and CONFIG_FHANDLE

2017-06-08 Thread Amit Pundir
From: Max Shi Turn off the two kernel configs to disable related system ABI. Reviewed-at: https://android-review.googlesource.com/#/c/264976/ Signed-off-by: Max Shi [AmitP: cherry-picked this change from Android common kernel] Signed-off-by: Amit Pundir --- kernel/configs/android

[PATCH v2 4/8] config: android-recommended: enable CONFIG_CPU_SW_DOMAIN_PAN

2017-06-08 Thread Amit Pundir
the commit message and re-placed the CONFIG_STRICT_KERNEL_RWX config in sorted order] Signed-off-by: Amit Pundir --- kernel/configs/android-recommended.config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/configs/android-recommended.config b/kernel/configs

[PATCH for-4.4 1/7] MIPS: Introduce irq_stack

2017-04-06 Thread Amit Pundir
fe8bd18ffea5327344d4ec2bf11f47951212abd0) Signed-off-by: Amit Pundir --- arch/mips/include/asm/irq.h| 12 arch/mips/kernel/asm-offsets.c | 1 + arch/mips/kernel/irq.c | 11 +++ 3 files changed, 24 insertions(+) diff --git a/arch/mips/include/asm/irq.h b/arch/mips/include

[PATCH for-4.4 2/7] MIPS: Stack unwinding while on IRQ stack

2017-04-06 Thread Amit Pundir
d42d8d106b0275b027c1e8992c42aecf933436ea) Signed-off-by: Amit Pundir --- arch/mips/kernel/process.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index fc537d1..8c26eca 100644 --- a/arch/mips/kernel/process.c +++ b

[PATCH for-4.4 3/7] MIPS: Only change $28 to thread_info if coming from user mode

2017-04-06 Thread Amit Pundir
510d86362a27577f5ee23f46cfb354ad49731e61) Signed-off-by: Amit Pundir --- arch/mips/include/asm/stackframe.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/mips/include/asm/stackframe.h b/arch/mips/include/asm/stackframe.h index a71da57..5347f13 100644 --- a/arch/mips/include/asm/stackframe.h

[PATCH for-4.4 5/7] MIPS: Select HAVE_IRQ_EXIT_ON_IRQ_STACK

2017-04-06 Thread Amit Pundir
Cc: linux-m...@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/14744/ Signed-off-by: Ralf Baechle (cherry picked from commit 3cc3434fd6307d06b53b98ce83e76bf9807689b9) Signed-off-by: Amit Pundir --- arch/mips/Kconfig | 1 + 1 file changed, 1

[PATCH for-4.4 4/7] MIPS: Switch to the irq_stack in interrupts

2017-04-06 Thread Amit Pundir
(cherry picked from commit dda45f701c9d7ad4ac0bb446e3a96f6df9a468d9) Signed-off-by: Amit Pundir --- arch/mips/kernel/genex.S | 81 +--- 1 file changed, 76 insertions(+), 5 deletions(-) diff --git a/arch/mips/kernel/genex.S b/arch/mips/kernel/genex.S index

[PATCH for-4.9 2/7] MIPS: Stack unwinding while on IRQ stack

2017-04-06 Thread Amit Pundir
d42d8d106b0275b027c1e8992c42aecf933436ea) Signed-off-by: Amit Pundir --- arch/mips/kernel/process.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index 1652f36..fbbf5fc 100644 --- a/arch/mips/kernel/process.c +++ b

[PATCH for-4.9 3/7] MIPS: Only change $28 to thread_info if coming from user mode

2017-04-06 Thread Amit Pundir
510d86362a27577f5ee23f46cfb354ad49731e61) Signed-off-by: Amit Pundir --- arch/mips/include/asm/stackframe.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/mips/include/asm/stackframe.h b/arch/mips/include/asm/stackframe.h index eebf395..2f182bd 100644 --- a/arch/mips/include/asm/stackframe.h

[PATCH for-4.9 1/7] MIPS: Introduce irq_stack

2017-04-06 Thread Amit Pundir
fe8bd18ffea5327344d4ec2bf11f47951212abd0) Signed-off-by: Amit Pundir --- arch/mips/include/asm/irq.h| 12 arch/mips/kernel/asm-offsets.c | 1 + arch/mips/kernel/irq.c | 11 +++ 3 files changed, 24 insertions(+) diff --git a/arch/mips/include/asm/irq.h b/arch/mips/include

[PATCH for-4.9 4/7] MIPS: Switch to the irq_stack in interrupts

2017-04-06 Thread Amit Pundir
(cherry picked from commit dda45f701c9d7ad4ac0bb446e3a96f6df9a468d9) Signed-off-by: Amit Pundir --- arch/mips/kernel/genex.S | 81 +--- 1 file changed, 76 insertions(+), 5 deletions(-) diff --git a/arch/mips/kernel/genex.S b/arch/mips/kernel/genex.S index

[PATCH for-4.9 5/7] MIPS: Select HAVE_IRQ_EXIT_ON_IRQ_STACK

2017-04-06 Thread Amit Pundir
Cc: linux-m...@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/14744/ Signed-off-by: Ralf Baechle (cherry picked from commit 3cc3434fd6307d06b53b98ce83e76bf9807689b9) Signed-off-by: Amit Pundir --- arch/mips/Kconfig | 1 + 1 file changed, 1

[PATCH for-4.10 1/6] MIPS: Introduce irq_stack

2017-04-06 Thread Amit Pundir
fe8bd18ffea5327344d4ec2bf11f47951212abd0) Signed-off-by: Amit Pundir --- arch/mips/include/asm/irq.h| 12 arch/mips/kernel/asm-offsets.c | 1 + arch/mips/kernel/irq.c | 11 +++ 3 files changed, 24 insertions(+) diff --git a/arch/mips/include/asm/irq.h b/arch/mips/include

[PATCH for-4.10 2/6] MIPS: Stack unwinding while on IRQ stack

2017-04-06 Thread Amit Pundir
d42d8d106b0275b027c1e8992c42aecf933436ea) Signed-off-by: Amit Pundir --- arch/mips/kernel/process.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index 7d80447..efa1df5 100644 --- a/arch/mips/kernel/process.c +++ b

[PATCH for-4.10 3/6] MIPS: Only change $28 to thread_info if coming from user mode

2017-04-06 Thread Amit Pundir
510d86362a27577f5ee23f46cfb354ad49731e61) Signed-off-by: Amit Pundir --- arch/mips/include/asm/stackframe.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/mips/include/asm/stackframe.h b/arch/mips/include/asm/stackframe.h index eebf395..2f182bd 100644 --- a/arch/mips/include/asm/stackframe.h

[PATCH for-4.10 4/6] MIPS: Switch to the irq_stack in interrupts

2017-04-06 Thread Amit Pundir
(cherry picked from commit dda45f701c9d7ad4ac0bb446e3a96f6df9a468d9) Signed-off-by: Amit Pundir --- arch/mips/kernel/genex.S | 81 +--- 1 file changed, 76 insertions(+), 5 deletions(-) diff --git a/arch/mips/kernel/genex.S b/arch/mips/kernel/genex.S index

[PATCH for-4.10 5/6] MIPS: Select HAVE_IRQ_EXIT_ON_IRQ_STACK

2017-04-06 Thread Amit Pundir
Cc: linux-m...@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/14744/ Signed-off-by: Ralf Baechle (cherry picked from commit 3cc3434fd6307d06b53b98ce83e76bf9807689b9) Signed-off-by: Amit Pundir --- arch/mips/Kconfig | 1 + 1 file changed, 1

[PATCH] mmc: block: improve logging of handling emmc timeouts

2016-05-04 Thread Amit Pundir
: cherry-picked this Android patch from aosp common kernel android-4.4] Signed-off-by: Amit Pundir --- drivers/mmc/card/block.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c index 9c69e21..e737c81 100644 --- a/drivers

[PATCH v2] mmc: block: improve logging of handling emmc timeouts

2016-05-10 Thread Amit Pundir
From: Ken Sumrall Add some logging to make it clear just how the emmc timeout was handled. Signed-off-by: Ken Sumrall [AmitP: cherry-picked this Android patch from aosp common kernel android-4.4] Signed-off-by: Amit Pundir --- v1...v2: Removed CC list from the commit log and skipped

[RFC][PATCH] usb: gadget: rndis: Free the response queue during REMOTE_NDIS_RESET_MSG

2016-02-08 Thread Amit Pundir
: Sumit Semwal Signed-off-by: Rajkumar Raghupathy Signed-off-by: Xerox Lin [pundir: cherry-picked this patch from AOSP experimental/android-4.4 tree.] Signed-off-by: Amit Pundir --- Cherry-picked this patch from AOSP common/experimental/android-4.4 tree. I could not find upstream submission

[RFC][PATCH] usb: gadget: prevent change of Host MAC address of 'usb0' interface

2016-02-08 Thread Amit Pundir
ddress can be changed. Cc: Felipe Balbi Cc: Greg Kroah-Hartman Cc: Mike Looijmans Cc: Robert Baldyga Cc: Android Kernel Team Cc: John Stultz Cc: Sumit Semwal Signed-off-by: Badhri Jagan Sridharan [pundir: cherry-picked this patch from AOSP experimental/android-4.4 tree.] Signed-off-by: Amit Pundir

[RFC][PATCH] usb: gadget: u_ether: Fix data stall issue in RNDIS tethering mode

2016-02-08 Thread Amit Pundir
: John Stultz Cc: Sumit Semwal Signed-off-by: Vijayavardhan Vennapusa [pundir: cherry-picked this patch from AOSP experimental/android-4.4 tree.] Signed-off-by: Amit Pundir --- Cherry-picked this patch from AOSP common/experimental/android-4.4 tree. I could not find upstream submission history

[RFC][PATCH] usb: gadget: u_ether: Add workqueue as bottom half handler for rx data path

2016-02-08 Thread Amit Pundir
: Robert Baldyga Cc: Android Kernel Team Cc: John Stultz Cc: Sumit Semwal Signed-off-by: Badhri Jagan Sridharan [pundir: cherry-picked this patch from AOSP experimental/android-4.4 tree.] Signed-off-by: Amit Pundir --- Cherry-picked this patch from AOSP common/experimental/android-4.4 tree. I

[RFC][PATCH] usb: phy: Dual role sysfs class definition

2016-02-08 Thread Amit Pundir
userspace by choosing to implement the appropriate callback. Cc: Felipe Balbi Cc: Greg Kroah-Hartman Cc: Android Kernel Team Cc: John Stultz Cc: Sumit Semwal Signed-off-by: Badhri Jagan Sridharan [pundir: cherry-picked this patch from AOSP experimental/android-4.4 tree.] Signed-off-by: Amit

Re: [RFC][PATCH] usb: gadget: rndis: Free the response queue during REMOTE_NDIS_RESET_MSG

2016-02-08 Thread Amit Pundir
Please ignore this one. I build tested these patches in series and turned out it can't be build independently because configNr is deprecated. I'll resend this patch. Nevertheless I'd like to get a feedback on the real problem this patch is trying to solve here. Thanks, Amit Pundir On 9 February

Re: [RFC][PATCH] usb: gadget: u_ether: Add workqueue as bottom half handler for rx data path

2016-02-08 Thread Amit Pundir
Please ignore this one too. I should have build tested these patches individually and not in particular series. I'll resend this patch. Thanks, Amit Pundir On 9 February 2016 at 01:41, Amit Pundir wrote: > From: Badhri Jagan Sridharan > > u_ether driver passes rx data to netw

[RFC][PATCH v2] usb: gadget: rndis: Free the response queue during REMOTE_NDIS_RESET_MSG

2016-02-08 Thread Amit Pundir
: Sumit Semwal Signed-off-by: Rajkumar Raghupathy Signed-off-by: Xerox Lin [pundir: * cherry-picked this patch from AOSP experimental/android-4.4 tree. * folded in the AOSP fix to use rndis_params instead of configNr.] Signed-off-by: Amit Pundir --- v2: Use rndis_params instead of configNr

[RFC][PATCH v2] usb: gadget: u_ether: Fix data stall issue in RNDIS tethering mode

2016-02-08 Thread Amit Pundir
: John Stultz Cc: Sumit Semwal Cc: Praneeth Bajjuri Signed-off-by: Vijayavardhan Vennapusa [pundir: * cherry-picked this patch from AOSP experimental/android-4.4 tree. * folded in an AOSP build fix from Praneeth Bajjuri ] Signed-off-by: Amit Pundir --- v2: folded in the build fix for v1 from

[RFC][PATCH v2] usb: gadget: u_ether: Add workqueue as bottom half handler for rx data path

2016-02-08 Thread Amit Pundir
: Robert Baldyga Cc: Android Kernel Team Cc: John Stultz Cc: Sumit Semwal Cc: Praneeth Bajjuri Signed-off-by: Badhri Jagan Sridharan [pundir: * cherry-picked this patch from AOSP experimental/android-4.4 tree. * folded in an AOSP build fix from Praneeth Bajjuri ] Signed-off-by: Amit Pundir

Re: [RFC][PATCH] usb: gadget: u_ether: Add workqueue as bottom half handler for rx data path

2016-02-09 Thread Amit Pundir
On 9 February 2016 at 04:50, Greg Kroah-Hartman wrote: > On Tue, Feb 09, 2016 at 02:07:02AM +0530, Amit Pundir wrote: >> Please ignore this one too. I should have build tested these patches >> individually and not in particular series. I'll resend this patch. > > Send them in

Re: [PATCH] config: Add android config fragments

2016-06-22 Thread Amit Pundir
ig fragments into the kernel tree, makes > configuring a mainline kernel as simple as: > > make ARCH=arm multi_v7_defconfig android-base.config > android-recommended.config > > Cc: Amit Pundir > Cc: John Stultz > Cc: Dmitry Torokhov > Cc: Rom Lemarchand > Signed-of

Re: [PATCH] config: Add android config fragments

2016-06-23 Thread Amit Pundir
On 23 June 2016 at 08:50, Rob Herring wrote: > On Wed, Jun 22, 2016 at 2:53 AM, Amit Pundir wrote: >> On 8 June 2016 at 22:09, Rob Herring wrote: >>> Copy the config fragments from the AOSP common kernel tree. It is >>> becoming possible to run mainline kernels w

[PATCH] usb: gadget: rndis: free response queue during REMOTE_NDIS_RESET_MSG

2016-06-27 Thread Amit Pundir
Android common kernel android-4.4] Signed-off-by: Amit Pundir --- Cherry picked this usb tethering fix from AOSP kernel/common/android-4.4 tree and to make sure it doesn't get overlooked, submiting it for review and comment. drivers/usb/gadget/function/rndis.c | 6 ++ 1 file changed, 6

[PATCH v2] usb: gadget: rndis: free response queue during REMOTE_NDIS_RESET_MSG

2016-06-29 Thread Amit Pundir
Android common kernel android-4.4] Signed-off-by: Amit Pundir --- v2: Sanitized the name of original author. Dropped his email address from the list of reviewers, since it is no longer valid. v1: Cherry picked this usb tethering fix from AOSP kernel/common/android-4.4 tree and to make sure

Re: [PATCH v2] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add DSI and panel bits

2021-02-05 Thread Amit Pundir
ially damage the hardware. Having said that, I do see lab/ibb nodes being set in the downstream dts, with relevant soft-start and discharge-resistor properties and I can try switching to that once the new lab/ibb changes land upstream. Regards, Amit Pundir > > > > Ko

[PATCH v3] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add DSI and panel bits

2021-02-10 Thread Amit Pundir
From: Sumit Semwal Enabling the Display panel for beryllium requires DSI labibb regulators and panel dts nodes to be added. It is also required to keep some of the regulators as always-on. Signed-off-by: Sumit Semwal Signed-off-by: Amit Pundir --- v3: Addressed Konrad's concerns. Configured

Re: [PATCH v2] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add DSI and panel bits

2021-02-10 Thread Amit Pundir
esitant to > > tinker around anything regulator related that can potentially damage > > the hardware. Having said that, I do see lab/ibb nodes being set in > > the downstream dts, with relevant soft-start and discharge-resistor > > properties and I can try switching to that once the

Re: [PATCH v3] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add DSI and panel bits

2021-04-04 Thread Amit Pundir
Hi Angelo, On Thu, 11 Feb 2021 at 00:25, AngeloGioacchino Del Regno wrote: > > Il 10/02/21 09:18, Amit Pundir ha scritto: > > From: Sumit Semwal > > > > Enabling the Display panel for beryllium requires DSI > > labibb regulators and panel dts nodes to be added. &

[PATCH v4] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add DSI and panel bits

2021-04-04 Thread Amit Pundir
From: Sumit Semwal Enabling the Display panel for beryllium requires DSI labibb regulators and panel dts nodes to be added. It is also required to keep some of the regulators as always-on. Signed-off-by: Sumit Semwal Signed-off-by: Amit Pundir Reviewed-by: Konrad Dybcio --- v4: Added

Re: [PATCH] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add audio support

2021-03-14 Thread Amit Pundir
On Sun, 14 Mar 2021 at 22:32, Joel Selvaraj wrote: > > This patch adds audio support for Xiaomi Poco F1 phone. Phone's primary > Mic and 3.5mm Headphone jack are handled through the SDM845 sound card > and WCD9340 codec. > Tested-by: Amit Pundir > Signed-off

Re: [PATCH v2 1/2] arm64: dts: qcom: sdm845: Move reserved-memory to devices

2021-03-18 Thread Amit Pundir
; configuration. > > Rather than providing some basic set that works on the MTP and then > piecemeal patch this up on the various devices, push the configuration > of these regions out to the individual device dts files. > Smoke tested on sdm845-xiaomi-beryllium. Tested-by: Amit P

Re: [PATCH v3] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add DSI and panel bits

2021-02-16 Thread Amit Pundir
Hi, On Fri, 12 Feb 2021 at 23:11, AngeloGioacchino Del Regno wrote: > > Il 12/02/21 10:24, Amit Pundir ha scritto: > > Hi, > > > > On Thu, 11 Feb 2021 at 00:25, AngeloGioacchino Del Regno > > wrote: > >> > >> Il 10/02/21 09:18,

Re: [PATCH v3] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add DSI and panel bits

2021-02-12 Thread Amit Pundir
Hi, On Thu, 11 Feb 2021 at 00:25, AngeloGioacchino Del Regno wrote: > > Il 10/02/21 09:18, Amit Pundir ha scritto: > > From: Sumit Semwal > > > > Enabling the Display panel for beryllium requires DSI > > labibb regulators and panel dts nodes to be added. > &

<    1   2   3