Content-Type: multipart/mixed; boundary="===============2876344384325168973==" MIME-Version: 1.0 From: Arnd Bergmann To: kbuild-all@lists.01.org Subject: Re: [PATCH 7/8] serial: 8250/ingenic: Add support for the JZ4750/JZ4755 SoCs Date: Thu, 13 Oct 2022 08:46:39 +0200 Message-ID: In-Reply-To: List-Id: --===============2876344384325168973== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Thu, Oct 13, 2022, at 8:37 AM, Siarhei Volkau wrote: > =D0=BF=D0=BD, 10 =D0=BE=D0=BA=D1=82. 2022 =D0=B3. =D0=B2 01:29, kernel te= st robot : >> 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 m= oment. > > 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 --===============2876344384325168973==--