From patchwork Mon Apr 23 15:00:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 134017 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp1099305lji; Mon, 23 Apr 2018 08:01:17 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqU+fPCLKNXOhNmte4Zo7wDxuIYRm5i8w4QjAILKnyB/7AecPnLW/uAE9LwVzUYuw8/cBTj X-Received: by 10.98.174.19 with SMTP id q19mr606831pff.155.1524495677073; Mon, 23 Apr 2018 08:01:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524495677; cv=none; d=google.com; s=arc-20160816; b=t1sIuoq1yoEm3g5YpDOfremjmrRDouD7mThg2ac6lARs8Q3k/YVufLXkIt5zN83E9H 5cJYEqaugbkBlRoOnJKQCNsaRWLmDW36eqQ+3QfwD0o38eGde7zxkmiHK4RIdbOgOf0y 5EIZLf+kcTpbEUZ2XUbmgdGnMwl2luYqlVFTlnejPra7RIpuS+RfKFMChpprtMgQzTmP cBqwOa5RNQNIVkkbLAclg/GowwHOenpnxXiTmdwuQ08csxkELVppJ64okje97tIdFJ6g rC03rXXfQFcOA3QOmZmr5IJwBRWCNyAJyygdx0tGptqtXGBiQ2FZsB3agB4UoSnggDrs Nbxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=9lS6buYf7MzWJGIFSEuggjI1CvItKHGqnhPdkeuVrro=; b=NhvCvbMU36xA/Fsqohr13KDDpanK1zwYbRG7dVzHx3h2n4STtzNbEhOFQQGiVlPXCG 8vV3XgoZuct6ey305mCKdxrq1FvkCcuN94r5zQTtFImiEhsOeJ2U34/vMomBBaGwMQaV EfD0hzTtBuQuEr7K5KKN6EXLIcxHSc9ORZiEE0NBfJHXufH0n/cBeGQ8oXPk1VLDPEHT uuPA6VVysEh7DsmA5PEu/De7Qsk2ElZhdEP01zuwf8MdQaAy4Cqe2xrqByrA8fFy/huK PU4gz9mK55wwgEFsQSxlW7ROxZBimilhzmp1kU4daDRt8Rhh+4oFlEZrmAZXSgEIZSrU Wvag== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EMz26B1W; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id j23si10962926pfn.63.2018.04.23.08.01.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Apr 2018 08:01:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EMz26B1W; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 8784D226CD624; Mon, 23 Apr 2018 08:01:15 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org 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-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 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: [edk2] [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: , Cc: julien.grall@arm.com, lersek@redhat.com, leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Leif Lindholm Reviewed-by: Laszlo Ersek Tested-by: Julien Grall Acked-by: Julien Grall