[lkml]   [2019]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patches in this message
SubjectRe: [PATCH v1 7/7] fsi: aspeed: add unspecified HAS_IOMEM dependency
On Thu, 12 Dec 2019 at 00:30, Brendan Higgins <> wrote:
> On Wed, Dec 11, 2019 at 4:12 PM Joel Stanley <> wrote:
> >
> > Nice. I hit this when attempting to force on CONFIG_COMPILE_TEST in
> > order to build some ARM drivers under UM. Do you have plans to fix
> > that too?
> The only broken configs I found for UML are all listed on the cover
> letter of this patch. I think fixing COMPILE_TEST on UM could be
> worthwhile. Did you see any brokenness other than what I mentioned on
> the cover letter?

There's a few more in drivers/char/hw_random that you would need.

The only one from your series I needed was PINCTRL_EQUILIBRIUM.

I applied this:

--- a/init/Kconfig
+++ b/init/Kconfig
@@ -91,7 +91,6 @@ config INIT_ENV_ARG_LIMIT

bool "Compile also drivers which will not load"
- depends on !UML
default n

That lets me build. However, the code I was attempting to enable
depends on REGMAP, which needs IOMEM too, so I hit that dead end.
Another issue I had was debugging my kunitconfig. This patch helped a bit:

--- a/tools/testing/kunit/
+++ b/tools/testing/kunit/
@@ -40,6 +40,9 @@ class Kconfig(object):
def is_subset_of(self, other: 'Kconfig') -> bool:
return self.entries().issubset(other.entries())

+ def difference(self, other: 'Kconfig') -> list:
+ return self.entries().difference(other.entries())
def write_to_file(self, path: str) -> None:
with open(path, 'w') as f:
for entry in self.entries():
diff --git a/tools/testing/kunit/
index bf3876835331..0f261bc087e4 100644
--- a/tools/testing/kunit/
+++ b/tools/testing/kunit/
@@ -107,6 +107,7 @@ class LinuxSourceTree(object):
if not self._kconfig.is_subset_of(validated_kconfig):
logging.error('Provided Kconfig is not
contained in validated .config!')
return False
return True

Which would need some tidying up before applying, but helped a lot in
working out what was going wrong.
> > Do you want to get this in a fix for 5.5?
> Preferably, yes.
> > Acked-by: Joel Stanley <>
> Thanks!

 \ /
  Last update: 2019-12-16 07:01    [W:0.074 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site