Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3749292ybb; Tue, 31 Mar 2020 11:13:32 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtWiUXCAdUSSc/PkJqH0rVmxFbGNhJwGkVxOeJ/R+L/Fb0HBrgcK/CmzNhaTRA4uox26aGl X-Received: by 2002:a4a:a442:: with SMTP id w2mr11339036ool.90.1585678412687; Tue, 31 Mar 2020 11:13:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585678412; cv=none; d=google.com; s=arc-20160816; b=nZUGlBXkVXRY52zy/ZLxPBq9s1pcoAB2GkyqKq+Cnop0gk+ClYtsKEj18llRBH9BWB K6oj1VsKWsSVQDlCk7duzzRrhyiqBbc/LiOuss8lrj6jb50MSCVKAhbiIUMOyh61kq2q 4nf/U0EZ6jv1EU1AzlIHt/P2+bv6I4H8g4irraF9gYUUYa5e8Lzo5ANz7jsTH+xVlcns aZuaxDGbEWvVy3kHXhLGgZxNPmyHKNjV9/lfm8+xXMgBiTH2R+4+UhLUydN9SuFWioDz f8zrhhBJ0ADlu4jBlg2zPu7/6WsG5sWklfki5StQVtMey0lVl2XqmC44fqv8bD6Ej/XP Dr2A== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=Bmx8g8cSt8yJedZ2YxF7U50mgcPztm8kVoJRBYZ+uhk=; b=Rx+aBp4xVlYWt6D0ojSqrSpXNbb8o02fBL8UEq+aEo1ANGJ1aGZKDDYb/Fgth3QYPa O1yn1UL3VtoQ3QBhs7Dnb6Qd0D9UEIO5TVj3qMSe0pZzHLQsIUaOckkgMN7uKihtV6qw C2d9hE7y3PtHE6RmPI+Pc/sMr3STr1oKVlXQMkeDE/elKEhGE5f5fRsxpBijwWUKp3kK iD+NsK19Zzn3CePMoZK2gr+iZfLvz8ewGQihd5t9ywEdDDDJGEQejFAZqAKmeuPge9qY IztY5uVzjVRehjMpelQ/Me44PhGL9h/kbMsZq//B/FXgT/ezOyLLLu/k6mPJpm/ybWke Ogow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x136si7178468oif.122.2020.03.31.11.13.18; Tue, 31 Mar 2020 11:13:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727226AbgCaSLb (ORCPT + 99 others); Tue, 31 Mar 2020 14:11:31 -0400 Received: from mx2.suse.de ([195.135.220.15]:58604 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725988AbgCaSLb (ORCPT ); Tue, 31 Mar 2020 14:11:31 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id E9855AC52; Tue, 31 Mar 2020 18:11:26 +0000 (UTC) Message-ID: <1585678285.30493.27.camel@suse.cz> Subject: Re: [tip: sched/core] x86, sched: Add support for frequency invariance From: Giovanni Gherdovich To: Chris Wilson , linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org, tip-bot2 for Giovanni Gherdovich Cc: Peter Zijlstra , Ingo Molnar , Doug Smythies , "Rafael J. Wysocki" , x86 Date: Tue, 31 Mar 2020 20:11:25 +0200 In-Reply-To: <158556634294.3228.4889951961483021094@build.alporthouse.com> References: <20200122151617.531-2-ggherdovich@suse.cz> <158029757853.396.10568128383380430250.tip-bot2@tip-bot2> <158556634294.3228.4889951961483021094@build.alporthouse.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2020-03-30 at 12:05 +0100, Chris Wilson wrote: > Quoting tip-bot2 for Giovanni Gherdovich (2020-01-29 11:32:58) > > The following commit has been merged into the sched/core branch of tip: > > > > Commit-ID: 1567c3e3467cddeb019a7b53ec632f834b6a9239 > > Gitweb: https://git.kernel.org/tip/1567c3e3467cddeb019a7b53ec632f834b6a9239 > > Author: Giovanni Gherdovich > > AuthorDate: Wed, 22 Jan 2020 16:16:12 +01:00 > > Committer: Ingo Molnar > > CommitterDate: Tue, 28 Jan 2020 21:36:59 +01:00 > > [...] > > Since this has become visible via linux-next [20200326?], we have been > deluged by oops during cpu-hotplug. > > <6> [184.949219] [IGT] perf_pmu: starting subtest cpu-hotplug > <4> [185.092279] IRQ 24: no longer affine to CPU0 > <4> [185.092285] IRQ 25: no longer affine to CPU0 > <6> [185.093709] smpboot: CPU 0 is now offline > <6> [186.107062] smpboot: Booting Node 0 Processor 0 APIC 0x0 > <3> [186.107643] BUG: sleeping function called from invalid context at ./include/linux/percpu-rwsem.h:49 > <3> [186.107648] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 > [...] > > repeating ad nauseam, e.g. > https://intel-gfx-ci.01.org/tree/linux-next/next-20200327/shard-hsw4/dmesg9.txt > > Across all our test boxen. > -Chris Hello Chris, thank you for catching this problem and sorry for the mess. Until your message I wasn't aware that CPU0 can be hotplugged, but now that I check the feature is been there since v3.8 :/ The code assumes cpu0 is always there and I need to fix that. It seems your report comes from executing an automated test suite, can you give me a link to the test sources and a hint on how to run it? I'd like to reproduce locally so that I make sure I correctly address this problem. Thanks, Giovanni