From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web10.5673.1677196505855436099 for ; Thu, 23 Feb 2023 15:55:06 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=LjO3llSr; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: andrei.warkentin@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677196505; x=1708732505; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=In66YJ+IPoBVqRjH1QCT1jHudhPyffl01ZN2Fk2bN2Y=; b=LjO3llSr4lorOOyMQhsnHhI9c9JfborRV8TX0OVJ4nswZkXogmyppb0q yxptxH2BsjQtdXi2TcCUQScHybWBVLsZbKN92Pt9Zd5elxmYeTD3S7fcr q67Wjf1m7u0HxByVXkHSD6jygG4S1ivMNNU9YCiSGVT+acqeCtUoyRf+e O16cQTa9L3p8AVfxh+vHl7Wl65Pw24etehuX3Htf3Oy24RzXAOIwg7W1K pW2x5piN7hwplMl6STqN1dha/l3Xu1/0vAZ8rIbFqLhBUC4k6TIcmipu3 HerBL668ptwuzVMXqT66Emd/kSPxPCzcteJbyHB/u+B8KjSd5hQycoVAg g==; X-IronPort-AV: E=McAfee;i="6500,9779,10630"; a="321549886" X-IronPort-AV: E=Sophos;i="5.97,322,1669104000"; d="scan'208";a="321549886" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2023 15:55:05 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10630"; a="702984409" X-IronPort-AV: E=Sophos;i="5.97,322,1669104000"; d="scan'208";a="702984409" Received: from cywong-mobl.amr.corp.intel.com (HELO awarkent-mobl1.amr.corp.intel.com) ([10.212.53.4]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2023 15:55:04 -0800 From: "Andrei Warkentin" To: devel@edk2.groups.io Cc: Andrei Warkentin Subject: [PATCH 0/7] Assorted fixes to core RISC-V and RiscVVirt Date: Thu, 23 Feb 2023 17:54:47 -0600 Message-Id: <20230223235454.23556-1-andrei.warkentin@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Dear all, Please find the following patches for your reviewing pleasure. Sunil suggested I put these into a single patch set, instead of sending out these separately. This patch set is also available at https://github.com/andreiw/edk2-rv-wip Andrei Warkentin (7): OvmfPkg: RiscVVirt: add SATA support MdePkg: BasePeCoffLib: Allow AArch64 and x64 images in ImageFormatSupported MdePkg: BaseLib: don't log in RISCV InternalSwitchStack MdePkg: BaseCpuLib: Fix RISCV CpuSleep symbol name. MdeModulePkg: Dxe: add RISCV64 to mMachineTypeInfo UefiCpuPkg: CpuTimerDxeRiscV64: fix tick duration accounting UefiCpuPkg: BaseRiscV64CpuExceptionHandlerLib: clean up exception handling OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc | 7 + OvmfPkg/RiscVVirt/RiscVVirtQemu.fdf | 7 + MdePkg/Include/Protocol/DebugSupport.h | 32 ++- .../CpuExceptionHandlerLib.h | 11 +- MdeModulePkg/Core/Dxe/Image/Image.c | 3 +- .../BaseLib/RiscV64/InternalSwitchStack.c | 8 - .../BasePeCoffLib/RiscV/PeCoffLoaderEx.c | 9 +- UefiCpuPkg/CpuTimerDxeRiscV64/Timer.c | 39 +-- .../CpuExceptionHandlerLib.c | 232 ++++++++++++++++-- MdePkg/Library/BaseCpuLib/RiscV/Cpu.S | 4 +- .../SupervisorTrapHandler.S | 17 +- 11 files changed, 299 insertions(+), 70 deletions(-) -- 2.25.1