Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3347583ybd; Tue, 25 Jun 2019 00:42:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqwZqSMxmrpaolaCSGQudHDnxAN8/TvYyxr7K1qAypXhSZqMcQ3Lu1Fb9NLlXhxh+gD82mZ7 X-Received: by 2002:a63:9d43:: with SMTP id i64mr34834600pgd.404.1561448560141; Tue, 25 Jun 2019 00:42:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561448560; cv=none; d=google.com; s=arc-20160816; b=cQO0+K7rz37CAfOP5NrpH7WT87UX2A28Dm5Vtti5O9JzxpDOdsrxSfJGDPk9NvXIGF W3pEsR9rL9wLPD952qUSf0vVeOWWHBID/DALUfd4flJpGkS0yMhEqNEVtdjglZP5EMZ9 8C/SUsaUkRjSwmZZFdivJCfNHN6wPh2ZRav0PkdlF88+QyCZyYowe1tPg1ckhYxAve4I JIaD4CiImTdglwb1ljm3Po9TmPkKdxSugeCqT0J2BsBJHGRtsLcYMY6yoeaa4NcWIHAB zAHJPG9SntORTlR2maRQZOMYH0z1Gy+oR0bjbq3TbFuhAb6r57cMDY2388yM/y5iApUa e5jA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=utV8ZhP3NyDwE/ppybdMg9/ZYt1ddSXYb4H1u9/9AeQ=; b=LgGiDPIeJXB6T8Uo49itdmo1K2bmZqD79CxUygMo/wOWIWvuXCbsW8hEtGkUmnXKeA x4PGbH4mDAup5d5p80Yd8JgnQb44ndoaVr2PLJBpsjEYG4z4Z2TmjeJtI6cUp8jYWdj/ 9UYWjCGF531DLLxb+9sIup7JsBSrMNyFTX+5ZdWyMAYo7nlJSfgbETjUzvGT6iwRvvTw 1E3qam/owikGI+WxNWWu1hbGvCqi2lZBMiNZdWIohYVGPYlstj3chvGYWTcQxjBe+WHj flTns43pCs14Lz0Fwjt1oPFf9n74jM2slMRVFM9FGDO2+qxyAJpUxwKRmmwJbEASdtdM nOIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=IXCdsXIu; 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 y6si13778848pgj.337.2019.06.25.00.42.24; Tue, 25 Jun 2019 00:42:39 -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=@rasmusvillemoes.dk header.s=google header.b=IXCdsXIu; 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 S1729436AbfFYGfL (ORCPT + 99 others); Tue, 25 Jun 2019 02:35:11 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:38099 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726321AbfFYGfL (ORCPT ); Tue, 25 Jun 2019 02:35:11 -0400 Received: by mail-lf1-f66.google.com with SMTP id b11so11796312lfa.5 for ; Mon, 24 Jun 2019 23:35:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=utV8ZhP3NyDwE/ppybdMg9/ZYt1ddSXYb4H1u9/9AeQ=; b=IXCdsXIuDA7PVMIKffFP9i14drrJdcR/x5HRTIluH4ZR7/S1iJi1nCKTq2mJ5wsQfC r3WPWPY+U7IGfgBnrCRERqNJZxxExJ7P9gmbxTTVIUGbfVFuZD5GUA5/IpnaCL4lVN/N QdmlT8U9DpwOE+WttPGQssQpj8JaMdUkowmPw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=utV8ZhP3NyDwE/ppybdMg9/ZYt1ddSXYb4H1u9/9AeQ=; b=qSCMRQ7Cd7O3HdzvD6h5QKbAQ4nO7vl9ovkScqITECeSxmRK+euH+EpPNqDRNyIue3 bxk9Woj4cM9GHqVJCxXrV4Je6FRmltnSDFtHgtWnBz6SczwIMeNdiSZs1FHuapLpslnM Qu3C1yScuDrAY6l+FnaA+Q5a6irqnxMS1SvrBJiE6AMIngFz2oyauNvq2iTfGgbNPREq WRPBw75XiIxdeB6Go1hklsnVpZlpLN3L6/pbIm5WcozV/CerWjhEkdl+RAIxl2EacS3J OsBs8tUq0Ho7vkf8NbTFisjk/sxBxC+az1B77eINsB4Z71+8bdwPrvOaH8IK7FjL6Tky BJyw== X-Gm-Message-State: APjAAAWI3tLpLyreju9yXBwq26b/lF9ptoVa3XC8rcrYuygpCkqjBnGV KyZp0g/p98enH0UFLycV+PDL6r1pMLY8PsPL X-Received: by 2002:a19:488e:: with SMTP id v136mr9212549lfa.192.1561444508612; Mon, 24 Jun 2019 23:35:08 -0700 (PDT) Received: from [172.16.11.26] ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id i5sm1827416lfo.55.2019.06.24.23.35.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Jun 2019 23:35:07 -0700 (PDT) Subject: Re: [PATCH v6 7/8] dynamic_debug: add asm-generic implementation for DYNAMIC_DEBUG_RELATIVE_POINTERS To: Nick Desaulniers Cc: Ingo Molnar , Andrew Morton , Jason Baron , Nathan Chancellor , LKML References: <20190617222034.10799-1-linux@rasmusvillemoes.dk> <20190617222034.10799-8-linux@rasmusvillemoes.dk> <12bd1adc-2258-ad5d-f6c9-079fdf0821b8@rasmusvillemoes.dk> From: Rasmus Villemoes Message-ID: <70aa7b96-e19d-5f8b-1ff6-af15715623e5@rasmusvillemoes.dk> Date: Tue, 25 Jun 2019 08:35:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24/06/2019 23.53, Nick Desaulniers wrote: > On Thu, Jun 20, 2019 at 1:46 PM Rasmus Villemoes > wrote: >> >> I've pushed them to https://github.com/Villemoes/linux/tree/dyndebug_v6 >> . They rebase pretty cleanly to just about anything you might prefer >> testing on. Enabling it for arm64 or ppc64 is a trivial two-liner >> similar to the x86 patch (and similar to the previous patches for those >> arches). Thanks for volunteering to test this :) > > Compile tested x86_64 allyesconfig > boot tested x86_64 defconfig+CONFIG_DYNAMIC_DEBUG > > (just curious why the Kconfig changes for arm64 or ppc64 aren't > included in this set?) Partly because I can't boot test those and this has proven much more delicate than I thought, partly because none of the maintainers for those arches have weighed in. So I'd rather have the bare minimal land, then send specific individual patches for arm64 and ppc64. >>> Anything I should test at runtime besides a boot >>> test? >> >> Well, apart from booting, I've mostly just tested that the debugfs >> control file is identical before and after enabling relative pointers, > > mainline x86_64 defconfig+CONFIG_DYNAMIC_DEBUG > $ cat /dfs/dynamic_debug/control | wc -l > 2488 > > > mainline x86_64 defconfig+CONFIG_DYNAMIC_DEBUG+this patch series > $ cat /dfs/dynamic_debug/control | wc -l > 2486 > > (seems like maybe 2 are missing? Let me try to collect a diff. Maybe > 2 were removed in this series?) Hm, no pr_debugs should have been added or removed. Perhaps you have a slightly different set of modules loaded? Otherwise there's something odd going on, and a diff would be really nice. It's possible that the order of the lines are different, so you may have to sort them to get a meaningful diff. (A diff is nice extra sanity check even if the line count matches, of course). >> and that enabling/disabling various pr_debug()s by writing to the >> control file takes effect. I should only be changing the format for > > Can you suggest one that's easy to test? The ones in lib/kobject.c are triggered fairly often I think. Thanks, Rasmus