Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2677685pxu; Mon, 14 Dec 2020 08:19:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJzRCpZ965Q7U8zLCAFk3MkLXDs/3vxKTQuYA+bRxpTqhBfnyAobUTgHOUEFnvti9dgDdhbQ X-Received: by 2002:a17:906:1ed6:: with SMTP id m22mr6237151ejj.231.1607962759389; Mon, 14 Dec 2020 08:19:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607962759; cv=none; d=google.com; s=arc-20160816; b=Unluka2+BPkdok6vN23ry7WYQQnfIzHBzhXmrPDPT8AcFDQBbLBJ0W087lk8DeJoxn AXTA+Ngnz5rrkhC43e9ymuMyMqnraTwztXac7zB+3bhheI/irm3qoomnV0qctrmb5Djs CgwgwODemxkz9JtG7V28vqpp89+MsWC59m35WqF7w8fp8Jom0y4PTTDiEkIy2nFhVXIE zO83bHwqyzBSnKbW09E+IrvXOVm0ihdONhTwXzRL6oplhdj+p9q/Q4DAX50jq+kJmY/C 3Bw9HMB7t+/mVdqU3QPRQA7cvGTGDkYLXf28DrpDtCedKLGWky0od7Mmc32ziBI2Dm2A kfRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=HUeVxqviFSySDgk0Qsfpe4xgSkrqblA4Mv0J19TWs6g=; b=H5BWazOCbpmx1+un+wb3Dxbu1OHqf3TCggogO3yLuIeG8UzqZKwfCXhDZeMv4cD3Qx socmksuDh4JuUvECDW65X9V4ibi9FC7msGSaj9a8cxkePvKrMR5uPsZIHrwrQr603g6u RRATZw4HmHmth3E9/E2Wt9ZsHlFWHCURxj8Kwa6y/wzKYqzkl9jJ+mfsLZP8KNYrAE/F zGTE3Kf9/qahAlXu+XIuxg6SC+0gskw5wsSh6FnmRmI5OzNPtz6ngozL7NPYQPBNxUUP ubbVUaatYcoc5S+kVJr4EU1MY/Wi4KxTZEJ28hYypQ74h1LWKdV0bBMzMrI0KUXCjmYj n/NQ== ARC-Authentication-Results: i=1; mx.google.com; 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 b26si1468760ejz.630.2020.12.14.08.18.55; Mon, 14 Dec 2020 08:19:19 -0800 (PST) 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; 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 S2501926AbgLNQQQ (ORCPT + 99 others); Mon, 14 Dec 2020 11:16:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:51456 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2440208AbgLNQPz (ORCPT ); Mon, 14 Dec 2020 11:15:55 -0500 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 240AF22582; Mon, 14 Dec 2020 16:15:14 +0000 (UTC) Date: Mon, 14 Dec 2020 11:15:12 -0500 From: Steven Rostedt To: Anatoly Pugachev Cc: Linux Kernel list , Sparc kernel list , Ingo Molnar Subject: Re: [sparc64] ftrace: kernel startup-tests unaligned access Message-ID: <20201214111512.415717ac@gandalf.local.home> In-Reply-To: References: X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 14 Dec 2020 18:59:02 +0300 Anatoly Pugachev wrote: > Hello! > > Enabled ftrace startup tests on a sparc64 test VM/LDOM: > > $ diff -u <(gzip -dc ~/dmesg/config-5.10.0.gz) <(gzip -dc /proc/config.gz) > --- /dev/fd/63 2020-12-14 16:19:38.239372599 +0300 > +++ /dev/fd/62 2020-12-14 16:19:38.235372433 +0300 > @@ -2842,7 +2842,10 @@ > # CONFIG_TRACEPOINT_BENCHMARK is not set > # CONFIG_RING_BUFFER_BENCHMARK is not set > # CONFIG_TRACE_EVAL_MAP_FILE is not set > -# CONFIG_FTRACE_STARTUP_TEST is not set > +CONFIG_FTRACE_SELFTEST=y > +CONFIG_FTRACE_STARTUP_TEST=y > +CONFIG_EVENT_TRACE_STARTUP_TEST=y > +# CONFIG_EVENT_TRACE_TEST_SYSCALLS is not set > # CONFIG_RING_BUFFER_STARTUP_TEST is not set > # CONFIG_PREEMPTIRQ_DELAY_TEST is not set > # CONFIG_KPROBE_EVENT_GEN_TEST is not set > > > Got the following results with kernel boot logs: > > Dec 14 13:48:15 kernel: clocksource: jiffies: mask: 0xffffffff > max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns > Dec 14 13:48:15 kernel: futex hash table entries: 65536 (order: 9, > 4194304 bytes, linear) > Dec 14 13:48:15 kernel: Running postponed tracer tests: > Dec 14 13:48:15 kernel: Testing tracer function: > Dec 14 13:48:15 kernel: Kernel unaligned access at TPC[552a20] > trace_function+0x40/0x140 > Dec 14 13:48:15 kernel: Kernel unaligned access at TPC[552a24] > trace_function+0x44/0x140 > Dec 14 13:48:15 kernel: Kernel unaligned access at TPC[552a20] > trace_function+0x40/0x140 > Dec 14 13:48:15 kernel: Kernel unaligned access at TPC[552a24] > trace_function+0x44/0x140 > Dec 14 13:48:15 kernel: Kernel unaligned access at TPC[552a20] > trace_function+0x40/0x140 Does sparc64 require 8 byte alignment for 8 byte words? -- Steve