From nobody Sun Sep 14 20:27:15 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5CC5C38147 for ; Wed, 18 Jan 2023 15:02:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229702AbjARPCr (ORCPT ); Wed, 18 Jan 2023 10:02:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230031AbjARPC2 (ORCPT ); Wed, 18 Jan 2023 10:02:28 -0500 Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0412942DF7 for ; Wed, 18 Jan 2023 07:00:40 -0800 (PST) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-4bdeb1bbeafso360135547b3.4 for ; Wed, 18 Jan 2023 07:00:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=LyLfN4Mi1/PXpiir6MvuChlkwaHrtK328hAazNCRUWM=; b=lvY1l95mtOX1zPjOduSsS1/6e+L7oILtmQromeN396Bzr2XI2LSAjV9ANA0g1/grex SrOMRCWIPq64bbTQccHWbXTipNbs/LX5cYWqUM22+qU8+xDhg3UPXQ6e66s7ogYSkfKa VeTPY7D0/evXvT6OfsfhCLDNWlqRuB7sjlZQF5/YaTlu6CN7YcMuEAmLPV4mk3uR2luY fw14CNFEwJTHbS6cT+6fHWVQDqSHunzp0VUxenUYy9quYkuJ7ngyMhfpxh6u/TSs/LTb HjBuf3aRQwZx1NgFbuhBDWi+Gl2INpRekpLRDOGJi6aP8pgOoxuTHSrmh0CUrMTFHlRj Fohg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=LyLfN4Mi1/PXpiir6MvuChlkwaHrtK328hAazNCRUWM=; b=G5rWFUC/1H5uqWArNPJVJRHVg9qK54B37Zbd79ZWYQt9mF/XQcQz9NtG7Wplek9TKF PGBT9Fl/43JrPL00DVZmmurSpOo6JfvoZ7wwyF5GqNo3ZUz88/4EXOItaKIjBlLO4i7Y YS2pnngaEkSR9nR239jQYKPW7clcGpSn1kQbHq2XeLeYs407nsJxp7Dm+anqQVN7/6Vk QoS4HCud2kJzipTlKtYHhrJO+yeQC2zqL6iRmoJPaJ7exFsThOygWOBqqzO48t0qlFNR zmqFHYgrqIiolXQc5RSTObugwPJ3Eldbm4qYfG7GPfQkHdIC5mwL1GadyxWeEcppUh3u i31A== X-Gm-Message-State: AFqh2kqFVb1LdjAYndyQXp7GLFaOrm7s0eB5Cbkd35hs4k5J85DxQ2L6 N5yzbN+l/vTiml38BRXJLuLsg3GC6RSB X-Google-Smtp-Source: AMrXdXsHf3zFoA2FXf6XVZ/0Vm8PsQPJzCSEQ911YS5cm4bZMzNTvAEM4Katw8ZuMuJZd9JeS7fNPQRTW5uO X-Received: from aaelhaj2.cam.corp.google.com ([2620:15c:93:a:627e:ad17:ff9a:fd16]) (user=aaelhaj job=sendgmr) by 2002:a81:cc2:0:b0:4db:3866:6fa6 with SMTP id 185-20020a810cc2000000b004db38666fa6mr855980ywm.44.1674054039221; Wed, 18 Jan 2023 07:00:39 -0800 (PST) Date: Wed, 18 Jan 2023 10:00:30 -0500 Mime-Version: 1.0 X-Mailer: git-send-email 2.39.0.314.g84b9a713c41-goog Message-ID: <20230118150030.2079226-1-aaelhaj@google.com> Subject: [PATCH] arm: dts: aspeed: tyan s8036: enable kcs interrupts. From: Ali El-Haj-Mahmoud To: Rob Herring , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: aaelhaj@google.com, osk@google.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" When the BIOS is built with kcs interrupts enabled, not enabling interrupts on the BMC results in very poor IPMI performance. The other way around (BIOS with interrupts disabled, BMC with interrupts enabled) doesn't suffer degraded IPMI performance. Enabling interrupts on the BMC covers both scenarios, and should be the default. TESTED: manually verified IPMI performance when BIOS is built with and without KCS interrupts. Signed-off-by: Ali El-Haj-Mahmoud --- arch/arm/boot/dts/aspeed-bmc-tyan-s8036.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-tyan-s8036.dts b/arch/arm/boot/dt= s/aspeed-bmc-tyan-s8036.dts index 708ee78e4b83..f6c4549c0ac4 100644 --- a/arch/arm/boot/dts/aspeed-bmc-tyan-s8036.dts +++ b/arch/arm/boot/dts/aspeed-bmc-tyan-s8036.dts @@ -364,6 +364,7 @@ &kcs1 { &kcs3 { status =3D "okay"; aspeed,lpc-io-reg =3D <0xca2>; + aspeed,lpc-interrupts =3D <1 IRQ_TYPE_LEVEL_HIGH>; }; =20 /* Enable BMC VGA output to show an early (pre-BIOS) boot screen */ --=20 2.39.0.314.g84b9a713c41-goog