Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6715682rwb; Mon, 5 Dec 2022 17:00:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf54S0qzepwRdSw5EKwvF6HGYdBy/eBOpITBGfCQjywqUbrsCWINs3tuq4XSzrGIu8DMMeic X-Received: by 2002:a17:906:fa11:b0:7c0:d94c:f9f with SMTP id lo17-20020a170906fa1100b007c0d94c0f9fmr9200478ejb.542.1670288431841; Mon, 05 Dec 2022 17:00:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670288431; cv=none; d=google.com; s=arc-20160816; b=yRhvhFwTVDfwX9J3D6/MaKdwsQgHavJ4vtYmviNLl8c95qTK5G5onk3kIRaDMj3soI tkeHtxcEYJDS/ma90WWMn86EIXJYChfunsgskigRJ/fKVdN+3SzioU+pekKncrZ8bOk+ cmVCiw2PTgS39gNCP8GV+JxGpLjV+ReOp08pOqeIXeWDbbCAaHROkivf3WJ9fh9wJlDK vNOuY5i6X2cMAzw6i2nZlRhVp2jtDV7yuIZmFc+iuOfNNacx2i96xicS52NqOmY3U20L joI4SqdhKLa35BXOZmg27RR9Oud7wgQdKHaxn3eXC12QUElmxrGOBkWO3r7CfbK3t5nV qQvQ== 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:date:subject:cc:to:from :dkim-signature; bh=QeSlyGC+4QjekIyFRyMcJltxNINQMnR283Y5rstfp1Y=; b=f0/MHwSnj43KVaMtPyE2hFptKOdeQTp0LKH4vIMYyy9Dt9dng4rRppx/RTw0joF9mQ 0dSczNX9m3MkMYo6Dc6n4MmEWnisZaFU6nYqtM0LlP3/xwamI2CLccrWVJejV9H60rzA YhZ5SxGJtRAbTOlS3xmzceoYHScqRdba2HpLO3SW2kkCwC7F39cGj7idfUnlggRG1VFc OdKhKuUMrzeTzlTxGLf97t499Myfbv5IE24AHHTOM1rmASSpEQeRu9USpCMbfuOMOXTh qRY5G8/v5Jr9qrdCRIDp8zfrlqRF95MFvGknAMk3Q9XrolGD6TiQZLVNtmAoJXgBhbgA 616A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=h0LKM+ko; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w10-20020a056402268a00b0046ab9b37cf2si902183edd.116.2022.12.05.17.00.12; Mon, 05 Dec 2022 17:00:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=h0LKM+ko; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S232748AbiLFAg3 (ORCPT + 79 others); Mon, 5 Dec 2022 19:36:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233084AbiLFAfq (ORCPT ); Mon, 5 Dec 2022 19:35:46 -0500 Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2215F218B2 for ; Mon, 5 Dec 2022 16:35:17 -0800 (PST) Received: by mail-io1-xd30.google.com with SMTP id e189so8776144iof.1 for ; Mon, 05 Dec 2022 16:35:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QeSlyGC+4QjekIyFRyMcJltxNINQMnR283Y5rstfp1Y=; b=h0LKM+koUxD63ixKVAQGoM915fvUhbF7qjLYPjNPraE7iyUC4PuTyXY69CvRpHBfkh MPaliefrvoVUMN2EmN0IAEK+2qd30mBjitC4tqGFecZrzEDqweA5+iVV7JJeh+el1mdO Yh7zXsaDZdT4H6MfVxtqSZrvopdzEAzDWQ+048m9rtr72OpC4xCCjNeJjOYMhwnTJmz2 2enlyFSGdg8QBLRnoTeSfC5ZefQGJ6HhJbJdI8xuGT+jExB3qq2MPyWNhtdQS3y9Cx96 6TaqVksxqER88wpsnUtXuvhDQFcypouO0c5LdTxeYDf0wO2ban1P93KJ94prI1G7Ndg5 466Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QeSlyGC+4QjekIyFRyMcJltxNINQMnR283Y5rstfp1Y=; b=XoDmU4LkRYqnjZwy8UInHHkgMIVZ6sBgdmaSolql9h2qrFb1d7FRRdma3dLP1PmWQ3 rP5rFXORa/013s4SRmW+4J42R/BdPCUwBN/ZGBeeky1aS/8MJo2Sz/6t4L9pl/8IgIdy eXqFV6tRGt2kkFs9uv+yQ/OiLKTuLNQCfqlISFq6ScxFG+xYFP6KCdtM/g/2R9c45QRS uDHqBYpTrpzMQ8mCtOyZJUKODt5Dvoo1OgJ1dG+ITbyvygvW1zJIBIa9Of6e0fZhGx8W gSL5gmJnpxS6n5WNZZpu1BI9Z2nRlILqEbGYGsUtCyV+XQClN7XZSn+VNzVWGEgQH8x6 /EyA== X-Gm-Message-State: ANoB5pkjXTkDq5KcenxxCjm4yNRgP2GiCSMj0j+G7wJRa6MeF3eLW2fQ R2c5gPVxywqjwqTAzyUfiIOLF67DWbkO3Q== X-Received: by 2002:a6b:7c09:0:b0:6bc:d42c:ce6 with SMTP id m9-20020a6b7c09000000b006bcd42c0ce6mr31063086iok.172.1670286916237; Mon, 05 Dec 2022 16:35:16 -0800 (PST) Received: from frodo.. (c-73-78-62-130.hsd1.co.comcast.net. [73.78.62.130]) by smtp.googlemail.com with ESMTPSA id x3-20020a056602160300b006bba42f7822sm6408213iow.52.2022.12.05.16.35.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 16:35:15 -0800 (PST) From: Jim Cromie To: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Cc: jani.nikula@intel.com, ville.syrjala@linux.intel.com, daniel.vetter@ffwll.ch, seanpaul@chromium.org, robdclark@gmail.com, jbaron@akamai.com, gregkh@linuxfoundation.org, Jim Cromie Subject: [RFC PATCH 16/17] dyndbg: mess-w-dep-class Date: Mon, 5 Dec 2022 17:34:23 -0700 Message-Id: <20221206003424.592078-17-jim.cromie@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221206003424.592078-1-jim.cromie@gmail.com> References: <20221206003424.592078-1-jim.cromie@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org for loadable drm, helpers, and drivers, dependent-load is failing to apply changes, needs more investigation. --- lib/dynamic_debug.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index 46684aa7284d..3ef1c0a1f0cd 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -1248,14 +1248,14 @@ static void ddebug_find_kparam(struct ddebug_class_map *cm) static void ddebug_param_load_dependent_class(const struct ddebug_class_user *cli) { - unsigned long new_bits, old_bits = 0; + unsigned long *new_bits, old_bits = 0; - new_bits = *cli->map->dc_parm->bits; + new_bits = cli->map->dc_parm->bits; vpr_info("%s needs %s, 0x%lx\n", cli->user_mod_name, - cli->map->mod_name, new_bits); + cli->map->mod_name, *new_bits); - ddebug_apply_class_bitmap(cli->map->dc_parm, &new_bits, &old_bits, cli->user_mod_name); + ddebug_apply_class_bitmap(cli->map->dc_parm, new_bits, &old_bits, cli->user_mod_name); } static void ddebug_attach_module_classes(struct ddebug_table *dt, struct _ddebug_info *di) -- 2.38.1