New issue
Advanced search Search tips

Issue 913546 link

Starred by 2 users

Issue metadata

Status: Started
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Backport upstream changes needed to maintain test coverage

Project Member Reported by groeck@chromium.org, Dec 10

Issue description

Sometimes problems are fixed upstream which are not relevant for ChromeOS, but should be fixed to retain test coverage in ChromeOS kernels. This bug serves as placeholder for such bugs.

 
Project Member

Comment 1 by bugdroid1@chromium.org, Dec 11

Labels: merge-merged-chromeos-4.4
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/a0cdf3500c988ff95581021048067ce7f69e77b4

commit a0cdf3500c988ff95581021048067ce7f69e77b4
Author: Guenter Roeck <linux@roeck-us.net>
Date: Tue Dec 11 05:47:46 2018

UPSTREAM: nios2: Replace fdt_translate_address with of_flat_dt_translate_address

nios2 builds fail with the following build error.

arch/nios2/kernel/prom.c: In function 'early_init_dt_scan_serial':
arch/nios2/kernel/prom.c:100:2: error:
	implicit declaration of function 'fdt_translate_address'

Commit c90fe9c0394b ("of: earlycon: Move address translation to
of_setup_earlycon()") replaced fdt_translate_address() with
of_flat_dt_translate_address() but missed updating the nios2 code.

Fixes: c90fe9c0394b ("of: earlycon: Move address translation to of_setup_earlycon()")
Cc: Peter Hurley <peter@hurleysoftware.com>
Cc: Rob Herring <robh@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Ley Foon Tan <lftan@altera.com>
(cherry picked from commit 8fe889274c7a4d95c3e2d06f87ead499ea6faa2d)

BUG=chromium:913546
TEST=Build nios2:3c120_defconfig

Change-Id: I719b82b24bd9a378f6facb64495495222e43a1de
Signed-off-by: Guenter Roeck <groeck@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1369671
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>

[modify] https://crrev.com/a0cdf3500c988ff95581021048067ce7f69e77b4/arch/nios2/kernel/prom.c

Project Member

Comment 2 by bugdroid1@chromium.org, Dec 11

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/727174c2a1be9d7f311ca6256d6bd4d70cc2b8d3

commit 727174c2a1be9d7f311ca6256d6bd4d70cc2b8d3
Author: Davidlohr Bueso <dave@stgolabs.net>
Date: Tue Dec 11 21:00:52 2018

UPSTREAM: lib/interval_tree_test.c: make test options module parameters

Allows for more flexible debugging.

Link: http://lkml.kernel.org/r/20170518174936.20265-3-dave@stgolabs.net
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit a54dae0338b7f01eb0f9c7571fb9b74f791d1c6b)

BUG=chromium:913546
TEST=Boot with CONFIG_RBTREE_TEST enabled

Change-Id: I44399483678767a4251b3d73c02052a85bd2b89b
Signed-off-by: Guenter Roeck <groeck@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1370708

[modify] https://crrev.com/727174c2a1be9d7f311ca6256d6bd4d70cc2b8d3/lib/interval_tree_test.c

Project Member

Comment 3 by bugdroid1@chromium.org, Dec 11

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/d782a3489865fdfdfd56d5bfea7c190cc8fff168

commit d782a3489865fdfdfd56d5bfea7c190cc8fff168
Author: Davidlohr Bueso <dave@stgolabs.net>
Date: Tue Dec 11 21:00:53 2018

UPSTREAM: lib/interval_tree_test.c: allow users to limit scope of endpoint

Add a 'max_endpoint' parameter such that users may easily limit the size
of the intervals that are randomly generated.

Link: http://lkml.kernel.org/r/20170518174936.20265-4-dave@stgolabs.net
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit a8ec14d4f6aa8e245efacc992c8ee6ea0464ce2a)

BUG=chromium:913546
TEST=Boot with CONFIG_RBTREE_TEST enabled

Change-Id: I52ad715eec772cee13c2c835d849c33ef617eabf
Signed-off-by: Guenter Roeck <groeck@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1370709

[modify] https://crrev.com/d782a3489865fdfdfd56d5bfea7c190cc8fff168/lib/interval_tree_test.c

Project Member

Comment 4 by bugdroid1@chromium.org, Dec 12

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/026341b9d6a6abbfab58089a44e77a6a964ac0fe

commit 026341b9d6a6abbfab58089a44e77a6a964ac0fe
Author: Davidlohr Bueso <dave@stgolabs.net>
Date: Wed Dec 12 06:50:53 2018

UPSTREAM: lib/interval_tree_test.c: allow full tree search

...  such that a user can specify visiting all the nodes in the tree
(intersects with the world).  This is a nice opposite from the very
basic default query which is a single point.

Link: http://lkml.kernel.org/r/20170518174936.20265-5-dave@stgolabs.net
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit c46ecce431ebe6b1a9551d1f530eb432dae5c39b)

BUG=chromium:913546
TEST=Boot with CONFIG_RBTREE_TEST enabled

Change-Id: I9054ffc46349289ef6ecb82a63b11d5543655974
Signed-off-by: Guenter Roeck <groeck@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1370710

[modify] https://crrev.com/026341b9d6a6abbfab58089a44e77a6a964ac0fe/lib/interval_tree_test.c

Project Member

Comment 5 by bugdroid1@chromium.org, Dec 12

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/621e22e9c18bc75f7c2d77dd7ee841b8b711b851

commit 621e22e9c18bc75f7c2d77dd7ee841b8b711b851
Author: Davidlohr Bueso <dave@stgolabs.net>
Date: Wed Dec 12 06:50:55 2018

UPSTREAM: lib/rbtree_test.c: make input module parameters

Allows for more flexible debugging.

Link: http://lkml.kernel.org/r/20170719014603.19029-5-dave@stgolabs.net
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 223f8911eace60c787f8767c25148b80ece9732a)

BUG=chromium:913546
TEST=Boot with CONFIG_RBTREE_TEST enabled

Change-Id: I14fb5a5c624d5afffe7d779a4fa802378ab8d290
Signed-off-by: Guenter Roeck <groeck@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1370711

[modify] https://crrev.com/621e22e9c18bc75f7c2d77dd7ee841b8b711b851/lib/rbtree_test.c

Project Member

Comment 6 by bugdroid1@chromium.org, Dec 12

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/e192b7ee6f8b5d68f11f29efe37f85b610471786

commit e192b7ee6f8b5d68f11f29efe37f85b610471786
Author: Davidlohr Bueso <dave@stgolabs.net>
Date: Wed Dec 12 06:50:56 2018

UPSTREAM: lib/rbtree_test.c: add (inorder) traversal test

This adds a second test for regular rb-tree testing in that there is no
need to repeat it for the augmented flavor.

Link: http://lkml.kernel.org/r/20170719014603.19029-6-dave@stgolabs.net
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 977bd8d5e1e61dc877c468e8937a4ab3094e53eb)

BUG=chromium:913546
TEST=Boot with CONFIG_RBTREE_TEST enabled

Change-Id: I6e7bf9276c2cde49be904087a54b0aa2508a2142
Signed-off-by: Guenter Roeck <groeck@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1370712

[modify] https://crrev.com/e192b7ee6f8b5d68f11f29efe37f85b610471786/lib/rbtree_test.c

Project Member

Comment 7 by bugdroid1@chromium.org, Dec 12

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/4d9d8a199389eb6fb5ec6dc72861fa2793eeba65

commit 4d9d8a199389eb6fb5ec6dc72861fa2793eeba65
Author: Davidlohr Bueso <dave@stgolabs.net>
Date: Wed Dec 12 09:55:18 2018

UPSTREAM: lib/rbtree-test: lower default params

Fengguang reported soft lockups while running the rbtree and interval
tree test modules.  The logic for these tests all occur in init phase,
and we currently are pounding with the default values for number of
nodes and number of iterations of each test.  Reduce the latter by two
orders of magnitude.  This does not influence the value of the tests in
that one thousand times by default is enough to get the picture.

Link: http://lkml.kernel.org/r/20171109161715.xai2dtwqw2frhkcm@linux-n805
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 0b548e33e6cb2bff240fdaf1783783be15c29080)

BUG=chromium:913546
TEST=Boot with CONFIG_RBTREE_TEST enabled

Change-Id: I32d67f60edcdb27411d21020c045b7d0ecb84808
Signed-off-by: Guenter Roeck <groeck@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1370713

[modify] https://crrev.com/4d9d8a199389eb6fb5ec6dc72861fa2793eeba65/lib/interval_tree_test.c
[modify] https://crrev.com/4d9d8a199389eb6fb5ec6dc72861fa2793eeba65/lib/rbtree_test.c

Project Member

Comment 8 by bugdroid1@chromium.org, Dec 12

Labels: merge-merged-chromeos-4.14
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/2480d18f32f52dd9c179cebce6dc61e5f6196469

commit 2480d18f32f52dd9c179cebce6dc61e5f6196469
Author: Davidlohr Bueso <dave@stgolabs.net>
Date: Wed Dec 12 21:55:43 2018

UPSTREAM: lib/rbtree-test: lower default params

Fengguang reported soft lockups while running the rbtree and interval
tree test modules.  The logic for these tests all occur in init phase,
and we currently are pounding with the default values for number of
nodes and number of iterations of each test.  Reduce the latter by two
orders of magnitude.  This does not influence the value of the tests in
that one thousand times by default is enough to get the picture.

Link: http://lkml.kernel.org/r/20171109161715.xai2dtwqw2frhkcm@linux-n805
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 0b548e33e6cb2bff240fdaf1783783be15c29080)

BUG=chromium:913546
TEST=Boot with CONFIG_RBTREE_TEST enabled

Change-Id: I73954c1698029ae3b139eb9fcf652bb8018f5e18
Signed-off-by: Guenter Roeck <groeck@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1370804

[modify] https://crrev.com/2480d18f32f52dd9c179cebce6dc61e5f6196469/lib/interval_tree_test.c
[modify] https://crrev.com/2480d18f32f52dd9c179cebce6dc61e5f6196469/lib/rbtree_test.c

Sign in to add a comment