From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 245ADC433E0 for ; Mon, 15 Mar 2021 07:54:08 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5058664E38 for ; Mon, 15 Mar 2021 07:54:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5058664E38 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4DzTFp0FmHz30H9 for ; Mon, 15 Mar 2021 18:54:06 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=HaV4OxCB; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ellerman.id.au (client-ip=203.11.71.1; helo=ozlabs.org; envelope-from=mpe@ellerman.id.au; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=HaV4OxCB; dkim-atps=neutral Received: from ozlabs.org (ozlabs.org [203.11.71.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4DzTFL5HVdz2yRR for ; Mon, 15 Mar 2021 18:53:41 +1100 (AEDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4DzTFG14SKz9sR4; Mon, 15 Mar 2021 18:53:35 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1615794818; bh=xQCuzLxi9dsv6r+6RO199FLqm7bxCzrSOE93vTM7WxM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=HaV4OxCBTNSggvH+z9EIAnJyqU87y2nMQu/RDDhPxyZrrnQhYujaAREiUxZzzxd9I JUughiX/710n6KpWHmdxYsZWEeQC9ES+zDLjNGDVA2puVkQmB++wX4SaWCFvr0PCwk GYmiABrAHJO2AP8p4LnhRqK1/EKWvZL/gAoNMcUdP/MubdszhpDZOe+ynkQrIcE7fM rYdYjMwr5UAp0Goh/K+zHKqdk8s4Xfj5b5Hs1zreihTt9eZGpm2w+urU99QAuiitjU 2QNvUrr7eRCbyOJ0R9hFAuZp6QqBA52yjNW39XQUmPaHU/ZehVDkrHIDKLfgaSPMKI 3h9Hf+yDeVIbw== From: Michael Ellerman To: Paul Menzel , Benjamin Herrenschmidt , Paul Mackerras Subject: Re: VIO bus not initialized In-Reply-To: <41c04182-20c1-6124-a221-90aef704e310@molgen.mpg.de> References: <41c04182-20c1-6124-a221-90aef704e310@molgen.mpg.de> Date: Mon, 15 Mar 2021 18:53:30 +1100 Message-ID: <87mtv44zut.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Paul Menzel writes: > Dear Linux folks, > > > On the POWER8 system IBM S822LC, Linux 5.12-rc2+ logs the errors below. That's a bare metal system, you can see that from the line "Using PowerNV machine description" in the boot log. > $ dmesg --level=err > [ 1.555668] Driver 'hvc_console' was unable to register with > bus_type 'vio' because the bus was not initialized. > [ 1.558434] Driver 'tpm_ibmvtpm' was unable to register with > bus_type 'vio' because the bus was not initialized. > $ grep VIO /boot/config-5.12.0-rc2+ > CONFIG_IBMVIO=y The "vio" bus is not a real bus, it's a fake bus we use for hypervisor provided devices in LPARs (guests). So on bare metal machines there is no vio bus, the devices that would appear on the vio bus are found via other mechanisms. > [ 1.555668] Driver 'hvc_console' was unable to register with bus_type 'vio' because the bus was not initialized. > [ 1.555866] hvc0: raw protocol on /ibm,opal/consoles/serial@0 (boot console) > [ 1.555875] hvc0: No interrupts property, using OPAL event You can see here that the hvc opal driver found the console, which is the bare metal equivalent of the hvc console (vio) driver. > [ 1.556205] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled > [ 1.558377] Non-volatile memory driver v1.3 > [ 1.558404] Linux agpgart interface v0.103 > [ 1.558434] Driver 'tpm_ibmvtpm' was unable to register with bus_type 'vio' because the bus was not initialized. The ibmvtpm driver is a Virtual TPM driver, so it also isn't present on a bare metal system. I don't think that system has a TPM, but if it did you'd need the appropriate bare metal TPM driver to use it. cheers