Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2598163ybp; Thu, 10 Oct 2019 09:39:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqzORD3lT5+5z0LTme1fACu4YSSRY4nhDWlmLO4BGq8BOnaYehFdHYuuaSEgJ1UayvE2wxen X-Received: by 2002:a17:906:309b:: with SMTP id 27mr8927724ejv.243.1570725595405; Thu, 10 Oct 2019 09:39:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570725595; cv=none; d=google.com; s=arc-20160816; b=SUSf6TycnpHUG4Su9ZGeM1MVO53IYF5DaX+gIuT0kSi1Q5EV+tTUEm4GiuVZiSgF+z f76GHPoeXr5sklOnj6HBOWvBc9laRqYrDvqWqIiih8Tdm5St7MkvYneh4vO/eBg0kx7o PPjt9MLDxZlhwFDYB2cRr258lzrApVdvh1RsWA7Mb7DR/VD2iZpJb42Zt8/tsOY36HtE Hpb48yWmbCmruzm6Zpln/YDRktStf4/9hbWVLwiGNKLxEsIi8c3fkGD7c/Tnj07hkhti WAUVtioyxJC8ix1KBijP7SNFiDCUZu6JXDPpyKhtnXwVUxPx6Vco6sMtp0Eokqj01K4c E5zA== 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=ph+cM1wqiv/orbsFFGXeEKlbXh51icoHvALffiLcYf0=; b=h4aEx24FPWtXb+f8FUKVxBOYs7l4zbidjH0fPSGtNXmm1Obwx9y0xGFJN0iCDuX3qg d1HaGl+fxEz+i0g2VY0gUdZkUqCgKi5py6hXA5Jp0rq2R+YG1GAeyh8tNCMm5nS1VNYu rEhhocfwJm0YEnq6YfxC8Q8zO2unaY1EfuPHuFUVNiB9KcQhd6Kdu2YLPSORvPDEqfNu 19hc7/BHZ26cZXTY6GPc7f0zXIJyHIHXnPkfuAH5BOron1h/luUmi7lgygCyRBr8o1EK jXvEuqeZ7po6HKXqiOBn3EXQJ17VIXrsv2NN7byt+BdEgN6bYGkUyNjSKLzxfLrgfj3h THww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=MzCP3JEh; 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 g11si3522711ejc.366.2019.10.10.09.39.30; Thu, 10 Oct 2019 09:39:55 -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; dkim=pass header.i=@chromium.org header.s=google header.b=MzCP3JEh; 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 S1726485AbfJJQiV (ORCPT + 99 others); Thu, 10 Oct 2019 12:38:21 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:41462 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725909AbfJJQiV (ORCPT ); Thu, 10 Oct 2019 12:38:21 -0400 Received: by mail-io1-f65.google.com with SMTP id n26so15108892ioj.8 for ; Thu, 10 Oct 2019 09:38:20 -0700 (PDT) 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=ph+cM1wqiv/orbsFFGXeEKlbXh51icoHvALffiLcYf0=; b=MzCP3JEh+/LlXlx0pBedozlo0FoZD5596/N3hdLGFXDY7yle3Gbnuy0SOR+2tzLqTW pJ7aFSAUD2tSeLCAS1SLIU1wJoZQJF33bVsjoTDQT19NMIzC/vf8WRVb7YA7dh79T3wO NU8cD67l6lYlGFfxwNY3bs1mg5iGsqMN1C34M= 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=ph+cM1wqiv/orbsFFGXeEKlbXh51icoHvALffiLcYf0=; b=jKELnuxKbTM/aNGOWwtoH7AOD0YhbA78XyaNBJiueh7lhwbfk6+7jSVFJrsMa+ClNV YVTz4wISCCo/EOQZXhiGB/ZBsMUYOVUCIZMcT/TUN0l1M2lHcL3XySGpgbm34cFMOiOR vrxyTMh7CqdPcx74BkUbpoAiAxbUdfdaMTa0nc8ETo/0KgaWRMqq8ALCPitBFw+r+8Kv l/3XguC5tuKW3KNdyfh5huuiTD72cXqF+h644QXa9yAUfy22D7aWkPH2mS1kN+psaoH/ k3mE9JxzpsrmHyZ24s74rP3h0ov8YlQVpkix8ZbMLRhJxfIGLLJjzsQxOMqnvi2s2jdz Notg== X-Gm-Message-State: APjAAAX5QM1d2l5vvNyvvhjkJMMhD2RUh1v0QSudULddaIoGVR+66NGQ lk8BQP01g712mYSkSjv2OcxkIzMhhRM= X-Received: by 2002:a02:893:: with SMTP id 141mr11136425jac.36.1570725499971; Thu, 10 Oct 2019 09:38:19 -0700 (PDT) Received: from mail-io1-f47.google.com (mail-io1-f47.google.com. [209.85.166.47]) by smtp.gmail.com with ESMTPSA id a14sm3557914ioo.85.2019.10.10.09.38.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Oct 2019 09:38:19 -0700 (PDT) Received: by mail-io1-f47.google.com with SMTP id b19so15191283iob.4 for ; Thu, 10 Oct 2019 09:38:18 -0700 (PDT) X-Received: by 2002:a02:90c7:: with SMTP id c7mr11362682jag.12.1570725498188; Thu, 10 Oct 2019 09:38:18 -0700 (PDT) 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: <20191010150735.dhrj3pbjgmjrdpwr@holly.lan> From: Doug Anderson Date: Thu, 10 Oct 2019 09:38:04 -0700 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 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. BTW: if you want me to spin to fix the commit message typo that Will found or add his Ack to the series, let me know. Otherwise I'll assume that the typo can be fixed and Acks added when the patch is applied. -Doug