__drm_universal_plane_init() frees plane->format_types and
plane->modifiers on failure. However, sometimes its callers
will free these two pointers again, which may lead to a
double-free. One possible call chain is:
mdp5_plane_init
|-> drm_universal_plane_init
| |->
Hello, I reproduced this bug with repro.c in
upstream kernel commit
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/?id=8182d7a3f1b8982c0136dca82a846ea375a4d6e9
kernel config
https://syzkaller.appspot.com/text?tag=KernelConfig=32d0b9b42ceb8b10
the same configuration in
On 05/12/2023 22:13, Nathan Chancellor wrote:
CONFIG_DRM_AUX_BRIDGE depends on CONFIG_OF but that dependency is not
included when CONFIG_TYPEC_MUX_NB7VPQ904M selects it, resulting in a
Kconfig warning when CONFIG_OF is disabled:
WARNING: unmet direct dependencies detected for DRM_AUX_BRIDGE
From: Alexey Makhalov
VMware hypercalls use I/O port, VMCALL or VMMCALL instructions.
Add __tdx_hypercall path to support TDX guests.
No change in high bandwidth hypercalls, as only low bandwidth
ones are supported for TDX guests.
Co-developed-by: Tim Merrifield
Signed-off-by: Tim Merrifield
tree/branch:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
branch HEAD: 0f5f12ac05f36f117e793656c3f560625e927f1b Add linux-next specific
files for 20231205
Error/Warning reports:
https://lore.kernel.org/oe-kbuild-all/202312051416.yirwcymp-...@intel.com
https
Hi Thorsten and others,
On 12/5/23 06:33, Thorsten Leemhuis wrote:
On 29.11.23 01:37, Owen T. Heisler wrote:
On 11/21/23 14:23, Owen T. Heisler wrote:
On 11/21/23 09:16, Linux regression tracking (Thorsten Leemhuis) wrote:
On 15.11.23 07:19, Owen T. Heisler wrote:
On 10/31/23 04:18, Linux
On Mon, Dec 04, 2023 at 11:22:24AM -0800, Abhinav Kumar wrote:
>
>
> On 12/3/2023 7:31 PM, Bjorn Andersson wrote:
> > On Fri, Dec 01, 2023 at 11:43:36AM -0800, Abhinav Kumar wrote:
> > >
> > >
> > > On 12/1/2023 8:22 AM, Bjorn Andersson wrote:
> > > > On Fri, Dec 01, 2023 at 10:34:50AM +0200,
On Tue, Dec 5, 2023 at 7:28 PM Fabio Estevam wrote:
>
> From: Fabio Estevam
>
> When using audio from ADV7533 or ADV7535 and describing the audio
> card via simple-audio-card, the '#sound-dai-cells' needs to be passed.
>
> Document the '#sound-dai-cells' property to fix the following
> dt-schema
On Mon, Nov 27, 2023 at 05:12:29PM +0100, Roland Hieber wrote:
> From: Marco Felsch
>
> This adds the device tree support for the MIPI-DSI block. The block can
> be used as encoder for the parallel signals coming from the lcdif block.
>
> Signed-off-by: Marco Felsch
> Signed-off-by: Roland
From: Fabio Estevam
When using audio from ADV7533 or ADV7535 and describing the audio
card via simple-audio-card, the '#sound-dai-cells' needs to be passed.
Document the '#sound-dai-cells' property to fix the following
dt-schema warning:
imx8mn-beacon-kit.dtb: hdmi@3d: '#sound-dai-cells' does
On 12/1/2023 4:21 AM, Tvrtko Ursulin wrote:
From: Tvrtko Ursulin
Commit 503579448db9 ("drm/i915/gsc: Mark internal GSC engine with reserved uabi
class")
made the GSC0 engine not have a valid uabi class and so broke the engine
reset counting, which in turn was made class based in
Hi Thomas,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm-misc/drm-misc-next]
[also build test ERROR on linus/master v6.7-rc4 next-20231205]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use
On 12/5/23 3:03 PM, Dave Hansen wrote:
On 12/5/23 13:41, Alexey Makhalov wrote:
I don't really like it much. This does a generic thing (make a TDX
hypercall) with a specific name ("vmware_"). If you want to make an
argument that a certain chunk of the __tdx_hypercall() space is just for
Fix kernel-doc warnings found when using "W=1".
hgafb.c:370: warning: No description found for return value of 'hgafb_open'
hgafb.c:384: warning: No description found for return value of 'hgafb_release'
hgafb.c:406: warning: No description found for return value of 'hgafb_setcolreg'
hgafb.c:425:
https://bugzilla.kernel.org/show_bug.cgi?id=218221
--- Comment #5 from airl...@gmail.com ---
Yes I'd file that against mesa, I don't think we are quite there with
zink support yet, trying to push on it a bit.
On Tue, 5 Dec 2023 at 21:42, wrote:
>
>
Yes I'd file that against mesa, I don't think we are quite there with
zink support yet, trying to push on it a bit.
On Tue, 5 Dec 2023 at 21:42, wrote:
>
> https://bugzilla.kernel.org/show_bug.cgi?id=218221
>
> --- Comment #3 from marc barbier (mmarc...@gmail.com) ---
> (In reply to airlied from
On 12/5/23 13:41, Alexey Makhalov wrote:
>> I don't really like it much. This does a generic thing (make a TDX
>> hypercall) with a specific name ("vmware_"). If you want to make an
>> argument that a certain chunk of the __tdx_hypercall() space is just for
>> VMWare and you also add a
Fix kernel-doc warnings found when using "W=1".
ili922x.c:85: warning: This comment starts with '/**', but isn't a kernel-doc
comment. Refer Documentation/doc-guide/kernel-doc.rst
ili922x.c:85: warning: missing initial short description on line:
* START_BYTE(id, rs, rw)
ili922x.c:91: warning:
Hi Dave and Alexey,
Regarding VMware-specific checks, it may be beneficial to add some
additional checks
such as ensuring that the hypervisor vendor is VMware,
r12==VMWARE_HYPERVISOR_MAGIC,
r10==VMWARE_TDX_VENDOR_LEAF, r11==VMWARE_TDX_HCALL_FUNC and r13 (command) is
restricted to those few
From: Rob Clark
Move the CP_PROTECT settings into the hw catalog.
Signed-off-by: Rob Clark
---
drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 246 -
drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 255 +-
drivers/gpu/drm/msm/adreno/a6xx_gpu.h | 2 +
From: Rob Clark
Introduce a6xx_info where we can stash gen specific stuff without
polluting the toplevel adreno_info struct.
Signed-off-by: Rob Clark
---
drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 55 +--
drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 4 +-
From: Rob Clark
Move the hwcg tables into the hw catalog.
Signed-off-by: Rob Clark
---
drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 560 ++
drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 558 -
drivers/gpu/drm/msm/adreno/adreno_gpu.h | 3 -
3 files
From: Rob Clark
Split each gen's gpu table into it's own file. Only code-motion, no
functional change.
Signed-off-by: Rob Clark
---
drivers/gpu/drm/msm/Makefile | 5 +
drivers/gpu/drm/msm/adreno/a2xx_catalog.c | 53 ++
drivers/gpu/drm/msm/adreno/a3xx_catalog.c | 75 +++
From: Rob Clark
Split into a separate table per generation, in preparation to move each
gen's device table to it's own file.
Signed-off-by: Rob Clark
---
drivers/gpu/drm/msm/adreno/adreno_device.c | 59 +++---
1 file changed, 51 insertions(+), 8 deletions(-)
diff --git
From: Rob Clark
Split the single flat gpulist table into per-gen tables that exist in
their own per-gen files, and start moving more info into the device
table. This at least gets all the big tables of register settings out
of the heart of the a6xx_gpu code. Probably more could be moved, to
On 05/12/2023 21:13, Nathan Chancellor wrote:
sparse complains:
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c: note: in included file:
include/drm/bridge/aux-bridge.h:29:16: sparse: sparse: Using plain integer
as NULL pointer
Return NULL to clear up the warning.
Reported-by: kernel
On 05/12/2023 21:13, Nathan Chancellor wrote:
CONFIG_DRM_AUX_HPD_BRIDGE depends on CONFIG_OF but that dependency is
not included when CONFIG_TYPEC_QCOM_PMIC selects it, resulting in a
Kconfig warning when CONFIG_OF is disabled:
WARNING: unmet direct dependencies detected for
On Tue, Dec 5, 2023 at 2:26 PM Arnd Bergmann wrote:
> On Tue, Dec 5, 2023, at 10:45, Yoshinori Sato wrote:
> > + if (of_property_read_u32_array(pdev->dev.of_node,
> > +"renesas,memory", memory, 2) < 0) {
> > + /*
> > + * If no
On 12/5/23 1:24 PM, Dave Hansen wrote:
On 12/4/23 02:31, Borislav Petkov wrote:
On Fri, Dec 01, 2023 at 03:24:52PM -0800, Alexey Makhalov wrote:
+#ifdef CONFIG_INTEL_TDX_GUEST
+/* __tdx_hypercall() is not exported. So, export the wrapper */
+void vmware_tdx_hypercall_args(struct
On 12/5/2023 12:30 PM, Abhinav Kumar wrote:
On 12/2/2023 4:24 PM, Dmitry Baryshkov wrote:
On sc7280 there are two clk bits for WB2: vbif_cli and clk_ctrl. While
programming the VBIF params of WB, the driver should be toggling the
former bit, while the sc7180_mdp, sc7280_mdp and sm8250_mdp
On 12/5/23 19:47, Fabio Estevam wrote:
From: Fabio Estevam
i.MX23 has two LCDIF interrupts instead of a single one like other
i.MX devices.
Take this into account for properly describing the i.MX23 LCDIF
interrupts.
This fixes the following dt-schema warning:
imx23-olinuxino.dtb:
On 12/4/23 02:31, Borislav Petkov wrote:
> On Fri, Dec 01, 2023 at 03:24:52PM -0800, Alexey Makhalov wrote:
>> +#ifdef CONFIG_INTEL_TDX_GUEST
>> +/* __tdx_hypercall() is not exported. So, export the wrapper */
>> +void vmware_tdx_hypercall_args(struct tdx_module_args *args)
>> +{
>> +
On 12/5/23 12:27 PM, Borislav Petkov wrote:
On Fri, Dec 01, 2023 at 03:24:51PM -0800, Alexey Makhalov wrote:
Switch from VMWARE_HYPERCALL macro to vmware_hypercall API.
Eliminate arch specific code.
drivers/gpu/drm/vmwgfx/vmwgfx_msg_arm64.h: implement arm64 variant
of vmware_hypercall here
Hi Alexey,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm-misc/drm-misc-next]
[also build test ERROR on dtor-input/next dtor-input/for-linus linus/master
v6.7-rc4 next-20231205]
[cannot apply to tip/x86/vmware]
[If your patch is applied to the wrong git tree
On Tue, Dec 05, 2023 at 06:45:38PM +0900, Yoshinori Sato wrote:
> Renesas SH7751 external interrupt encoder json-schema.
>
> Signed-off-by: Yoshinori Sato
> ---
> .../renesas,sh7751-irl-ext.yaml | 83 +++
> 1 file changed, 83 insertions(+)
> create mode 100644
>
On 12/5/23 12:13, Nathan Chancellor wrote:
sparse complains:
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c: note: in included file:
include/drm/bridge/aux-bridge.h:29:16: sparse: sparse: Using plain integer
as NULL pointer
Return NULL to clear up the warning.
Reported-by: kernel test
On 12/5/23 12:13, Nathan Chancellor wrote:
CONFIG_DRM_AUX_HPD_BRIDGE depends on CONFIG_OF but that dependency is
not included when CONFIG_TYPEC_QCOM_PMIC selects it, resulting in a
Kconfig warning when CONFIG_OF is disabled:
WARNING: unmet direct dependencies detected for DRM_AUX_HPD_BRIDGE
On 12/5/23 12:13, Nathan Chancellor wrote:
CONFIG_DRM_AUX_BRIDGE depends on CONFIG_OF but that dependency is not
included when CONFIG_TYPEC_MUX_NB7VPQ904M selects it, resulting in a
Kconfig warning when CONFIG_OF is disabled:
WARNING: unmet direct dependencies detected for DRM_AUX_BRIDGE
On Mon, Dec 04, 2023 at 06:33:06PM +0100, Boris Brezillon wrote:
> From: Liviu Dudau
>
> Arm has introduced a new v10 GPU architecture that replaces the Job Manager
> interface with a new Command Stream Frontend. It adds firmware driven
> command stream queues that can be used by kernel and user
Hi,
On Fri, Nov 17, 2023 at 3:00 PM Doug Anderson wrote:
>
> Hi,
>
> On Fri, Sep 22, 2023 at 2:06 PM Lyude Paul wrote:
> >
> > actually very glad to see this because I think I've seen one bug in the wild
> > as a result of things not getting shut down :)
> >
> > Reviewed-by: Lyude Paul
> >
On 12/2/2023 4:24 PM, Dmitry Baryshkov wrote:
On sc7280 there are two clk bits for WB2: vbif_cli and clk_ctrl. While
programming the VBIF params of WB, the driver should be toggling the
former bit, while the sc7180_mdp, sc7280_mdp and sm8250_mdp structs
list the latter one.
Correct that to
On Fri, Dec 01, 2023 at 03:24:51PM -0800, Alexey Makhalov wrote:
> Switch from VMWARE_HYPERCALL macro to vmware_hypercall API.
> Eliminate arch specific code.
>
> drivers/gpu/drm/vmwgfx/vmwgfx_msg_arm64.h: implement arm64 variant
> of vmware_hypercall here for now. The move of these functions to
Hi Tony,
kernel test robot noticed the following build warnings:
[auto build test WARNING on drm-misc/drm-misc-next]
[also build test WARNING on linus/master v6.7-rc4 next-20231205]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest
sparse complains:
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c: note: in included file:
include/drm/bridge/aux-bridge.h:29:16: sparse: sparse: Using plain integer as
NULL pointer
Return NULL to clear up the warning.
Reported-by: kernel test robot
Closes:
CONFIG_DRM_AUX_HPD_BRIDGE depends on CONFIG_OF but that dependency is
not included when CONFIG_TYPEC_QCOM_PMIC selects it, resulting in a
Kconfig warning when CONFIG_OF is disabled:
WARNING: unmet direct dependencies detected for DRM_AUX_HPD_BRIDGE
Depends on [n]: HAS_IOMEM [=y] &&
changed, 3 insertions(+), 3 deletions(-)
---
base-commit: 4900e0396e59be233cfa636369d4eec6b40dbeca
change-id: 20231205-drm_aux_bridge-fixes-162780ed704a
Best regards,
--
Nathan Chancellor
CONFIG_DRM_AUX_BRIDGE depends on CONFIG_OF but that dependency is not
included when CONFIG_TYPEC_MUX_NB7VPQ904M selects it, resulting in a
Kconfig warning when CONFIG_OF is disabled:
WARNING: unmet direct dependencies detected for DRM_AUX_BRIDGE
Depends on [n]: HAS_IOMEM [=y] && DRM_BRIDGE
Hi Alexey,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm-misc/drm-misc-next]
[also build test ERROR on dtor-input/next dtor-input/for-linus linus/master
v6.7-rc4 next-20231205]
[cannot apply to tip/x86/vmware]
[If your patch is applied to the wrong git tree
On 12/5/2023 02:39, Nirmoy Das wrote:
Hi John,
On 12/5/2023 10:10 AM, John Harrison wrote:
On 12/5/2023 00:52, Nirmoy Das wrote:
gen8_engine_reset_prepare() can fail when HW fails to set
RESET_CTL_READY_TO_RESET bit. In some cases this is not fatal
error as driver will retry.
Convert the log
From: Rob Clark
This does unfortunately require a mesa fix to avoid turnip hanging, but
we don't have a good way to know the userspace version. Fortunately
that fix is now in mesa-23.3.0-rc3 and later[1].
[1]
From: Rob Clark
Container fences have burner contexts, which makes the trick to store at
most one fence per context somewhat useless if we don't unwrap array or
chain fences.
Signed-off-by: Rob Clark
---
drivers/gpu/drm/scheduler/sched_main.c | 47 ++
1 file changed,
Hi Dmitry,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm-misc/drm-misc-next]
[also build test ERROR on linus/master v6.7-rc4 next-20231205]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use
From: Fabio Estevam
i.MX23 has two LCDIF interrupts instead of a single one like other
i.MX devices.
Take this into account for properly describing the i.MX23 LCDIF
interrupts.
This fixes the following dt-schema warning:
imx23-olinuxino.dtb: lcdif@8003: interrupts: [[46], [45]] is too
Hi,
On Tue, Dec 5, 2023 at 4:37 AM Pin-yen Lin wrote:
>
> These panels are used by Mediatek MT8173 Chromebooks but we can't find
> the corresponding data sheets, and these panels used to work on v4.19
> kernel without any specified delays.
>
> Therefore, instead of having them use the default
Hi,
On Tue, Dec 5, 2023 at 4:36 AM Pin-yen Lin wrote:
>
> @@ -1999,10 +2031,17 @@ static const struct edp_panel_entry edp_panels[] = {
> EDP_PANEL_ENTRY('I', 'V', 'O', 0x854b, _200_500_p2e100,
> "R133NW4K-R0"),
> EDP_PANEL_ENTRY('I', 'V', 'O', 0x8c4d, _200_150_e200, "R140NWFM
>
Hi,
On Tue, Dec 5, 2023 at 4:36 AM Pin-yen Lin wrote:
>
> Add the support of powered_on_to_enable delay as the minimum time that
> needs to have passed between the panel powered on and enable may begin.
>
> This delay is seen in BOE panels as the minimum delay of T3+T4+T5+T6+T8
> in the eDP
Hi,
On Tue, Dec 5, 2023 at 4:36 AM Pin-yen Lin wrote:
>
> Move the order of CMN 0x14e5 to make the list sorted.
>
> Signed-off-by: Pin-yen Lin
> ---
>
> drivers/gpu/drm/panel/panel-edp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Pushed to drm-misc-next:
4900e0396e59
Hi,
On Mon, Dec 4, 2023 at 8:46 AM Doug Anderson wrote:
>
> Hi,
>
> On Mon, Dec 4, 2023 at 12:54 AM Abel Vesa wrote:
> >
> > Add support for the SDC ATNA45AF01 panel.
> >
> > Signed-off-by: Abel Vesa
> > ---
> > Changes in v2:
> > - moved the panel entry in the proper place, as suggested by
> Am 05.12.2023 um 18:33 schrieb Andrew Davis :
>
> On 12/5/23 2:17 AM, H. Nikolaus Schaller wrote:
>>> + - enum:
>>> + - ti,omap3430-gpu # Rev 121
>>> + - ti,omap3630-gpu # Rev 125
>> Is the "Rev 121" and "Rev 125" a property of the SoC integration
>>
On 29/11/2023 09:18, Vignesh Raman wrote:
Document the IGT version in the flaky tests reporting template.
Nice!
Signed-off-by: Vignesh Raman
Acked-by: Helen Koike
Thanks
Helen
---
v6:
- Added a new patch in the series to update drm ci documentation
---
On 29/11/2023 09:18, Vignesh Raman wrote:
virtio-gpu kernel driver reports 16 for count_crtcs
which exceeds IGT_MAX_PIPES set to 8 in igt-gpu-tools.
This results in below memory corruption,
malloc(): corrupted top size
Received signal SIGABRT.
Stack trace:
#0
On 29/11/2023 09:18, Vignesh Raman wrote:
There were no artifacts available for virtio job.
So make the artifacts available in the pipeline job.
Signed-off-by: Vignesh Raman
Acked-by: Helen Koike
Thanks
Helen
---
v5:
- Added a new patch in the series to make artifacts available
Hi,
Thanks for your patch.
On 29/11/2023 09:18, Vignesh Raman wrote:
Expected driver for mt8173 is "mediatek" and for mt8183
it is "panfrost". Set IGT_FORCE_DRIVER to 'mediatek' as
the expected driver for mt8173.
Signed-off-by: Vignesh Raman
---
v5:
- Added a new patch in the series to
On 02/12/2023 19:13, Dmitry Baryshkov wrote:
Gitlab runner can cache git repository, including the unfinished rebase
merge status. New CI job will come as a fresh checkout, however this
will not destroy the unfinished rebase, failing our build script.
Destroy the unfinished rebase state.
From: Fabio Estevam
i.MX23 has two i.MX23 interrupts instead of a single one like other
i.MX devices.
Take this into account for properly describing the i.MX23 LCDIF
interrupts.
This fixes the following dt-schema warning:
imx23-olinuxino.dtb: lcdif@8003: interrupts: [[46], [45]] is too
Hi,
On Tue, Dec 5, 2023 at 5:40 AM Laurent Pinchart
wrote:
>
> On Tue, Dec 05, 2023 at 02:31:24PM +0100, Geert Uytterhoeven wrote:
> > On Tue, Dec 5, 2023 at 1:16 PM Laurent Pinchart wrote:
> > > On Tue, Dec 05, 2023 at 12:30:02PM +0100, Geert Uytterhoeven wrote:
> > > > From: Douglas Anderson
- drm_test_check_plane_state_upscaling
I found the source of failure to be f1e75da5364e ("drm/atomic: Loosen FB
atomic checks").
Fortunately for us, it's already been reverted yesterday for some
unrelated reason, so it should be fixed in next-20231205 onward.
Sorry, that's a bummer that these patches wer
On 12/5/23 2:17 AM, H. Nikolaus Schaller wrote:
Hi Andrew,
Am 04.12.2023 um 19:22 schrieb Andrew Davis :
The Imagination PowerVR Series5 "SGX" GPU is part of several SoCs from
multiple vendors.
Great and thanks for the new attempt to get at least the Device Tree side
upstream. Really
On Tue, Dec 5, 2023 at 8:56 AM Rob Clark wrote:
>
> On Tue, Dec 5, 2023 at 7:58 AM Christian König
> wrote:
> >
> > Am 05.12.23 um 16:41 schrieb Rob Clark:
> > > On Mon, Dec 4, 2023 at 10:46 PM Christian König
> > > wrote:
> > >> Am 04.12.23 um 22:54 schrieb Rob Clark:
> > >>> On Thu, Mar 23,
On Tue, Dec 5, 2023 at 7:58 AM Christian König wrote:
>
> Am 05.12.23 um 16:41 schrieb Rob Clark:
> > On Mon, Dec 4, 2023 at 10:46 PM Christian König
> > wrote:
> >> Am 04.12.23 um 22:54 schrieb Rob Clark:
> >>> On Thu, Mar 23, 2023 at 2:30 PM Rob Clark wrote:
> [SNIP]
> >>> So, this patch
On Mon, Dec 04, 2023 at 09:47:15PM +0100, Johan Jonker wrote:
> On 12/4/23 19:56, Alex Bee wrote:
> > Am 04.12.23 um 18:39 schrieb Johan Jonker:
> >> diff --git
> >> a/Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml
> >>
> >>
On Wednesday, November 29th, 2023 at 13:45, Maxime Ripard
wrote:
>
>
> Hi,
>
> Thanks for writing this down
>
> On Thu, Nov 16, 2023 at 03:53:20PM +, Simon Ser wrote:
>
> > On Thursday, November 9th, 2023 at 08:45, Simon Ser cont...@emersion.fr
> > wrote:
> >
> > > User-space
Add IO DATA DEVICE INC.
https://www.iodata.com/
Signed-off-by: Yoshinori Sato
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml
Renesas SH7751 INTC json-schema.
Signed-off-by: Yoshinori Sato
---
.../renesas,sh7751-intc.yaml | 105 ++
1 file changed, 105 insertions(+)
create mode 100644
Documentation/devicetree/bindings/interrupt-controller/renesas,sh7751-intc.yaml
diff --git
Renesas SH7751 CPU Internal PCI Controller driver.
Signed-off-by: Yoshinori Sato
---
drivers/pci/controller/Kconfig | 9 +
drivers/pci/controller/Makefile | 1 +
drivers/pci/controller/pci-sh7751.c | 302
drivers/pci/controller/pci-sh7751.h | 76
Signed-off-by: Yoshinori Sato
---
.../devicetree/bindings/soc/renesas/sh.yaml | 32 +++
1 file changed, 32 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/renesas/sh.yaml
diff --git a/Documentation/devicetree/bindings/soc/renesas/sh.yaml
Remove unused function prototype.
Add helper update_sr_imask. use for SH7751 irq driver.
Add stub intc_finalize.
Signed-off-by: Yoshinori Sato
---
arch/sh/include/asm/irq.h | 10 --
arch/sh/kernel/cpu/Makefile| 5 +
arch/sh/kernel/cpu/irq/imask.c | 17 +
Add New OF based PCI Host driver.
This driver conflicts some point in legacy PCI driver.
To resolve the conflict, I made some changes to the legacy driver.
Signed-off-by: Yoshinori Sato
---
arch/sh/drivers/pci/pci.c | 6 --
arch/sh/include/asm/io.h | 6 ++
arch/sh/include/asm/pci.h |
Renesas SH7751 Internal interrupt controller driver.
Signed-off-by: Yoshinori Sato
---
drivers/irqchip/Kconfig | 8 +
drivers/irqchip/Makefile | 1 +
drivers/irqchip/irq-renesas-sh7751.c | 290 +++
3 files changed, 299 insertions(+)
create
- fix earlycon name.
- fix earlyprintk hung (NULL pointer reference).
Signed-off-by: Yoshinori Sato
---
drivers/tty/serial/Kconfig | 2 +-
drivers/tty/serial/sh-sci.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/tty/serial/Kconfig
Various parameters of SM501 can be set using platform_data,
so parameters cannot be passed in the DeviceTree target.
Expands the parameters set in platform_data so that they can be
specified using DeviceTree properties.
Signed-off-by: Yoshinori Sato
---
drivers/mfd/sm501.c | 99
Add Renesas SH7751 SCIF.
Signed-off-by: Yoshinori Sato
---
Documentation/devicetree/bindings/serial/renesas,scif.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/serial/renesas,scif.yaml
b/Documentation/devicetree/bindings/serial/renesas,scif.yaml
Signed-off-by: Yoshinori Sato
---
arch/sh/boot/dts/Makefile | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/sh/boot/dts/Makefile b/arch/sh/boot/dts/Makefile
index 4a6dec9714a9..e6b93360c213 100644
--- a/arch/sh/boot/dts/Makefile
+++ b/arch/sh/boot/dts/Makefile
@@ -1,2 +1,7 @@
#
IO DATA DEVICE Inc. LANDISK HDL-U devicetree.
Signed-off-by: Yoshinori Sato
---
arch/sh/boot/dts/landisk.dts | 74
1 file changed, 74 insertions(+)
create mode 100644 arch/sh/boot/dts/landisk.dts
diff --git a/arch/sh/boot/dts/landisk.dts
Targets that support OF should be treated as one board.
Signed-off-by: Yoshinori Sato
---
arch/sh/boards/Kconfig | 24 ++--
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/arch/sh/boards/Kconfig b/arch/sh/boards/Kconfig
index 109bec4dad94..e7e52779ef62 100644
Add SH7750 TMU entry.
Signed-off-by: Yoshinori Sato
---
.../devicetree/bindings/timer/renesas,tmu.yaml| 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/timer/renesas,tmu.yaml
Renesas SH series and compatible ISA CPUs.
Signed-off-by: Yoshinori Sato
---
.../devicetree/bindings/sh/cpus.yaml | 73 +++
1 file changed, 73 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sh/cpus.yaml
diff --git
IO DATA DEVICE Inc. USL-5P devicetree.
Signed-off-by: Yoshinori Sato
---
arch/sh/boot/dts/usl-5p.dts | 84 +
1 file changed, 84 insertions(+)
create mode 100644 arch/sh/boot/dts/usl-5p.dts
diff --git a/arch/sh/boot/dts/usl-5p.dts
Add Silicon Mortion Technology Corporation
https://www.siliconmotion.com/
Signed-off-by: Yoshinori Sato
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml
IRQ, CLK and PCI will be migrated to a common driver framework.
So if OF, disable the SH specific drivers.
Signed-off-by: Yoshinori Sato
---
arch/sh/Kconfig | 11 ++-
arch/sh/drivers/Makefile| 2 ++
arch/sh/kernel/cpu/Makefile | 9 +++--
This is an updated version of something I wrote about 7 years ago.
Minimum support for R2D-plus and LANDISK.
I think R2D-1 will work if you add AX88796 to dts.
And board-specific functions and SCI's SPI functions are not supported.
You can get it working with qemu found here.
Define SM501 functions and modes.
Signed-off-by: Yoshinori Sato
---
.../bindings/display/smi,sm501.yaml | 134 ++
include/dt-bindings/display/sm501.h | 25
2 files changed, 159 insertions(+)
create mode 100644
SH7751R internal peripherals device tree.
Signed-off-by: Yoshinori Sato
---
arch/sh/boot/dts/sh7751r.dtsi | 150 ++
1 file changed, 150 insertions(+)
create mode 100644 arch/sh/boot/dts/sh7751r.dtsi
diff --git a/arch/sh/boot/dts/sh7751r.dtsi
Initialize the clock and timer using the COMMON_CLK procedure.
sh's earlytimer mechanism doesn't work properly in OF,
so timer initialization is delayed.
If CONFIG_OF=y, perform the general timer initialization procedure.
Signed-off-by: Yoshinori Sato
---
arch/sh/boards/of-generic.c | 28
divider and gate only support 32-bit registers.
Older hardware uses narrower registers, so I want to be able to handle
8-bit and 16-bit wide registers.
Signed-off-by: Yoshinori Sato
---
drivers/clk/clk-divider.c| 56
drivers/clk/clk-gate.c | 56
Renesas SH7750 and SH7751 series CPG driver.
This driver supported frequency control and clock gating.
Signed-off-by: Yoshinori Sato
---
drivers/clk/renesas/Kconfig | 16 +-
drivers/clk/renesas/Makefile | 1 +
drivers/clk/renesas/clk-sh7750.c | 498 +++
3
Renesas SH7751 Interrupt controller priority register define.
Signed-off-by: Yoshinori Sato
---
.../interrupt-controller/sh7751-intc.h| 21 +++
1 file changed, 21 insertions(+)
create mode 100644 include/dt-bindings/interrupt-controller/sh7751-intc.h
diff --git
Renesas SH7751 PCI Controller json-schema.
Signed-off-by: Yoshinori Sato
---
.../bindings/pci/renesas,sh7751-pci.yaml | 128 ++
1 file changed, 128 insertions(+)
create mode 100644
Documentation/devicetree/bindings/pci/renesas,sh7751-pci.yaml
diff --git
Renesas RTS7751R2D Plus devicetree.
Signed-off-by: Yoshinori Sato
---
arch/sh/boot/dts/rts7751r2dplus.dts | 157
1 file changed, 157 insertions(+)
create mode 100644 arch/sh/boot/dts/rts7751r2dplus.dts
diff --git a/arch/sh/boot/dts/rts7751r2dplus.dts
Added new ata-generic target.
- iodata,usl-5p-ata
- renesas,rts7751r2d-ata
Each boards have simple IDE Interface. Use ATA generic driver.
Signed-off-by: Yoshinori Sato
---
Documentation/devicetree/bindings/ata/ata-generic.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git
1 - 100 of 255 matches
Mail list logo