0205f /system/lib/libandroid_runtime.so
(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
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.
; Amit: Does adding something like (whitespace damaged, apologies):
>
> index a1a0025..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
far with
current HEAD: 6b4703768268 ("Merge branch 'fixes' of
git://git.armlinux.org.uk/~rmk/linux-arm"). Thanks.
Regards,
Amit Pundir
log]
Signed-off-by: Amit Pundir
---
drivers/usb/gadget/function/f_fs.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/function/f_fs.c
b/drivers/usb/gadget/function/f_fs.c
index b6cf5ab5a0a1..f9bd351637cd 100644
--- a/drivers/usb/gadget/function/f_fs.c
ernel.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
finition. 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
>
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,
c__ parameter usage in dev_dbg(),
so submitting a new patch separately to clean that up.
Regards,
Amit Pundir
[1] https://android.googlesource.com/kernel/common/+log/android-4.14
Suren Baghdasaryan (3):
NFC: st21nfca: Fix out of bounds kernel access when handling ATR_REQ
NFC: Fix possible m
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
---
v2:
Remove redundant __func__ from dev_dgb().
drivers/nfc/fdp/i2c.c
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
ead from the kernel heap.
Signed-off-by: Suren Baghdasaryan
Signed-off-by: Amit Pundir
---
v2:
Resend. No changes.
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 fd08be2..3420c51 1006
Remove redundant __func__ parameter from dev_dgb() calls.
Signed-off-by: Amit Pundir
---
drivers/nfc/fdp/fdp.c | 22 +++---
drivers/nfc/fdp/i2c.c | 20 +---
2 files changed, 20 insertions(+), 22 deletions(-)
diff --git a/drivers/nfc/fdp/fdp.c b/drivers/nfc/fdp
Remove redundant __func__ parameter from dev_dgb() calls.
v2:
Deleted empty dev_dbg() trace calls, which are redundant if
function tracer is enabled.
Signed-off-by: Amit Pundir
---
drivers/nfc/fdp/fdp.c | 18 +++---
drivers/nfc/fdp/i2c.c | 17 -
2 files changed, 7
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.
> >
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. Confi
> far default lab/ibb nodes are working fine for us and I'm hesitant 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 disch
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
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 b
y version (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
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 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 new lab/ibb
changes land upstream.
Regards,
of_address: 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
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
-
sue that was also reported on venus [1] because the
> clock frequency tables apparently don;t exactly match the achievable clock
> frequencies (which we also used to construct the OPP tables)
>
> Can you try updating the OPP table for QUP to have 10240 instead of the
> current 1 and see if that fixes it?
That worked. Thanks.
Should this change be common to base sdm845.dtsi or platform specific dts?
For what it's worth, we see this BT breakage on PocoF1 phone too.
Regards,
Amit Pundir
>
> [1] https://lkml.org/lkml/2020/7/27/507
>
> >
> > thanks
> > -john
> >
>
> --
> QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
> of Code Aurora Forum, hosted by The Linux Foundation
bles belongs to an
> early engineering rev of the SoC.
> Fix up the OPP tables such that it now matches with the
> production rev of sdm845 SoC.
>
> Fixes: 13cadb34e593 ("arm64: dts: sdm845: Add OPP table for all qup
> devices")
Fixes BT on Xiaomi Poco F1 phone running AO
On Fri, 7 Aug 2020 at 04:02, Konrad Dybcio wrote:
>
> Subject: Re: [PATCH v4] arm64: dts: qcom: Add support for Xiaomi Poco F1
> (Beryllium)
>
> >// This removed_region is needed to boot the device
> > // TODO: Find out the user of this reserved memory
> > removed_regi
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
-
On Wed, 5 Aug 2020 at 16:21, Amit Pundir wrote:
>
> Add initial dts support for Xiaomi Poco F1 (Beryllium).
>
> This initial support is based on upstream Dragonboard 845c
> (sdm845) device. With this dts, Beryllium boots AOSP up to
> ADB shell over USB-C.
>
> Supported fu
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
-
y
> 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: A
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.
&
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
Hi Kalyan,
On Tue, 24 Nov 2020 at 18:27, wrote:
>
> On 2020-11-08 23:25, Amit Pundir wrote:
> > On Tue, 4 Aug 2020 at 21:09, Rob Clark wrote:
> >>
> >> On Thu, Jul 16, 2020 at 4:36 AM Kalyan Thota
> >> wrote:
> >> >
> >> > This c
etch is enabled. Use vfp in the prefill calculation
> as dpu driver enables prefetch if the blanking is not sufficient
> to fill the latency lines.
Tested on Xiaomi Poco F1 (sdm845).
Tested-by: Amit Pundir
>
> Signed-off-by: Kalyan Thota
> ---
> drivers/gpu/drm/msm/di
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
> Signe
vices:
> - Sony Xperia 10(SDM630 Ganges Kirin)
> - Sony Xperia 10 Plus (SDM636 Ganges Mermaid)
>
Tested the patch series on Xiaomi Poco F1 (SDM845 Beryllium, Novatek
NT36672A IC).
For the whole series:
Tested-by: Amit Pundir
Regards,
Amit Pundir
> Changes in v2:
> - Fixed s
vices:
> - Sony Xperia 10(SDM630 Ganges Kirin)
> - Sony Xperia 10 Plus (SDM636 Ganges Mermaid)
Tested the patch series on Xiaomi Poco F1 (SDM845 Beryllium) using
Novatek NT36672A IC. May I suggest adding "novatek,nt36672a" in the
list of compatible of_device_id{} as well.
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
---
We dropped this workaround last time in the favor of
a generic dts qui
be a good
solution, stripping the flag seems to follow the established behavior,
as is done when the process doesn't have sufficient capabilities to
block suspend.
I'd appreciate any thoughts or feedback!
Signed-off-by: Amit Pundir
---
fs/eventpoll.c |3 ++-
1 file changed, 2
ep_create_wakeup_source() reports ENOMEM if wakeup_source_register()
returns NULL. ep_create_wakeup_source() assumes that NULL is only
returned if we run into ENOMEM but NULL is also returned when
CONFIG_PM_SLEEP is disabled.
Signed-off-by: Amit Pundir
---
Changed in v2:
Using static inline
On 13 November 2013 05:29, Rafael J. Wysocki wrote:
> On Wednesday, November 13, 2013 02:22:28 AM Amit Pundir wrote:
>> ep_create_wakeup_source() reports ENOMEM
>
> That needs to be fixed too. I suppose we can make the
> wakeup_source_register()
> stub for CONFIG_PM_SLEEP
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
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
On 14 November 2013 03:14, Rafael J. Wysocki wrote:
> On Wednesday, November 13, 2013 01:35:38 PM Amit Pundir wrote:
>> On 13 November 2013 05:29, Rafael J. Wysocki wrote:
>> > On Wednesday, November 13, 2013 02:22:28 AM Amit Pundir wrote:
>> >> ep_create_
Drop EPOLLWAKEUP from epoll events mask if CONFIG_PM_SLEEP is disabled.
Signed-off-by: Amit Pundir
---
Changes in v3:
Renamed ep_epollwakeup_check() to ep_take_care_of_epollwakeup().
Didn't update ep_create_wakeup_source() to return -ENOSYS if PM_SLEEP is unset.
---
fs/eventp
help diagnose battery life problems in various Android-based devices.
Cc: Pavel Machek
Cc: Thomas Gleixner
Cc: Rafael J. Wysocki
Cc: Len Brown
Cc: linux...@vger.kernel.org
Cc: Android Kernel Team
Cc: John Stultz
Cc: Sumit Semwal
Signed-off-by: Todd Poynor
[Amit Pundir: Reworded the commit
[Amit Pundir: Reworded the commit message]
Signed-off-by: Amit Pundir
---
kernel/irq/pm.c |7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/kernel/irq/pm.c b/kernel/irq/pm.c
index abcd6ca..c2bc8d9 100644
--- a/kernel/irq/pm.c
+++ b/kernel/irq/pm.c
@@ -109,8 +109,13
Couple of PM patches from Android tree printing Suspend debug messages.
These messages are used to help debug PM related issues on Android based
devices and look useful enough to troubleshoot PM issues on generic Linux
devices as well.
I'd greatly appreciate any feedback or comments!
Todd Poynor
Android Kernel Team
Cc: Greg 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 |
Andrzej Pietrasiewicz
Cc: 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 i
ries up 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 G
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 Pund
: 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
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
z
Cc: 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 submi
reboot, the Host MAC address 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.]
Sig
: 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
: 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
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
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
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 net
z
Cc: 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 config
: 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
: 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
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 th
/* guard page? */;
ret = map_vm_area(&tmp_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 i
and it allows to get rid of 'vm_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 chec
On 23 April 2018 at 14:46, Greg KH wrote:
> On Wed, Apr 18, 2018 at 03:35:04PM +0530, Amit Pundir wrote:
>> From: Suren Baghdasaryan
>>
>> Possible buffer overflow when reading next_read_size bytes into
>> tmp buffer after next_read_size was extracted from a previous
On 20 April 2018 at 18:09, Andy Shevchenko
wrote:
> On Wed, 2018-04-18 at 15:35 +0530, Amit Pundir wrote:
>
>> if (skb->data[transaction->aid_len + 2] !=
>> - NFC_EVT_TRANSACTION_PARAMS_TAG)
>> +
On 20 April 2018 at 22:15, Mark Greer wrote:
> On Fri, Apr 20, 2018 at 03:39:46PM +0300, Andy Shevchenko wrote:
>> On Wed, 2018-04-18 at 15:35 +0530, Amit Pundir wrote:
>>
>> > if (skb->data[transaction->aid_len + 2] !=
>> > -
On 3 May 2018 at 15:50, Andy Shevchenko
wrote:
> On Wed, 2018-05-02 at 23:18 +0530, Amit Pundir wrote:
>> From: Suren Baghdasaryan
>>
>> Possible buffer overflow when reading next_read_size bytes into
>> tmp buffer after next_read_size was extracted from a previous
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.
cc: Stable
Signed-off-by: Suren Baghdasaryan
Signed-off-by: Amit Pundir
Reviewed-by: Andy Shevchenko
---
v3:
Reset next_read_size to
ead from the kernel heap.
cc: Stable
Signed-off-by: Suren Baghdasaryan
Signed-off-by: Amit Pundir
Reviewed-by: Andy Shevchenko
---
v3..v1:
Resend. No changes.
drivers/nfc/st21nfca/dep.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/nfc/st21nfca/dep.c b/dri
Remove redundant __func__ parameter from dev_dgb() calls and
delete empty dev_dbg() trace calls, which are redundant if
function tracer is enabled.
Signed-off-by: Amit Pundir
Reviewed-by: Andy Shevchenko
---
v3:
Updated commit message.
v2:
Deleted empty dev_dbg() trace calls, which are
ned-off-by: Amit Pundir
Reviewed-by: Andy Shevchenko
---
v3..v1:
Resend. No changes.
net/nfc/hci/core.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/net/nfc/hci/core.c b/net/nfc/hci/core.c
index ac8030c4bcf8..19cb2e473ea6 100644
--- a/net/nfc/hci/core.c
+++ b/net/nfc/hci/core.c
Hedberg
CC: Stable
Signed-off-by: Amit Pundir
---
drivers/bluetooth/hci_qca.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 05ec530b8a3a..330e9b29e145 100644
--- a/drivers/bluetooth/hci_qca.c
+++ b/drivers/bluetooth
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
,
Amit Pundir
[1] https://android.googlesource.com/kernel/common/+log/android-4.14
Suren Baghdasaryan (4):
NFC: st21nfca: Fix out of bounds kernel access when handling ATR_REQ
NFC: st21nfca: Fix memory OOB and leak issues in connectivity events
handler
NFC: Fix possible memory corruption
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
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
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
io support, kernel aio isn't even
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 chan
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
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
> Sign
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
from 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
from 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 su
LZB-1 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 P
On Wed, 30 Sep 2020 at 00:38, 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
> > QMI request. We suspect either the host cap is not implemented or
> > there may be
if necessary.
>
>
> > + * It seems that mmc_test reports errors if drive
> > + * strength is not 16 on clk, cmd, and data pins.
>
> You say that, but then you set "drive-strength = <10>;" for cmd and
are nor to the ath10k driver and we can still
bring up the WiFi services successfully if we just ignore it.
Hence introducing this DeviceTree quirk to skip host capability
QMI request for the firmware versions which do not support this
feature.
Suggested-by: Bjorn Andersson
Signed-off-by: A
On Fri, 25 Sep 2020 at 20:57, Bjorn Andersson
wrote:
>
> On Thu 24 Sep 11:31 CDT 2020, Kalle Valo wrote:
>
> > Amit Pundir writes:
> >
> > > Workaround to get WiFi working on Xiaomi Poco F1 (sdm845)
> > > phone. We get a non-fatal QMI_ERR_M
o make a minor change to get it working. The
downstream driver and even the github code you linked above use
GPIO mapped IRQ, and I had to switch to that to get touchscreen
working with your driver
https://github.com/pundiramit/linux/commit/0a73eb656c1e80787dc195641ce7b0076fddb38e.
I wonder if I'
On Tue, 29 Sep 2020 at 03:21, Dmitry Torokhov wrote:
>
> On Mon, Sep 28, 2020 at 03:18:18PM +0530, Amit Pundir wrote:
> > On Sun, 27 Sep 2020 at 18:06, wrote:
> > >
> > > From: AngeloGioacchino Del Regno
> > >
> > > This is a driver for the Nov
if we
> delete this now here, that fork can remain just fine, with the added
> benifit of it reducing developer workloads here in-kernel.
>
> So why wait?
Hi,
I don't know what is the right thing to do here. I just want to
highlight that AOSP's audio (codec2) HAL depends on the ION system
heap and it will break AOSP for people who boot mainline on their
devices, even for just testing purpose like we do in Linaro. Right now
we need only 1 (Android specific out-of-tree) patch to boot AOSP with
mainline and Sumit is already trying to upstream that vma naming
patch. Removal of in-kernel ION, will just add more to that delta.
Regards,
Amit Pundir
>
> thanks,
>
> greg k-h
ilure Linux will
fall back to dummy regulators, which is working fine for me so far.
Also I see that vdd-*-supply properties are optional according to
Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt,
so I assume it is safe to skip them?
Regards,
Amit Pundir
>
> Konrad
t instead, during the shutdown/reboot process. But I'm happy
to take a swing at any intermediate/in-progress solution available.
Regards,
Amit Pundir
>
> Forcing QCA6390 users to use the userspace qrtr-ns would be bad user
> experience, I really would want to avoid that.
>
g this downstream &removed_region (of size 0x1A0) +
previously unreserved downstream memory region (of size 0x20), to
align with the starting address of &qseecom_mem?
I just gave this &tz_mem change a spin and I do not see any obvious
regression in my limited smoke testing
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
1 - 100 of 176 matches
Mail list logo