Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8546871rwi; Tue, 25 Oct 2022 08:01:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5G7gnhBHRjy1XXDL8QN6Bo4jhtYYm0fJNuWuaV7ShFEbfBH4PhNTVldeoSVsEODAKZHnGk X-Received: by 2002:a17:906:7315:b0:7ab:8542:559c with SMTP id di21-20020a170906731500b007ab8542559cmr5037679ejc.639.1666710072658; Tue, 25 Oct 2022 08:01:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666710072; cv=pass; d=google.com; s=arc-20160816; b=seGCTTodIhhLRrJ+YYfrLOYMQRQszCUguYzidOWE7cbE6D935go0p5G8neQfGSqlkm MNso8FjJYebRjOB5zzB/5/p5n7f9N2FcR9rsXRNVLYkwJc8lOfGYXaoj16vZ78BPnkWE ksGOK74CvGqmxtHpFeKGY1D+lCGATvAVDHBN1FG3zmHOpAyuSm34mKfKmkmtwTmiMtW8 CNCrrF7anfdMNOQ6uLoEEvhUZ8OAlme3o0S3K0pJn55qDppI/gVgmJgZt9rs2syax7la kRjnyFV8rlS1QpC5DK6Ek0lxRqhoPyMSv0RX2c8U+LiIO2r7qnDeQazNX3hOgvjCDBJD /m4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=i/9W5NPhOYWCT/H0hftinCyaG21iCdenJ+ImiAxOS9w=; b=qxKK7jWbVcKJg+3eCZPokjtwefPpc5LtKT6lT1gEZkuZgnTWh3aTXuNtEz7souissB A9rdg79uSPwbim/m2Hofu4t/jXCBlnWFfOdo73Eu4tEjS6BVDTESCMt9TrtymsX3872+ QKjjG+maej9GAWwc9wPwLCokkxzZ8oH2rZlKPb1d2U0O/Wqw9Ud29lh5kXk8XBxRNFEt X/b6ql7Z8sB9K7WZ+FdliF/28b863nKetQc0XZ/wbzrJzuKoMKMz5f4HcvysfteAQ4Sa 5FW8VrY6/lDiUiLBBlPpmTWjapjW9OgHDZLAr90Iz0BS1A/Ube+Oe2l+ITwn5hUCAlrm t5eA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=iVWT28ux; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); 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=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i10-20020a1709064fca00b007882936243fsi3572566ejw.772.2022.10.25.08.00.42; Tue, 25 Oct 2022 08:01:12 -0700 (PDT) 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=@Nvidia.com header.s=selector2 header.b=iVWT28ux; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); 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=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231282AbiJYOem (ORCPT + 99 others); Tue, 25 Oct 2022 10:34:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232252AbiJYOej (ORCPT ); Tue, 25 Oct 2022 10:34:39 -0400 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam07on2088.outbound.protection.outlook.com [40.107.212.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB0E426ADF for ; Tue, 25 Oct 2022 07:34:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n+09TtIL9mXESWFAuADcSJg7kw7o8TTMD96OVeVSIOwD81ufLde8ybCDNi5AfIE87iN6r6/fAAGauLIENtq9+JnyG+PnXPRoHfMPPt8LU/bT7V8FX/NzEnOWADCH/WArZWj7t5oVTQD3gywfLiSe/KmLvEkOZROq2Vs5ddDrdpXTz94OwjXR1PcTHdWcn0oqir8o++XtInTdmECmJYYStJIvq6a6ofexlbBOSZ38z5uzXiMCK22+GkiYARFZ6i/m+EaHw12XFG+sxmWY3qbhVm2RnU1yINYVkmUs3Iey7hsnFvIF2XD/Betnp1CT4pzWj66yVslFZEVFlBOJngCZ6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=i/9W5NPhOYWCT/H0hftinCyaG21iCdenJ+ImiAxOS9w=; b=F6Th/qBA0j7tSGTdeI6Exm/Z9pmtdes5BusBM9cJKxdcBIQaXs8VT3ACpZDOHKr7H+fgswgJpafJTOuDRUvEFrU4Mrm93hJkcQlIiax1LkjuO4g2nuolTMpkgVlu9GTeuqhjRsc9PtE/QbOerbQbrwhbqFCWl1ue9y2juXnF2RTMm+HcC8mZkJjTQ/z9rA3dZfFCvueay8gNeDueeIa7E8MjQeG0XBdnzy8clBFVzkpceAtvlXHBhMcWCcf57LlOssIuXx1+KXG5ZQI12P/BbZsFVY2fDCl4x42Uff+jg5ze2BPhKPArHAK4Hd0BFLfGQmDokNO3ed9AfhgieJCoDg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i/9W5NPhOYWCT/H0hftinCyaG21iCdenJ+ImiAxOS9w=; b=iVWT28uxFaF9iCdMlo4E6jGheBaALNjodknYSW8zh751WkcLD5MbsSG6eR0glVRqgDKd++eAr1xBomBxygGlkLTu46Plamm+n9LqEwWRJ8CSNVVF8FSUfJYJz4Nz6kaaNx0ivAf1e86MI6PhrHywlTUgo74mN5CjJnXqi5MGW9YapmktWsXTOkDlfMMyZmu65hkbsAxSGjaKIQ6ezbGL5owxTDRjnpdUErMfhurDiIRHX+EmDl8zoTRkFxot2tA02GN3ol6p/dolVddV82Bb/qUVScWAXMbiu0HI7Nk7Sp4IQwxMSI1F3XDvgDVIRKDL3gVzvKk3zp8xoqPF7+bnuw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from LV2PR12MB5869.namprd12.prod.outlook.com (2603:10b6:408:176::16) by BL1PR12MB5361.namprd12.prod.outlook.com (2603:10b6:208:31f::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28; Tue, 25 Oct 2022 14:34:29 +0000 Received: from LV2PR12MB5869.namprd12.prod.outlook.com ([fe80::7a81:a4e4:bb9c:d1de]) by LV2PR12MB5869.namprd12.prod.outlook.com ([fe80::7a81:a4e4:bb9c:d1de%6]) with mapi id 15.20.5746.021; Tue, 25 Oct 2022 14:34:29 +0000 Date: Tue, 25 Oct 2022 11:34:27 -0300 From: Jason Gunthorpe To: Alex Deucher Cc: Dave Airlie , Tvrtko Ursulin , Jiho Chu , Jeffrey Hugo , Thomas Zimmermann , Arnd Bergmann , John Hubbard , Oded Gabbay , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Christoph Hellwig , Jacek Lawrynowicz , Greg Kroah-Hartman , Alex Deucher , Yuji Ishikawa , Kevin Hilman , Maciej Kwapulinski , Jagan Teki Subject: Re: [RFC PATCH 0/3] new subsystem for compute accelerator devices Message-ID: References: <20221022214622.18042-1-ogabbay@kernel.org> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: MN2PR05CA0066.namprd05.prod.outlook.com (2603:10b6:208:236::35) To LV2PR12MB5869.namprd12.prod.outlook.com (2603:10b6:408:176::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV2PR12MB5869:EE_|BL1PR12MB5361:EE_ X-MS-Office365-Filtering-Correlation-Id: b635a5fe-b5b3-4f96-31a3-08dab69605f2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7QjJ0syQnDUaTO0z1yHHNO+PJXkWfH9i0WDySWyo78r8q/KAiYUWrH1blBySNIXBl/b11TM7qfk4SfG+GaHLFUD9CgwzyWHUba6fWhL7Tu+P8Vv1UDYAvz3ubc0ckVUj88f9TSu1fNDE4bMi1kleD5nsQtMWcjbBjltxmhWBY13QsU39TrJHTpzfyE4FbLSUEYHLi9YRh2wI+DJXqCK52GDYxZHqUkztFU7gU89EKPvg8M7hc+ce79In6DChPLyRGxW7P5Dat41eNRBm///9opyWDxXN0NE6E2yLaCXq0F2OjMJo8o/qJyCevNfgie/F9Um0lpnwD0Z6+C0LHViUWNJ99iFDpR3cYehyBVlQG5MsnP7NIRl0aM7Yf36ui6UUwjbDTP88ANENFN0ajk7loZkMzv/+12wdtdB+Vpyb/OX/FwRGRUp1ft/VB11CYvLsrir28ziMX9cqabFOHkkeUnGmdUJLooH0gn8YyLSDG1pdQZcOdeMnL8XvzhtnTTEoRVQH669fODWVpxji6eWaxTPiMVv8Nu3Ztp52/zaeR6yJk49jd/FzcI4aBrl4CG7M0UbpToNo6nVPsmgmNlVQqV628cUTZ4p6YalDE1MjC2oyaM3N1Z5lpf8e/XsgJvhlVZ7nADP/1en/FLOe4N95C8mkUteMnVCNfdyUMywrccIjZOBstkLop7cblPE8TjDTCiJrkuEuSq0D2MAt5EaIXA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:LV2PR12MB5869.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(396003)(39860400002)(376002)(136003)(366004)(346002)(451199015)(36756003)(54906003)(6916009)(6506007)(186003)(2906002)(41300700001)(38100700002)(4326008)(8676002)(66476007)(66946007)(26005)(86362001)(6512007)(316002)(66556008)(4744005)(2616005)(6486002)(478600001)(8936002)(5660300002)(7416002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?f9yYBjHP1wDsT1uF7j2OD+GcPktMFJ3oaas0yAj9lw601Qn6kpQ2YiwIvJnR?= =?us-ascii?Q?v4wodeyAy7l10sVIKDyP/rcHPaGhSweZ7dkmlFK/7gXWMl7YvMTd50XxIDEh?= =?us-ascii?Q?W2p5helwGvjP70lVWeI75rihim8sgyX7mrwOFdHQP+a0uj09kbYKy6B0M5SA?= =?us-ascii?Q?zU7OJ8WW4FmnYg58Zx0TZ1fCgWZ6WAY0o0hzkcnjPVtRvfz2wI9x9lFKFTYY?= =?us-ascii?Q?P9BBLvYcqy1wm3lNHii/3BUzRVwo+RZgPoyWFZhFA0L6+3yDwyIpjmle8AZ5?= =?us-ascii?Q?CNC6npxpuZo0x3pJddVier8EAbPKkijMwTvO6nTlVD78N8J3wDmxVMA+YK1u?= =?us-ascii?Q?/VEBGwf9I9R8+JHpKGn13NKBHSQPGiLQqG1QRNjSNRJhmFKIwX5xVcD2B5L/?= =?us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6/4L/SzmdvvVbRWg/01c+3t55SdmBx9?= =?us-ascii?Q?i5yk6OwBsYGPjyxIQN6sSBD2mS/UPpKHlGYSySB/FnUPtFMLzs+Redr48Zdp?= =?us-ascii?Q?hQqPn6tj2MZWhoqa/kMCm1kwAONhBPZltDW2PY0dhj4Dt5mb3yho7UrKfYmY?= =?us-ascii?Q?PLphMrGdohagKi3f7YBnisMjAhA59lL/jAu+qmXZsktpJlHuBjA6a8r0MUWT?= =?us-ascii?Q?3El4w3wv60MOSZ9YGGCLjSGvVHFni75jruxXeWK9CzYS/dXm+hb1Dp2FDxH1?= =?us-ascii?Q?lC2AnEhSkf3zGdAL4XY=3D?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: b635a5fe-b5b3-4f96-31a3-08dab69605f2 X-MS-Exchange-CrossTenant-AuthSource: LV2PR12MB5869.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2022 14:34:29.0422 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Ev9Wc+RqIgUikb3Q1hZ40fzsFGmnSAg07A5oHvl28xwShzfDgQ6WLwRPXYnahBdc X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5361 X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, URIBL_BLOCKED autolearn=no 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 On Tue, Oct 25, 2022 at 10:21:34AM -0400, Alex Deucher wrote: > E.g., the kfd node provides platform level compute > topology information; e.g., the NUMA details for connected GPUs and > CPUs, non-GPU compute node information, cache level topologies, etc. See, this is exactly what I'm talking about. What on earth does any of this have to do with DRM? We alread have places in the kernel that own and expose these kinds of information, drivers need to use them. Not re-invent them. Jason