1. 09 Apr, 2024 6 commits
  2. 03 Apr, 2024 8 commits
    • Frank Li's avatar
      arm64: dts: imx8qm-ss-dma: fix can lpcg indices · 00b43618
      Frank Li authored
      can1_lpcg: clock-controller@5ace0000 {
      	...						    Col1   Col2
      	clocks = <&clk IMX_SC_R_CAN_1 IMX_SC_PM_CLK_PER>,//  0       0
      		 <&dma_ipg_clk>,			 //  1       4
      		 <&dma_ipg_clk>;			 //  2       5
      	clock-indices = <IMX_LPCG_CLK_0>,
      			<IMX_LPCG_CLK_4>,
      			<IMX_LPCG_CLK_5>;
      };
      
      Col1: index, which existing dts try to get.
      Col2: actual index in lpcg driver
      
      &flexcan2 {
      	clocks = <&can1_lpcg 1>, <&can1_lpcg 0>;
      			     ^^		     ^^
      Should be:
      	clocks = <&can1_lpcg IMX_LPCG_CLK_4>, <&can1_lpcg IMX_LPCG_CLK_0>;
      };
      
      Arg0 is divided by 4 in lpcg driver. So flexcan get IMX_SC_PM_CLK_PER by
      <&can1_lpcg 1> and <&can1_lpcg 0>. Although function work, code logic is
      wrong. Fix it by using correct clock indices.
      
      Cc: stable@vger.kernel.org
      Fixes: be85831d ("arm64: dts: imx8qm: add can node in devicetree")
      Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      00b43618
    • Frank Li's avatar
      arm64: dts: imx8-ss-dma: fix can lpcg indices · 08933923
      Frank Li authored
      can0_lpcg: clock-controller@5acd0000 {
      	...						   Col1  Col2
      	clocks = <&clk IMX_SC_R_CAN_0 IMX_SC_PM_CLK_PER>, // 0    0
      		 <&dma_ipg_clk>,			  // 1    4
      		 <&dma_ipg_clk>;			  // 2    5
              clock-indices = <IMX_LPCG_CLK_0>,
      			<IMX_LPCG_CLK_4>,
      			<IMX_LPCG_CLK_5>;
      }
      
      Col1: index, which existing dts try to get.
      Col2: actual index in lpcg driver.
      
      flexcan1: can@5a8d0000 {
      	clocks = <&can0_lpcg 1>, <&can0_lpcg 0>;
      			     ^^		     ^^
      Should be:
      	clocks = <&can0_lpcg IMX_LPCG_CLK_4>, <&can0_lpcg IMX_LPCG_CLK_0>;
      };
      
      Arg0 is divided by 4 in lpcg driver. flexcan driver get IMX_SC_PM_CLK_PER
      by <&can0_lpcg 1> and <&can0_lpcg 0>. Although function can work, code
      logic is wrong. Fix it by using correct clock indices.
      
      Cc: stable@vger.kernel.org
      Fixes: 5e7d5b02 ("arm64: dts: imx8qxp: add flexcan in adma")
      Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      08933923
    • Frank Li's avatar
      arm64: dts: imx8-ss-dma: fix adc lpcg indices · 81975080
      Frank Li authored
      adc0_lpcg: clock-controller@5ac80000 {
      	...						    Col1   Col2
      	clocks = <&clk IMX_SC_R_ADC_0 IMX_SC_PM_CLK_PER>, // 0      0
      		 <&dma_ipg_clk>;			  // 1      4
      	clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
      };
      
      Col1: index, which existing dts try to get.
      Col2: actual index in lpcg driver.
      
      adc0: adc@5a880000 {
      	clocks = <&adc0_lpcg 0>, <&adc0_lpcg 1>;
      			     ^^              ^^
      	clocks = <&adc0_lpcg IMX_LPCG_CLK_0>, <&adc0_lpcg IMX_LPCG_CLK_4>;
      
      Arg0 is divided by 4 in lpcg driver. So adc get IMX_SC_PM_CLK_PER by
      <&adc0_lpcg 0>, <&adc0_lpcg 1>. Although function can work, code logic is
      wrong. Fix it by using correct indices.
      
      Cc: stable@vger.kernel.org
      Fixes: 1db044b2 ("arm64: dts: imx8dxl: add adc0 support")
      Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      81975080
    • Frank Li's avatar
      arm64: dts: imx8-ss-dma: fix pwm lpcg indices · 9055d87b
      Frank Li authored
      adma_pwm_lpcg: clock-controller@5a590000 {
      	...							 col1 col2
      	clocks = <&clk IMX_SC_R_LCD_0_PWM_0 IMX_SC_PM_CLK_PER>,// 0   0
      		 <&dma_ipg_clk>;                               // 1   4
      	clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
              ...
      };
      
      Col1: index, which existing dts try to get.
      Col2: actual index in lpcg driver.
      
      adma_pwm: pwm@5a190000 {
      	...
      	clocks = <&adma_pwm_lpcg 1>, <&adma_pwm_lpcg 0>;
      				 ^^		     ^^
      Should be
      	clocks = <&adma_pwm_lpcg IMX_LPCG_CLK_4>,
      		 <&adma_pwm_lpcg IMX_LPCG_CLK_0>;
      };
      
      Arg0 will be divided by 4 in lcpg driver, so pwm will get IMX_SC_PM_CLK_PER
      by <&adma_pwm_lpcg 1>, <&adma_pwm_lpcg 0>. Although function can work, code
      logic is wrong. Fix it by use correct indices.
      
      Cc: stable@vger.kernel.org
      Fixes: f1d6a6b9 ("arm64: dts: imx8qxp: add adma_pwm in adma")
      Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      9055d87b
    • Frank Li's avatar
      arm64: dts: imx8-ss-dma: fix spi lpcg indices · f72b544a
      Frank Li authored
      spi0_lpcg: clock-controller@5a400000 {
      	...                                                  Col0   Col1
      	clocks = <&clk IMX_SC_R_SPI_0 IMX_SC_PM_CLK_PER>,//   0      1
      		 <&dma_ipg_clk>;                         //   1      4
      	clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
      };
      
      Col1: index, which existing dts try to get.
      Col2: actual index in lpcg driver.
      
      lpspi0: spi@5a000000 {
      	...
      	clocks = <&spi0_lpcg 0>, <&spi0_lpcg 1>;
      			     ^		     ^
      Should be:
      	clocks = <&spi0_lpcg IMX_LPCG_CLK_0>, <&spi0_lpcg IMX_LPCG_CLK_4>;
      };
      
      Arg0 is divided by 4 in lpcg driver. <&spi0_lpcg 0> and <&spi0_lpcg 1> are
      IMX_SC_PM_CLK_PER. Although code can work, code logic is wrong. It should
      use IMX_LPCG_CLK_0 and IMX_LPCG_CLK_4 for lpcg arg0.
      
      Cc: stable@vger.kernel.org
      Fixes: c4098885 ("arm64: dts: imx8dxl: add lpspi support")
      Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      f72b544a
    • Frank Li's avatar
      arm64: dts: imx8-ss-conn: fix usb lpcg indices · 808e7716
      Frank Li authored
      usb2_lpcg: clock-controller@5b270000 {
      	...                                                    Col1  Col2
      	clocks = <&conn_ahb_clk>, <&conn_ipg_clk>;           // 0     6
      	clock-indices = <IMX_LPCG_CLK_6>, <IMX_LPCG_CLK_7>;  // 0     7
              ...
      };
      
      Col1: index, which existing dts try to get.
      Col2: actual index in lpcg driver.
      
      usbotg1: usb@5b0d0000 {
      	...
      	clocks = <&usb2_lpcg 0>;
      			     ^^
      Should be:
      	clocks = <&usb2_lpcg IMX_LPCG_CLK_6>;
      };
      
      usbphy1: usbphy@5b100000 {
      	clocks = <&usb2_lpcg 1>;
      			     ^^
      SHould be:
      	clocks = <&usb2_lpcg IMX_LPCG_CLK_7>;
      };
      
      Arg0 is divided by 4 in lpcg driver. So lpcg will do dummy enable. Fix it
      by use correct clock indices.
      
      Cc: stable@vger.kernel.org
      Fixes: 8065fc93 ("arm64: dts: imx8dxl: add usb1 and usb2 support")
      Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      808e7716
    • Frank Li's avatar
      arm64: dts: imx8-ss-lsio: fix pwm lpcg indices · 1d86c2b3
      Frank Li authored
      lpcg's arg0 should use clock indices instead of index.
      
      pwm0_lpcg: clock-controller@5d400000 {
      	...                                                // Col1  Col2
      	clocks = <&clk IMX_SC_R_PWM_0 IMX_SC_PM_CLK_PER>,  // 0     0
      		 <&clk IMX_SC_R_PWM_0 IMX_SC_PM_CLK_PER>,  // 1     1
      		 <&clk IMX_SC_R_PWM_0 IMX_SC_PM_CLK_PER>,  // 2     4
      		 <&lsio_bus_clk>,                          // 3     5
      		 <&clk IMX_SC_R_PWM_0 IMX_SC_PM_CLK_PER>;  // 4     6
      	clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
      			<IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>,
      			<IMX_LPCG_CLK_6>;
      };
      
      Col1: index, which existing dts try to get.
      Col2: actual index in lpcg driver.
      
      pwm1 {
      	....
      	clocks = <&pwm1_lpcg 4>, <&pwm1_lpcg 1>;
                                   ^^              ^^
      should be:
      
      	clocks = <&pwm1_lpcg IMX_LPCG_CLK_6>, <&pwm1_lpcg IMX_LPCG_CLK_1>;
      };
      
      Arg0 is divided by 4 in lpcg driver, so index 0 and 1 will be get by pwm
      driver, which are same as IMX_LPCG_CLK_6 and IMX_LPCG_CLK_1. Even it can
      work, but code logic is wrong. Fixed it by use correct indices.
      
      Cc: stable@vger.kernel.org
      Fixes: 23fa99b2 ("arm64: dts: freescale: imx8-ss-lsio: add support for lsio_pwm0-3")
      Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      1d86c2b3
    • Fabio Estevam's avatar
      ARM: dts: imx7s-warp: Pass OV2680 link-frequencies · 135f2182
      Fabio Estevam authored
      Since commit 63b0cd30 ("media: ov2680: Add bus-cfg / endpoint
      property verification") the ov2680 no longer probes on a imx7s-warp7:
      
      ov2680 1-0036: error -EINVAL: supported link freq 330000000 not found
      ov2680 1-0036: probe with driver ov2680 failed with error -22
      
      Fix it by passing the required 'link-frequencies' property as
      recommended by:
      
      https://www.kernel.org/doc/html/v6.9-rc1/driver-api/media/camera-sensor.html#handling-clocks
      
      Cc: stable@vger.kernel.org
      Fixes: 63b0cd30 ("media: ov2680: Add bus-cfg / endpoint property verification")
      Signed-off-by: default avatarFabio Estevam <festevam@denx.de>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      135f2182
  3. 02 Apr, 2024 2 commits
    • Fabio Estevam's avatar
      ARM: dts: imx7-mba7: Use 'no-mmc' property · b91695b5
      Fabio Estevam authored
      'no-emmc' is not a valid property.
      
      The original intention was to use the 'no-mmc' property.
      
      Change it accordingly to fix the following dt-schema warning:
      
      imx7s-mba7.dtb: mmc@30b40000: Unevaluated properties are not allowed ('no-emmc' was unexpected)
      
      Fixes: d430a7e0 ("ARM: dts: imx7-mba7: restrict usdhc interface modes")
      Signed-off-by: default avatarFabio Estevam <festevam@denx.de>
      Reviewed-by: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      b91695b5
    • Frank Li's avatar
      arm64: dts: imx8-ss-conn: fix usdhc wrong lpcg clock order · c6ddd6e7
      Frank Li authored
      The actual clock show wrong frequency:
      
         echo on >/sys/devices/platform/bus\@5b000000/5b010000.mmc/power/control
         cat /sys/kernel/debug/mmc0/ios
      
         clock:          200000000 Hz
         actual clock:   166000000 Hz
                         ^^^^^^^^^
         .....
      
      According to
      
      sdhc0_lpcg: clock-controller@5b200000 {
                      compatible = "fsl,imx8qxp-lpcg";
                      reg = <0x5b200000 0x10000>;
                      #clock-cells = <1>;
                      clocks = <&clk IMX_SC_R_SDHC_0 IMX_SC_PM_CLK_PER>,
                               <&conn_ipg_clk>, <&conn_axi_clk>;
                      clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>,
                                      <IMX_LPCG_CLK_5>;
                      clock-output-names = "sdhc0_lpcg_per_clk",
                                           "sdhc0_lpcg_ipg_clk",
                                           "sdhc0_lpcg_ahb_clk";
                      power-domains = <&pd IMX_SC_R_SDHC_0>;
              }
      
      "per_clk" should be IMX_LPCG_CLK_0 instead of IMX_LPCG_CLK_5.
      
      After correct clocks order:
      
         echo on >/sys/devices/platform/bus\@5b000000/5b010000.mmc/power/control
         cat /sys/kernel/debug/mmc0/ios
      
         clock:          200000000 Hz
         actual clock:   198000000 Hz
                         ^^^^^^^^
         ...
      
      Fixes: 16c4ea75 ("arm64: dts: imx8: switch to new lpcg clock binding")
      Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      c6ddd6e7
  4. 31 Mar, 2024 12 commits
  5. 30 Mar, 2024 8 commits
    • Mikulas Patocka's avatar
      objtool: Fix compile failure when using the x32 compiler · 6205125b
      Mikulas Patocka authored
      When compiling the v6.9-rc1 kernel with the x32 compiler, the following
      errors are reported. The reason is that we take an "unsigned long"
      variable and print it using "PRIx64" format string.
      
      	In file included from check.c:16:
      	check.c: In function ‘add_dead_ends’:
      	/usr/src/git/linux-2.6/tools/objtool/include/objtool/warn.h:46:17: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘long unsigned int’ [-Werror=format=]
      	   46 |                 "%s: warning: objtool: " format "\n",   \
      	      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
      	check.c:613:33: note: in expansion of macro ‘WARN’
      	  613 |                                 WARN("can't find unreachable insn at %s+0x%" PRIx64,
      	      |                                 ^~~~
      	...
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      Cc: Josh Poimboeuf <jpoimboe@redhat.com>
      Cc: linux-kernel@vger.kernel.org
      6205125b
    • Linus Torvalds's avatar
      Merge tag 'xfs-6.9-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 712e1425
      Linus Torvalds authored
      Pull xfs fixes from Chandan Babu:
      
       - Allow stripe unit/width value passed via mount option to be written
         over existing values in the super block
      
       - Do not set current->journal_info to avoid its value from being miused
         by another filesystem context
      
      * tag 'xfs-6.9-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: don't use current->journal_info
        xfs: allow sunit mount option to repair bad primary sb stripe values
      712e1425
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · fe764a75
      Linus Torvalds authored
      Pull SCSI fixes and updates from James Bottomley:
       "Fully half this pull is updates to lpfc and qla2xxx which got
        committed just as the merge window opened. A sizeable fraction of the
        driver updates are simple bug fixes (and lock reworks for bug fixes in
        the case of lpfc), so rather than splitting the few actual
        enhancements out, we're just adding the drivers to the -rc1 pull.
      
        The enhancements for lpfc are log message removals, copyright updates
        and three patches redefining types. For qla2xxx it's just removing a
        debug message on module removal and the manufacturer detail update.
      
        The two major fixes are the sg teardown race and a core error leg
        problem with the procfs directory not being removed if we destroy a
        created host that never got to the running state. The rest are minor
        fixes and constifications"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (41 commits)
        scsi: bnx2fc: Remove spin_lock_bh while releasing resources after upload
        scsi: core: Fix unremoved procfs host directory regression
        scsi: mpi3mr: Avoid memcpy field-spanning write WARNING
        scsi: sd: Fix TCG OPAL unlock on system resume
        scsi: sg: Avoid sg device teardown race
        scsi: lpfc: Copyright updates for 14.4.0.1 patches
        scsi: lpfc: Update lpfc version to 14.4.0.1
        scsi: lpfc: Define types in a union for generic void *context3 ptr
        scsi: lpfc: Define lpfc_dmabuf type for ctx_buf ptr
        scsi: lpfc: Define lpfc_nodelist type for ctx_ndlp ptr
        scsi: lpfc: Use a dedicated lock for ras_fwlog state
        scsi: lpfc: Release hbalock before calling lpfc_worker_wake_up()
        scsi: lpfc: Replace hbalock with ndlp lock in lpfc_nvme_unregister_port()
        scsi: lpfc: Update lpfc_ramp_down_queue_handler() logic
        scsi: lpfc: Remove IRQF_ONESHOT flag from threaded IRQ handling
        scsi: lpfc: Move NPIV's transport unregistration to after resource clean up
        scsi: lpfc: Remove unnecessary log message in queuecommand path
        scsi: qla2xxx: Update version to 10.02.09.200-k
        scsi: qla2xxx: Delay I/O Abort on PCI error
        scsi: qla2xxx: Change debug message during driver unload
        ...
      fe764a75
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-6.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · ac672718
      Linus Torvalds authored
      Pull i2c fix from Wolfram Sang:
       "A fix from Andi for I2C host drivers"
      
      * tag 'i2c-for-6.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: i801: Fix a refactoring that broke a touchpad on Lenovo P1
      ac672718
    • Linus Torvalds's avatar
      Merge tag 'usb-6.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · ff789a26
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are a bunch of small USB fixes for reported problems and
        regressions for 6.9-rc2. Included in here are:
      
         - deadlock fixes for long-suffering issues
      
         - USB phy driver revert for reported problem
      
         - typec fixes for reported problems
      
         - duplicate id in dwc3 dropped
      
         - dwc2 driver fixes
      
         - udc driver warning fix
      
         - cdc-wdm race bugfix
      
         - other tiny USB bugfixes
      
        All of these have been in linux-next this past week with no reported
        issues"
      
      * tag 'usb-6.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (26 commits)
        USB: core: Fix deadlock in port "disable" sysfs attribute
        USB: core: Add hub_get() and hub_put() routines
        usb: typec: ucsi: Check capabilities before cable and identity discovery
        usb: typec: ucsi: Clear UCSI_CCI_RESET_COMPLETE before reset
        usb: typec: ucsi_acpi: Refactor and fix DELL quirk
        usb: typec: ucsi: Ack unsupported commands
        usb: typec: ucsi: Check for notifications after init
        usb: typec: ucsi: Clear EVENT_PENDING under PPM lock
        usb: typec: Return size of buffer if pd_set operation succeeds
        usb: udc: remove warning when queue disabled ep
        usb: dwc3: pci: Drop duplicate ID
        usb: dwc3: Properly set system wakeup
        Revert "usb: phy: generic: Get the vbus supply"
        usb: cdc-wdm: close race between read and workqueue
        usb: dwc2: gadget: LPM flow fix
        usb: dwc2: gadget: Fix exiting from clock gating
        usb: dwc2: host: Fix ISOC flow in DDMA mode
        usb: dwc2: host: Fix remote wakeup from hibernation
        usb: dwc2: host: Fix hibernation flow
        USB: core: Fix deadlock in usb_deauthorize_interface()
        ...
      ff789a26
    • Linus Torvalds's avatar
      Merge tag 'staging-6.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 4e6e4229
      Linus Torvalds authored
      Pull staging driver fixes from Greg KH:
       "Here are two small staging driver fixes for the vc04_services driver
        that resolve reported problems:
      
         - strncpy fix for information leak
      
         - another information leak discovered by the previous strncpy fix
      
        Both of these have been in linux-next all this past week with no
        reported issues"
      
      * tag 'staging-6.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
        staging: vc04_services: fix information leak in create_component()
        staging: vc04_services: changen strncpy() to strscpy_pad()
      4e6e4229
    • Wolfram Sang's avatar
      Merge tag 'i2c-host-fixes-6.9-rc2' of... · 2953eb02
      Wolfram Sang authored
      Merge tag 'i2c-host-fixes-6.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux into i2c/for-current
      
      One fix in the i801 driver where a bug caused touchpad
      malfunctions on some Lenovo P1 models by incorrectly overwriting
      a status variable during successful SMBUS transactions.
      2953eb02
    • Masahiro Yamada's avatar
      x86/build: Use obj-y to descend into arch/x86/virt/ · 3f1a9bc5
      Masahiro Yamada authored
      Commit c33621b4 ("x86/virt/tdx: Wire up basic SEAMCALL functions")
      introduced a new instance of core-y instead of the standardized obj-y
      syntax.
      
      X86 Makefiles descend into subdirectories of arch/x86/virt inconsistently;
      into arch/x86/virt/ via core-y defined in arch/x86/Makefile, but into
      arch/x86/virt/svm/ via obj-y defined in arch/x86/Kbuild.
      
      This is problematic when you build a single object in parallel because
      multiple threads attempt to build the same file.
      
        $ make -j$(nproc) arch/x86/virt/vmx/tdx/seamcall.o
          [ snip ]
          AS      arch/x86/virt/vmx/tdx/seamcall.o
          AS      arch/x86/virt/vmx/tdx/seamcall.o
        fixdep: error opening file: arch/x86/virt/vmx/tdx/.seamcall.o.d: No such file or directory
        make[4]: *** [scripts/Makefile.build:362: arch/x86/virt/vmx/tdx/seamcall.o] Error 2
      
      Use the obj-y syntax, as it works correctly.
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      Link: https://lore.kernel.org/r/20240330060554.18524-1-masahiroy@kernel.org
      3f1a9bc5
  6. 29 Mar, 2024 4 commits
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2024-03-30' of https://gitlab.freedesktop.org/drm/kernel · 486291a0
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Regular fixes for rc2, quite a few i915/amdgpu as usual, some xe, and
        then mostly scattered around. rc3 might be quieter with the holidays
        but we shall see.
      
        bridge:
         - select DRM_KMS_HELPER
      
        dma-buf:
         - fix NULL-pointer deref
      
        dp:
         - fix div-by-zero in DP MST unplug code
      
        fbdev:
         - select FB_IOMEM_FOPS for SBus
      
        sched:
         - fix NULL-pointer deref
      
        xe:
         - Fix build on mips
         - Fix wrong bound checks
         - Fix use of msec rather than jiffies
         - Remove dead code
      
        amdgpu:
         - SMU 14.0.1 updates
         - DCN 3.5.x updates
         - VPE fix
         - eDP panel flickering fix
         - Suspend fix
         - PSR fix
         - DCN 3.0+ fix
         - VCN 4.0.6 updates
         - debugfs fix
      
        amdkfd:
         - DMA-Buf fix
         - GFX 9.4.2 TLB flush fix
         - CP interrupt fix
      
        i915:
         - Fix for BUG_ON/BUILD_BUG_ON IN I915_memcpy.c
         - Update a MTL workaround
         - Fix locking inversion in hwmon's sysfs
         - Remove a bogus error message around PXP
         - Fix UAF on VMA
         - Reset queue_priority_hint on parking
         - Display Fixes:
         - Remove duplicated audio enable/disable on SDVO and DP
         - Disable AuxCCS for Xe driver
         - Revert init order of MIPI DSI
         - DRRS debugfs fix with an extra refactor patch
         - VRR related fixes
         - Fix a JSL eDP corruption
         - Fix the cursor physical dma address
         - BIOS VBT related fix
      
        nouveau:
         - dmem: handle kcalloc() allocation failures
      
        qxl:
         - remove unused variables
      
        rockchip:
         - vop2: remove support for AR30 and AB30 formats
      
        vmwgfx:
         - debugfs: create ttm_resource_manager entry only if needed"
      
      * tag 'drm-fixes-2024-03-30' of https://gitlab.freedesktop.org/drm/kernel: (55 commits)
        drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode()
        drm/i915: Pre-populate the cursor physical dma address
        drm/i915/gt: Reset queue_priority_hint on parking
        drm/i915/vma: Fix UAF on destroy against retire race
        drm/i915: Do not print 'pxp init failed with 0' when it succeed
        drm/i915: Do not match JSL in ehl_combo_pll_div_frac_wa_needed()
        drm/i915/hwmon: Fix locking inversion in sysfs getter
        drm/i915/dsb: Fix DSB vblank waits when using VRR
        drm/i915/vrr: Generate VRR "safe window" for DSB
        drm/i915/display/debugfs: Fix duplicate checks in i915_drrs_status
        drm/i915/drrs: Refactor CPU transcoder DRRS check
        drm/i915/mtl: Update workaround 14018575942
        drm/i915/dsi: Go back to the previous INIT_OTP/DISPLAY_ON order, mostly
        drm/i915/display: Disable AuxCCS framebuffers if built for Xe
        drm/i915: Stop doing double audio enable/disable on SDVO and g4x+ DP
        drm/i915: Add includes for BUG_ON/BUILD_BUG_ON in i915_memcpy.c
        drm/qxl: remove unused variable from `qxl_process_single_command()`
        drm/qxl: remove unused `count` variable from `qxl_surface_id_alloc()`
        drm/i915: add bug.h include to i915_memcpy.c
        drm/vmwgfx: Create debugfs ttm_resource_manager entry only if needed
        ...
      486291a0
    • Linus Torvalds's avatar
      Merge tag 'linux_kselftest-fixes-6.9-rc2' of... · 1ab5c8a3
      Linus Torvalds authored
      Merge tag 'linux_kselftest-fixes-6.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull kselftest fixes from Shuah Khan:
       "Fixes to seccomp and ftrace tests and a change to add config file for
        dmabuf-heap test to increase coverage"
      
      * tag 'linux_kselftest-fixes-6.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        selftests: dmabuf-heap: add config file for the test
        selftests/seccomp: Try to fit runtime of benchmark into timeout
        selftests/ftrace: Fix event filter target_func selection
      1ab5c8a3
    • Linus Torvalds's avatar
      Merge tag 'linux_kselftest-kunit-fixes-6.9-rc2' of... · a2ad5d9e
      Linus Torvalds authored
      Merge tag 'linux_kselftest-kunit-fixes-6.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull KUnit fixes from Shuah Khan:
       "One urgent fix for --alltests build failure related to renaming of
        CONFIG_DAMON_DBGFS to DAMON_DBGFS_DEPRECATED to the missing config
        option"
      
      * tag 'linux_kselftest-kunit-fixes-6.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        kunit: configs: Enable CONFIG_DAMON_DBGFS_DEPRECATED for --alltests
      a2ad5d9e
    • Muhammad Usama Anjum's avatar
      selftests: dmabuf-heap: add config file for the test · 224fe424
      Muhammad Usama Anjum authored
      The config fragment enlists all the config options needed for the test.
      This config is merged into the kernel's config on which this test is
      run.
      
      Fixed whitespace errors during commit:
      Shuah Khan <skhan@linuxfoundation.org>
      Reviewed-by: default avatarT.J. Mercier <tjmercier@google.com>
      Signed-off-by: default avatarMuhammad Usama Anjum <usama.anjum@collabora.com>
      Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      224fe424