From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::243; helo=mail-wr0-x243.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x243.google.com (mail-wr0-x243.google.com [IPv6:2a00:1450:400c:c0c::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id AD0292277AF25 for ; Mon, 23 Apr 2018 08:01:14 -0700 (PDT) Received: by mail-wr0-x243.google.com with SMTP id d1-v6so42165901wrj.13 for ; Mon, 23 Apr 2018 08:01:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=8ewCN/w5kFkJLJxdHcDw0naeaiMOd8YOcNaCsTRzPNw=; b=EMz26B1W6kvBCQ/dSU0BttcgqMV12fIdim8Cd6fDHyYSEF5yZCRS/gbHMyk0/29uy2 b6aiG575XMptq7ZjOATl9aVTgA4qrAEH4sfVn1Ej5wExervTAa0Fl7eAOCJ5mQrXqFec KkHbBxMLRK+DcvrvQ/8DVNt3kn/ErBVTPBsF8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=8ewCN/w5kFkJLJxdHcDw0naeaiMOd8YOcNaCsTRzPNw=; b=PWcRjwirJP52aPd9OvYBOgqXtPj46miGEYzgX3pWRt8YgaLeuf8dICC4Iikhsc+NTY g/PXWVSmraDHwtCZ5FIomfepqsFIJRHKSdeFX6E7s7if3UWAmzghRYQSqUacA279Yv/o Lcvw5M+HLsge4t6iU4UjJRdWSG1RjH/rewyt6RBD3IA8FEvR501eClT80SHcUePr+wwW 7QoUGoXIgwWguQkOZXcHPseA5EOwcjxHsHvrRX0oRveLn0aglTuaB6rx++cJFdhOJGkg VcyZf19jWeCUaKHv26zlxS3YdA5i75FS+9moXWUIGciC+FJrq5j5IlXL381+ORElChUY VMIg== X-Gm-Message-State: ALQs6tCBJAKYxUeF8c+HUcLAU+nubm+zVqr6GZ8jZP9R6KsVwogCttkD Fvs4I1XTalzZgIQgw64AgbauQtBjMvs= X-Google-Smtp-Source: AIpwx4/JiMT3NwvbWY4hqNao4BfOJpPFUVHQcCyQXBazRkazkta/ljcioecubZlABdZRwEQJPzM02Q== X-Received: by 2002:adf:a690:: with SMTP id t16-v6mr17514873wrc.1.1524495672325; Mon, 23 Apr 2018 08:01:12 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:3995:5470:200:1aff:fe1b:b328]) by smtp.gmail.com with ESMTPSA id y101sm8955460wmh.10.2018.04.23.08.01.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Apr 2018 08:01:08 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, lersek@redhat.com, julien.grall@arm.com, Ard Biesheuvel Date: Mon, 23 Apr 2018 17:00:55 +0200 Message-Id: <20180423150057.13515-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.0 Subject: [PATCH 0/2] Reenable timer mask quirk for Xen X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2018 15:01:15 -0000 Reinstate the timer mask quirk for Xen that we recently removed under the assumption that only ancient KVM host implementations still needed it. Ard Biesheuvel (2): ArmPkg: add reenable hook to ArmGenericTimerCounterLib ArmVirtPkg: reinstate timer unmask quirk for Xen ArmPkg/Drivers/TimerDxe/TimerDxe.c | 1 + .../Library/ArmGenericTimerCounterLib.h | 6 + .../ArmGenericTimerPhyCounterLib.c | 8 + .../ArmGenericTimerVirtCounterLib.c | 8 + ArmVirtPkg/ArmVirtXen.dsc | 1 + .../XenArmGenericTimerVirtCounterLib.c | 146 ++++++++++++++++++ .../XenArmGenericTimerVirtCounterLib.inf | 33 ++++ 7 files changed, 203 insertions(+) create mode 100644 ArmVirtPkg/Library/XenArmGenericTimerVirtCounterLib/XenArmGenericTimerVirtCounterLib.c create mode 100644 ArmVirtPkg/Library/XenArmGenericTimerVirtCounterLib/XenArmGenericTimerVirtCounterLib.inf -- 2.17.0