[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <bb9f79d4-82a9-4790-b849-d517333ea2d4@app.fastmail.com>
Date: Thu, 13 Oct 2022 08:46:39 +0200
From: "Arnd Bergmann" <arnd@...db.de>
To: "Siarhei Volkau" <lis8215@...il.com>,
"kernel test robot" <lkp@...el.com>
Cc: kbuild-all@...ts.01.org,
"Michael Turquette" <mturquette@...libre.com>,
"Stephen Boyd" <sboyd@...nel.org>,
"Rob Herring" <robh+dt@...nel.org>,
"Krzysztof Kozlowski" <krzk@...nel.org>,
"Vinod Koul" <vkoul@...nel.org>,
"Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
"Paul Cercueil" <paul@...pouillou.net>,
"Thomas Bogendoerfer" <tsbogend@...ha.franken.de>,
"Linus Walleij" <linus.walleij@...aro.org>,
"Jiri Slaby" <jirislaby@...nel.org>, linux-clk@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
dmaengine@...r.kernel.org, linux-serial@...r.kernel.org,
linux-mips@...r.kernel.org,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>
Subject: Re: [PATCH 7/8] serial: 8250/ingenic: Add support for the JZ4750/JZ4755 SoCs
On Thu, Oct 13, 2022, at 8:37 AM, Siarhei Volkau wrote:
> пн, 10 окт. 2022 г. в 01:29, kernel test robot <lkp@...el.com>:
>> config: ia64-allyesconfig
>> config: arm64-randconfig-r035-20221010
>
>> > 142 #define CGU_REG_CPCCR ((void *)CKSEG1ADDR(0x10000000))
>
>> 0-DAY CI Kernel Test Service
>
> I know CKSEG1ADDR is MIPS specific, might be it needed to disable COMPILE_TEST
> on the driver?
> Since early syscon isn't mainlined yet I don't see any other way at the moment.
>
> Any suggestions on that, folks?
This looks like some setup that belongs into the bootloader. If you are
handing over the console from bootloader to kernel, the hardware should
already be in a working state, with no need to touch it during early
boot.
If you are dealing with broken bootloaders that are not under your control,
having this code in the architecture specific early boot as a fixup
would be better than putting it into the driver.
Arnd
Powered by blists - more mailing lists