From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Google-Smtp-Source: AG47ELurFGIM/mvt+xXyF/sPykm9kwMrp6cm79dXwhQU1JVokuMH2QMSopaQ2BN8IaeUzmwWiYRjLw== 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 Cc: Heyi Guo , Leif Lindholm , Ard Biesheuvel , Marc Zyngier 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: [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: , X-List-Received-Date: Tue, 13 Mar 2018 00:25:32 -0000 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