Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2696372ybc; Mon, 18 Nov 2019 03:16:16 -0800 (PST) X-Google-Smtp-Source: APXvYqzCoOUWvybErpFkCq/dLA3J99uxcFq6zbntJA4saoNay5iRZk0ge3FqNoRGuhDNT0fVz7cU X-Received: by 2002:a17:906:4e83:: with SMTP id v3mr26341847eju.246.1574075776289; Mon, 18 Nov 2019 03:16:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574075776; cv=none; d=google.com; s=arc-20160816; b=usoykGKsDeBkNOKpCPdZpKwEVyvi29wWPKMXM0au+ZlilJFb8cssiHLJ1qTmaO5r5L hJt9/N/pywO3C/PouqiCy/UYecx3Kp6znDSFVZ5lsGOkJH/sHjI9JAM2fvzce1ukkVaw rRX7GmuOBqU1U557HhFUSMC/huS/vBXa6vrAS9Qqc0hXD1zwjhON1iMRnxxDEAAqa5v3 xuBd6CjFkNIRoXY8tbXroQOcoSmjv2aP0dQ8b/rkiJh2o9w1gSKaCEdwhEnOGYe5OM4G 51GucPqwvu90ochG6QImgG8bbedOgYvMmD56imYqHU+Jyc4fP9wV2U3grFZVC+H2WUed U5VQ== 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:message-id:date :mime-version:subject:references:in-reply-to:cc:to:envelope-from :from:dkim-signature; bh=zisD8O+KVQzDq2UyHZ8x9z+bivW3SePE9FRhcF5pJQQ=; b=FyspNZWrR8zCseu6SBHAAe4v7jNU9r3xkw07oX0TNq7G70OYJ1RAWI1L9HYmN2J62q yygxIEQer2v3dkdNFh+HEmF95RqEdC/DxoReFKcEJ4RFjbekCwySe0F80pw9o914x5hp kkNdPIlYbvVOUEJGxoN7ivLFeyCJxWBCMXiLJyeZ9lRlj3rwQGoYHnF+gIfz24MZv0u4 Lhk4vYdlC1wT7NVjRCerwHHhad+DOb8+Eo714s3Q7ZYWqFGZWTU2WJTSdVKmAgT9b8U3 XOU3CeQHP3aaV7vLgbJyiT41zaog+xPXgPBxs6UjV/WTDKAshnI15T7QaaWKFTRN2zfN +hDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=mail header.b=ZK+ZOgMN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o22si12166950edv.175.2019.11.18.03.15.51; Mon, 18 Nov 2019 03:16:16 -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; dkim=pass header.i=@flygoat.com header.s=mail header.b=ZK+ZOgMN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726855AbfKRLNm (ORCPT + 99 others); Mon, 18 Nov 2019 06:13:42 -0500 Received: from forward501j.mail.yandex.net ([5.45.198.251]:60107 "EHLO forward501j.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726536AbfKRLNm (ORCPT ); Mon, 18 Nov 2019 06:13:42 -0500 Received: from mxback1j.mail.yandex.net (mxback1j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10a]) by forward501j.mail.yandex.net (Yandex) with ESMTP id E4BFB3380888; Mon, 18 Nov 2019 14:13:38 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback1j.mail.yandex.net (mxback/Yandex) with ESMTP id oDBCcxg1Xb-DacCp4P5; Mon, 18 Nov 2019 14:13:37 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; s=mail; t=1574075617; bh=zisD8O+KVQzDq2UyHZ8x9z+bivW3SePE9FRhcF5pJQQ=; h=Message-Id:Cc:Subject:In-Reply-To:Date:References:To:From; b=ZK+ZOgMNt4rRLoRbwzam5ucYofaQIxnnI3J2bpsXilIXPFjAo80mhNlRwCEIKin3y CNP0dSpxL8muilZBgo5AkwnMEWd7swcrg5Wf/s/fvd1nmXNwwZ0RgXAaU8/yWuYCtK zc816vRfTUR3RuaBDfwdy5JlRt7V3Cf4uMKcHyQY= Authentication-Results: mxback1j.mail.yandex.net; dkim=pass header.i=@flygoat.com Received: by iva1-ef4837f8671e.qloud-c.yandex.net with HTTP; Mon, 18 Nov 2019 14:13:36 +0300 From: Jiaxun Yang Envelope-From: yjx@flygoat.com To: Jean Delvare Cc: "linux-mips@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Xuefeng Li , Yinglu Yang , Tiezhu Yang , Paul Burton , Ralf Baechle , James Hogan In-Reply-To: <1573478985-3535-1-git-send-email-yangtiezhu@loongson.cn> References: <1573478985-3535-1-git-send-email-yangtiezhu@loongson.cn> Subject: Re: [PATCH v2] MIPS: Scan the DMI system information MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Mon, 18 Nov 2019 19:13:36 +0800 Message-Id: <123521801574075616@iva1-ef4837f8671e.qloud-c.yandex.net> Content-Transfer-Encoding: 7bit Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 11.11.2019, 21:30, "Tiezhu Yang" : > Enable DMI scanning on the MIPS architecture, this setups DMI identifiers > (dmi_system_id) for printing it out on task dumps and prepares DIMM entry > information (dmi_memdev_info) from the SMBIOS table. With this patch, the > driver can easily match various of mainboards. > > In the SMBIOS reference specification, the table anchor string "_SM_" is > present in the address range 0xF0000 to 0xFFFFF on a 16-byte boundary, > but there exists a special case for Loongson platform, when call function > dmi_early_remap, it should specify the start address to 0xFFFE000 due to > it is reserved for SMBIOS and can be normally access in the BIOS. > > This patch works fine on the Loongson 3A3000 platform which belongs to > MIPS architecture and has no influence on the other architectures such > as x86 and ARM. > > Co-developed-by: Yinglu Yang > Signed-off-by: Yinglu Yang > [jiaxun.yang@flygoat.com: Refine definitions and Kconfig] > Signed-off-by: Jiaxun Yang > Signed-off-by: Tiezhu Yang > --- > Hi Jane, Is it fine for you? If so please give a Ack. Thanks. -- Jiaxun Yang