Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1122294ybc; Tue, 12 Nov 2019 14:48:34 -0800 (PST) X-Google-Smtp-Source: APXvYqxjA53TWgIICIQQkdDRlrTDEF/TZbXBzv2Ou/SPYPTcfzJRwRKOftRzYYWN9xncNga3UMFN X-Received: by 2002:a17:906:6d05:: with SMTP id m5mr30439807ejr.102.1573598914650; Tue, 12 Nov 2019 14:48:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573598914; cv=none; d=google.com; s=arc-20160816; b=vARr55cNlykwzBhB7aa6YcyySz2fAOUdBOG56pgbfuSegKrydXr1ge29qQGy0O7CCk 3ZQa6/sZ0wrnrS1Q6AXk/IxKJfxEzJV73mkFHQ6HYzCtMREww0JCOEdKRqytSrgTRGgf DeK1Ai9XlkTZTuZYdiOyOnJmiLdXvoxJTqbtjPZUKxgFAbzhWRBxUTP9sgh2arZL5ANL dhxkp1qw3e+R4jwA7A6ursAgAlQfsxsP5QH1S2tqQyQsQEqejfg/UVdQ79hd1R9Wj1MQ RnVheRH/IHL3kbeZuhF6fAdJnswiaWgQdTkLFg/uMwOUkemu70KAgMtQwsmo2rcYIR9O Z6Rg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=4Wtk0Nm+D8hYP3oekilrGeRCItYzeICLDQ94WChp85w=; b=pXekGTKi6BCBlOoLK0yG/ieMopR6efysL/ykJRzXyeB3Mx+X6WMaSfw5QPg0lt5H7a UfxtEp2tVPd6aB9HVaDU0nj0VOqCq/D4mFGlgMsZWpQZuLm0Tp2TwDHiRbhw87yaCFmj lZVw8Wg4oH6r5E9xiqccytrM+UMSsWsngktydYUx+PKx/dRX1MsZqc+a6FSVLN5aY6h4 N6rwgt3NUyVbY6hDahjIaTjPeyCcB0YOGmdKt+3moxkCVZJdayMiYHnYs2AUAxP/kDI2 Df2C18JZlGSRfsUhiBYth9ZELEPU4e1IHrsumMJAV2EO+GVPg+mpgiwfFfgqGztHIgoH WSjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jAt3rJLf; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a47si13683949edc.145.2019.11.12.14.48.10; Tue, 12 Nov 2019 14:48:34 -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=@gmail.com header.s=20161025 header.b=jAt3rJLf; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727170AbfKLWpO (ORCPT + 99 others); Tue, 12 Nov 2019 17:45:14 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:41239 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726923AbfKLWpN (ORCPT ); Tue, 12 Nov 2019 17:45:13 -0500 Received: by mail-lj1-f194.google.com with SMTP id d22so263168lji.8 for ; Tue, 12 Nov 2019 14:45:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4Wtk0Nm+D8hYP3oekilrGeRCItYzeICLDQ94WChp85w=; b=jAt3rJLfDyeXZiW8yRJ97FcoUdVCvpD5RjRsSd1+3Jk7r1+WjvJOlEn2Ny9o8oHGyI j0D/pGowaVvvRsNzW+n3VFNfV1hXCa0IRmAE+kEgKxXj8/GzH7fv0t+HwBjq+KAuZfyh mrCSbNTUktOsA1ixh/z+G63o5xkZP6d2CMPyZZHllKNBCrcIPgkKOCFhTPIT12i4c161 lg28FnNzypgsQtp/Hs/HjT0jKmOxtVq9RGyUn/syjqK0yW32pRlQQZaN+3zs38tNbaoi NWoRy4CirPu+18EQ2A2dr8Xktpu3s+hiFUTvKMbGrN09ghn/mayjQOz9WB01ajo3ijOe DZ6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4Wtk0Nm+D8hYP3oekilrGeRCItYzeICLDQ94WChp85w=; b=NjdM0SEKU1AcbATyd9ZoBE+qCP+8w00Fod3HgchXuBfVK9DmvMwkQynN77HuG0hY2M fcTOJ5biFzg8cFjAAultwI0bEJId53PH9hcA16LpdFiTE/k8Dz2Y0n3lEW0N1ZnLgBnE H/67+r1yv02/WwggAzEEC2+Y6KD6+zIkip6wlbuPb/8//z4AM4Kv8joWETWlyiYWvX4w 1wTsGdZigfaTuHeEOWGrcK1CN7Qh0Qu1RnRUzh4Al4em1YhfjvWhjSSTJp4jdDV2Vf8u HvDUJA2fPhrNomonTKV6sZyc8bcYjzb8VRnB6dXmqAkAzjvaQnBm8lndoUOC2kKPleb7 TRNg== X-Gm-Message-State: APjAAAXXupOpSS3Hr7Z/tthzgPLYAafhS+xNTSVKapj9Dx/v9dWLlCuV vpXOpkGjXipqj1v8oPckj/o= X-Received: by 2002:a2e:8183:: with SMTP id e3mr104062ljg.111.1573598711442; Tue, 12 Nov 2019 14:45:11 -0800 (PST) Received: from octofox.cadence.com (jcmvbkbc-1-pt.tunnel.tserv24.sto1.ipv6.he.net. [2001:470:27:1fa::2]) by smtp.gmail.com with ESMTPSA id x16sm38677ljd.69.2019.11.12.14.45.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2019 14:45:10 -0800 (PST) From: Max Filippov To: linux-xtensa@linux-xtensa.org Cc: Chris Zankel , linux-kernel@vger.kernel.org, Dmitry Safonov , Petr Mladek , Joe Perches , Max Filippov Subject: [PATCH v3 0/2] xtensa: improve stack dumping Date: Tue, 12 Nov 2019 14:44:41 -0800 Message-Id: <20191112224443.12267-1-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, this series cleans up code around stack_dump and makes dump size configurable. Changes v2->v3: - split Kconfig change into separate patch - use symbolic names instead of hardcoded numbers Changes v1->v2: - use print_hex_dump. Max Filippov (2): xtensa: improve stack dumping xtensa: make stack dump size configurable arch/xtensa/Kconfig.debug | 7 +++++++ arch/xtensa/kernel/traps.c | 27 +++++++++++---------------- 2 files changed, 18 insertions(+), 16 deletions(-) -- 2.20.1