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::22f; helo=mail-pl0-x22f.google.com; envelope-from=heyi.guo@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl0-x22f.google.com (mail-pl0-x22f.google.com [IPv6:2607:f8b0:400e:c01::22f]) (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 824662264D23C for ; Sun, 11 Mar 2018 23:47:54 -0700 (PDT) Received: by mail-pl0-x22f.google.com with SMTP id c11-v6so8843200plo.0 for ; Sun, 11 Mar 2018 23:54: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=B+LkhFzcyywlCvL2hyM9BGqVgtw6r6lUkDrUqBVLRBM=; b=LMDXdlK0xIjwYaOx5JIYWWZ7QaQNTKgo1dYcie9B2wyHhPaxvJVOzJzF4UiW0VRcXK W5Yd8nao7vGIOgQJyI1U8ReIT6xc1tQMGTYN4Xin+woMI6jXSwHoyvg19Dy1XW7vQz1E rEODaKJpLfCGwWJMCh1I4oJd6RG/bTZfTxpP8= 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=B+LkhFzcyywlCvL2hyM9BGqVgtw6r6lUkDrUqBVLRBM=; b=JlYfkXuUZoex0y1T7TQzf5DVXsT4KruJN6Wqg3P4K5AHXrOHWc7VlztJuznK0YhPQc /NSfWOdvs07NqU2S/JPT297X5M5znCfa6CxS/6pfLW7O9hwtO3lGQSK5DRfVWu2oynXL XLqad2DUyuyfhfj8cLOPyMzghc0F2bL7fXc+P24r1aa1w95sWC8Rg0AXKbgNtVUSkzoL j50ea+n/W6W8Q+UsQ95G1dF7zrWL7mrCngBGvE8Bwt7tY/PGqjQs6x4rKW5AExIYEaKD QTzew8E0KTzjHIecQ1VJsBmUSjY1N8gtSS83kk7ek3pGeLQGkFkzU+NMr2+CCya/MRnl Uj8w== X-Gm-Message-State: AElRT7FoqBwNMyb3NiF8XW586Wi6iJRV9wgnE3Q8Z/UQX4X4NRK9Jgrg 70sdsEXYfLHLWeu8cGMfvsiU/Iy4/bo= X-Google-Smtp-Source: AG47ELug26tyYehtQZ6vzmt4pErwhv0CBYWHfybCqAS7z/Bb1m3b2h4X38b/NTOFCEB18BR6rACG3Q== X-Received: by 2002:a17:902:b904:: with SMTP id bf4-v6mr6943717plb.195.1520837654039; Sun, 11 Mar 2018 23:54:14 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.76]) by smtp.gmail.com with ESMTPSA id m9sm15357348pff.143.2018.03.11.23.54.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 11 Mar 2018 23:54:13 -0700 (PDT) From: Heyi Guo To: edk2-devel@lists.01.org Cc: Heyi Guo , Leif Lindholm , Ard Biesheuvel , Marc Zyngier Date: Mon, 12 Mar 2018 14:53:30 +0800 Message-Id: <1520837611-94728-1-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH 0/1] ArmPkg/TimerDxe: Add DSB 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: Mon, 12 Mar 2018 06:47:54 -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 "DSB" after reloading timer compare value, and we think that it makes sense to do that. Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Marc Zyngier Heyi Guo (1): ArmPkg/TimerDxe: Add DSB for timer compare value reload ArmPkg/Drivers/TimerDxe/TimerDxe.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4