On Thu, 03 Oct 2019 12:32:41 +0100,agreeing on relaxed, shall be part of v5
Talel Shenhar <talel@xxxxxxxxxx> wrote:
+ log1 = readl(al_pos->mmio_base + AL_POS_ERROR_LOG_1);I already commented on the misuse of strict accesses. Unless you can
explain and document *why* you need the extra ordering, please use
relaxed accesses.
+Would it be worth continuing without interrupts? After all, the
+ if (al_pos->irq > 0) {
+ ret = devm_request_irq(&pdev->dev,
+ al_pos->irq,
+ al_pos_irq_handler,
+ 0,
+ pdev->name,
+ pdev);
+ if (ret != 0) {
+ dev_err(&pdev->dev,
+ "failed to register to irq %d (%d)\n",
+ al_pos->irq, ret);
+ goto err_remove_edac;
interrupt seems to be an optional part of the device...
Thanks,
M.