Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp746293ybz; Wed, 15 Apr 2020 18:03:57 -0700 (PDT) X-Google-Smtp-Source: APiQypKQB35JUAgXu3ZNxOTabBjzDdmH530MAZ+6P6MOyouq9WxTREI+PLQ9PomB2gU+JpKVAqAB X-Received: by 2002:a17:906:405a:: with SMTP id y26mr7258752ejj.31.1586999037573; Wed, 15 Apr 2020 18:03:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586999037; cv=none; d=google.com; s=arc-20160816; b=M8nsZfS377UDyw1yvmrK9qnx9pCJ46N2i6G6wjC0T0nhCn5XbsPPbJpEZPY6VDZvgp 39j25yN2qSFwZeOyx373bfS1gctc6dHt2jzg4oCRNMzqZoKA5feliFT7qTGW56ZwVRx3 Pa4pgluSQgeqazHUeHFjTpJvKwoDXCiAuv1XKwdKzLQ9Lk/1URTORBjYJqZjNzdnJ9UZ bcIRwxKQJsQfyBhXWsFxJz2S4fkkaABg4hBQ/3avGBkakY5iUWPSbycRE6VYfuQwcRBI i1Ss4EekvjpM2caztBi+Dt8Iy2dE+r6QdDJlkPzAyvDbv5bv81Wla+7tanvSrtd5ZvYq qLQg== 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=goyVmJe+J57iQdmkUJbsbckf52hUGMFdwPN6KGpPCvA=; b=OYqGyK42ToO+WehaOcW7HKTU9u7UbwJ9QkQf5mLVE8/MsWw1fvj0Bf4jhGJ0lfe1L3 cquMsXh/9mKGS5NKKZzAKnl7pl/5GrNNfxegRFdEwZUv5f9T+Mr9UuvOlhsbfoFUoKCu NRCjkg+S+Beoa+is5UljN2lSBuIeCO0Nm91hVKqGujUwQVu3V/u8RgtnOA/v/nbvgVFK Fu10tOGVp9R4AV7VB9iHV0E+wS8s8yup9Egy2/+HU2lW/1JQmAUBNgCyCpEA2RH0h8Wx tlVr6121Ax2Rw9JWTzQYumnEtkliPsIgKErr2tgDYpc7QpaJXzawlrfDcnVmbSpe7cek M6eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=QtWKMFFZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id me19si3657975ejb.140.2020.04.15.18.03.34; Wed, 15 Apr 2020 18:03:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=QtWKMFFZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2441951AbgDOTzI (ORCPT + 99 others); Wed, 15 Apr 2020 15:55:08 -0400 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:22140 "EHLO esa1.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406336AbgDOTyn (ORCPT ); Wed, 15 Apr 2020 15:54:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1586980482; x=1618516482; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=qT9c7eXt7ksLkS8LTzuMlCHOyGGyAUacpIVqI65fctQ=; b=QtWKMFFZvshehjkCuXOkhVK2vjfM69CY0jQLwQMUosceq5koYKpbDWs2 sT+nYnxKY0mKvxbo57QLKwtvJRGVvXkqQMPDzUkDEphBCUG7D2rsdhrl+ 0fZuUFXBy1i5rVD7JYr7xVZho94oJ4r8T+oMat3CGye9oDN+s5Ia5Y4fa T4cmSBU1sCSseShi9FuiOXbMZuLD03E4eIyklejO4sFR3Bn3NQAj0VIaR 79GylVooOWlUcXBQAQJUU52HDejd+DVlw6C6yjTUknMElndmMoTXe4DES h7w2kDLOLE3IyaIcPXeVfy6nArtoRJKXC+HESoYoD86yl5UGn4iZpdKAn g==; IronPort-SDR: 51fIwTWZrPDIWI4I2/8o84TWcu6c475mmQHC0B350yZlu9G6SaQqtgW4wCNSzik20LDVFG0wMC uOjhdY4faXo7SaS4cd7Zjy4PlnRxcq4fJdZ39hgwViJzxiuJ3ylnIk8jMXSKTRIqHFxFSgOoql a6ETLOHtHVYHwVfEEU/BfaM1sKLttjS5ryIVL1mWWGXhXwVf2orCFOD2mIg9uNN0NIUqt5Y/gd YLj60Gh8e3XidA9Bmv3JtEFogv91ulh9aU5r2H79aXO1lMOyU2EAPgAqhrm8iGUKB1/GB/crdD Zkk= X-IronPort-AV: E=Sophos;i="5.72,388,1580745600"; d="scan'208";a="244077017" Received: from h199-255-45-15.hgst.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 16 Apr 2020 03:54:41 +0800 IronPort-SDR: r2MTZIgYKd16wFwYsEpdbd2f8UDMBhPx1yX3kI9Z7d/z7XDLvPmJYp8ujlDM7DK5kt/Ks4rOOW 6yseG3mWyuLqWPdCtQ+sBVq3IFCVQ53ShN+MNGi/71/KcFbmMJasga5sAOiVkBIt2Biul2c/WH 33fpb3yaxMxoCjUl0eg7u+GRMSpkDtWIKFDutoxg+Cv8PzUZpDt/JRJ2QNVY6femAbqlCp5wRm l9p6Ov4BPNjjChSvkjLmXYkob+cLIdNaknh7e+zJ9wBDOIuYJ9cUkKnEBejeg9mVw+aRCUUyOn ZBMXnP7tATqH77zIQJwLqVzS Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2020 12:45:09 -0700 IronPort-SDR: knJxDpysSdXz1GAUcRumT6u3DQfuJKc6iXGu46uVx6L6yak8+KA0bLmLArXQGY0922X1ngMzDf vQnhFvlOMK4Bvry2PcsKAh2GOXYccYAGxa2yalQ+SUmw8/tqPAan7ZDULyBafUl6HbGby4Cwnb tiolgXLVo+J7AD1a2FBjHkCWFs81lfxedUY5YC+Wjl6qq52YwIvKJVv2/Xu+UR57l/VjRwSBMb rowNC+ZGuUjXkUKTuXO2prpj+3tXkmss1t6HXEnniWbkBOd9jx5mXLEWgLaJqN3QXAem8bXeTX 53w= WDCIronportException: Internal Received: from 6hj08h2.ad.shared (HELO jedi-01.hgst.com) ([10.86.55.244]) by uls-op-cesaip02.wdc.com with ESMTP; 15 Apr 2020 12:54:41 -0700 From: Atish Patra To: linux-kernel@vger.kernel.org Cc: Atish Patra , Ard Biesheuvel , Arnd Bergmann , Catalin Marinas , Greg Kroah-Hartman , linux-efi@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Masahiro Yamada , Palmer Dabbelt , Russell King , Will Deacon Subject: [v3 PATCH 2/5] include: pe.h: Add RISC-V related PE definition Date: Wed, 15 Apr 2020 12:54:19 -0700 Message-Id: <20200415195422.19866-3-atish.patra@wdc.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200415195422.19866-1-atish.patra@wdc.com> References: <20200415195422.19866-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 Reviewed-by: Ard Biesheuvel --- include/linux/pe.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/pe.h b/include/linux/pe.h index 8ad71d763a77..daf09ffffe38 100644 --- a/include/linux/pe.h +++ b/include/linux/pe.h @@ -55,6 +55,9 @@ #define IMAGE_FILE_MACHINE_POWERPC 0x01f0 #define IMAGE_FILE_MACHINE_POWERPCFP 0x01f1 #define IMAGE_FILE_MACHINE_R4000 0x0166 +#define IMAGE_FILE_MACHINE_RISCV32 0x5032 +#define IMAGE_FILE_MACHINE_RISCV64 0x5064 +#define IMAGE_FILE_MACHINE_RISCV128 0x5128 #define IMAGE_FILE_MACHINE_SH3 0x01a2 #define IMAGE_FILE_MACHINE_SH3DSP 0x01a3 #define IMAGE_FILE_MACHINE_SH3E 0x01a4 -- 2.24.0