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

2020-08-30 Thread Amit Pundir
Hi Konrad, I couldn't find answer to your question around missing (regulatorname)-supply properties. Need help in figuring out that part. Regards, Amit Pundir On Mon, 31 Aug 2020 at 10:54, Amit Pundir wrote: > > Add initial dts support for Xiaomi Poco F1 (Beryllium). > > Thi

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

2020-08-04 Thread Amit Pundir
On Tue, 4 Aug 2020 at 11:46, Bjorn Andersson wrote: > > On Sat 01 Aug 08:55 PDT 2020, Amit Pundir wrote: > > > Add initial dts support for Xiaomi Poco F1 (Beryllium). > > > > This initial support is based on upstream Dragonboard 845c > > (sdm845) device. With thi

Re: [PATCH v4 0/2] dma-pool fixes

2020-08-14 Thread Amit Pundir
ree patches [1]) and I see no obvious regressions. For both the patches in the series: Tested-by: Amit Pundir [1] https://github.com/pundiramit/linux/commits/beryllium-mainline-display > > --- > Changes since v3: > - Do not use memblock_start_of_DRAM() > > Changes since v2: &

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

2020-08-21 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: https://github.com/pundiramit/linux/commits/beryllium-mainline Signed-off-by: Amit Pundir --- v5: Bumped &a

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 3/3] drm/msm/dpu: add support for clk and bw scaling for display

2020-11-08 Thread Amit Pundir
ernel.org/dri-devel/20201027102304.945424-1-dmitry.barysh...@linaro.org/ Am I missing any other followup fix? Regards, Amit Pundir

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

2020-07-21 Thread Amit Pundir
g here? I'd be 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 cos

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 allocat

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
ate from 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, A

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
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 >

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: [PATCH] ath10k: qmi: Skip host capability request for Xiaomi Poco F1

2020-09-21 Thread Amit Pundir
On Thu, 17 Sep 2020 at 21:35, Bjorn Andersson wrote: > > On Thu 17 Sep 02:41 CDT 2020, Amit Pundir wrote: > > > Workaround to get WiFi working on Xiaomi Poco F1 (sdm845) > > phone. We get a non-fatal QMI_ERR_MALFORMED_MSG_V01 error > > message in ath10k_qmi_host_cap_se

Re: [PATCH v3 0/8] iommu/arm-smmu: Support maintaining bootloader mappings

2020-09-11 Thread Amit Pundir
and Rob for the Adreno > SMMU support. It applies cleanly ontop of v16 of their series, which can be > found at > https://lore.kernel.org/linux-arm-msm/20200901164707.2645413-1-robdcl...@gmail.com/ > Boot tested the series on Xiaomi Poco F1 phone (sdm845) Tested-by: Amit Pundir &

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

2020-09-11 Thread Amit Pundir
that shipped with Android-9 based release. Newer bootloader version do not support switching OFF the display panel at all. Signed-off-by: Amit Pundir --- My WIP tree with a few out-of-tree patches to support display, touchscreen, wifi, audio etc is here: https://github.com/pundiramit/linux/co

[PATCH] ath10k: qmi: Skip host capability request for Xiaomi Poco F1

2020-09-17 Thread Amit Pundir
t it didn't help and neither did building board-2.bin file from stock bdwlan* files. This workaround will be removed once we have a viable fix. Thanks to postmarketOS guys for catching this. Signed-off-by: Amit Pundir --- Device-tree for Xiaomi Poco F1(Beryllium) got merged in qcom/arm64

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

2017-04-17 Thread Amit Pundir
mu test results: >> total: 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 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
rom commit 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/proce

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

2017-04-06 Thread Amit Pundir
rom commit 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/st

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

2017-04-06 Thread Amit Pundir
ixner 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 chang

[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
rom commit 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/proce

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

2017-04-06 Thread Amit Pundir
rom commit 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/st

[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
ixner 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 chang

[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
rom commit 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/proce

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

2017-04-06 Thread Amit Pundir
rom commit 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/st

[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
ixner 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 chang

Re: [PATCH 3.18 00/22] 3.18.61-stable review

2017-07-14 Thread Amit Pundir
://kerneltests.org/builders. > > Ick, problem is in patch bgmac-add-check-for-oversized-packets.patch > from Amit. > > Amit, how did you test this it obviously doesn't build :( argh.. ARCH=mips allmodconfig didn't catch that. I'm sorry about that. I'll be more careful next time and build test relevant defconfigs as well. Regards, Amit Pundir > > I'm dropping it from the tree now... > > thanks, > > greg k-h

[PATCH for-4.4 09/16] MIPS: ralink: fix MT7628 wled_an pinmux gpio

2017-06-29 Thread Amit Pundir
Signed-off-by: Amit Pundir --- arch/mips/ralink/mt7620.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/mips/ralink/mt7620.c b/arch/mips/ralink/mt7620.c index 37cfc7d3c185..48d6349fd9d7 100644 --- a/arch/mips/ralink/mt7620.c +++ b/arch/mips/ralink/mt7620.c

[PATCH for-4.4 08/16] MIPS: ralink: fix MT7628 pinmux typos

2017-06-29 Thread Amit Pundir
Signed-off-by: Amit Pundir --- arch/mips/ralink/mt7620.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/ralink/mt7620.c b/arch/mips/ralink/mt7620.c index 4c17dc6e8ae9..37cfc7d3c185 100644 --- a/arch/mips/ralink/mt7620.c +++ b/arch/mips/ralink/mt7620.c @@ -223,9

[RFC][PATCH 0/4] Few NFC changes from experimental/android-4.14 tree

2017-12-20 Thread Amit Pundir
(removed Android-only tag and internal bug ID) and build tested for arm/arm64 defconfigs, before posting them on the mailing list as is. Really appreciate any concerns or feedback. Regards, Amit Pundir [1] https://android.googlesource.com/kernel/common/+log/experimental/android-4.14 Suren

[RFC][PATCH 4/4] NFC: fdp: Fix possible buffer overflow in WCS4000 NFC driver

2017-12-20 Thread Amit Pundir
From: Suren Baghdasaryan Possible buffer overflow when reading next_read_size bytes into tmp buffer after next_read_size was extracted from a previous packet. Signed-off-by: Suren Baghdasaryan Signed-off-by: Amit Pundir --- drivers/nfc/fdp/i2c.c | 10 ++ 1 file changed, 10 insertions

[RFC][PATCH 2/4] NFC: st21nfca: Fix memory OOB and leak issues in connectivity events handler

2017-12-20 Thread Amit Pundir
d-off-by: Amit Pundir --- drivers/nfc/st21nfca/se.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/drivers/nfc/st21nfca/se.c b/drivers/nfc/st21nfca/se.c index 4bed9e842db3..acdce231e227 100644 --- a/drivers/nfc/st21nfca/se.c +++ b/drivers/nfc/st21nfca

[RFC][PATCH 3/4] NFC: Fix possible memory corruption when handling SHDLC I-Frame commands

2017-12-20 Thread Amit Pundir
From: Suren Baghdasaryan When handling SHDLC I-Frame commands "pipe" field used for indexing into an array should be checked before usage. If left unchecked it might access memory outside of the array of size NFC_HCI_MAX_PIPES(127). Signed-off-by: Suren Baghdasaryan Signed-off-by: A

[RFC][PATCH 1/4] NFC: st21nfca: Fix out of bounds kernel access when handling ATR_REQ

2017-12-20 Thread Amit Pundir
ead from the kernel heap. Signed-off-by: Suren Baghdasaryan Signed-off-by: Amit Pundir --- drivers/nfc/st21nfca/dep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/nfc/st21nfca/dep.c b/drivers/nfc/st21nfca/dep.c index fd08be2917e6..3420c5104c94 100644 --- a/dri

Re: [PATCH] binder: fix memory corruption in binder_transaction binder

2017-09-11 Thread Amit Pundir
hort boot loops on 2nd and successive boots. It takes about 3-4 iterations to finally come to sane state and boot to UI. I don't see this behaviour if I revert this patch. Regards, Amit Pundir > > Signed-off-by: Xu YiPing > Signed-off-by: Todd Kjos > --- > drivers/android/bi

Re: [PATCH] binder: fix memory corruption in binder_transaction binder

2017-09-11 Thread Amit Pundir
el/linaro-android.git/log/?h=test/hikey-llct. I have already reverted this patch in hikey-llct so you have to revert that revert to reproduce this issue on hikey-llct tree. Regards, Amit Pundir > > -Todd > >> On Mon, Sep 11, 2017 at 5:18 AM, Amit Pundir wrote: >>> &g

[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

Re: [PATCH] binder: fix memory corruption in binder_transaction binder

2017-10-03 Thread Amit Pundir
mation loop. I've been bitten by such intermittent AOSP issues before. I also ran binder tests from frameworks/native/libs/binder/tests/ to be sure and found the results mostly inline with android-4.9 kernel. Sorry for all the noise. Regards, Amit Pundir > Thanks, > Martijn > > On

[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

Re: [PATCH 3/3] ANDROID: binder: fix proc->tsk check.

2017-07-30 Thread Amit Pundir
i/BT regression reported on 4.13-rc2. Tested-by: Amit Pundir > Signed-off-by: Martijn Coenen > --- > drivers/android/binder.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/android/binder.c b/drivers/android/binder.c > index f7665c31feca.

Re: [PATCH 02/37] binder: use group leader instead of open thread

2017-07-27 Thread Amit Pundir
t look right. Is there anything in the kernel log? There is a slight difference in this patch and the one that got pushed in android-4.9[1]. I cherry-picked those changes and got BT/WiFi working again on Hikey with mainline tracking (4.13-rc2) tree. Regards, Amit Pundir [1] https://

Re: [PATCH 02/37] binder: use group leader instead of open thread

2017-07-27 Thread Amit Pundir
On 27 July 2017 at 18:53, Greg Kroah-Hartman wrote: > On Thu, Jul 27, 2017 at 02:38:30PM +0530, Amit Pundir wrote: >> Hi, >> >> On 25 July 2017 at 14:43, Martijn Coenen wrote: >> > Hi John, >> > >> > On Mon, Jul 24, 2017 at 11:07 PM, John Stultz

[PATCH v2 2/2] selftests: firmware: skip unsupported custom firmware fallback tests

2017-11-08 Thread Amit Pundir
Ignore custom firmware loading and cancellation tests on older kernel releases, which do not support this feature. Fixes: 061132d2b9c9 ("test_firmware: add test custom fallback trigger") Reviewed-by: Sumit Semwal Acked-by: Luis R. Rodriguez Acked-by: Greg Kroah-Hartman Signed-of

[PATCH v2 0/2] selftests: firmware: skip testing unsupported features

2017-11-08 Thread Amit Pundir
test scripts. The proposed changes skip/ignore testing the upstream functionality missing in the older kernel releases. v2: Changed the display message to make it consistent across all the firmware test scripts. Added Fixes tag. Regards, Amit Pundir Amit Pundir (2): selftests: firmware: skip

[PATCH v2 1/2] selftests: firmware: skip unsupported async loading tests

2017-11-08 Thread Amit Pundir
Ignore async firmware loading tests on older kernel releases, which do not support this feature. Fixes: 1b1fe542b6f0 ("selftests: firmware: add empty string and async tests") Reviewed-by: Sumit Semwal Acked-by: Luis R. Rodriguez Acked-by: Greg Kroah-Hartman Signed-off-by: Amit Pund

[PATCH 1/2] selftests: firmware: skip unsupported async loading tests

2017-11-08 Thread Amit Pundir
Ignore async firmware loading tests on older kernel releases, which do not support this feature. Signed-off-by: Amit Pundir --- tools/testing/selftests/firmware/fw_filesystem.sh | 34 ++- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/tools/testing/selftests

[PATCH 0/2] selftests: firmware: skip testing unsupported features

2017-11-08 Thread Amit Pundir
test scripts. The proposed changes skip/ignore testing the upstream functionality missing in the older kernel releases. Regards, Amit Pundir Amit Pundir (2): selftests: firmware: skip unsupported async loading tests selftests: firmware: skip unsupported custom firmware fallback tests tools

[PATCH 2/2] selftests: firmware: skip unsupported custom firmware fallback tests

2017-11-08 Thread Amit Pundir
Ignore custom firmware loading and cancellation tests on older kernel releases, which do not support this feature. Signed-off-by: Amit Pundir --- tools/testing/selftests/firmware/fw_fallback.sh | 38 + 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/tools

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

<    1   2