[{"id":1790472,"web_url":"http://patchwork.ozlabs.org/comment/1790472/","msgid":"<20171019120006.GR9005@ulmo>","list_archive_url":null,"date":"2017-10-19T12:00:06","subject":"Re: [PATCH v3 0/6] Miscellaneous improvements to Host1x and TegraDRM","submitter":{"id":26234,"url":"http://patchwork.ozlabs.org/api/people/26234/","name":"Thierry Reding","email":"thierry.reding@gmail.com"},"content":"On Thu, Sep 28, 2017 at 03:50:38PM +0300, Mikko Perttunen wrote:\n> New in v3:\n> - Renamed *syncpt_assign_channel to *syncpt_assign_to_channel\n> - Disassembler ignores opcodes not supported on the particular\n>   chip\n> - Further cleanup in u64_to_user_ptr patch\n> \n> New in v2:\n> - Changes in syncpoint protection and u64_to_user_ptr patches.\n>   See the patches for notes.\n> - Added patch to support more opcodes in the debug dump\n>   disassembly.\n> - Added patch to fix an incorrect comment.\n> \n> Thanks,\n> Mikko\n> \n> Patch v1 notes:\n> \n> Hi all,\n> \n> here are some new features and improvements.\n> \n> Patch 1 enables syncpoint protection which prevents channels from\n> touching syncpoints not belonging to them on Tegra186.\n> \n> Patch 2 enables the gather filter which prevents userspace command\n> buffers from using CDMA commands usually reserved for the kernel.\n> A test is available at git://github.com/cyndis/host1x_test, branch\n> gather-filter.\n> \n> Patch 3 greatly improves formatting of debug dumps spewed by host1x\n> in case of job timeouts. They are now actually readable by humans\n> without use of additional scripts.\n> \n> Patch 4 is a simple aesthetical fix to the TegraDRM submit path.\n> \n> Everything was tested on TX1 and TX2 and should be applied on the\n> previously posted Tegra186 support series.\n> \n> Cheers,\n> Mikko\n> \n> \n> Mikko Perttunen (6):\n>   gpu: host1x: Enable Tegra186 syncpoint protection\n>   gpu: host1x: Enable gather filter\n>   gpu: host1x: Improve debug disassembly formatting\n>   gpu: host1x: Disassemble more instructions\n>   gpu: host1x: Fix incorrect comment for channel_request\n>   drm/tegra: Use u64_to_user_ptr helper\n> \n>  drivers/gpu/drm/tegra/drm.c                 |  29 ++++----\n>  drivers/gpu/host1x/channel.c                |   3 +-\n>  drivers/gpu/host1x/debug.c                  |  14 +++-\n>  drivers/gpu/host1x/debug.h                  |  14 ++--\n>  drivers/gpu/host1x/dev.h                    |  15 ++++\n>  drivers/gpu/host1x/hw/channel_hw.c          |  25 +++++++\n>  drivers/gpu/host1x/hw/debug_hw.c            | 103 ++++++++++++++++++++++------\n>  drivers/gpu/host1x/hw/debug_hw_1x01.c       |  10 +--\n>  drivers/gpu/host1x/hw/debug_hw_1x06.c       |  12 ++--\n>  drivers/gpu/host1x/hw/hw_host1x04_channel.h |  12 ++++\n>  drivers/gpu/host1x/hw/hw_host1x05_channel.h |  12 ++++\n>  drivers/gpu/host1x/hw/syncpt_hw.c           |  46 +++++++++++++\n>  drivers/gpu/host1x/syncpt.c                 |   8 +++\n>  13 files changed, 252 insertions(+), 51 deletions(-)\n\nApplied, thanks.\n\nThierry","headers":{"Return-Path":"<linux-tegra-owner@vger.kernel.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-tegra-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"ZXcCZwA/\"; dkim-atps=neutral"],"Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3yHnYS3L01z9t48\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 19 Oct 2017 23:00:12 +1100 (AEDT)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752403AbdJSMAL (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tThu, 19 Oct 2017 08:00:11 -0400","from mail-qk0-f195.google.com ([209.85.220.195]:54058 \"EHLO\n\tmail-qk0-f195.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751579AbdJSMAK (ORCPT\n\t<rfc822;linux-tegra@vger.kernel.org>);\n\tThu, 19 Oct 2017 08:00:10 -0400","by mail-qk0-f195.google.com with SMTP id y23so9970720qkb.10;\n\tThu, 19 Oct 2017 05:00:10 -0700 (PDT)","from localhost\n\t(p200300E41BE4FD00CEAD5B94E1CFD280.dip0.t-ipconnect.de.\n\t[2003:e4:1be4:fd00:cead:5b94:e1cf:d280])\n\tby smtp.gmail.com with ESMTPSA id\n\ta14sm3486074qtb.86.2017.10.19.05.00.08\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tThu, 19 Oct 2017 05:00:08 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to:user-agent;\n\tbh=KVSskRW53zQ7kFXNwehbE/NY+Bu/3BSqVJ+lXL4gZGM=;\n\tb=ZXcCZwA/Tqm+Fbh6tiIqq+2qR7AWxr0LgVqVRXK3tM6Sg7C+5j1IA9Lx9/WlV+DJnj\n\tg+pYcoV5VY6c6z2DFNcOeP2md9tdskLrG92e68NzA1hY0dLA4wm2lhOJrwe+SJhKuxrH\n\t1IGgiZLEp86hM6hBdgtJ7WwI2rulrckdzY4Cty2ranlfyiduaikUlToAxZjdjq6u6GJI\n\t0yRqvpOCEyla6OGhXiDIRKk2I2OR4IGAxFuMoGBWMwuJj7a7BgyThUDnSUo4TkiMEA6V\n\tg603tEz6z0HxW/fl/Cp+znVm/YTjCkvEIY/kHWWz8QwRB8pUxCXMz35QiDH+Ts5NbX8t\n\tQJXQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to:user-agent;\n\tbh=KVSskRW53zQ7kFXNwehbE/NY+Bu/3BSqVJ+lXL4gZGM=;\n\tb=WOz/THqHqZer02CiaFcNEf81Cz3U/+o9sXXekIVWlySGLO0n1ZGWKr6rTkzsBEh7YW\n\tYQSrsa0IqGDPUNM0r590blXkDFeUyhfIYm/nQpFFNSFN/xqWzPvTS8AulnXhSz6RK9OI\n\tN8jpm4DfRoUJZeJTPRonWfdC8P8oReRGuV7rrEDtdMbG/CYob7NMOrvmSdDK1BmKvqse\n\t+T8pIX+AaQqtGUrKxpv4nJxeIhq0BOy8qB58T2bVB41MbvuacppHAzovWj8WxvuomW8O\n\tzNuxEJoSFJcJWVTa/xK5qGwDQkkoZlHm77g5k4GGhT3/eqSEw/15gEea63OnXTM3/F5o\n\ty3+w==","X-Gm-Message-State":"AMCzsaXYCBXmRYGpPPxWfQHeqfNid4S0IIJUsUEnRQj4Ev2Fs069elaT\n\t6qGzvGjdrsrwPngEKGUDM2k=","X-Google-Smtp-Source":"ABhQp+Sm4ylH4Gp70mCof6tfL7of7EciQK9LogAT41UWYL1dmeJKLMnN38V5WNr1xMJqj6/OOP3daA==","X-Received":"by 10.55.134.1 with SMTP id i1mr1430674qkd.195.1508414409552;\n\tThu, 19 Oct 2017 05:00:09 -0700 (PDT)","Date":"Thu, 19 Oct 2017 14:00:06 +0200","From":"Thierry Reding <thierry.reding@gmail.com>","To":"Mikko Perttunen <mperttunen@nvidia.com>","Cc":"jonathanh@nvidia.com, digetx@gmail.com,\n\tdri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org","Subject":"Re: [PATCH v3 0/6] Miscellaneous improvements to Host1x and TegraDRM","Message-ID":"<20171019120006.GR9005@ulmo>","References":"<20170928125044.32516-1-mperttunen@nvidia.com>","MIME-Version":"1.0","Content-Type":"multipart/signed; micalg=pgp-sha256;\n\tprotocol=\"application/pgp-signature\"; boundary=\"FNX2SHge3qdlDajY\"","Content-Disposition":"inline","In-Reply-To":"<20170928125044.32516-1-mperttunen@nvidia.com>","User-Agent":"Mutt/1.9.1 (2017-09-22)","Sender":"linux-tegra-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<linux-tegra.vger.kernel.org>","X-Mailing-List":"linux-tegra@vger.kernel.org"}}]