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 amit.pun...@linaro.org
---
fs/eventpoll.c |3 ++-
1 file
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 amit.pun...@linaro.org
---
Changed in v2
On 13 November 2013 05:29, Rafael J. Wysocki r...@sisk.pl 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 unset return
On 14 November 2013 03:14, Rafael J. Wysocki r...@sisk.pl wrote:
On Wednesday, November 13, 2013 01:35:38 PM Amit Pundir wrote:
On 13 November 2013 05:29, Rafael J. Wysocki r...@sisk.pl wrote:
On Wednesday, November 13, 2013 02:22:28 AM Amit Pundir wrote:
ep_create_wakeup_source() reports
Drop EPOLLWAKEUP from epoll events mask if CONFIG_PM_SLEEP is disabled.
Signed-off-by: Amit Pundir amit.pun...@linaro.org
---
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
...@android.com
Cc: John Stultz john.stu...@linaro.org
Cc: Sumit Semwal sumit.sem...@linaro.org
Signed-off-by: Todd Poynor toddpoy...@google.com
[Amit Pundir: Reworded the commit message]
Signed-off-by: Amit Pundir amit.pun...@linaro.org
---
The original patch was submitted to linux-pm couple of years
Cc: Android Kernel Team kernel-t...@android.com
Cc: John Stultz john.stu...@linaro.org
Cc: Sumit Semwal sumit.sem...@linaro.org
Signed-off-by: Todd Poynor toddpoy...@google.com
[Amit Pundir: Reworded the commit message]
Signed-off-by: Amit Pundir amit.pun...@linaro.org
---
kernel/irq/pm.c |7
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
toddpoy...@google.com
[Amit Pundir: Reworded the commit message]
Signed-off-by: Amit Pundir amit.pun...@linaro.org
---
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 at it.
kernel/irq/pm.c | 7 ++-
1 file
...@linutronix.de
Cc: Rafael J. Wysocki r...@rjwysocki.net
Cc: Len Brown len.br...@intel.com
Cc: linux...@vger.kernel.org
Cc: Android Kernel Team kernel-t...@android.com
Signed-off-by: Todd Poynor toddpoy...@google.com
[Amit Pundir: Reworded the commit message]
Signed-off-by: Amit Pundir amit.pun
for binder's purposes 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 a.ryabi...@samsung.com
Reported-by: Amit Pundir amit.pun...@linaro.org
---
Changes since v1:
- fixed
) {
--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 at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
down.
Thoughts and feedback would be appreciated.
Thanks,
Amit Pundir
Cc: Mike Lockwood lockw...@android.com
Cc: Benoit Goby ben...@android.com
Cc: Colin Cross ccr...@android.com
Cc: Arve Hjønnevåg a...@android.com
Cc: Peter Oh p...@broadcom.com
Cc: Greg Hackmann ghackm...@google.com
Cc: Badhri
Yefremov yegorsli...@googlemail.com
Cc: Philippe Reynes trem...@gmail.com
Cc: John Stultz john.stu...@linaro.org
Cc: Sumit Semwal sumit.sem...@linaro.org
Signed-off-by: Amit Pundir amit.pun...@linaro.org
---
drivers/usb/gadget/Kconfig| 8 ++
drivers/usb/gadget/configfs.c | 201
...@linaro.org
Cc: Sumit Semwal sumit.sem...@linaro.org
Signed-off-by: Amit Pundir amit.pun...@linaro.org
---
Documentation/ABI/testing/configfs-usb-gadget-mtp |7 +
Documentation/usb/gadget-testing.txt | 24 +
drivers/usb/gadget/Kconfig| 13 +
drivers/usb/gadget
On 14 August 2015 at 02:11, Krzysztof Opasiak k.opas...@samsung.com 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 Pundir wrote:
his MTP function is based on years of work
> pain. Adding the config 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 <amit.pun...@linaro.org>
> Cc: John Stultz <john.stu...
On 23 June 2016 at 08:50, Rob Herring <r...@kernel.org> wrote:
> On Wed, Jun 22, 2016 at 2:53 AM, Amit Pundir <amit.pun...@linaro.org> wrote:
>> On 8 June 2016 at 22:09, Rob Herring <r...@kernel.org> wrote:
>>> Copy the config fragments from the AOSP common kern
gt;
[AmitP: Cherry-picked this patch and folded other relevant
fixes from Android common kernel android-4.4]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
v2: Sanitized the name of original author. Dropped his email address from
the list of reviewers, since it is no longer v
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
e...@ti.com>
Signed-off-by: Vijayavardhan Vennapusa <vvre...@codeaurora.org>
[pundir:
* cherry-picked this patch from AOSP experimental/android-4.4 tree.
* folded in an AOSP build fix from Praneeth Bajjuri <prane...@ti.com>]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
t;
Cc: John Stultz <john.stu...@linaro.org>
Cc: Sumit Semwal <sumit.sem...@linaro.org>
Signed-off-by: Badhri Jagan Sridharan <bad...@google.com>
[pundir: cherry-picked this patch from AOSP experimental/android-4.4 tree.]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
Cher
ro.org>
Cc: Praneeth Bajjuri <prane...@ti.com>
Signed-off-by: Badhri Jagan Sridharan <bad...@google.com>
[pundir:
* cherry-picked this patch from AOSP experimental/android-4.4 tree.
* folded in an AOSP build fix from Praneeth Bajjuri <prane...@ti.com>]
Signed-off-by: Amit Pund
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 <amit.pun...@linaro.org> wrote:
> From: Badhri Jagan Sridharan <bad...@google.com&
ra.org>
Signed-off-by: Xerox Lin <xerox_...@htc.com>
[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 <amit.pun...@linaro.org>
---
v2: Use rndis_params instead of
ra.org>
Signed-off-by: Xerox Lin <xerox_...@htc.com>
[pundir: cherry-picked this patch from AOSP experimental/android-4.4 tree.]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
Cherry-picked this patch from AOSP common/experimental/android-4.4 tree.
I could not find upst
ro.org>
Signed-off-by: Badhri Jagan Sridharan <bad...@google.com>
[pundir: cherry-picked this patch from AOSP experimental/android-4.4 tree.]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
Cherry-picked this patch from AOSP common/experimental/android-4.4 tree.
I coul
nnapusa <vvre...@codeaurora.org>
[pundir: cherry-picked this patch from AOSP experimental/android-4.4 tree.]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
Cherry-picked this patch from AOSP common/experimental/android-4.4 tree.
I could not find upstream submission history for thi
emwal <sumit.sem...@linaro.org>
Signed-off-by: Badhri Jagan Sridharan <bad...@google.com>
[pundir: cherry-picked this patch from AOSP experimental/android-4.4 tree.]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
Cherry-picked this patch from AOSP common/experimental/androi
On 9 February 2016 at 04:50, Greg Kroah-Hartman
<gre...@linuxfoundation.org> 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
android.com>
[AmitP: cherry-picked this Android patch from aosp common kernel android-4.4]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
drivers/mmc/card/block.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/c
From: Ken Sumrall <ksumr...@android.com>
Add some logging to make it clear just how the emmc timeout
was handled.
Signed-off-by: Ken Sumrall <ksumr...@android.com>
[AmitP: cherry-picked this Android patch from aosp
common kernel android-4.4]
Signed-off-by: Amit Pund
gt;
[AmitP: Cherry-picked this patch and folded other relevant
fixes from Android common kernel android-4.4]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
Cherry picked this usb tethering fix from AOSP kernel/common/android-4.4
tree and to make sure it doesn't get overlooked,
, 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
upport, 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 <danielmi...@gmail.com>
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
kern
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 <amit.pun...@linaro.org>
---
kernel/c
>
(cherry picked from commit fe8bd18ffea5327344d4ec2bf11f47951212abd0)
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
arch/mips/include/asm/irq.h| 12
arch/mips/kernel/asm-offsets.c | 1 +
arch/mips/kernel/irq.c | 11 +++
3 files changed, 24 inserti
ul.bur...@imgtec.com>
Cc: linux-m...@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14743/
Signed-off-by: Ralf Baechle <r...@linux-mips.org>
(cherry picked from commit dda45f701c9d7ad4ac0bb446e3a96f6df9a468d9)
Signed-off-by: Amit Pundir <
gt;
(cherry picked from commit 3cc3434fd6307d06b53b98ce83e76bf9807689b9)
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
arch/mips/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index b3c5bde..80832aa 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips
ed-off-by: Ralf Baechle <r...@linux-mips.org>
(cherry picked from commit d42d8d106b0275b027c1e8992c42aecf933436ea)
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
arch/mips/kernel/process.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/arch/mips/kernel/
m...@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14742/
Signed-off-by: Ralf Baechle <r...@linux-mips.org>
(cherry picked from commit 510d86362a27577f5ee23f46cfb354ad49731e61)
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
arch/m
m...@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14742/
Signed-off-by: Ralf Baechle <r...@linux-mips.org>
(cherry picked from commit 510d86362a27577f5ee23f46cfb354ad49731e61)
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
arch/m
ed-off-by: Ralf Baechle <r...@linux-mips.org>
(cherry picked from commit d42d8d106b0275b027c1e8992c42aecf933436ea)
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
arch/mips/kernel/process.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/arch/mips/kernel/
gt;
(cherry picked from commit 3cc3434fd6307d06b53b98ce83e76bf9807689b9)
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
arch/mips/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index b3c5bde..80832aa 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips
>
(cherry picked from commit fe8bd18ffea5327344d4ec2bf11f47951212abd0)
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
arch/mips/include/asm/irq.h| 12
arch/mips/kernel/asm-offsets.c | 1 +
arch/mips/kernel/irq.c | 11 +++
3 files changed, 24 inserti
ul.bur...@imgtec.com>
Cc: linux-m...@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14743/
Signed-off-by: Ralf Baechle <r...@linux-mips.org>
(cherry picked from commit dda45f701c9d7ad4ac0bb446e3a96f6df9a468d9)
Signed-off-by: Amit Pundir <
m...@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14742/
Signed-off-by: Ralf Baechle <r...@linux-mips.org>
(cherry picked from commit 510d86362a27577f5ee23f46cfb354ad49731e61)
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
arch/m
ed-off-by: Ralf Baechle <r...@linux-mips.org>
(cherry picked from commit d42d8d106b0275b027c1e8992c42aecf933436ea)
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
arch/mips/kernel/process.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/arch/mips/kernel/
>
(cherry picked from commit fe8bd18ffea5327344d4ec2bf11f47951212abd0)
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
arch/mips/include/asm/irq.h| 12
arch/mips/kernel/asm-offsets.c | 1 +
arch/mips/kernel/irq.c | 11 +++
3 files changed, 24 inserti
ul.bur...@imgtec.com>
Cc: linux-m...@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14743/
Signed-off-by: Ralf Baechle <r...@linux-mips.org>
(cherry picked from commit dda45f701c9d7ad4ac0bb446e3a96f6df9a468d9)
Signed-off-by: Amit Pundir <
gt;
(cherry picked from commit 3cc3434fd6307d06b53b98ce83e76bf9807689b9)
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
arch/mips/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index db45961..49c276c 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips
Qemu 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
gt;
>> Details are available at http://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
iled: unable to mmap transaction memory.
>
> This doesn'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.1
On 27 July 2017 at 18:53, Greg Kroah-Hartman <gre...@linuxfoundation.org> wrote:
> On Thu, Jul 27, 2017 at 02:38:30PM +0530, Amit Pundir wrote:
>> Hi,
>>
>> On 25 July 2017 at 14:43, Martijn Coenen <m...@google.com> wrote:
>> > Hi John,
>> >
nux-mips.org/patch/13307/
Signed-off-by: Ralf Baechle <r...@linux-mips.org>
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
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/mt7
nux-mips.org/patch/13306/
Signed-off-by: Ralf Baechle <r...@linux-mips.org>
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
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/mt7
s Android WiFi/BT regression reported on 4.13-rc2.
Tested-by: Amit Pundir <amit.pun...@linaro.org>
> Signed-off-by: Martijn Coenen <m...@android.com>
> ---
> drivers/android/binder.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/d
herry-picked this change from Android common kernel]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
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..e
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
From: Lorenzo Colitti <lore...@google.com>
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 <
droid common kernel]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
kernel/configs/android-recommended.config | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/configs/android-recommended.config
b/kernel/configs/android-recommended.config
index 28ee064b6744..a86faa41bfd2 1
and updated the commit message]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
kernel/configs/android-recommended.config | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/configs/android-recommended.config
b/kernel/configs/android-recommended.config
index a86faa41bfd2..a
herry-picked this change from Android common kernel]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
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..0
mmit message]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
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 01b186c5ef18..dadb830413a3 100644
--- a/kernel/configs/android
herry-picked this change from Android common kernel, updated
the commit message and re-placed the CONFIG_STRICT_KERNEL_RWX
config in sorted order]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
kernel/configs/android-recommended.config | 3 ++-
1 file changed, 2 inserti
herry-picked this change from Android common kernel]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
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
From: Max Shi <meixuan...@google.com>
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 <meixuan...@google.com>
[AmitP: cherry-picked this change from Android common kernel]
Signed-
On 8 June 2017 at 15:32, Lorenzo Colitti <lore...@google.com> wrote:
> On Thu, Jun 8, 2017 at 6:55 PM, Amit Pundir <amit.pun...@linaro.org> wrote:
>> Reviewed-at: https://android-review.googlesource.com/#/c/322674/
>
> Note: that change was a mistake.
>
>> ---
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
and updated the commit message]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
kernel/configs/android-recommended.config | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/configs/android-recommended.config
b/kernel/configs/android-recommended.config
index a86faa41bfd2..a
droid common kernel]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
kernel/configs/android-recommended.config | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/configs/android-recommended.config
b/kernel/configs/android-recommended.config
index 28ee064b6744..a86faa41bfd2 1
From: Max Shi <meixuan...@google.com>
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 <meixuan...@google.com>
[AmitP: cherry-picked this change from Android common kernel]
Signed-
herry-picked this change from Android common kernel, updated
the commit message and re-placed the CONFIG_STRICT_KERNEL_RWX
config in sorted order]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
kernel/configs/android-recommended.config | 3 ++-
1 file changed, 2 inserti
herry-picked this change from Android common kernel]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
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
herry-picked this change from Android common kernel]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
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..e
mmit message]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
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 cdde5af6b332..d70829033bb7 100644
--- a/kernel/configs/android
herry-picked this change from Android common kernel]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
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..c
urora.org>
[AmitP: Cherry-picked this commit from CodeAurora kernel/msm-3.10
https://source.codeaurora.org/quic/la/kernel/msm-3.10/commit/?id=2161ae9a70b12cf18ac8e5952a20161ffbccb477]
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
This patch featured in Android Security Bulletin f
nch. 1st boot is fine but hikey runs into an
unexpected short 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 <xuyi
-git.linaro.org/kernel/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 <amit.pu
causing boot animation 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
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
Ignore async firmware loading tests on older kernel releases,
which do not support this feature.
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
tools/testing/selftests/firmware/fw_filesystem.sh | 34 ++-
1 file changed, 21 insertions(+), 13 deletions(-)
diff
Ignore custom firmware loading and cancellation tests on older
kernel releases, which do not support this feature.
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
tools/testing/selftests/firmware/fw_fallback.sh | 38 +
1 file changed, 26 insertions(
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
;
Acked-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
v2:
Changed the display message to make it consistent across all
the firmware test scripts. Added Fixes tag.
tools/testing/selftests/firmware/fw_filesystem.sh | 34 +
.@kernel.org>
Acked-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
v2:
Changed the display message to make it consistent across all
the firmware test scripts. Added Fixes tag.
tools/testing/selftests/firmware/fw_fallback.sh
From: Suren Baghdasaryan <sur...@google.com>
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 <sur...@google.com>
Signed-off-by: Amit Pundir <amit.pun...@lin
aghdasaryan <sur...@google.com>
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
v2:
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 ac8030c4..19cb2e4 100644
--- a/net/nfc/hci/cor
ter 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 memory corr
Remove redundant __func__ parameter from dev_dgb() calls.
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
drivers/nfc/fdp/fdp.c | 22 +++---
drivers/nfc/fdp/i2c.c | 20 +---
2 files changed, 20 insertions(+), 22 deletions(-)
diff --git a/drivers/n
tra bytes resulting in OOB read from the kernel heap.
Signed-off-by: Suren Baghdasaryan <sur...@google.com>
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
---
v2:
Resend. No changes.
drivers/nfc/st21nfca/dep.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers
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 <amit.pun...@linaro.org>
---
drivers/nfc/fdp/fdp.c | 18 +++---
drivers/nfc/fdp/i2c.
On 3 May 2018 at 15:50, Andy Shevchenko
<andriy.shevche...@linux.intel.com> wrote:
> On Wed, 2018-05-02 at 23:18 +0530, Amit Pundir wrote:
>> From: Suren Baghdasaryan <sur...@google.com>
>>
>> Possible buffer overflow when reading next_read_size bytes into
&
From: Suren Baghdasaryan <sur...@google.com>
Possible buffer overflow when reading next_read_size bytes into
tmp buffer after next_read_size was extracted from a previous packet.
cc: Stable <sta...@vger.kernel.org>
Signed-off-by: Suren Baghdasaryan <sur...@google.com>
Signed-o
tra bytes resulting in OOB read from the kernel heap.
cc: Stable <sta...@vger.kernel.org>
Signed-off-by: Suren Baghdasaryan <sur...@google.com>
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevche...@linux.intel.com>
---
v3..v1:
Resend. N
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 <amit.pun...@linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevche...@linux.intel.com>
---
v3:
Updated co
.kernel.org>
Signed-off-by: Suren Baghdasaryan <sur...@google.com>
Signed-off-by: Amit Pundir <amit.pun...@linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevche...@linux.intel.com>
---
v3..v1:
Resend. No changes.
net/nfc/hci/core.c | 10 ++
1 file changed, 10 insert
tr...@google.com>
Cc: Badhri <bad...@google.com>
Cc: Android Kernel Team <kernel-t...@android.com>
Cc: sta...@vger.kernel.org
Signed-off-by: Hemant Kumar <hema...@codeaurora.org>
[AmitP: Cherry-picked it from android-4.14 and updated the commit log]
Signed-off-by: Amit Pundir <amit.p
1 - 100 of 296 matches
Mail list logo