Bug 9302 - ata:the pata_macio driver advertises a max_segment_size of 0xff00, because the hardware doesn't cope with requests >= 64K.
Summary: ata:the pata_macio driver advertises a max_segment_size of 0xff00, because th...
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: GuixinLiu
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-10 02:36 UTC by zeroc
Modified: 2024-06-10 02:42 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zeroc 2024-06-10 02:36:54 UTC
Description of problem:
The pata_macio driver advertises a max_segment_size of 0xff00, because
the hardware doesn't cope with requests >= 64K.

However the SCSI core requires max_segment_size to be at least
PAGE_SIZE, which is a problem for pata_macio when the kernel is built
with 64K pages.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 小龙 admin 2024-06-10 02:42:34 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3328