From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) by mx.groups.io with SMTP id smtpd.web10.6314.1678882757911539293 for ; Wed, 15 Mar 2023 05:19:17 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=7igDIQGu; spf=pass (domain: rivosinc.com, ip: 209.85.216.45, mailfrom: dhaval@rivosinc.com) Received: by mail-pj1-f45.google.com with SMTP id cn6so6002398pjb.2 for ; Wed, 15 Mar 2023 05:19:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; t=1678882757; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=hpVUukozbdnxdPootdW9h5QfyDuNJY84XmmfhNj+mPQ=; b=7igDIQGufd0YiYpy2AgCvxoSkEguWldtVswAd71fr8vjw+8eOzXcga1On3gdZO4bPb 0+SpNdzhthegQnvFW7nOK62xMnGvKbmuruYjOpUUduplabYWQRdAKtr5JO8GLChiXzj/ PSbHre72B397l8YaidHGcKU45L6nFZdTAtHVLWfxnrp+bnVFSkVf9n857UgUsmL8IdpD rnLOOwmgpLaL+VLj0cKz6q+CI53XpaVL1ZKLhxr5dwFJTpCA8Ul849gT3XsDOe8cbcKq b7TSYa0orYeEeik+Y2aaOv49COrsxHsyDD8OhDiTgxSnvdd7GWzPXHO9IcC8R7EnUp0L 9KrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678882757; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hpVUukozbdnxdPootdW9h5QfyDuNJY84XmmfhNj+mPQ=; b=qBoIbUhi31l0/ExTN8ayqtV9OX2d9KytyupZb0UdAfbhKDSelV8+8Hgv/x/u9+TAWD at3Pe0PWHEec9/Cfe9RtIvhmuOY1gF8pObPP2PO7uH+GrraZWDd98Ih/Wd3rFh0Ca4z3 kGpS2hlgh+wF3Xu5i6qVJDtNY+LP2Ak+jMlWDPnHSEQ2R2XLprk8lkWkb69qho9J6+j2 PI9RGGyi83kImSLIQEcumB3onhMO8YdnU6JaVqkdKg3Xs8EIte+zEnxitqZH7v96NVIt 9OlRFj7kHp6ft1w4rGv4BG4q4cnASPdnAPDCYuUlGtpsW1oHL3Z3JSFspruoznwxDRI6 Xzyw== X-Gm-Message-State: AO0yUKVIlvRVsXgOPBwMt8jxPVwJu3a0qMX0DJT8Fi/ofoQhExK1wiPW zhSkqRaTuyLBeXNZZd5r0kk3IjsM4MIn2cvjTg89Bg== X-Google-Smtp-Source: AK7set/BoXeTszmXa0tcp05sdHAgndFOW0bqEpU5l1vZF7Wj2HWNjyFACFOV+qlZkr2BuzpgIwvCRQ== X-Received: by 2002:a05:6a20:144d:b0:cd:c79:50e8 with SMTP id a13-20020a056a20144d00b000cd0c7950e8mr49858100pzi.62.1678882757077; Wed, 15 Mar 2023 05:19:17 -0700 (PDT) Return-Path: Received: from dhaval.ba.rivosinc.com ([171.76.81.12]) by smtp.gmail.com with ESMTPSA id d13-20020aa7814d000000b005dd98927cc5sm3382239pfn.76.2023.03.15.05.19.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Mar 2023 05:19:16 -0700 (PDT) From: "Dhaval Sharma" To: devel@edk2.groups.io Subject: [PATCH v4 0/2] Upl remove arch spec initialization Date: Wed, 15 Mar 2023 17:49:11 +0530 Message-Id: <20230315121913.119025-1-dhaval@rivosinc.com> X-Mailer: git-send-email 2.40.0.rc0.57.g454dfcbddf MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Looking at adding support for Risc-V for UPL. In the process realised there are several initialisation sequences which need not be part of common UPL entry flow. The flow should be agnostic to both BL and Arch with required hooks provided along the boot path. This patch set addresses 2 such instances related to 8259 interrupt and FP programming. To be on a safer side for now just moving this init to arch folders. branch: https://github.com/rivosinc/edk2/tree/upl-remove-arch-spec-init-v4 Dhaval Sharma (2): UefiPayloadPkg: Remove FP Init from UPL entry UefiPayloadPkg: Move INT prog outside common flow UefiPayloadPkg/UefiPayloadEntry/Ia32/DxeLoadFunc.c | 9 +++++++++ UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.c | 9 --------- UefiPayloadPkg/UefiPayloadEntry/X64/DxeLoadFunc.c | 9 +++++++++ 3 files changed, 18 insertions(+), 9 deletions(-) -- 2.40.0.rc0.57.g454dfcbddf