Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4349943ybc; Fri, 15 Nov 2019 03:17:21 -0800 (PST) X-Google-Smtp-Source: APXvYqxTZSgL2wXofwujuVG3qHM+dcZz3AKRKzGsB9sX1nZl0WgkINZwpcmZ4WBaykManpqFyGGl X-Received: by 2002:a17:906:3495:: with SMTP id g21mr143534ejb.190.1573816640912; Fri, 15 Nov 2019 03:17:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573816640; cv=none; d=google.com; s=arc-20160816; b=BujxMSrRfzlMnrYn06toPbigXcr5bBq/XKX9lQ0t+5d/Dv7rBXa7Z7mvCREa2bhRge bsE+OPiPXWeXdT6yPnrD2GXsIY6SAlMJV3/Y+E3P0JreEaHwbdJIsWqjfz7GHrBTM0Is Bv7SZJrlS+rV68y6RxgMccsrS6HVn/GHuhBYN6RZHqWqqguiincoC2yiNCr02KI8ldLc Hew5S5Au5tx90RHrwJUYE7Nj5OMPUV0s4HIk6U6o0UgPnpmLDFFnLpuf7NeBIzJ/QJ3F 3R5t7OHz1zKZ7aU3zBOXidwuF2w65gLcrxM5XNJkYRy2cbSZ0nUDvJ8AJQI8sUBwiatF xpEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=S8no1ZzjK4YIfG4XSOzeJxstceAT7sD8o82GsltX6gU=; b=sedP2y2AbwvX3LMWVg5mNsUo6VoLqwMMkxf5B+3j0Wg9oRRryq2KXy2oqFLDN/wHAN UIUDF0ZUqjM96u2PVZawSz9pK0EcmQxNOy6vRefN1eq5Lc+ZrF15DTWRDIwIUi4wT2Hj GYBVXi8EfPgHjruQjwAXSckwmMbBMZrOYud9dfvTvpwnq8RmjvIEJ0k1IgIaRwB5y8bh XhTS+e/lQzFu31/1FN7jG69580xq2VJR+oyUx+lXfg8Z0yiedwjh6jXPro1EHwladffo Nz/2yvW9+kuyFsliNsVXFuJfyARWlH0fB2x/IftroBzO7bhC3Cjn91afxG+Lz2+o8OPJ uTyA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gg25si5081033ejb.5.2019.11.15.03.16.55; Fri, 15 Nov 2019 03:17:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727325AbfKOLP7 (ORCPT + 99 others); Fri, 15 Nov 2019 06:15:59 -0500 Received: from mx2.suse.de ([195.135.220.15]:42062 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727022AbfKOLP7 (ORCPT ); Fri, 15 Nov 2019 06:15:59 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 61B3EACEC; Fri, 15 Nov 2019 11:15:56 +0000 (UTC) Subject: Re: Sense of soc bus? (was: [PATCH] base: soc: Export soc_device_to_device() helper) To: Rob Herring Cc: Greg Kroah-Hartman , =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , Geert Uytterhoeven , linux-realtek-soc@lists.infradead.org, Tony Lindgren , Linus Walleij , Bjorn Andersson , Thierry Reding , Fabio Estevam , Kevin Hilman , "Rafael J. Wysocki" , Michal Simek , Jonathan Hunter , NXP Linux Team , Sascha Hauer , "linux-tegra@vger.kernel.org" , "open list:ARM/Amlogic Meson..." , Lee Jones , linux-omap , Alexander Sverdlin , LAKML , "linux-kernel@vger.kernel.org" , Hartley Sweeten , Pengutronix Kernel Team , Shawn Guo , Architecture Mailman List , U-Boot References: <20191103013645.9856-3-afaerber@suse.de> <20191111045609.7026-1-afaerber@suse.de> <20191111052741.GB3176397@kroah.com> <586fa37c-6292-aca4-fa7c-73064858afaf@suse.de> <20191111064040.GA3502217@kroah.com> <20191112052347.GA1197504@kroah.com> <20191112072926.isjxfa4ci6akhx56@pengutronix.de> From: =?UTF-8?Q?Andreas_F=c3=a4rber?= Organization: SUSE Software Solutions Germany GmbH Message-ID: Date: Fri, 15 Nov 2019 12:15:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 14.11.19 um 23:09 schrieb Rob Herring: > On Tue, Nov 12, 2019 at 4:47 AM Andreas Färber wrote: >> On the other hand, one might argue that such information should just be >> parsed by EBBR-conformant bootloaders and be passed to the kernel via >> standard UEFI interfaces and DMI tables. But I'm not aware of Barebox >> having implemented any of that yet, and even for U-Boot (e.g., Realtek >> based consumer devices...) not everyone has the GPL sources or tools to >> update their bootloader. So, having the kernel we control gather >> information relevant to kernel developers does make some sense to me. > > UEFI and DMI are orthogonal, right. You can't expect DMI on a UEFI+DT system. Not sure, that's why I CC'ed the EBBR folks for input. If it's not mandatory today, the next revision of EBBR could just require it - if that's the unified way between SBBR and EBBR. Little point in doing it only for EBBR. On my UEFI+DT based Raspberry Pi 3 Model B I do see it, note the non-filled Processor Information delivered by U-Boot: raspi3:~ # dmidecode # dmidecode 3.2 Getting SMBIOS data from sysfs. SMBIOS 3.0 present. 7 structures occupying 253 bytes. Table at 0x3CB3E020. Handle 0x0000, DMI type 0, 24 bytes BIOS Information Vendor: U-Boot Version: 2019.10 Release Date: 10/26/2019 ROM Size: 64 kB Characteristics: PCI is supported BIOS is upgradeable Selectable boot is supported I2O boot is supported Targeted content distribution is supported Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: raspberrypi Product Name: rpi Version: Not Specified Serial Number: 00000000******** UUID: 30303030-3030-3030-6437-623461336666 Wake-up Type: Reserved SKU Number: Not Specified Family: Not Specified Handle 0x0002, DMI type 2, 14 bytes Base Board Information Manufacturer: raspberrypi Product Name: rpi Version: Not Specified Serial Number: Not Specified Asset Tag: Not Specified Features: Board is a hosting board Location In Chassis: Not Specified Chassis Handle: 0x0000 Type: Motherboard Handle 0x0003, DMI type 3, 21 bytes Chassis Information Manufacturer: raspberrypi Type: Desktop Lock: Not Present Version: Not Specified Serial Number: Not Specified Asset Tag: Not Specified Boot-up State: Safe Power Supply State: Safe Thermal State: Safe Security Status: None OEM Information: 0x00000000 Height: Unspecified Number Of Power Cords: Unspecified Contained Elements: 0 Handle 0x0004, DMI type 4, 48 bytes Processor Information Socket Designation: Not Specified Type: Central Processor Family: Unknown Manufacturer: Unknown ID: 00 00 00 00 00 00 00 00 Version: Unknown Voltage: Unknown External Clock: Unknown Max Speed: Unknown Current Speed: Unknown Status: Unpopulated Upgrade: None L1 Cache Handle: Not Provided L2 Cache Handle: Not Provided L3 Cache Handle: Not Provided Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Characteristics: None Handle 0x0005, DMI type 32, 11 bytes System Boot Information Status: No errors detected Handle 0x0006, DMI type 127, 4 bytes End Of Table Regards, Andreas -- SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer HRB 36809 (AG Nürnberg)