Message ID | 20231022111222.484567-1-stanimir.k.varbanov@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Hans Verkuil |
Headers |
Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from <linux-media-owner@vger.kernel.org>) id 1quWNl-004ekn-3X; Sun, 22 Oct 2023 11:12:34 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231876AbjJVLMc (ORCPT <rfc822;mkrufky@linuxtv.org> + 1 other); Sun, 22 Oct 2023 07:12:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbjJVLMb (ORCPT <rfc822;linux-media@vger.kernel.org>); Sun, 22 Oct 2023 07:12:31 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8F0CDE for <linux-media@vger.kernel.org>; Sun, 22 Oct 2023 04:12:28 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-40806e4106dso12974575e9.1 for <linux-media@vger.kernel.org>; Sun, 22 Oct 2023 04:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697973147; x=1698577947; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=IQWvuOFiUBNJs/S8w88w1dGbcOhlrY4y6hR/+1wFMhY=; b=kkOpzSeBw/8iPls4w8Z6m9EF6wKUGfGkfLgJKO6qbPAJxAWuw5fCEpeTKAy8UMiQm2 DKgC14paui8VJ/OY6tsSChi2OyaoAcgSCCe9lPxq7AEKveiVEbrXc0BJCITjv+4kYn0j 18L1Ubrp35Fa2uGYcm3wTmzGFZCfHcPkhdV1lwInbHWJ3MTS5oAwyytzRVqcZBZmP+jj Q/uq+uKhiG/B1jfcrX9NwfJoasP8n3f37PfumzjYZdnLr0SrzwO3er492dUi+e4Kae5A wlyCPV6kwvrlAbVl/O96Sl+rlLp5nLXixMIl+3JKaEUqrT1uTnpynH1+7gM3IxrgWBV0 roLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697973147; x=1698577947; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IQWvuOFiUBNJs/S8w88w1dGbcOhlrY4y6hR/+1wFMhY=; b=BFVSpiJ3STN9901vSGtFfDiWLBd233GAbRSybqJwZjUZpaXnw0zML173tysUr0z7gM Hhe3tsmqTXIo2VNNE1Urlis7/qCXyPHoGpE3Nnv+SpTEvkzBTBxTutEjQQ+Qf3RhbgUX yvvOw0goCQz0KEVwE5KLXHCDDPnXkRNXUSosm9zjkrmUJW/r14tnbGi7QMbY5HkQoEW+ WWfi546R/+SQQNZQakvNqFBVvzJT0ftAiybDsrqOp6vGDnbJ47MnDzFCLgkeKkOH5mv0 jAguv+yfURe3oX7y3dn7pI5IKjbWBuTdx6VfDDlPjlyv78qP8d8U4yAMGHWsA6Zkq7H/ xbhA== X-Gm-Message-State: AOJu0Yw3l19WqI+aML3Ko9pMAmovVxx4zElapetD4MspibRMwUx7dFU+ Gr4W3JSJRnA1ZeJbotGQsdQMhc/3peU= X-Google-Smtp-Source: AGHT+IEy/lPiLScnpxp53V/HWYw69u/SYST1jS7gig74ljwN39NE06IDboVkkAer2zEYxeTzOI5vhg== X-Received: by 2002:a05:600c:2343:b0:401:b92f:eec5 with SMTP id 3-20020a05600c234300b00401b92feec5mr8815416wmq.9.1697973147075; Sun, 22 Oct 2023 04:12:27 -0700 (PDT) Received: from aero-laptop.. (78-154-11-58.ip.btc-net.bg. [78.154.11.58]) by smtp.gmail.com with ESMTPSA id p3-20020a05600c468300b0040646a708dasm6657414wmo.15.2023.10.22.04.12.26 for <linux-media@vger.kernel.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 04:12:26 -0700 (PDT) From: Stanimir Varbanov <stanimir.k.varbanov@gmail.com> To: linux-media@vger.kernel.org Subject: [GIT PULL FOR v6.7] Venus updates Date: Sun, 22 Oct 2023 14:12:22 +0300 Message-Id: <20231022111222.484567-1-stanimir.k.varbanov@gmail.com> X-Mailer: git-send-email 2.34.1 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_BLOCKED,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: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-LSpam-Score: -4.8 (----) X-LSpam-Report: No, score=-4.8 required=5.0 tests=BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,FREEMAIL_FORGED_FROMDOMAIN=0.001,FREEMAIL_FROM=0.001,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_MED=-2.3 autolearn=ham autolearn_force=no |
Series |
[GIT,PULL,FOR,v6.7] Venus updates
|
|
Pull-request
git://linuxtv.org/svarbanov/media_tree.git tags/tag-venus-for-v6.7Message
Stanimir Varbanov
Oct. 22, 2023, 11:12 a.m. UTC
Hello Mauro, The pull request includes: - A flex-array fix - Few fixes to avoid OOB accesses - Correct firmware path for more SOC versions Please, pull. regards, Stan The following changes since commit 94e27fbeca27d8c772fc2bc807730aaee5886055: media: cec: meson: always include meson sub-directory in Makefile (2023-10-13 11:33:22 +0200) are available in the Git repository at: git://linuxtv.org/svarbanov/media_tree.git tags/tag-venus-for-v6.7 for you to fetch changes up to 9060ee6e0c0e865922ffd51517a7693ae3b231b8: media: venus: Fix firmware path for resources (2023-10-22 03:41:57 +0300) ---------------------------------------------------------------- Venus updates for v6.7 ---------------------------------------------------------------- Gustavo A. R. Silva (1): media: venus: hfi_cmds: Replace one-element array with flex-array member and use __counted_by Patrick Whewell (1): media: venus: Fix firmware path for resources Vikash Garodia (4): venus: hfi: add checks to perform sanity on queue pointers venus: hfi: fix the check to handle session buffer requirement venus: hfi: add checks to handle capabilities from firmware venus: hfi_parser: Add check to keep the number of codecs within range drivers/media/platform/qcom/venus/core.c | 10 +++++----- drivers/media/platform/qcom/venus/hfi_cmds.h | 2 +- drivers/media/platform/qcom/venus/hfi_msgs.c | 2 +- drivers/media/platform/qcom/venus/hfi_parser.c | 15 +++++++++++++++ drivers/media/platform/qcom/venus/hfi_venus.c | 10 ++++++++++ 5 files changed, 32 insertions(+), 7 deletions(-)
Comments
From: builder@linuxtv.org
Pull request: https://patchwork.linuxtv.org/project/linux-media/patch/20231022111222.484567-1-stanimir.k.varbanov@gmail.com/
Build log: https://builder.linuxtv.org/job/patchwork/350425/
Build time: 00:23:30
Link: https://lore.kernel.org/linux-media/20231022111222.484567-1-stanimir.k.varbanov@gmail.com
gpg: Signature made Sun 22 Oct 2023 10:54:22 AM UTC
gpg: using RSA key E1558C2497CE3CCC2B5AA30F25B55FC81B7035F2
gpg: Good signature from "Stanimir Varbanov <stanimir.varbanov@linaro.org>" [expired]
gpg: Note: This key has expired!
Primary key fingerprint: 34CF E039 8A16 AD93 18FD D5E8 A6D0 26D8 E358 14D4
Subkey fingerprint: E155 8C24 97CE 3CCC 2B5A A30F 25B5 5FC8 1B70 35F2
Summary: got 2/6 patches with issues, being 1 at build time
Error/warnings:
patches/0001-venus-hfi-add-checks-to-perform-sanity-on-queue-poin.patch:
allyesconfig: return code #0:
../scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr]
../scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
../scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
allyesconfig: return code #0:
SMATCH:../drivers/media/usb/siano/smsusb.c ../drivers/media/usb/siano/smsusb.c:53:38: :warning: array of flexible structures
../drivers/media/i2c/ov5645.c: ../drivers/media/i2c/ov5645.c:687 ov5645_set_power_on() warn: 'ov5645->xclk' from clk_prepare_enable() not released on lines: 687.
../drivers/media/usb/uvc/uvc_v4l2.c: note: in included file (through ../arch/x86/include/asm/uaccess.h, ../include/linux/uaccess.h, ../include/linux/sched/task.h, ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ...):
SPARSE:../drivers/media/usb/uvc/uvc_v4l2.c ../arch/x86/include/asm/uaccess_64.h:88:24: warning: cast removes address space '__user' of expression
../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2517 dvb_register() parse error: OOM: 3014560Kb sm_state_count = 1757213
../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2517 dvb_register() parse error: __split_smt: function too hairy. Giving up after 52 seconds
../drivers/media/pci/cx25821/cx25821-medusa-video.c: ../drivers/media/pci/cx25821/cx25821-medusa-video.c:399 medusa_set_videostandard() parse error: OOM: 3003988Kb sm_state_count = 2158
../drivers/media/pci/cx25821/cx25821-medusa-video.c: ../drivers/media/pci/cx25821/cx25821-medusa-video.c:399 medusa_set_videostandard() parse error: __split_smt: function too hairy. Giving up after 4 seconds
../drivers/media/usb/em28xx/em28xx-video.c: ../drivers/media/usb/em28xx/em28xx-video.c:2831 em28xx_v4l2_init() parse error: turning off implications after 60 seconds
../drivers/media/pci/ivtv/ivtvfb.c: note: in included file (through ../arch/x86/include/asm/uaccess.h, ../include/linux/uaccess.h, ../include/linux/sched/task.h, ../include/linux/sched/signal.h, ../drivers/media/pci/ivtv/ivtv-driver.h):
SPARSE:../drivers/media/pci/ivtv/ivtvfb.c ../arch/x86/include/asm/uaccess_64.h:88:24: warning: cast removes address space '__user' of expression
patches/0005-media-venus-hfi_cmds-Replace-one-element-array-with-.patch:
checkpatch.pl:
$ cat patches/0005-media-venus-hfi_cmds-Replace-one-element-array-with-.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
-:12: WARNING: Prefer a maximum 75 chars per line (possible unwrapped commit description?)