Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp31796ybb; Tue, 14 Apr 2020 18:13:54 -0700 (PDT) X-Google-Smtp-Source: APiQypIaBBBuV96bLGAMX3iahzMYSve2YgDq3agsBnQmRELaCzvKrQLIdmxOZGbuJ3S5NBRqNA4U X-Received: by 2002:a05:6402:3124:: with SMTP id dd4mr23288531edb.359.1586913234665; Tue, 14 Apr 2020 18:13:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586913234; cv=none; d=google.com; s=arc-20160816; b=UZPE5ve74oHeHiKaLkjRiXeMIFf0LD3TxZo2hjVFGMfaLo/rWcfUPAWJDrueplMmPX s/6xJ1n/v/iRdbjShzFscl/OTABCIPX2PHJT/wj2cR2kbEIiEHHkveAG05eif6JAW+Te pPmpR2LCSmSxZOJDejvMLQld/wouTKqse2W31Z6zW0PcyuqfC1CZU1pcmOMz9tjLvqc7 sZdTH6+UyhW7dpBsicsTHEzHXxJSw/EpANZUqjqsB+30AWcjihDsO+XEk2K24TVQLy5S onGFnxWogwRAauxBfQCLiQ0PdCB8B3cI1JaSgz2l7Pb7TjOSOz7OmhGJuAeDbtNAi6kp uOTA== 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=ZIpIDaa010QKCQU+py9idVRMUXIy5uTflPeFuCnTgZ05/SgM1zB0OrY0DDY/BJE+qY dXfC2AIuqD/dMiWtHSh9r4JkvX0Evrzmkm634Kb+tKNUu4KAka2NNnDK+6FpUXHyeMtb BeThJcXHbrw9ZEi6Bx9vZXJsdMXDtPpq5aDnvGtw5oSKKQCpG7+DmhfViGj3E6tTWxOE dw5bTzPCoK6oHlZ016F4HTWZrD4RA0NEGHtdRQhqP9pPynrebYSogO2u1tu4hQynuJxH mq6XmZQ5DtGE39kNnRRwYbDPj+MTJFv/EndEvhanQN3EJ5HMOJ/87br9nW0lWruJjBYM 22vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=MLu70IUS; spf=pass (google.com: best guess record for 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 v23si5416928edx.80.2020.04.14.18.13.27; Tue, 14 Apr 2020 18:13:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for 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=MLu70IUS; spf=pass (google.com: best guess record for 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 S2389094AbgDMVaH (ORCPT + 99 others); Mon, 13 Apr 2020 17:30:07 -0400 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:20797 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389040AbgDMV3b (ORCPT ); Mon, 13 Apr 2020 17:29:31 -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=1586813371; x=1618349371; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=qT9c7eXt7ksLkS8LTzuMlCHOyGGyAUacpIVqI65fctQ=; b=MLu70IUS2hLE69xBtxf4HXYYqiqCJ90w8n1+FmW88Re/x94ThSHjswHK bp7s9W90OoJr6gfPFiOjZBPAC1DKJZ8FxjSAhxbLg4dHJrOloJpeNYFrn +T8wKZLrtWas9KB16rPV6bY8o74Q9U6+VRNzfzhIxCVvXSuMDC+m+r9m7 uwYJtUuj125fhUc8eWbBSgvouZX0ZzZvUa3k+Q7M9rQrKbI4+fgqksW4Q AHzVOk1KvXLrY4bYgSTjdj2UmC5Kd+z84rStAgTJE3D2xPKOxdmo5F6dn YpHAcOThfs9H0HDnuQvcOfGiIiIHzTfFOaYaVVC5P17nFw3BGXyrqyyG8 g==; IronPort-SDR: nO1ZchRJARMTrxNZe+PgS8g00BAg5iWqV5aVQyS1K2FiuY0XSg+TMivYXlxWacnuJ7BHFxh+Oi GBtM6C+ov+tgms68OgVyRuDXh5tO6acghjfFKiwF5xkMqDG9hUcnvQZ7bm1Ms/s0YyQzjj0BVy udmpLJAVenuzN66L375m0UFApkRVX0WZW/y30IBxSTUOHQa602sGMJuROVEkD1O3eUi+hfcovk 1u1Wq/M93Aly361bQPo56znF1QlyosBDNosfBlxW5dx4nhM5vwF9TWjfWz6bcp/jU3WHjEuQvh AOk= X-IronPort-AV: E=Sophos;i="5.72,380,1580745600"; d="scan'208";a="139583355" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 14 Apr 2020 05:29:30 +0800 IronPort-SDR: E+yvfvhXJbEhx/CJBD5D0zj3URslcIkkwYG2kUR8NYq7lgAAOOR5IXKoVweJWHWLFfTlK6S9E7 IXcAoo4FyCo786j/yMWuYE0lA6JzgZYpSWSFA/7Lrj1ho088J+JWhdwDdJnjgnUn1q0j7O0rn+ DtUrXFGqRh7+vchy/6wtt+h22IMn5K7D/mNipAcFyKKzqalt1IdwuboFXGltTrnF27vQ1Z7kdl /r2yZvX5M0LG9oIjdRYdWEFG4FHMhW6v58OWqwpgjrQbiaZab7oO3PZrBhkKSwjhOcgC/9lOiF Egv00Nxz5nqd5qJzb1ekxcyE Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2020 14:20:35 -0700 IronPort-SDR: 9G9nj2p0GT4YHZw2NCS5Fuwgbl/gAoRjzgFyJNSm5Lcn1NpB/1a46z/Nv8AljWcfv1LEgthoiw HQ4OPpp3BFp/21DWwQGdRZ5V26kUUtMlkny8vEd+BlAHg/uN/7p6R+m3zx7loxswaqt/FnF/Oe P6ZRbX+r7QcCgxG0UovpYsZJW9k4AUDuSdvPxf4ta9+KGGxh/Zmy97/uxm4CYNjPYg6ZRc+BAr 4gFQSVSiWGzxgCQ9Lk6/bwB90WBZZvPSQ5Mrl+frU+xteloZJgUJ8ArkHvwex4rdexUtILiskv Xqs= WDCIronportException: Internal Received: from 9dg4l72.ad.shared (HELO jedi-01.hgst.com) ([10.86.55.26]) by uls-op-cesaip01.wdc.com with ESMTP; 13 Apr 2020 14:29:30 -0700 From: Atish Patra To: linux-kernel@vger.kernel.org Cc: Atish Patra , Ard Biesheuvel , Arnd Bergmann , Catalin Marinas , Greg Kroah-Hartman , Ingo Molnar , 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: [v2 PATCH 2/5] include: pe.h: Add RISC-V related PE definition Date: Mon, 13 Apr 2020 14:29:04 -0700 Message-Id: <20200413212907.29244-3-atish.patra@wdc.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200413212907.29244-1-atish.patra@wdc.com> References: <20200413212907.29244-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