Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp494098imm; Sat, 8 Sep 2018 03:08:14 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYbXpcnX/7WhfIP5OUoqkM67F+riD0Ml3nYj3qDXLcd8ZDLDA7zjuMB0iaciOEovfyHlf1m X-Received: by 2002:a62:198e:: with SMTP id 136-v6mr13198667pfz.103.1536401294746; Sat, 08 Sep 2018 03:08:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536401294; cv=none; d=google.com; s=arc-20160816; b=kE49Uxhwl6csXilZOVd3ZVG50xJ6YuKgKEm2uedTAJ5b7BpHjl6aCWkn3s4W86Ci6T ewxYA8cRvu6k3fWsh+KTB9WLYVfuiKbiGY8q3eoWKb2d/l7Fnw585zu1Xv9CeuVDwRj/ MV3gmpWxJPYZxJxAxd83DHfASbNlYMexRbJz8+VoeJ6bX5F4YuhVUUdF//Gk6sAmCoHy NRg8AB0+AnFoHbFNg26pVptKR6IS869hU073HGZ20m5S2qqj/UY/11reukU+tX5z/1c2 DESeF9og891o4teljZ6f5tThi5V1JDd/SMglIIJODfICE7q8F5ndtz7ZFBYNTPRCfUcx HOFQ== 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; bh=s00ojH+ENoD0+V9+36haqM/N6PzbdWt42RL2LhUZS7s=; b=lPpDj9Rl0///Wieu9ceWg0VmbdKUSvKnWxd4VSPJTR2wXgXhLbnZHr0FO+9J0LJzm5 lp0BddegZUfNz0w+BOIjqyPrZ/PxzBNXuZcH2jWVAWLGtWCJY6ZG9B36JPK0sht2jqhN QKdCPaGu18vpzU1VOaObc+bZK4mRRcG+BIXdIA9q7qDBMgvPVrNi+IeqJFanZjAX7XfI ZcnnjZjqrz99uv9IZ4L3wa44w2KitLfYn8u3sF0pc6NYJaHTHsfNNCDKYN5dY5EJWr5A lgXG7jfRmmHcdvTrv69sIS9MFHHKiR0/ElhKPykqdQ241lU7uPZavlXITidDRmfspCPm zaPw== ARC-Authentication-Results: i=1; mx.google.com; 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 37-v6si10815864plq.316.2018.09.08.03.07.59; Sat, 08 Sep 2018 03:08:14 -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; 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 S1726667AbeIHOvi (ORCPT + 99 others); Sat, 8 Sep 2018 10:51:38 -0400 Received: from lb2-smtp-cloud9.xs4all.net ([194.109.24.26]:33874 "EHLO lb2-smtp-cloud9.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726472AbeIHOvi (ORCPT ); Sat, 8 Sep 2018 10:51:38 -0400 Received: from [192.168.2.10] ([212.251.195.8]) by smtp-cloud9.xs4all.net with ESMTPA id ya87f1ArYMsEFya8Bf6XuD; Sat, 08 Sep 2018 12:06:23 +0200 Subject: Re: [PATCH 0/2] Follow-up patches for Cedrus v9 To: Paul Kocialkowski , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org Cc: Maxime Ripard , Paul Kocialkowski , Mauro Carvalho Chehab , Greg Kroah-Hartman , Chen-Yu Tsai , linux-sunxi@googlegroups.com, Randy Li , Ezequiel Garcia , Tomasz Figa , Alexandre Courbot , Philipp Zabel , Laurent Pinchart , Sakari Ailus , Thomas Petazzoni References: <20180907163347.32312-1-contact@paulk.fr> From: Hans Verkuil Message-ID: <11104c03-97ac-8b36-7d75-dfecb8fcce10@xs4all.nl> Date: Sat, 8 Sep 2018 12:06:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20180907163347.32312-1-contact@paulk.fr> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfKXTDPScV/oT8+cYC5SkfopfgRqwdE399XpJT/DywIwz2yRS4vvgNkl4Q7770hOCxUcqwuHY9d/TCForw0KsRGhXMWBEAo86ay2mu3zLNAeQH2iFDnxe hhSy29wmEEBiMSfeGK6vdOO1auH5s4VT5mg8J2A2B14jd3YEqToXy/wz8/nJgEeI2oWsnEok0K7OVXZi/zejGwIbN9j+5uh9VlMDJ64DSuKlGGE1DW/JL1OQ AB03T6ao5Bo8usQN7lHt5dlk7wDI7mBMaYIYEIskuSGMWdJiGnYZmAodVDVG8L8mA6/r02TfGUfSDu1XTA/ri885KlZakGYulkNQDUH29hNWIfRTNgdCkDl5 0frXA/C0OhxsmVdWKgUw/dP8rwL1rvo2bY9P1ZIA2dx8/AkS2yKFybkDe9kkVhzH0HPyEH8Ym7rG8qAR01yvfRJq9dJfZ9x+mOq2lLI7k5AcFSsmDOSTav87 ElaSo+kJlPqsvp04pJ+cokNXep934N3UvYq1boE0epgyiMWJtsBJMbrb7+NzIZS9JaQaD3PS2+FTmK9kjVQmvheW5J3avMET5aXl1oJKj/4jUCUgFxgR+p1l sGGSIGv2n7K9g2dFwicgfkqUJqXK493yZohmel6V5D3hSYli83jrrFtoXRkybjHToMuydwzF+P+jrOwJXietWGDgt4lNTRnovKT/qrw9p0FzZRpl0hxb0DfC Me7NuIGVisMwl+KHOmmE/Cp7FASBlx4amkdVKQ7KfwiLbB3z8dYqW42QzcaxZh7XIhoAqsnqYBaQF0mAeuOsLq+QrCuiNuT0SRRCkE3HmNZUtuHvge2HfTGD zn06I2TkxFYaHqzPEWA= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/07/2018 06:33 PM, Paul Kocialkowski wrote: > This brings the requested modifications on top of version 9 of the > Cedrus VPU driver, that implements stateless video decoding using the > Request API. > > Paul Kocialkowski (2): > media: cedrus: Fix error reporting in request validation > media: cedrus: Add TODO file with tasks to complete before unstaging > > drivers/staging/media/sunxi/cedrus/TODO | 7 +++++++ > drivers/staging/media/sunxi/cedrus/cedrus.c | 15 ++++++++++++--- > 2 files changed, 19 insertions(+), 3 deletions(-) > create mode 100644 drivers/staging/media/sunxi/cedrus/TODO > So close... When compiling under e.g. intel I get errors since it doesn't know about the sunxi_sram_claim/release function and the PHYS_PFN_OFFSET define. Is it possible to add stub functions to linux/soc/sunxi/sunxi_sram.h if CONFIG_SUNXI_SRAM is not defined? That would be the best fix for that. The use of PHYS_PFN_OFFSET is weird: are you sure this is the right way? I see that drivers/of/device.c also sets dev->dma_pfn_offset, which makes me wonder if this information shouldn't come from the device tree. You are the only driver that uses this define directly, which makes me suspicious. Regards, Hans