All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: Stefan Roese <sr@denx.de>
Cc: U-Boot Mailing List <u-boot@lists.denx.de>,
	Tom Rini <trini@konsulko.com>,
	 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Subject: Re: [RFC PATCH 4/8] cyclic: Use schedule() instead of WATCHDOG_RESET()
Date: Mon, 29 Aug 2022 20:31:37 -0600	[thread overview]
Message-ID: <CAPnjgZ0tBgtWyn+dwu3JLuwtRjnYV4FQppjvAAvdQdgBEnXQDA@mail.gmail.com> (raw)
In-Reply-To: <20220829062313.32654-5-sr@denx.de>

On Mon, 29 Aug 2022 at 00:23, Stefan Roese <sr@denx.de> wrote:
>
> Globally replace all occurances of WATCHDOG_RESET() with schedule(),
> which handles the HW_WATCHDOG functionality and the cyclic
> infrastructure.
>
> Signed-off-by: Stefan Roese <sr@denx.de>
> ---
>  arch/arm/mach-at91/phy.c                      |  2 +-
>  arch/arm/mach-imx/i2c-mxv7.c                  |  2 +-
>  arch/arm/mach-socfpga/spl_a10.c               |  8 ++---
>  .../cmd_stm32prog/stm32prog_serial.c          |  6 ++--
>  arch/m68k/lib/time.c                          |  2 +-
>  arch/powerpc/cpu/mpc8xx/cpu_init.c            |  2 +-
>  arch/powerpc/lib/bootm.c                      |  6 ++--
>  arch/powerpc/lib/cache.c                      |  2 +-
>  arch/powerpc/lib/interrupts.c                 |  2 +-
>  board/astro/mcf5373l/fpga.c                   |  4 +--
>  board/dhelectronics/dh_stm32mp1/board.c       |  2 +-
>  board/liebherr/display5/spl.c                 |  2 +-
>  board/nokia/rx51/rx51.c                       |  2 +-
>  board/st/stm32mp1/stm32mp1.c                  |  2 +-
>  boot/bootretry.c                              |  2 +-
>  boot/image-board.c                            |  2 +-
>  cmd/fastboot.c                                |  2 +-
>  cmd/mem.c                                     | 16 ++++-----
>  cmd/usb_mass_storage.c                        |  2 +-
>  cmd/ximg.c                                    |  2 +-
>  common/board_f.c                              |  4 +--
>  common/board_r.c                              |  2 +-
>  common/cli_readline.c                         |  4 +--
>  common/console.c                              |  2 +-
>  common/dfu.c                                  |  2 +-
>  common/lcd.c                                  | 10 +++---
>  common/menu.c                                 |  6 ++--
>  common/usb_kbd.c                              |  2 +-
>  common/xyzModem.c                             |  2 +-
>  drivers/block/ide.c                           |  8 ++---
>  drivers/crypto/aspeed/aspeed_hace.c           |  2 +-
>  drivers/crypto/hash/hash_sw.c                 |  2 +-
>  drivers/ddr/altera/sdram_arria10.c            |  4 +--
>  drivers/ddr/altera/sdram_n5x.c                |  4 +--
>  drivers/ddr/altera/sdram_soc64.c              |  2 +-
>  drivers/fpga/intel_sdm_mb.c                   |  8 ++---
>  drivers/fpga/socfpga_arria10.c                |  8 ++---
>  drivers/i2c/mxc_i2c.c                         |  4 +--
>  drivers/mmc/octeontx_hsmmc.c                  | 12 +++----
>  drivers/mmc/sh_mmcif.c                        |  6 ++--
>  drivers/mmc/stm32_sdmmc2.c                    |  2 +-
>  drivers/mtd/cfi_flash.c                       |  4 +--
>  drivers/mtd/nand/core.c                       |  2 +-
>  drivers/mtd/nand/raw/atmel_nand.c             |  6 ++--
>  drivers/mtd/nand/raw/nand_base.c              | 10 +++---
>  drivers/mtd/nand/raw/nand_util.c              |  6 ++--
>  drivers/mtd/nand/spi/core.c                   |  4 +--
>  drivers/mtd/onenand/onenand_base.c            |  4 +--
>  drivers/mtd/spi/spi-nor-core.c                |  4 +--
>  drivers/net/octeontx2/nix.c                   |  2 +-
>  drivers/net/octeontx2/nix_af.c                | 32 ++++++++---------
>  drivers/ram/stm32mp1/stm32mp1_tests.c         |  2 +-
>  drivers/serial/atmel_usart.c                  |  2 +-
>  drivers/serial/ns16550.c                      |  6 ++--
>  drivers/serial/serial-uclass.c                |  2 +-
>  drivers/serial/serial_bcm283x_mu.c            |  2 +-
>  drivers/serial/serial_lpuart.c                |  8 ++---
>  drivers/serial/serial_mpc8xx.c                |  4 +--
>  drivers/serial/serial_mt7620.c                |  2 +-
>  drivers/serial/serial_mtk.c                   |  4 +--
>  drivers/serial/serial_mxc.c                   |  6 ++--
>  drivers/serial/serial_octeon_bootcmd.c        |  2 +-
>  drivers/serial/serial_octeon_pcie_console.c   |  4 +--
>  drivers/serial/serial_pl01x.c                 |  8 ++---
>  drivers/serial/serial_sifive.c                |  2 +-
>  drivers/serial/serial_zynq.c                  |  2 +-
>  drivers/spi/mtk_snfi_spi.c                    |  2 +-
>  drivers/spi/octeon_spi.c                      |  2 +-
>  drivers/spi/stm32_qspi.c                      |  2 +-
>  drivers/timer/mpc83xx_timer.c                 |  4 +--
>  drivers/usb/eth/lan7x.h                       |  4 +--
>  drivers/usb/gadget/f_acm.c                    |  4 +--
>  drivers/usb/gadget/f_sdp.c                    |  4 +--
>  drivers/usb/host/ehci-hcd.c                   |  2 +-
>  drivers/usb/musb-new/musb_uboot.c             |  2 +-
>  drivers/video/video_bmp.c                     |  4 +--
>  env/common.c                                  |  2 +-
>  fs/cramfs/uncompress.c                        |  3 +-
>  fs/jffs2/jffs2_1pass.c                        |  2 +-
>  include/linux/compat.h                        |  2 +-
>  include/wait_bit.h                            |  2 +-
>  include/watchdog.h                            |  8 -----
>  lib/bzip2/bzlib.c                             |  2 +-
>  lib/bzip2/bzlib_decompress.c                  |  8 ++---
>  lib/crc32.c                                   |  2 +-
>  lib/efi_loader/efi_boottime.c                 |  4 +--
>  lib/gunzip.c                                  |  2 +-
>  lib/lzma/LzmaDec.c                            | 16 ++++-----
>  lib/lzma/LzmaTools.c                          |  2 +-
>  lib/md5.c                                     |  2 +-
>  lib/sha1.c                                    |  2 +-
>  lib/sha256.c                                  |  2 +-
>  lib/sha512.c                                  |  4 +--
>  lib/time.c                                    |  2 +-
>  lib/zlib/inflate.c                            |  8 ++---
>  net/net.c                                     |  2 +-
>  post/cpu/mpc83xx/ecc.c                        |  2 +-
>  post/drivers/memory.c                         | 36 +++++++++----------
>  post/lib_powerpc/cpu.c                        | 16 ++++-----
>  post/lib_powerpc/fpu/fpu.c                    |  4 +--
>  post/post.c                                   |  4 +--
>  test/common/cyclic.c                          |  2 +-
>  test/dm/wdt.c                                 |  9 ++---
>  103 files changed, 235 insertions(+), 241 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

  reply	other threads:[~2022-08-30  2:32 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-29  6:23 [RFC PATCH 0/8] Migrate watchdog reset to cyclic infrastructure Stefan Roese
2022-08-29  6:23 ` [RFC PATCH 1/8] cmd/cyclic: Use div64 macros for division and remainder Stefan Roese
2022-08-30  2:31   ` Simon Glass
2022-08-29  6:23 ` [RFC PATCH 2/8] watchdog: Integrate watchdog triggering into the cyclic framework Stefan Roese
2022-08-29  7:38   ` Rasmus Villemoes
2022-08-29  8:09     ` Stefan Roese
2022-08-29  6:23 ` [RFC PATCH 3/8] cyclic: Introduce schedule() function Stefan Roese
2022-08-30  2:31   ` Simon Glass
2022-08-29  6:23 ` [RFC PATCH 4/8] cyclic: Use schedule() instead of WATCHDOG_RESET() Stefan Roese
2022-08-30  2:31   ` Simon Glass [this message]
2022-08-29  6:23 ` [RFC PATCH 5/8] watchdog: Get rid of ASSEMBLY hacks Stefan Roese
2022-08-29  7:50   ` Rasmus Villemoes
2022-08-29  8:31     ` Stefan Roese
2022-08-29  6:23 ` [RFC PATCH 6/8] watchdog: Remove WATCHDOG_RESET macro Stefan Roese
2022-08-30  2:31   ` Simon Glass
2022-08-29  6:23 ` [RFC PATCH 7/8] watchdog: Further cleanup Stefan Roese
2022-08-30  2:31   ` Simon Glass
2022-08-29  6:23 ` [RFC PATCH 8/8] WIP: .azure-pipelines.yml: Remove evb-ast2600 Stefan Roese
2022-09-02  4:09   ` Joel Stanley
2022-09-02  6:00     ` Joel Stanley
2022-09-02  6:14       ` Stefan Roese
2022-09-02  7:44         ` Stefan Roese

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPnjgZ0tBgtWyn+dwu3JLuwtRjnYV4FQppjvAAvdQdgBEnXQDA@mail.gmail.com \
    --to=sjg@chromium.org \
    --cc=rasmus.villemoes@prevas.dk \
    --cc=sr@denx.de \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.