Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4292046ybv; Tue, 25 Feb 2020 17:11:09 -0800 (PST) X-Google-Smtp-Source: APXvYqzFt2lplu8uxSda9fIOPLxX/7RE/mmaxYwQguixi6GFOqgc8WDltqEDqv6q9j+GN2Zfpa75 X-Received: by 2002:a05:6830:1e72:: with SMTP id m18mr1001378otr.226.1582679469033; Tue, 25 Feb 2020 17:11:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582679469; cv=none; d=google.com; s=arc-20160816; b=0MkUjDgpNBs8NYplAUee8oLac4gdw6Oeh+8lB63bKZZBWQ0bjASjqusmVBlB5oaI2l wY9gquziG1KiA61P75BK7PolX7CLzUWcO1yV+6ArFg3zn+9CNDAyf0ST8RReSlB5UGLV zYg48Z8JzSNdw4hGM0rflsUkUGfjgq914K6iZtRRnTY5Z6PFIfU3D+Hc8abhjELs1wH/ Kyv6LsJ9Sw2u1EutdSKMpDOOjXydnzf5jDDIFv1kL79LJwTk1rJeK8zEz9B1xYmi/RMH BYQRhUzmgkmTUAWTxRc4EOt6V7CZcj/b3kwwOrI41evrzUSDWqz2C4Iw1/oLgfFRwFUk uFDA== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :wdcironportexception:ironport-sdr:ironport-sdr:ironport-sdr :dkim-signature; bh=W9U1HH6G3PyPrHqVJL6vSnkRZZSSfeja2ShnF63TyPs=; b=Mm5fE5ly5GsIjDjsGoxiqnaxoVQF5O9JGC76eU0r60fUvDpm9ximqNvgNdb6Ys7pNI 353nCqdxFyLDvYt5zMIX9LLXGw/dq10L3RusMdRM0i7tAkOFpg9bNvUAVYSwz6me09hV QYrmMUT6tN9CizYkbPtvtK/Lmp5opEFRneyHWWRo/MerpFXpWsmXSxf4T3N/bjc+IlH0 gCSG6rC2/ZfNrp8m7JbNtcpm1AwgUhAXs3bflW6U/E/kRcyDf1kOoB9aYZZ4Xaw3kx4r cLdd6/zeJvA2IxDwKYIxtYq07jB/uw3oPqgKNXGTlph5+mWJdi2n3BjxsoBM+k8yKPby 80Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=VoB0oeTr; 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=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f5si322574otp.129.2020.02.25.17.10.56; Tue, 25 Feb 2020 17:11:09 -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=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=VoB0oeTr; 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=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729805AbgBZBKw (ORCPT + 99 others); Tue, 25 Feb 2020 20:10:52 -0500 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:57148 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729346AbgBZBKu (ORCPT ); Tue, 25 Feb 2020 20:10:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1582679450; x=1614215450; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=km1VvmnuQj7lRiGCtgFsEfp9xWGhODjFHkqy+jn/5IE=; b=VoB0oeTr2Pd0g2h1WKz+c02esZ+OrCYq1449vmHI51e1bV2Rel2KA5FJ SMkfB62Ol0BGRnhRvZwA1j/VaBnnaPLGRYxHlEtCx8z6XlB9OTBpJ957B 6CdiUmfoQaq/Tnqt4Os+C9kjdqOS+dqReeAIiS88E3YGzjdrMzmyLR5/t 5fxGfTNXTwAmaiGItCEIoOLZasqlKvn7rM6+GBFSL/MkfOJzVP3L+v9Gr gxgIGR9ss+nMlqRAdlgPaISLj00cYo2jhID8AIBqANS9HxYYNMJxo6wMd r8SaHhAdfwPiXDFVzmWazfAjNDWm/RiyDvfsm8LAu9AgFmu9Yd4oz6AKO w==; IronPort-SDR: RUGwhWHn4x9alqJAPWSj15MinUmrl7948vVrSOkEg/yh+gzWfC2U7ETIcaiZro0dETogXLsF3w Kkhmf4cAM3kzVjusl6k4X6RN3nVQQeqoUNJfgNnSaWToBtjM7Xd6nqLWXxQqraFQnFryp4kVPu k/ZnDI8zLWEVOGgDHj4fKejjkeoHZh1OYEeZhz5W3e4zx4/f0yKIB2V3bUkh71SE76tDuWoqgC E6ZU++cBXWtSx7ya1/Fez6qN0JObu+yI7WgKEaaCmRTmN812l1AKFwffZsYiRdmuyrlf/mpL0P ly4= X-IronPort-AV: E=Sophos;i="5.70,486,1574092800"; d="scan'208";a="131266501" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 26 Feb 2020 09:10:50 +0800 IronPort-SDR: L/xEh/oMCpWFsvBGqwpn28t1qCTykvBwHSj46KuHyeLf+bYc//taHfvkODDDl/6CmHpofuaISv 4aWz24xB3bZFOn/JDy7oQAYIhOBoyhJ/6ipr995PTajzNF6gFNipKk/wWxPHwlOhyf4SW3rScY 81QhNVNxOqcgm5cHcsgFLH/rZSPoEDbe1jrNZUmDAebB+AY1/J785JsmdNa1sh+CTogl2IWiOz mSpPyvI8kyd+wZfhR6NRddiWi64d48ptGzRsgh7gnCO9U/YJxQYZ1T5gBYZCWL6NQEaQDPNWAN TeOLZx0LltdV6xFvTx9iQ0R4 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Feb 2020 17:03:15 -0800 IronPort-SDR: DStrW9Vd4utZF1pF2XNWrYK8IPP2TZhl9+LTcQRkI2XPIDXj8PnxMlAk3Am8hTYroeihv50UhV 4SLEad5jCpjROgGHafrFxWdpgLOdKBO+quj7ooZixI2Qdq3/mXqT9OlNHOWnF4dX6CXw7lsvQv Ntinh3nPQdjW1gL0ZicBlLKgRTF/mxMBLmPGWLr5elcBq9iiOto1mc+/YRX/+KIqNK/8NSBVcS NufJjHjzNoep/YJ1ImXTyy1FTJPijSNLp0bA+Oaochg6T63sTKC+Rdn+phk0Uey0qqKExobdW9 XZA= WDCIronportException: Internal Received: from jedi-01.sdcorp.global.sandisk.com (HELO jedi-01.int.fusionio.com) ([10.11.143.218]) by uls-op-cesaip02.wdc.com with ESMTP; 25 Feb 2020 17:10:48 -0800 From: Atish Patra To: linux-kernel@vger.kernel.org Cc: Atish Patra , Albert Ou , Alexios Zavras , Allison Randal , Andrew Morton , Anup Patel , Ard Biesheuvel , Arnd Bergmann , Borislav Petkov , Catalin Marinas , Greentime Hu , Greg Kroah-Hartman , Ingo Molnar , Kate Stewart , Kees Cook , Linus Walleij , linux-efi@vger.kernel.org, linux-riscv@lists.infradead.org, Mao Han , Mauro Carvalho Chehab , Michal Simek , Mike Rapoport , Palmer Dabbelt , Paolo Bonzini , Paul Walmsley , Russell King , Thomas Gleixner , Will Deacon , Alexander Graf , "leif@nuviainc.com" , "Chang, Abner (HPS SW/FW Technologist)" , daniel.schaefer@hpe.com Subject: [RFC PATCH 2/5] include: pe.h: Add RISC-V related PE definition Date: Tue, 25 Feb 2020 17:10:34 -0800 Message-Id: <20200226011037.7179-3-atish.patra@wdc.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200226011037.7179-1-atish.patra@wdc.com> References: <20200226011037.7179-1-atish.patra@wdc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Define RISC-V related machine types. Signed-off-by: Atish Patra --- include/linux/pe.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/pe.h b/include/linux/pe.h index 8ad71d763a77..6a7c497e4b1f 100644 --- a/include/linux/pe.h +++ b/include/linux/pe.h @@ -56,6 +56,9 @@ #define IMAGE_FILE_MACHINE_POWERPCFP 0x01f1 #define IMAGE_FILE_MACHINE_R4000 0x0166 #define IMAGE_FILE_MACHINE_SH3 0x01a2 +#define IMAGE_FILE_MACHINE_RISCV32 0x5032 +#define IMAGE_FILE_MACHINE_RISCV64 0x5064 +#define IMAGE_FILE_MACHINE_RISCV128 0x5128 #define IMAGE_FILE_MACHINE_SH3DSP 0x01a3 #define IMAGE_FILE_MACHINE_SH3E 0x01a4 #define IMAGE_FILE_MACHINE_SH4 0x01a6 -- 2.24.0