Re: [PATCH 0/2] module: Block modules by Tuxedo from accessing GPL symbols

2024-11-20 Thread Hans de Goede
essy. Also as you know Werner has already relicensed all the out of tree drivers which Tuxedo could easily relicense to GPL v2 to GPL v2. TL;DR: I do not believe that Tuxedo/Werner are acting in bad faith here and IMHO it would be good to give them some leeway here while they sort this out. Regards, Hans

Re: [PATCH v4 0/4] Add SBAF test to IFS

2024-08-12 Thread Hans de Goede
le, it is recommended to > relocate the time-sensitive applications to other cores for the > duration of the test. Thank you for your patch-series, I've applied the series to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans

Re: [PATCH v2 2/3] media: usb: pvrusb2: Fix Wcast-function-type-strict warnings

2024-02-28 Thread Hans Verkuil
as already been merged, superseding your patch: https://lore.kernel.org/linux-media/20240213100439.457403-1-a...@kernel.org/ Marking your patch as Obsolete in patchwork. Regards, Hans > > Reviewed-by: Nathan Chancellor > Signed-off-by: Ricardo Ribalda > --- > drivers/

Re: [PATCH v2 1/3] media: pci: sta2x11: Fix Wcast-function-type-strict warnings

2024-02-27 Thread Hans Verkuil
//lore.kernel.org/linux-media/20240213095451.454142-1-a...@kernel.org/ So I'm marking your patch as 'Obsolete' in patchwork. Regards, Hans > --- > drivers/media/pci/sta2x11/sta2x11_vip.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >

Re: [PATCH v2 3/3] media: mediatek: vcodedc: Fix Wcast-function-type-strict warnings

2024-02-27 Thread Hans Verkuil
mon/mtk_vcodec_fw_vpu.c but otherwise they are different, which is a bit odd. Can you take a look at Arnd's patch and see if you need to incorporate his changes into your patch? Regards, Hans On 26/02/2024 18:32, Ricardo Ribalda wrote: > Building with LLVM=1 throws the following warning

Re: [PATCH] visl: use canonical ftrace path

2023-10-04 Thread Hans Verkuil
On 10/4/23 15:57, Steven Rostedt wrote: > On Wed, 4 Oct 2023 08:33:12 +0200 > Hans Verkuil wrote: > >> On 03/10/2023 23:41, Steven Rostedt wrote: >>> >>> Could this go through the linux-media tree, or if you give it an Ack, I'll >>> take it through

Re: [PATCH] visl: use canonical ftrace path

2023-10-03 Thread Hans Verkuil
ger.kernel.org? The patch looks fine, so I'll pick it up. Regards, Hans > > -- Steve > > > On Tue, 29 Aug 2023 14:46:01 -0600 > Ross Zwisler wrote: > >> From: Ross Zwisler >> >> The canonical location for the tracefs filesystem is a

Re: [PATCH v3] x86/platform/uv: refactor deprecated strcpy and strncpy

2023-09-13 Thread Hans de Goede
Hi, On 9/6/23 16:09, Ingo Molnar wrote: > > * Hans de Goede wrote: > >> Hi Ingo, >> >> On 9/6/23 14:10, Ingo Molnar wrote: >>> >>> * Justin Stitt wrote: >>> >>>> Both `strncpy` and `strcpy` are deprecated for use on NUL-termi

Re: [PATCH 1/6] staging: media: atomisp: improve function argument alignment

2021-04-20 Thread Hans Verkuil
On 20/04/2021 19:19, Deepak R Varma wrote: > On Tue, Apr 20, 2021 at 03:24:32PM +0200, Hans Verkuil wrote: >> On 19/04/2021 21:12, Deepak R Varma wrote: >>> Improve multi-line function argument alignment according to the code style >>> guidelines. Resolves checkpatch

Re: [PATCH] platform/surface: aggregator: fix a bit test

2021-04-20 Thread Hans de Goede
> Reported-by: kernel test robot > Signed-off-by: Dan Carpenter Thank you for your patch, I've applied this patch to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans Note it will show up in my review-hans branc

Re: [PATCH 0/2] drm/bridge: dw-hdmi: disable loading of DW-HDMI CEC sub-driver

2021-04-20 Thread Hans Verkuil
e >> CEC or not ? > > Actually, the CEC config bit is right, the HW exists and should be > functional, but > this bit doesn't tell if the CEC signal is connected to something. > > This lies in the IP integration, like other bits under the > "amlogic,meson-*-

Re: [PATCH][next] platform/x86: intel_pmc_core: fix unsigned variable compared to less than zero

2021-04-20 Thread Hans de Goede
> Addresses-Coverity: ("Unsigned compared against 0") > Fixes: 8074a79fad2e ("platform/x86: intel_pmc_core: Add option to set/clear > LPM mode") > Signed-off-by: Colin Ian King Thank you for the patch, but I already send out the same patch myself yesterday, so thi

Re: [PATCH 5/6] staging: media: atomisp: fix CamelCase variable naming

2021-04-20 Thread Hans Verkuil
int analog_gain, digital_gain; >> +u32 analog_gain_to_write = 0; >> > > this patch is made of multiple logical changes, i.e. more than one > variable at a time are renamed. Maybe this should be split in > one patch per variable name. I'm OK with this, it's pretty readable and obvious what is going on. Regards, Hans

Re: [PATCH 1/6] staging: media: atomisp: improve function argument alignment

2021-04-20 Thread Hans Verkuil
y: email address mismatch: 'From: Deepak R Varma ' != 'Signed-off-by: Deepak R Varma ' Which email should I use? Ideally you should post from the same email as the Signed-off-by. Regards, Hans > --- > drivers/staging/media/atomisp/i2c/atomisp-gc0310.c |

Re: [PATCH v2] staging: media: atomisp: pci: Change line break to avoid an open parenthesis at the end of the line

2021-04-20 Thread Hans Verkuil
t; +const struct atomisp_format_bridge* Keep the space before the *! Regards, Hans > +get_atomisp_format_bridge_from_mbus(u32 mbus_code); > bool atomisp_is_mbuscode_raw(uint32_t code); > int atomisp_get_frame_pgnr(struct atomisp_device *isp, > const struct

Re: [PATCH] media: atomisp: silence "dubious: !x | !y" warning

2021-04-20 Thread Hans Verkuil
(!vf_info)) >> >> >> While here, please get rid of the unneeded parenthesis: >> >> if (!out_info || !vf_info) >> >> >>> return -EINVAL; >>> >>> out_width = out_info->res.width; >> >> >> >> Thanks, >> Mauro > Updated Patch as per your feedback Please don't post patches as an attachment. Just post it inline as you did the first time, but with Subject prefix [PATCHv2]. Thanks! Hans

Re: [PATCH v9 03/13] media: hantro: Use syscon instead of 'ctrl' register

2021-04-20 Thread Hans Verkuil
On 20/04/2021 11:31, Benjamin Gaignard wrote: > > Le 20/04/2021 à 11:16, Hans Verkuil a écrit : >> On 20/04/2021 11:10, Benjamin Gaignard wrote: >>> Le 16/04/2021 à 17:14, Lucas Stach a écrit : >>>> Am Freitag, dem 16.04.2021 um 15:08 +0200 schrieb Benjamin Gaig

Re: [PATCH v9 03/13] media: hantro: Use syscon instead of 'ctrl' register

2021-04-20 Thread Hans Verkuil
art, so I wonder if pure hevc patches >>> could be merged anyway ? >>> They are reviewed and don't depend of how the ctrl block is managed. >> I'm not really in a position to give any informed opinion about that >> hvec patches, as I only skimmed them, but

Re: [PATCH V2 0/9] intel_pmc_core: Add sub-state requirements and mode

2021-04-19 Thread Hans de Goede
residency in microseconds > - Patch 8 adds missing LTR IPs for TGL > - Patch 9 adds support for ADL-P which is based on TGL > > Applied on top of latest hans-review/review-hans Thank you for your patch-series, I've applied the series to my review-hans branch: https://git.kernel

Re: [PATCH 0/2] Remove GA14/15 quirks to acpi/video_detect

2021-04-19 Thread Hans de Goede
Hi, On 4/19/21 10:02 AM, Luke Jones wrote: > NP Hans, sorry about the length of time this took. Other duties etc. > > I appreciated the wealth of insight you were able to provide to enable this. BTW, I see that your drivers/acpi/video_detect.c patch is marked as [PATCH 1/3] I gues

Re: [PATCH 0/2] Remove GA14/15 quirks to acpi/video_detect

2021-04-19 Thread Hans de Goede
ing drivers/acpi/video_detect.c patch. Regards, Hans > Luke D. Jones (2): > Revert "platform/x86: asus-nb-wmi: Drop duplicate DMI quirk > structures" > Revert "platform/x86: asus-nb-wmi: add support for ASUS ROG Zephyrus > G14 and G15"

Re: [PATCH V2 0/9] intel_pmc_core: Add sub-state requirements and mode

2021-04-17 Thread Hans de Goede
residency in microseconds > - Patch 8 adds missing LTR IPs for TGL > - Patch 9 adds support for ADL-P which is based on TGL > > Applied on top of latest hans-review/review-hans Thank you, the series looks good to me know, except for one very minor issue in patch 5, which as I already

Re: [PATCH V2 5/9] platform/x86: intel_pmc_core: Get LPM requirements for Tiger Lake

2021-04-17 Thread Hans de Goede
mory mapped but are > available from an ACPI _DSM. Collect the requirements for Tiger Lake using > the _DSM method and store in a buffer. > > Signed-off-by: Gayatri Kammela > Co-developed-by: David E. Box > Signed-off-by: David E. Box > Reviewed-by: Hans de Goede > ---

Re: [PATCH V2 5/9] platform/x86: intel_pmc_core: Get LPM requirements for Tiger Lake

2021-04-17 Thread Hans de Goede
are not memory mapped but are > available from an ACPI _DSM. Collect the requirements for Tiger Lake using > the _DSM method and store in a buffer. > > Signed-off-by: Gayatri Kammela > Co-developed-by: David E. Box > Signed-off-by: David E. Box > Reviewed-by: Hans de Goede

Re: [PATCH] staging: media: atomisp: pci: Change line break to avoid an open parenthesis at the end of the line

2021-04-15 Thread Hans Verkuil
irqreturn_t atomisp_isr_thread(int irq, void *isp_ptr); > -const struct atomisp_format_bridge *get_atomisp_format_bridge_from_mbus( > -u32 mbus_code); > +const struct atomisp_format_bridge > +*get_atomisp_format_bridge_from_mbus(u32 mbus_code); You keep the * on the previous line sin

Re: [PATCH] staging: media: tegra-video: Align line break to match with the open parenthesis in file vi.c

2021-04-15 Thread Hans Verkuil
remote, Add this line to the previous line. That looks a bit better and is one line shorter. Regards, Hans > + struct > tegra_vi_graph_entity); > if (IS_ERR(tvge)) { > ret = PTR_ERR(tvge); > dev_err(vi->dev, >

Re: [PATCH v3] staging: media: zoran: reduce length of a line

2021-04-15 Thread Hans Verkuil
(start of frame) segment depends on width, height and sampling ratio > of each color component */ > +/* > + * SOF (start of frame) segment depends on width, > + * height and sampling ratio of each color component > + */ > + No need for this extra newline. The comment block d

Re: Subject: [PATCH v4] staging: media: zoran: add '*' in long(multi-line) comments

2021-04-15 Thread Hans Verkuil
C(debug, "Debug level (0-4)"); > } while (0) > > /* = /* should be on a line by itself: /* * = That said, I would just delete those '=

Re: [PATCH] platform/x86: intel_chtdc_ti_pwrbtn: Fix missing IRQF_ONESHOT as only threaded handler

2021-04-15 Thread Hans de Goede
g to do though. I've tested that the driver still works after this. Thank you for your patch, I've applied this patch to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans Note it will show up in my review-hans branch o

Re: linux-next: Signed-off-by missing for commit in the drivers-x86 tree

2021-04-14 Thread Hans de Goede
mehow forgot to pass -s to "git am", this is fixed now. Regards, Hans

Re: [PATCH] staging: media: omap4iss: Remove unused macro functions

2021-04-14 Thread Hans Verkuil
On 13/04/2021 20:21, ascordeiro wrote: > Em ter, 2021-04-13 às 17:06 +0200, Hans Verkuil escreveu: >> On 12/04/2021 15:42, Aline Santana Cordeiro wrote: >>> Remove unused macro functions "to_iss_device()", "to_device()", >>> and "v4l2_dev_to_iss

Re: [PATCH v3 0/2] Intra-refresh period control

2021-04-13 Thread Hans Verkuil
On 13/04/2021 17:49, Stanimir Varbanov wrote: > Hi Hans, > > Any comments? Thanks for the reminder, I replied to the patch. Regards, Hans > > On 3/2/21 11:53 AM, Stanimir Varbanov wrote: >> Hi, >> >> This series add a new intra-refresh period control

Re: [PATCH v3 1/2] media: v4l2-ctrls: Add intra-refresh period control

2021-04-13 Thread Hans Verkuil
t V4L2_CID_MPEG_VIDEO_CYCLIC_INTRA_REFRESH_MB is enumerated in the venus driver, but doesn't do anything. Wouldn't it be better to remove it? Regards, Hans > +Applicable to H264 and HEVC encoders. > + > ``V4L2_CID_MPEG_VIDEO_FRAME_RC_ENABLE (boolean)`` >

Re: [PATCH] staging: media: tegra-vde: Align line break to match with the open parenthesis in file trace.h

2021-04-13 Thread Hans Verkuil
e almost a language by themselves, and the usual alignment rules do not apply. Look at other existing trace.h files in the kernel and you'll see that they have their own coding style. So I prefer not to apply this patch. You couldn't have known that, so it's not your fault. Regards,

Re: [PATCH v3] staging: media: meson: vdec: declare u32 as static const

2021-04-13 Thread Hans Verkuil
ut: WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line) #9: This indicates the value of canvas indexes will remain constant throughout execution. Regards, Hans > > Reported-by: kernel test robot > Signed-off-by: Mitali Borkar > --- > Cha

Re: [PATCH] staging: media: omap4iss: Remove unused macro functions

2021-04-13 Thread Hans Verkuil
ly v4l2_dev_to_iss_device appears to be unused. Regards, Hans > > Signed-off-by: Aline Santana Cordeiro > --- > drivers/staging/media/omap4iss/iss.h | 8 > 1 file changed, 8 deletions(-) > > diff --git a/drivers/staging/media/omap4iss/iss.h > b/driver

Re: [PATCH v3 1/2] media: zoran: add spaces around '<<'

2021-04-13 Thread Hans Verkuil
Missing commit message. You used to have one in v1 of this patch! Regards, Hans On 10/04/2021 17:33, Mitali Borkar wrote: > Signed-off-by: Mitali Borkar > --- > Changes from v2:- No changes. > Changes from v1:- NO changes. > > drivers/staging/media/zo

Re: [PATCH v3 2/2] staging: media: zoran: align code appropriately

2021-04-13 Thread Hans Verkuil
ssue as the other patches: this patch depends on other local changes so won't apply to mainline code... Regards, Hans > -#define ZR36057_VFEHCR_H_START 10 > -#define ZR36057_VFEHCR_H_END 0 > -#define ZR36057_VFEHCR_HMASK 0x3ff > +#define ZR

Re: [Outreachy kernel][PATCH 1/2] staging: media: omap4iss: Align line break to the open parenthesis in file iss.c

2021-04-13 Thread Hans Verkuil
n applied in the media subsystem tree. Regards, Hans > --- > drivers/staging/media/omap4iss/iss.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/media/omap4iss/iss.c > b/drivers/staging/media/omap4iss/iss.c > index dae9073

Re: [PATCH v3] staging: media: zoran: remove and move statement in next line with '*'

2021-04-13 Thread Hans Verkuil
h, so it won't apply against the mainline code. Regards, Hans > > diff --git a/drivers/staging/media/zoran/zr36050.c > b/drivers/staging/media/zoran/zr36050.c > index 703064009c6b..b89afa239b0c 100644 > --- a/drivers/staging/media/zoran/zr36050.c > +++ b/drivers

Re: [PATCH v2] staging: media: zoran: moved statement to next line with '*'

2021-04-13 Thread Hans Verkuil
36060_set_sof(struct zr36060 *ptr) > Same problem as with other patches: this sits on top of your v1, so won't apply to mainline code. Regards, Hans

Re: Subject: [PATCH v2] staging: media: meson: vdec: declare u32 as static const appropriately

2021-04-13 Thread Hans Verkuil
On 13/04/2021 13:09, Mitali Borkar wrote: > On Tue, Apr 13, 2021 at 09:26:01AM +0200, Hans Verkuil wrote: >> On 13/04/2021 08:27, Mitali Borkar wrote: >>> Declared 32 bit unsigned int as static constant inside a function >>> appropriately. >>> >>> Repo

Re: [PATCH v7 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-04-13 Thread Hans de Goede
gt;micmute_led ? LED_ON :LED_OFF); > 7) If "LED" is set to on dell-privacy notifies EC, and timeout is cancelled, >HW mic mute activated. If EC not notified, HW mic mute will also be >activated when timeout used up, it is just later than active ack > > Signed-off-by

Re: [PATCH v2] platform/x86: pmc_atom: Match all Beckhoff Automation baytrail boards with critclk_systems DMI table

2021-04-13 Thread Hans de Goede
e clocks > turned on is not an issue. > > Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL") > Reviewed-by: Andy Shevchenko > Signed-off-by: Steffen Dirkwinkel Thank you for your patch, I've applied this patch to my review-hans branch: https://gi

Re: [PATCH v5] platform/x86: add Gigabyte WMI temperature driver

2021-04-13 Thread Hans de Goede
This driver implements such an ACPI driver. Thank you for your patch, I've applied this patch to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans Note it will show up in my review-hans branch once I've pushed my

Re: [PATCH v6] platform/x86: intel_pmc_core: export platform global reset bits via etr3 sysfs file

2021-04-13 Thread Hans de Goede
ing and the file is set to read-only mode via is_visible > handler. > > The register in MMIO space is defined for Cannon Lake and newer PCHs. > > Cc: Hans de Goede > Cc: David E Box > Reviewed-by: Andy Shevchenko > Signed-off-by: Tamar Mashiah > Signed-off-by: Tomas Winkl

Re: Subject: [PATCH v2] staging: media: meson: vdec: declare u32 as static const appropriately

2021-04-13 Thread Hans Verkuil
s is a patch on top of your previous (v1) patch. That won't work since the v1 is not merged, you need to make a patch against the current mainline code. Regards, Hans > > amvdec_set_canvases(sess, canvas3, canvas4); > >

Re: [PATCH v7 2/2] ASoC: rt715:add micmute led state control supports

2021-04-12 Thread Hans de Goede
erged upstream and is currently in for-nex.t. So IMHO you should use the new sysfs mechanism for this rather then adding quirks to individual codec drivers. Regards, Hans > > > v5 -> v6: > * addresed review comments from Jaroslav > * add quirks for micmute led control as s

Re: [PATCH v2] staging: media: zoran: remove and add '*' in long(multi-line) comments

2021-04-12 Thread Hans Verkuil
On 11/04/2021 13:47, Mitali Borkar wrote: > On Fri, Apr 09, 2021 at 12:53:35PM +0200, Hans Verkuil wrote: >> On 09/04/2021 12:49, Mitali Borkar wrote: >>> Added '*' before every line inside long(multi-line) comments. Removed >>> '*/' from end of the c

Re: [PATCH v2] staging: media: meson: vdec: declare u32 as const and static const

2021-04-12 Thread Hans Verkuil
ability. > > Signed-off-by: Mitali Borkar > --- > drivers/staging/media/meson/vdec/codec_mpeg12.c | 5 +++-- Also change drivers/staging/media/meson/vdec/codec_h264.c. It's a nice improvement, so let's do this for both callers of amvdec_set_canvases(). Regards,

Re: [PATCH v3] platform/x86: add Gigabyte WMI temperature driver

2021-04-10 Thread Hans de Goede
i.o >> >> # Acer >> obj-$(CONFIG_ACERHDF) += acerhdf.o >> diff --git a/drivers/platform/x86/gigabyte-wmi.c >> b/drivers/platform/x86/gigabyte-wmi.c >> new file mode 100644 >> index ..fb4e6d4c1823 >> --- /dev/nul

Re: [PATCH v3] platform/x86: add Gigabyte WMI temperature driver

2021-04-10 Thread Hans de Goede
quot;Forcing load on unknown platform" If you are ok with these changes I can fix this up while merging, no need to send a v4. Although if you prefer to send a v4 that is fine too. Either way let me know. Regards, Hans p.s. For v4 or for a next patch, the way to add the changelog so that it

Re: [PATCH v2] platform/x86: add Gigabyte WMI temperature driver

2021-04-10 Thread Hans de Goede
Hi, On 4/10/21 8:56 AM, Guenter Roeck wrote: > On 4/8/21 11:02 PM, Thomas Weißschuh wrote: >> On Do, 2021-04-08T08:00-0700, Guenter Roeck wrote: >>> On 4/8/21 2:36 AM, Hans de Goede wrote: >>>> On 4/7/21 9:43 PM, Thomas Weißschuh wrote: >>>>> On M

Re: [PATCH 1/2] media: zoran: add spaces around '<<'

2021-04-09 Thread Hans Verkuil
On 09/04/2021 17:11, Mitali Borkar wrote: > On Fri, Apr 09, 2021 at 09:23:22AM +0200, Hans Verkuil wrote: >> Hi Mitali, >> >> On 08/04/2021 22:38, Mitali Borkar wrote: >>> Added spaces around '<<' operator to improve readability and meet linux >&

Re: [PATCH v2] staging: media: zoran: remove and add '*' in long(multi-line) comments

2021-04-09 Thread Hans Verkuil
uot;videocodec.h" > > /* it doesn't make sense to have more than 20 or so, The coding style says that /* is on a line of its own. So change that too. Regards, Hans > - * just to prevent some unwanted loops */ > + * just to prevent some unwanted loops > + */ &g

Re: [PATCH] staging: media: zoran: add '*' in subsequent line

2021-04-09 Thread Hans Verkuil
kpatch.pl warns about that, so did you run checkpatch.pl after your modifications were made? After fixing checkpatch issues, always run it again to make sure the issue is really fixed and not just replaced by another issue. Regards, Hans > #define MAX_CODECS 20 > > /* amo

Re: [PATCH] staging: media: meson: vdec: matched alignment with parenthesis

2021-04-09 Thread Hans Verkuil
}); The alignment here is because the 2nd and 3rd arguments belong together, so the alignment indicates that. In order to keep that I would add a newline after 'sess,' as well. Same as is done in meson/vdec/codec_h264.c. Regards, Hans > if (ret) > goto free_workspace; > >

Re: [PATCH] staging: media: zoran: reduce length of a line

2021-04-09 Thread Hans Verkuil
coding style guidelines: the preferred style for long comments is: /* * text * text */ Regards, Hans > static int zr36060_set_sof(struct zr36060 *ptr) > { > char sof_data[34]; // max. size of register set >

Re: [PATCH 1/2] media: zoran: add spaces around '<<'

2021-04-09 Thread Hans Verkuil
ND0 #define ZR36057_VFEHCR_HMASK0x3ff Same for all the other register blocks. Use tabs to do the alignment instead of spaces, as is currently the case. The second patch can replace the (0<<3) etc. to BIT(0). That would be a nice cleanup of this rather messy header. Thanks! Hans

Re: [PATCH 1/1] usb: typec: tcpm: remove unused static variable 'tcpm_altmode_ops'

2021-04-08 Thread Hans de Goede
. I have dropped the ball a bit on posting a v2 of my series using this. I'll prepare a v2 of my series, addressing Heikki's review comments to my v1 right away. I'll post a v2 at the latest tomorrow. This is something which is on my TODO list anyways and this way we will sa

Re: [PATCH v2] platform/x86: add Gigabyte WMI temperature driver

2021-04-08 Thread Hans de Goede
is one over to drivers/hwmon if that has your preference. As for other cases then this driver, if you want to make sure you are at least Cc-ed on all hwmon related changes I'm fine with adding you as a reviewer to the pdx86 MAINTAINERS entry. Regards, Hans > > Guenter > >

Re: linux-next: Signed-off-by missing for commit in the drivers-x86 tree

2021-04-08 Thread Hans de Goede
merge from an immutable branch from the tip folks, but I did a rebase -i to fixup a typo in a commit message and that seems to have flattened the merge :| I'll redo the last 3 commits in pdx/for-next to re-add the merge and do a forced push. Regards, Hans

Re: [PATCH 1/1] usb: typec: tcpm: remove unused static variable 'tcpm_altmode_ops'

2021-04-08 Thread Hans de Goede
Hi, On 4/8/21 11:25 AM, Heikki Krogerus wrote: > On Thu, Apr 08, 2021 at 11:10:38AM +0200, Hans de Goede wrote: >> Hi, >> >> On 4/7/21 11:15 AM, Zhen Lei wrote: >>> Fixes the following W=1 kernel build warning: >>> >>> drivers/usb/typec/tcpm/tcp

Re: [PATCH v2] platform/x86: add Gigabyte WMI temperature driver

2021-04-08 Thread Hans de Goede
Hi, On 4/7/21 9:43 PM, Thomas Weißschuh wrote: > Hi Hans, > > On Mi, 2021-04-07T17:54+0200, Hans de Goede wrote: >> Thank you for your new driver and thank you for the quick respin >> addressing Barnabás' request to make it a WMI driver. >> >> The code look

Re: [PATCH 1/1] usb: typec: tcpm: remove unused static variable 'tcpm_altmode_ops'

2021-04-08 Thread Hans de Goede
gned-off-by: Zhen Lei I have a patch pending: https://www.spinics.net/lists/linux-usb/msg197684.html Which actually uses this. I really need to (and plan to) brush the dust of this one soon and submit a new version. As such I would prefer for these ops to not get removed. But I guess I can alwa

Re: [PATCH] platform/surface: aggregator_registry: Give devices time to set up when connecting

2021-04-07 Thread Hans de Goede
ponsive for users. > > To achieve that delay switch to updating via a delayed work struct, > which means that we can also get rid of some locking. > > Signed-off-by: Maximilian Luz Thank you for your patch, I've applied this patch to my review-hans branch: https://git.kerne

Re: [PATCH v2] platform/x86: add Gigabyte WMI temperature driver

2021-04-07 Thread Hans de Goede
they want you to sign a NDA of sorts to view docs, then make sure that it contains some language about them allowing you to release an opensource driver for their hardware based on the "protected" information. Regards, Hans On 4/5/21 10:48 PM, Thomas Weißschuh wrote: > Cha

Re: [PATCH 0/7] staging: media: zoran: Eliminate camelcase

2021-04-07 Thread Hans Verkuil
u can use this reference to record your contributions: https://patchwork.linuxtv.org/project/linux-media/list/?series=5052 The patch states will change to Accepted once it is merged in our media tree here: https://git.linuxtv.org/media_tree.git/log/ I hate CamelCase, so this is a nice cleanup :-) Regards, Hans

Re: [PATCH 2/2] staging: media: omap4iss: align arguments with open parenthesis

2021-04-07 Thread Hans Verkuil
ect/linux-media/patch/475dbbe5774cbfed2d924807d8a3cfeb84b3d845.1617287509.git.martinsdecarvalhobeat...@gmail.com/ The state will change to Accepted once it is merged in our media tree here: https://git.linuxtv.org/media_tree.git/log/ Regards, Hans > > Signed-off-by:

Re: [PATCH v6 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-04-07 Thread Hans de Goede
ancelled, >>HW mic mute activated. If EC not notified, HW mic mute will also be >>activated when timeout used up, it is just later than active ack >> >> Signed-off-by: Perry Yuan >> --- >> v5 -> v6: >> * addressed feedback from Hans >> * a

Re: [PATCH 0/3] Adjust contacts for Dell drivers

2021-04-07 Thread Hans de Goede
RS: Adjust Dell drivers to email alias > MAINTAINERS: Add missing section for alienware-wmi driver > platform/x86: Adjust Dell drivers to a personal email address Thank you for your patch-series, I've applied the series to my review-hans branch: https://git.kernel.org/pub/scm/linux

Re: [PATCH 0/9] intel_pmc_core: Add sub-state requirements and mode latching support

2021-04-07 Thread Hans de Goede
residency in microseconds > - Patch 8 adds missing LTR IPs for TGL > - Patch 9 adds support for ADL-P which is based on TGL > > Applied on top of latest 5.12-rc2 based hans-review/review-hans Thnak you for this series, this mostly is fine, a few small remarks on patch 5/9 and 7/9 if you

Re: [PATCH 9/9] platform/x86: intel_pmc_core: Add support for Alder Lake PCH-P

2021-04-07 Thread Hans de Goede
Hi, On 4/1/21 5:05 AM, David E. Box wrote: > Alder PCH-P is based on Tiger Lake PCH. > > Signed-off-by: David E. Box Thanks, patch looks good to me: Reviewed-by: Hans de Goede Regards, Hans > --- > drivers/platform/x86/intel_pmc_core.c | 1 + > 1 file changed, 1 inse

Re: [PATCH 8/9] platform/x86: intel_pmc_core: Add LTR registers for Tiger Lake

2021-04-07 Thread Hans de Goede
o adjust the number of LTR IPs for Tiger Lake to the correct amount. > > Signed-off-by: Gayatri Kammela > Signed-off-by: David E. Box Thanks, patch looks good to me: Reviewed-by: Hans de Goede Regards, Hans > --- > drivers/platform/x86/intel_pmc_core.c | 2 ++ > drivers

Re: [PATCH v1 0/5] ACPI: scan: acpi_bus_check_add() simplifications

2021-04-07 Thread Hans de Goede
lease refer to the patch changelogs for details. Thanks, the entire series looks good to me: Reviewed-by: Hans de Goede Regards, Hans

Re: [PATCH 7/9] platform/x86: intel_pmc_core: Add option to set/clear LPM mode

2021-04-07 Thread Hans de Goede
_residency_offset; > @@ -313,4 +319,18 @@ struct pmc_dev { >i < pmcdev->num_modes; \ >i++, mode = pmcdev->lpm_en_modes[i]) > > +#define DEFINE_PMC_CORE_ATTR_WRITE(__name) \ > +static int __name ## _open(struct inode *inode, struct file *file) \ > +{\ > + return single_open(file, __name ## _show, inode->i_private);\ > +}\ > + \ > +static const struct file_operations __name ## _fops = { > \ > + .owner = THIS_MODULE, \ > + .open = __name ## _open, \ > + .read = seq_read, \ > + .write = __name ## _write, \ > + .release= single_release, \ > +} > + > #endif /* PMC_CORE_H */ > Regards, Hans

Re: [PATCH 6/9] platform/x86: intel_pmc_core: Add requirements file to debugfs

2021-04-07 Thread Hans de Goede
gt; Signed-off-by: David E. Box Thanks, patch looks good to me: Reviewed-by: Hans de Goede Regards, Hans > --- > drivers/platform/x86/intel_pmc_core.c | 86 +++ > 1 file changed, 86 insertions(+) > > diff --git a/drivers/platform/x86/intel_pmc_core.c

Re: [PATCH 5/9] platform/x86: intel_pmc_core: Get LPM requirements for Tiger Lake

2021-04-07 Thread Hans de Goede
Hi, On 4/1/21 5:05 AM, David E. Box wrote: > From: Gayatri Kammela > > Platforms that support low power modes (LPM) such as Tiger Lake maintain > requirements for each sub-state that a readable in the PMC. However, unlike > LPM status registers, requirement registers are not memory mapped but ar

Re: [PATCH 4/9] platform/x86: intel_pmc_core: Show LPM residency in microseconds

2021-04-07 Thread Hans de Goede
this value then divide > by two to maintain accuracy. > > Signed-off-by: Gayatri Kammela > Signed-off-by: David E. Box Thanks, patch looks good to me: Reviewed-by: Hans de Goede Regards, Hans > --- > drivers/platform/x86/intel_pmc_core.c | 14 -- > driver

Re: [PATCH 3/9] platform/x86: intel_pmc_core: Handle sub-states generically

2021-04-07 Thread Hans de Goede
S0i3.2 0 > > Suggested-by: David E. Box > Signed-off-by: Gayatri Kammela > Signed-off-by: David E. Box Thanks, patch looks good to me: Reviewed-by: Hans de Goede Regards, Hans > --- > drivers/platform/x86/intel_pmc_core.c | 59 ++- > d

Re: [PATCH 2/9] platform/x86: intel_pmc_core: Remove global struct pmc_dev

2021-04-07 Thread Hans de Goede
his directly. Since the driver now binds to an ACPI device, > remove the global pmc_dev in favor of one that is allocated during probe. > Modify users of the global to obtain the object by argument instead. > > Signed-off-by: David E. Box Thanks, patch looks good to me: Reviewed-by:

Re: [PATCH 1/9] platform/x86: intel_pmc_core: Don't use global pmcdev in quirks

2021-04-07 Thread Hans de Goede
o a function that will handle each quirk if its variable > condition is met. This allows removing the global pmc_dev later. > > Signed-off-by: David E. Box Thanks, patch looks good to me: Reviewed-by: Hans de Goede Regards, Hans > --- > drivers/platfor

Re: [PATCH] staging: axis-fifo: media/meson: remove redundant dev_err call

2021-04-07 Thread Hans Verkuil
ned by different people as well. The patch itself looks OK, but it really has to be two separate patches. Regards, Hans > > Signed-off-by: Muhammad Usama Anjum > --- > drivers/staging/axis-fifo/axis-fifo.c | 1 - > drivers/staging/media/meson/vdec/vdec.c | 8 ++--

Re: [PATCH] media: platform: sti: Fix rumtime PM imbalance in regs_show

2021-04-07 Thread Hans Verkuil
runtime > PM counter on error. Nice that a new function was created for this. Good news. Just a heads up: if you make more patches like this, make sure you fix the typo 'rumtime' to 'runtime'. I'll fix it manually, no need to repost. And 'rumtime' does sound

Re: [PATCH 1/2] staging: media: omap4iss: Ending line with argument

2021-04-07 Thread Hans Verkuil
d_link(&iss->ipipeif.subdev.entity, > IPIPEIF_PAD_SOURCE_VP, > + &iss->ipipe.subdev.entity, IPIPE_PAD_SINK, > 0); > if (ret < 0) > return ret; > > - ret = media_create_pad_link( > - &iss->ipipe.subdev.entity, IPIPE_PAD_SOURCE_VP, > - &iss->resizer.subdev.entity, RESIZER_PAD_SINK, 0); > + ret = media_create_pad_link(&iss->ipipe.subdev.entity, > IPIPE_PAD_SOURCE_VP, > + &iss->resizer.subdev.entity, > RESIZER_PAD_SINK, 0); > if (ret < 0) > return ret; > > These, however, are readability improvements, so I'm happy with that. Regards, Hans

Re: [PATCH] media: Fix compilation error

2021-04-07 Thread Hans Verkuil
nline kernel doesn't have host1x_syncpt_put, only host1x_syncpt_free. Also, the subject line is very vague, something like this is much more descriptive: [PATCH] media: tegra-video: replace host1x_syncpt_free by host1x_syncpt_put Regards, Hans > > Fixes: 3028a00c55bf ('

Re: [PATCH] platform/x86: ISST: Account for increased timeout in some cases

2021-04-07 Thread Hans de Goede
real > timeout in micro-seconds using ktime. When the command response takes > more than average processing time, yield to other tasks. The worst case > timeout is extended upto 1 milli-second. > > Signed-off-by: Srinivas Pandruvada Thank you for your patch, I've applied t

Re: [PATCH v3 0/4] add device drivers for Siemens Industrial PCs

2021-04-07 Thread Hans de Goede
ater. Internally we have some more code for > hardware monitoring, more leds, watchdogs etc. This will follow some > day. IT seems there still is significant discussion surrounding the LED and watchdog drivers which use patch 1/4 as parent-driver. I'm going to hold of on merging 1/4 and

Re: [PATCH] platform/x86: panasonic-laptop: remove redundant assignment of variable result

2021-04-07 Thread Hans de Goede
ed value") > Signed-off-by: Colin Ian King Thank you for your patch, I've applied this patch to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans Note it will show up in my review-hans branch once I've push

Re: [PATCH] platform/surface: clean up a variable in surface_dtx_read()

2021-04-07 Thread Hans de Goede
igned-off-by: Dan Carpenter > > Good catch, thanks! > > Reviewed-by: Maximilian Luz Thank you for the review, I've merged this now: Thank you for your patch, I've applied this patch to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-driver

Re: [PATCH v3] platform/x86: asus-wmi: Add param to turn fn-lock mode on by default

2021-04-07 Thread Hans de Goede
nk you for your patch, I've applied this patch to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while. Once I&#

[GIT PULL] platform-drivers-x86 for 5.12-3

2021-04-07 Thread Hans de Goede
Hi Linus, Here is a single bugfix (on top of platform-drivers-x86-v5.12-2) to fix spurious wakeups from suspend caused by recent intel-hid driver changes. Regards, Hans The following changes since commit d1635448f1105e549b4041aab930dbc6945fc635: platform/x86: intel_pmc_core: Ignore GBE LTR

Re: [PATCH v4] platform/x86: intel_pmc_core: export platform global_reset via sysfs.

2021-04-07 Thread Hans de Goede
Ack. > I've left it in register form in order to keep the user space as it has > access to the register (/dev/mem) >> >> Also the Documentation/ABI/testing/sysfs-platform-intel-pm file pretty much >> describes this as direct register access rather then as some reset mecha

Re: [PATCH v2 00/30] media: atmel: atmel-isc: add support for xisc

2021-04-07 Thread Hans Verkuil
hat it has to be converted to yaml, and I will do that if > it looks good. This series looks good to me. One thing that can be improved in a v3 is a short explanation of the various abbreviations: CBV, RLP, HIS, DPC, etc. Regards, Hans > > Feedback is appreciated. > T

Re: [PATCH v4] platform/x86: intel_pmc_core: export platform global_reset via sysfs.

2021-04-07 Thread Hans de Goede
ntel-pm file pretty much describes this as direct register access rather then as some reset mechanism. So I think it would be better to call the new file extended_test_mode_register3, this will also be useful if we need to provide access to other bits in the same register later; and this will be a g

Re: [PATCH 06/12] platform/x86: intel_cht_int33fe_microb: Constify the software node

2021-04-06 Thread Hans de Goede
Hi, On 4/6/21 9:40 PM, Wolfram Sang wrote: > >> What is the plan for merging this patch / this series ? > > I'll take the series via I2C. Ok, that works for me. Regards, Hans

Re: [PATCH v5 3/3] media: i2c: Introduce a driver for the Techwell TW9900 decoder

2021-04-06 Thread Hans Verkuil
0->subdev, client, &tw9900_subdev_ops); > + tw9900->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE | > + V4L2_SUBDEV_FL_HAS_EVENTS; > + > + hdl = &tw9900->hdl; > + > + v4l2_ctrl_handler_init(hdl, 2); > + > + v4l2_ctrl_new_std(hdl, &tw9900_ctrl_ops, V4L2_CID_BRIGHTNESS, > + -128, 127, 1, 0); > + v4l2_ctrl_new_std(hdl, &tw9900_ctrl_ops, V4L2_CID_CONTRAST, > + 0, 255, 1, 0x60); > + > + tw9900->subdev.ctrl_handler = hdl; > + if (hdl->error) { > + int err = hdl->error; > + > + v4l2_ctrl_handler_free(hdl); > + return err; > + } > + > + ret = tw9900_power_on(tw9900); > + if (ret) > + return ret; > + > + ret = tw9900_check_id(tw9900, client); > + if (ret) > + goto err_power_off; > + > + tw9900->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; > + tw9900->pad.flags = MEDIA_PAD_FL_SOURCE; > + tw9900->subdev.entity.function = MEDIA_ENT_F_DV_DECODER; > + > + ret = media_entity_pads_init(&tw9900->subdev.entity, 1, &tw9900->pad); > + if (ret < 0) > + goto err_power_off; > + > + ret = v4l2_async_register_subdev(&tw9900->subdev); > + if (ret) { > + dev_err(dev, "v4l2 async register subdev failed\n"); > + goto err_clean_entity; > + } > + > + pm_runtime_set_active(dev); > + pm_runtime_enable(dev); > + pm_runtime_idle(dev); > + > + return 0; > + > +err_clean_entity: > + media_entity_cleanup(&tw9900->subdev.entity); > +err_power_off: > + tw9900_power_off(tw9900); > + > + return ret; > +} > + > +static int tw9900_remove(struct i2c_client *client) > +{ > + struct v4l2_subdev *sd = i2c_get_clientdata(client); > + struct tw9900 *tw9900 = to_tw9900(sd); > + > + v4l2_async_unregister_subdev(sd); > + media_entity_cleanup(&sd->entity); > + > + pm_runtime_disable(&client->dev); > + if (!pm_runtime_status_suspended(&client->dev)) > + tw9900_power_off(tw9900); > + pm_runtime_set_suspended(&client->dev); > + > + return 0; > +} > + > +static const struct of_device_id tw9900_of_match[] = { > + { .compatible = "techwell,tw9900" }, > + {}, > +}; > +MODULE_DEVICE_TABLE(of, tw9900_of_match); > + > +static struct i2c_driver tw9900_i2c_driver = { > + .driver = { > + .name = "tw9900", > + .pm = &tw9900_pm_ops, > + .of_match_table = tw9900_of_match > + }, > + .probe = tw9900_probe, > + .remove = tw9900_remove, > +}; > + > +module_i2c_driver(tw9900_i2c_driver); > + > +MODULE_DESCRIPTION("tw9900 decoder driver"); > +MODULE_LICENSE("GPL v2"); > Regards, Hans

Re: [PATCH v4] platform/x86: intel_pmc_core: export platform global_reset via sysfs.

2021-04-06 Thread Hans de Goede
esirable. Can you please provide a new version where the purpsoe of the newly introduced sysfs file is made more clear, both in the commit-msg as well as in the: Documentation/ABI/testing/sysfs-platform-intel-pmc File ? Regards, Hans > > The register in MMIO space is defined for Can

Re: [PATCH v8 02/13] dt-bindings: media: nxp,imx8mq-vpu: Update the bindings for G2 support

2021-04-06 Thread Hans Verkuil
; use -> use the > reg-name even if it is deprecated now. Regards, Hans > > Signed-off-by: Benjamin Gaignard > Reviewed-by: Rob Herring > Reviewed-by: Philipp Zabel > --- > version 7: > - Add Rob and Philipp reviewed-by tag > - Change syscon phandle

Re: [PATCH v8 01/13] dt-bindings: mfd: Add 'nxp,imx8mq-vpu-ctrl' to syscon list

2021-04-06 Thread Hans Verkuil
ssible syscon. in -> to > It will used to access to the VPU control registers. to the -> the Regards, Hans > > Signed-off-by: Benjamin Gaignard > Acked-by: Rob Herring > Acked-by: Lee Jones > --- > version 8: > - Add Lee ack > > version 7: >

  1   2   3   4   5   6   7   8   9   10   >