Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4221726ybx; Sat, 9 Nov 2019 11:24:11 -0800 (PST) X-Google-Smtp-Source: APXvYqxw9OIZfxk9DZdhblRahm2/Zhv+/cy/lyzNq9SXRahbpV1j5etD/GgNmFeilnAM6VLCUszK X-Received: by 2002:a17:906:3ec8:: with SMTP id d8mr15235516ejj.55.1573327450885; Sat, 09 Nov 2019 11:24:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573327450; cv=none; d=google.com; s=arc-20160816; b=gNwzxEqEDGOaQE5qgnLNrMGSsRFIB2uC+DusZLTIHqMi7xRIu07EO4bmLTtBCy+fnm nmg8aftxrl8nIKm9OcOcAM3AbZMyVqZ+9HG1r1u7c9Yt/goi1MfQaiaE7M311QXFIy6f gPxCN8NuiLqwH6CRy9djPA1Q/GuSX5Z91j+W/GVkK0Po6h9lsaAtVCvFWM1HKd2CMq9t AeEco3BmXcOPTSlRMvINyNxul15GLxw2ilVxvKb1tO6BtW9Z09oyJGgrSrloPkpnb3M9 mtbcXGBYy248ZxN04ht6nMy88nql1hGjJ8jRIdf5GgNqTuS2+lsreBFfDBRx94D4YJnc 7vbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=MkH89WBzNu1RX65KEpd7wgGkq9IjrOpUII7CjYIWD7Q=; b=Mwc0CXWZL+ABWK5B27034+G/x2gmac46Rsr86eVOb9otnXfpaSKKOXOgBwYBLJHN+G lYHqup6DoJ1/SewGHkcLiQT69JYs8Z9SPCbidphDdgmkjMUbrEKZ1xPjyAKLM9GB7LuQ ip1T+EHgdbvdhvZkxCfXs9pA/HCq0jNmmqWVWicZxpmVhwPLwn777vcdSrFmPLbXLNOl ffjmbHB5oTRrH87YfVTSdya9RgM/VobpYXVxxeFBCnRKmuxmcW9n3DQyfnkI5goY81Jl z4ZVkPH8flaSe4B306/5ZLVfZFbtwl6/4Z2+GG3TVGcrwrhCnDP35UMk64fN53sO9Do+ JvJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Yx8JTiSU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x37si8055225edd.228.2019.11.09.11.23.47; Sat, 09 Nov 2019 11:24:10 -0800 (PST) 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; dkim=pass header.i=@chromium.org header.s=google header.b=Yx8JTiSU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726441AbfKITVA (ORCPT + 99 others); Sat, 9 Nov 2019 14:21:00 -0500 Received: from mail-il1-f195.google.com ([209.85.166.195]:34753 "EHLO mail-il1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726240AbfKITU7 (ORCPT ); Sat, 9 Nov 2019 14:20:59 -0500 Received: by mail-il1-f195.google.com with SMTP id p6so8174136ilp.1 for ; Sat, 09 Nov 2019 11:20:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MkH89WBzNu1RX65KEpd7wgGkq9IjrOpUII7CjYIWD7Q=; b=Yx8JTiSUcJDTDqeV3JVqYyR8mb11sdfgDH3KPlIJpVSaAEotIGmprjGixANdnPex4g pIs8vrUy87i6mT5L5tHi2oIioAsuUdd7d5Aj3pIZoUS92kclX6r76i5cDjqlujc/WhcX A0I0bpGuBFQ1qIPoACyLBYKW8vkRuLumYNpws= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MkH89WBzNu1RX65KEpd7wgGkq9IjrOpUII7CjYIWD7Q=; b=TJB5Cmk7dEK2Gi43Zsij234RvNUZwot85B5YWQLgOQItZmDXzVtVYX2newgJRcyDl6 WoQmm0aEye2AxwhsiUIBbg/t8TpYzvyviGnGlD75DnAVdKVqkNQ3nCRXZq4rg2YCLbsk gaD0JQhPPn+42yffL0BHIv26tR11MPrY5Xm70mfy8yKK6Gf1IEBowWau3Gfk+b67gVQB hCc8LCebTXo+NTxK/FFTteDDC+BnvncD7DQphJ323Whx/0wUgsffZpYaVzNTlueM3XOw t1IGFABfu5rV7avB+niF/spaFzMOtLjg51WO4EEqjU/RLSo0QhvMHtWuB/s5SIF8z2HW RViQ== X-Gm-Message-State: APjAAAXO0WiBmJNbuy0fQTQAH3BVDrOWBlyEpH46HHoO1m9OfRSG7fJo KIPvx+LfrAWxZwVvCEyuRcd8RsinLp8= X-Received: by 2002:a92:99ca:: with SMTP id t71mr19965324ilk.61.1573327257128; Sat, 09 Nov 2019 11:20:57 -0800 (PST) Received: from mail-io1-f43.google.com (mail-io1-f43.google.com. [209.85.166.43]) by smtp.gmail.com with ESMTPSA id b9sm1361893ilq.46.2019.11.09.11.20.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 09 Nov 2019 11:20:56 -0800 (PST) Received: by mail-io1-f43.google.com with SMTP id i13so8612603ioj.5 for ; Sat, 09 Nov 2019 11:20:56 -0800 (PST) X-Received: by 2002:a02:7158:: with SMTP id n24mr18296678jaf.127.1573327255569; Sat, 09 Nov 2019 11:20:55 -0800 (PST) MIME-Version: 1.0 References: <20190925200220.157670-1-dianders@chromium.org> <20190925125811.v3.3.Id33c06cbd1516b49820faccd80da01c7c4bf15c7@changeid> <20191007135459.lj3qc2tqzcv3xcia@holly.lan> <20191010150735.dhrj3pbjgmjrdpwr@holly.lan> In-Reply-To: From: Doug Anderson Date: Sat, 9 Nov 2019 11:20:42 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 3/4] kdb: Fix "btc " crash if the CPU didn't round up To: Daniel Thompson Cc: Catalin Marinas , Will Deacon , Jason Wessel , kgdb-bugreport@lists.sourceforge.net, Christophe Leroy , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thu, Oct 10, 2019 at 9:38 AM Doug Anderson wrote: > > Hi, > > On Thu, Oct 10, 2019 at 8:07 AM Daniel Thompson > wrote: > > > Reading through other control flows of the various backtrace commands, > > > it looks like it is intentional to leave the current task changed when > > > you explicitly do an action on that task (or a CPU). > > > > > > Actually, though, it wasn't clear to me that it ever made sense for > > > any of these commands to implicitly leave the current task changed. > > > If you agree, I can send a follow-up patch to change this behavior. > > > > Personally I don't like implicit changes of state but I might need a bit > > more thinking to agree (or disagree ;-) ). > > I can post up a followup after this series lands and change it. I > have a feeling nobody is relying on the old behavior and thus nobody > will notice but it would be nice to get this cleaner. Sorry it took so long, but follow-up series can be found at: https://lore.kernel.org/r/20191109191644.191766-1-dianders@chromium.org -Doug