Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp423722pxa; Fri, 21 Aug 2020 10:42:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3dN7qjM/KnQTRIcPOIhpz5DNMhDf7rce1GBQBDLxE6j0JShzP+0ASIQU9QLYcjkjR1apc X-Received: by 2002:a17:906:1392:: with SMTP id f18mr3713954ejc.521.1598031729556; Fri, 21 Aug 2020 10:42:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598031729; cv=none; d=google.com; s=arc-20160816; b=E7cGuKv6UdvS0Vut0g08YtZpRKfL238TwUdOpC32oNp16q4O9iYe8gRc4luYySTn5S /yScaOV6Fd7FhQjgfjzm+UHspIxAcV83kFnIladWMlHsAkPWrqRb1dM3C3dPAwil5eXP xFDMEBQMHMeLMqTaqArXodNHW5KPP3DR8n0IJtqp+84uqcUf54ex0KPe7KXmM+ynG4Af XSr52upUke3kK+SwFKIHzAy5bTo0g2bqyFoKtcarFUpsdoTOuiWq1sFi6Znivtl3zmYO xdubcXglb17TD5z5YlV9zKjsC2P9Mj6cyP4ye0o3eNYKPB4HLrC6PwKLs/ZhRsyzE6FK LCEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:autocrypt :subject:from:cc:to:dkim-signature; bh=mihfYYC8SErRkFuv/xknjhxSUQ3vHRwLS0YzkOG3FoY=; b=ckTP7FwRN5Ouudp0FuIgeli/DAcb5NDIHdX1N2a6U/wfEd7+T9sXWrtuhW/IyDFtLg LCNJUAXZ0MuKm+xPvwKsI46K84SCWBjQZSbKVlSVOxCjU12dGuwHwyVeaf0WIUlYLNDW zJeN1LFyDRKBDEwsylqgBYlSm11jM9AZNkPO2GVBv2YnARrBKGtmvoYNmvPNf9LVhPeK Wkmbk3CAPouyJN4hclQefpSJs5Qt+CbW4niNsJ2Y6rUIko6EEfTArvt6S97gpYzVT8lb e7fpQ7RH0xKJ8YeCzxUcWxhZSxxtXOtLqtFg3RD+Ti9I3hLyVQA25b8EIuDlQdeCCeqo Zdsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=M+LjCjnr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yh22si1991222ejb.583.2020.08.21.10.41.46; Fri, 21 Aug 2020 10:42:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=M+LjCjnr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726231AbgHURis (ORCPT + 99 others); Fri, 21 Aug 2020 13:38:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725820AbgHURir (ORCPT ); Fri, 21 Aug 2020 13:38:47 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97CBEC061573 for ; Fri, 21 Aug 2020 10:38:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date: Message-ID:Subject:From:Cc:To:Sender:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=mihfYYC8SErRkFuv/xknjhxSUQ3vHRwLS0YzkOG3FoY=; b=M+LjCjnrmD39cu7T6KthrGe3+1 hOq3TxehTzVVRe0OfzCBicaLYAXLhTVWynxOH/XsHqGyjzPCW6Gm1UNQLEcdLISk0/1KCarNYG8BR dfJwvhNOhi07KRN3kCxu9bDJTe0rl60GUhZy8KA8tifILGs/4VUIV1AxkO9O2FMK6Cks=; Received: from p5b206497.dip0.t-ipconnect.de ([91.32.100.151] helo=nf.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1k9B00-0000Pt-K1; Fri, 21 Aug 2020 19:38:44 +0200 To: Thomas Gleixner Cc: Linux Kernel Mailing List , linux-arm-kernel@lists.infradead.org From: Felix Fietkau Subject: perf regression after "genirq/affinity: Handle affinity setting on inactive interrupts correctly" Autocrypt: addr=nbd@nbd.name; prefer-encrypt=mutual; keydata= xsDiBEah5CcRBADIY7pu4LIv3jBlyQ/2u87iIZGe6f0f8pyB4UjzfJNXhJb8JylYYRzIOSxh ExKsdLCnJqsG1PY1mqTtoG8sONpwsHr2oJ4itjcGHfn5NJSUGTbtbbxLro13tHkGFCoCr4Z5 Pv+XRgiANSpYlIigiMbOkide6wbggQK32tC20QxUIwCg4k6dtV/4kwEeiOUfErq00TVqIiEE AKcUi4taOuh/PQWx/Ujjl/P1LfJXqLKRPa8PwD4j2yjoc9l+7LptSxJThL9KSu6gtXQjcoR2 vCK0OeYJhgO4kYMI78h1TSaxmtImEAnjFPYJYVsxrhay92jisYc7z5R/76AaELfF6RCjjGeP wdalulG+erWju710Bif7E1yjYVWeA/9Wd1lsOmx6uwwYgNqoFtcAunDaMKi9xVQW18FsUusM TdRvTZLBpoUAy+MajAL+R73TwLq3LnKpIcCwftyQXK5pEDKq57OhxJVv1Q8XkA9Dn1SBOjNB l25vJDFAT9ntp9THeDD2fv15yk4EKpWhu4H00/YX8KkhFsrtUs69+vZQwc0cRmVsaXggRmll dGthdSA8bmJkQG5iZC5uYW1lPsJgBBMRAgAgBQJGoeQnAhsjBgsJCAcDAgQVAggDBBYCAwEC HgECF4AACgkQ130UHQKnbvXsvgCgjsAIIOsY7xZ8VcSm7NABpi91yTMAniMMmH7FRenEAYMa VrwYTIThkTlQzsFNBEah5FQQCACMIep/hTzgPZ9HbCTKm9xN4bZX0JjrqjFem1Nxf3MBM5vN CYGBn8F4sGIzPmLhl4xFeq3k5irVg/YvxSDbQN6NJv8o+tP6zsMeWX2JjtV0P4aDIN1pK2/w VxcicArw0VYdv2ZCarccFBgH2a6GjswqlCqVM3gNIMI8ikzenKcso8YErGGiKYeMEZLwHaxE Y7mTPuOTrWL8uWWRL5mVjhZEVvDez6em/OYvzBwbkhImrryF29e3Po2cfY2n7EKjjr3/141K DHBBdgXlPNfDwROnA5ugjjEBjwkwBQqPpDA7AYPvpHh5vLbZnVGu5CwG7NAsrb2isRmjYoqk wu++3117AAMFB/9S0Sj7qFFQcD4laADVsabTpNNpaV4wAgVTRHKV/kC9luItzwDnUcsZUPdQ f3MueRJ3jIHU0UmRBG3uQftqbZJj3ikhnfvyLmkCNe+/hXhPu9sGvXyi2D4vszICvc1KL4RD aLSrOsROx22eZ26KqcW4ny7+va2FnvjsZgI8h4sDmaLzKczVRIiLITiMpLFEU/VoSv0m1F4B FtRgoiyjFzigWG0MsTdAN6FJzGh4mWWGIlE7o5JraNhnTd+yTUIPtw3ym6l8P+gbvfoZida0 TspgwBWLnXQvP5EDvlZnNaKa/3oBes6z0QdaSOwZCRA3QSLHBwtgUsrT6RxRSweLrcabwkkE GBECAAkFAkah5FQCGwwACgkQ130UHQKnbvW2GgCfTKx80VvCR/PvsUlrvdOLsIgeRGAAn1ee RjMaxwtSdaCKMw3j33ZbsWS4 Message-ID: Date: Fri, 21 Aug 2020 19:38:44 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thomas, after updating my MT7622 ARM64 device from Linux 5.4.52 to 5.4.59, perf stopped working. Whenever I started it, I got an IRQ storm on the second arm-pmu IRQ. After some digging, I figured out that reverting commit 9f8d3d2f79ba189ecc122d214d32396e5737963b ("genirq/affinity: Handle affinity setting on inactive interrupts correctly") made it work again. Without the revert, the IRQ storm triggered on CPU0 (no interrupts on CPU1). With the revert, IRQs fire normally on CPU1 and perf works again. It seems that setting the IRQ affinity for the arm-pmu IRQs does not work anymore. Please let me know if you need me to test anything. - Felix