[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 03/13] acpi: rtc: use a single crs range
From: |
Igor Mammedov |
Subject: |
Re: [PATCH v4 03/13] acpi: rtc: use a single crs range |
Date: |
Wed, 6 May 2020 14:38:39 +0200 |
On Wed, 6 May 2020 10:39:02 +0200
Gerd Hoffmann <address@hidden> wrote:
> Hi,
>
> > > crs = aml_resource_template();
> > > aml_append(crs, aml_io(AML_DECODE16, RTC_ISA_BASE, RTC_ISA_BASE,
> > > - 0x10, 0x02));
> > > + 0x10, 0x08));
> > > aml_append(crs, aml_irq_no_flags(RTC_ISA_IRQ));
> > > - aml_append(crs, aml_io(AML_DECODE16, RTC_ISA_BASE + 2, RTC_ISA_BASE
> > > + 2,
> > > - 0x02, 0x06));
> > can we just drop the later range as unused? (I don't see where it's
> > actually initialized)
>
> I'd rather follow what physical hardware is doing here
> for better compatibility ...
maybe add comment here why it doesn't match IO range that RTC actualy provides,
otherwise it's looks very confusing
>
> take care,
> Gerd
>
- [PATCH v4 00/13] acpi: i386 tweaks, Gerd Hoffmann, 2020/05/05
- [PATCH v4 04/13] acpi: serial: don't use _STA method, Gerd Hoffmann, 2020/05/05
- [PATCH v4 11/13] acpi: simplify build_isa_devices_aml(), Gerd Hoffmann, 2020/05/05
- [PATCH v4 09/13] acpi: move aml builder code for i8042 (kbd+mouse) device, Gerd Hoffmann, 2020/05/05
- [PATCH v4 06/13] acpi: parallel: don't use _STA method, Gerd Hoffmann, 2020/05/05
- [PATCH v4 10/13] acpi: factor out fw_cfg_add_acpi_dsdt(), Gerd Hoffmann, 2020/05/05
- [PATCH v4 13/13] floppy: make isa_fdc_get_drive_max_chs static, Gerd Hoffmann, 2020/05/05
- [PATCH v4 12/13] acpi: drop serial/parallel enable bits from dsdt, Gerd Hoffmann, 2020/05/05