From patchwork Tue Mar 13 00:31:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 131399 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp108914ljb; Mon, 12 Mar 2018 17:31:56 -0700 (PDT) X-Google-Smtp-Source: AG47ELshl7zG3XimDlD9nfCtGbAlTJl+1o4G2psTXbrobqzDNYfL0Ot6S0dRxxh9sXfsJC1QKSBa X-Received: by 2002:a17:902:68c4:: with SMTP id x4-v6mr3733126plm.198.1520901116296; Mon, 12 Mar 2018 17:31:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520901116; cv=none; d=google.com; s=arc-20160816; b=SM2cBjW+2CEPj46MmsKdJ5d4tWyhfUtHV+xTi6o4IlTkw6L7/kzhsC1vMy+lcuRjvz d+nHDcGLrh4QHxlfOsQSwyLeITx4KhjzQTGp1sszrmCkSX84f3hAbcf6/rBtZjiiWM4j kvZ3I8b8jOw75/M+xbiEppLYq7yvR2o4HmmBKIGjN2wsb1v9nof6JoZhjQLCLf3sjmsC PUGFU0KsygyYKtOLDXFc32VsibVeVIoSRsPVjUyieIMrgWZfZqN8tVkOABzlU3JwM/nU DuRFAgxlzM/fWAEMsVCup9ggLUBzxlHQyH3FTBiccg/3Ded0KqjZDYJkjG+uHRy1iN8U rXAg== 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=fQ6SThNGfhd0VrF4ppYneKGE5o3YYLCDNEK5LbTfiJM=; b=P42INdyn3dVqGwn1q+jg4B8BLaasqtxb/OiSPkv2zJKsIrdWzJMbrB41W8Fx3Ctm+v kwf5/YiUpJuQ29x0KbyOq76XUjLpNgQ5KcNiuNL2K5P8JFC086xJM0JyQAvm0+TJbbw9 f7ol9Xf/2QyIo7wSfzyauEG/kPHBVwt2Jc8UX7PQKHioN5Qqy/nW90D79RLgloUTiMGa o3sQITl4VpP72aXCe6W/qArHLBJNlTT55kQwbVm4dMZ5+4+jzNUxd5lCrTUE1AnqOaXQ 25K4jnYzZnq4EIIGqM5ayZhCJWloGo1mbWX4Lv6lqmWCmCEqkrlO5PtYPzVShjPCIikj ++tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=g5YwTjYw; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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. [198.145.21.10]) by mx.google.com with ESMTPS id u3si5743202pgo.349.2018.03.12.17.31.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Mar 2018 17:31:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=g5YwTjYw; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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 8F34522135D55; Mon, 12 Mar 2018 17:25:33 -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=2607:f8b0:400e:c01::236; helo=mail-pl0-x236.google.com; envelope-from=heyi.guo@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl0-x236.google.com (mail-pl0-x236.google.com [IPv6:2607:f8b0:400e:c01::236]) (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 9E5A322135D55 for ; Mon, 12 Mar 2018 17:25:31 -0700 (PDT) Received: by mail-pl0-x236.google.com with SMTP id f23-v6so10333052plr.10 for ; Mon, 12 Mar 2018 17:31:52 -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=RWbJiYZdcCdP8XgYTKWFKTep8rXtGWoxGU9qoYBosAE=; b=g5YwTjYwWCKQ5ySgw3oo+rfM+nWzDw7QfujN6fz5gE/OIkuJcewpdFO9AWbi3gii1P ZbwXobGAH3+fTsk3nGVfiyT1mw5XyS/fd6Kp7atzDTbInTsRrRr4tCB38BLd58xaXtRJ Koo/7+2aRLbuFtTkNC4Fecmg7pxZUR+Nhun9A= 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=RWbJiYZdcCdP8XgYTKWFKTep8rXtGWoxGU9qoYBosAE=; b=UTyXJ5IR9tIlC+BhMl92zZo91xwq0+pGerlrAhijEw7XDz03HBokaSFcNi+CdRoK/Q 0PIA2QIu+ebTlXmoqGtoyjhzBVhxOFDQ/zF+ZyYQO6K5E18BxRorfInlp0jt+0T2LlS9 ew0TtSvf9gn1r5e77eHyi+WvnTFeXLgTQqiQk9tIzrvn3bWDVolcNViSebT4Ml0OUE0m nYHGiu186M/fdXwK79IsFMv3XY0oI/shph5l9+wGxcfGP4eFGkDysTPKLh+GX5Hu66Dh qmZw4/U0GI3bFccYkbrRDSJGLxug4A7hu7HFYHFNpCs7bJA/YQhO7dkLu111A0Zz/Jfl Bufw== X-Gm-Message-State: AElRT7ECBg48N4k70B2F9RU7O8I5xfnfI84u7QK0f/WO7QX7DY7R8V8j zNdCBB7sNO9clWF7ULmGha6Knk4vmiM= X-Received: by 2002:a17:902:744b:: with SMTP id e11-v6mr7129216plt.351.1520901112287; Mon, 12 Mar 2018 17:31:52 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.76]) by smtp.gmail.com with ESMTPSA id p3sm16104145pga.45.2018.03.12.17.31.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Mar 2018 17:31:51 -0700 (PDT) From: Heyi Guo To: edk2-devel@lists.01.org Date: Tue, 13 Mar 2018 08:31:29 +0800 Message-Id: <1520901090-96694-1-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH v2 0/1] ArmPkg/TimerDxe: Add ISB for timer compare value reload X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marc Zyngier , Heyi Guo , Leif Lindholm , Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" After rebasing to edk2 commit 5e3719a, we found D05 would hang after printing a lot of "Spurious interrupt" messages. The issue would gone away if we restored the removal of "enable interrupt source": gInterrupt->EnableInterruptSource (gInterrupt, Source); It can also be fixed if we add a "ISB" after reloading timer compare value, and we agree that it makes sense to do that. Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Marc Zyngier Heyi Guo (1): ArmPkg/TimerDxe: Add ISB for timer compare value reload ArmPkg/Drivers/TimerDxe/TimerDxe.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel