Todd Kjos 9733980ba7 ANDROID: update db845c symbol list
Update for recent changes to scsi/ufshcd

11 function symbol(s) added
  'int insert_resource(struct resource*, struct resource*)'
  'struct msi_desc* msi_first_desc(struct device*, enum msi_desc_filter)'
  'struct msi_desc* msi_next_desc(struct device*, enum msi_desc_filter)'
  'int remove_resource(struct resource*)'
  'void ufshcd_mcq_config_esi(struct ufs_hba*, struct msi_msg*)'
  'void ufshcd_mcq_enable_esi(struct ufs_hba*)'
  'unsigned long ufshcd_mcq_poll_cqe_nolock(struct ufs_hba*, struct ufs_hw_queue*)'
  'void ufshcd_mcq_write_cqis(struct ufs_hba*, u32, int)'
  'int ufshcd_system_freeze(struct device*)'
  'int ufshcd_system_restore(struct device*)'
  'int ufshcd_system_thaw(struct device*)'

function symbol 'struct scsi_device* __scsi_iterate_devices(struct Scsi_Host*, struct scsi_device*)' changed
  CRC changed from 0x103ea7e3 to 0x9039be7e

function symbol 'int scsi_autopm_get_device(struct scsi_device*)' changed
  CRC changed from 0xad35aadc to 0x88e729b3

function symbol 'void scsi_autopm_put_device(struct scsi_device*)' changed
  CRC changed from 0x12c1bce to 0x54fe744f

... 36 omitted; 39 symbols have only CRC changes

type 'struct ufs_hba' changed
  byte size changed from 4488 to 4800
  member 'u32 mcq_capabilities' was added
  3 members ('int nutmrs' .. 'u32 ufs_version') changed
    offset changed by 32
  member 'bool logical_unit_scan_finished' was added
  5 members ('u32 eh_flags' .. 'u16 ee_usr_mask') changed
    offset changed by 32
  3 members ('ktime_t last_dme_cmd_tstamp' .. 'struct ufs_dev_info dev_info') changed
    offset changed by 64
  11 members ('bool auto_bkops_enabled' .. 'struct ufs_clk_scaling clk_scaling') changed
    offset changed by 128
  member 'bool system_suspending' was added
  member 'bool is_sys_suspended' changed
    offset changed by 136
  4 members ('enum bkops_status urgent_bkops_lvl' .. 'struct rw_semaphore clk_scaling_lock') changed
    offset changed by 128
  member 'unsigned char desc_size[10]' was removed
  member 'atomic_t scsi_block_reqs_cnt' changed
    offset changed by 32
  12 members ('struct device bsg_dev' .. 'u32 luns_avail') changed
    offset changed by 64
  member 'unsigned int nr_hw_queues' was added
  member 'unsigned int nr_queues[3]' was added
  member 'bool complete_put' changed
    offset changed by 192
  member 'bool ext_iid_sup' was added
  member 'bool scsi_host_added' was added
  member 'bool mcq_sup' was added
  member 'bool mcq_enabled' was added
  member 'struct ufshcd_res_info res[7]' was added
  member 'void* mcq_base' was added
  member 'struct ufs_hw_queue* uhq' was added
  member 'struct ufs_hw_queue* dev_cmd_queue' was added
  member 'struct ufshcd_mcq_opr_info_t mcq_opr[4]' was added

type 'struct ufs_hba_variant_ops' changed
  byte size changed from 176 to 224
  member 'void(* reinit_notify)(struct ufs_hba*)' was added
  member 'int(* mcq_config_resource)(struct ufs_hba*)' was added
  member 'int(* get_hba_mac)(struct ufs_hba*)' was added
  member 'int(* op_runtime_config)(struct ufs_hba*)' was added
  member 'int(* get_outstanding_cqs)(struct ufs_hba*, unsigned long*)' was added
  member 'int(* config_esi)(struct ufs_hba*)' was added

type 'enum attr_idn' changed
  enumerator 'QUERY_ATTR_IDN_EXT_IID_EN' (42) was added

type 'struct scsi_host_template' changed
  member changed from 'enum blk_eh_timer_return(* eh_timed_out)(struct scsi_cmnd*)' to 'enum scsi_timeout_action(* eh_timed_out)(struct scsi_cmnd*)'
    type changed from 'enum blk_eh_timer_return(*)(struct scsi_cmnd*)' to 'enum scsi_timeout_action(*)(struct scsi_cmnd*)'
      pointed-to type changed from 'enum blk_eh_timer_return(struct scsi_cmnd*)' to 'enum scsi_timeout_action(struct scsi_cmnd*)'
        return type changed from 'enum blk_eh_timer_return' to 'enum scsi_timeout_action'

type 'struct ufs_dev_cmd' changed
  byte size changed from 104 to 112
  member 'struct cq_entry* cqe' was added

type 'struct ufs_dev_info' changed
  byte size changed from 32 to 40
  member 'u8 bqueuedepth' was added
  7 members ('bool hpb_enabled' .. 'u8 b_presrv_uspc_en') changed
    offset changed by 8
  member 'bool b_advanced_rpmb_en' was added
  member 'bool b_ext_iid_en' was added

type 'enum dev_cmd_type' changed
  enumerator 'DEV_CMD_TYPE_RPMB' (2) was added

Bug: 273322767
Change-Id: Id42d69756c884faa120f1206f2d70a8de5db6271
Signed-off-by: Todd Kjos <tkjos@google.com>
2023-03-15 16:17:14 +00:00
2023-02-09 13:29:55 +00:00
2023-03-13 15:45:34 +00:00
2023-03-13 15:45:34 +00:00
2023-01-18 18:50:42 +00:00
2023-03-13 15:45:34 +00:00
2023-03-13 15:45:34 +00:00
2023-02-01 09:12:59 +00:00
2023-03-13 15:45:34 +00:00
2023-03-13 15:45:34 +00:00
2023-03-13 15:45:34 +00:00
2023-03-13 15:45:34 +00:00
2022-09-28 09:02:20 +02:00
2022-09-28 09:02:20 +02:00
2023-02-25 15:37:47 +00:00
2023-03-13 18:57:25 +00:00
2022-12-01 13:06:20 +00:00
2022-06-18 10:41:40 -07:00
2022-08-22 16:34:52 +00:00

How do I submit patches to Android Common Kernels

  1. BEST: Make all of your changes to upstream Linux. If appropriate, backport to the stable releases. These patches will be merged automatically in the corresponding common kernels. If the patch is already in upstream Linux, post a backport of the patch that conforms to the patch requirements below.

    • Do not send patches upstream that contain only symbol exports. To be considered for upstream Linux, additions of EXPORT_SYMBOL_GPL() require an in-tree modular driver that uses the symbol -- so include the new driver or changes to an existing driver in the same patchset as the export.
    • When sending patches upstream, the commit message must contain a clear case for why the patch is needed and beneficial to the community. Enabling out-of-tree drivers or functionality is not not a persuasive case.
  2. LESS GOOD: Develop your patches out-of-tree (from an upstream Linux point-of-view). Unless these are fixing an Android-specific bug, these are very unlikely to be accepted unless they have been coordinated with kernel-team@android.com. If you want to proceed, post a patch that conforms to the patch requirements below.

Common Kernel patch requirements

  • All patches must conform to the Linux kernel coding standards and pass scripts/checkpatch.pl
  • Patches shall not break gki_defconfig or allmodconfig builds for arm, arm64, x86, x86_64 architectures (see https://source.android.com/setup/build/building-kernels)
  • If the patch is not merged from an upstream branch, the subject must be tagged with the type of patch: UPSTREAM:, BACKPORT:, FROMGIT:, FROMLIST:, or ANDROID:.
  • All patches must have a Change-Id: tag (see https://gerrit-review.googlesource.com/Documentation/user-changeid.html)
  • If an Android bug has been assigned, there must be a Bug: tag.
  • All patches must have a Signed-off-by: tag by the author and the submitter

Additional requirements are listed below based on patch type

Requirements for backports from mainline Linux: UPSTREAM:, BACKPORT:

  • If the patch is a cherry-pick from Linux mainline with no changes at all
    • tag the patch subject with UPSTREAM:.
    • add upstream commit information with a (cherry picked from commit ...) line
    • Example:
      • if the upstream commit message is
        important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>
  • then Joe Smith would upload the patch for the common kernel as
        UPSTREAM: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        (cherry picked from commit c31e73121f4c1ec41143423ac6ce3ce6dafdcec1)
        Signed-off-by: Joe Smith <joe.smith@foo.org>
  • If the patch requires any changes from the upstream version, tag the patch with BACKPORT: instead of UPSTREAM:.
    • use the same tags as UPSTREAM:
    • add comments about the changes under the (cherry picked from commit ...) line
    • Example:
        BACKPORT: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        (cherry picked from commit c31e73121f4c1ec41143423ac6ce3ce6dafdcec1)
        [joe: Resolved minor conflict in drivers/foo/bar.c ]
        Signed-off-by: Joe Smith <joe.smith@foo.org>

Requirements for other backports: FROMGIT:, FROMLIST:,

  • If the patch has been merged into an upstream maintainer tree, but has not yet been merged into Linux mainline
    • tag the patch subject with FROMGIT:
    • add info on where the patch came from as (cherry picked from commit <sha1> <repo> <branch>). This must be a stable maintainer branch (not rebased, so don't use linux-next for example).
    • if changes were required, use BACKPORT: FROMGIT:
    • Example:
      • if the commit message in the maintainer tree is
        important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>
  • then Joe Smith would upload the patch for the common kernel as
        FROMGIT: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        (cherry picked from commit 878a2fd9de10b03d11d2f622250285c7e63deace
         https://git.kernel.org/pub/scm/linux/kernel/git/foo/bar.git test-branch)
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        Signed-off-by: Joe Smith <joe.smith@foo.org>
  • If the patch has been submitted to LKML, but not accepted into any maintainer tree
    • tag the patch subject with FROMLIST:
    • add a Link: tag with a link to the submittal on lore.kernel.org
    • add a Bug: tag with the Android bug (required for patches not accepted into a maintainer tree)
    • if changes were required, use BACKPORT: FROMLIST:
    • Example:
        FROMLIST: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        Link: https://lore.kernel.org/lkml/20190619171517.GA17557@someone.com/
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        Signed-off-by: Joe Smith <joe.smith@foo.org>

Requirements for Android-specific patches: ANDROID:

  • If the patch is fixing a bug to Android-specific code
    • tag the patch subject with ANDROID:
    • add a Fixes: tag that cites the patch with the bug
    • Example:
        ANDROID: fix android-specific bug in foobar.c

        This is the detailed description of the important fix

        Fixes: 1234abcd2468 ("foobar: add cool feature")
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        Signed-off-by: Joe Smith <joe.smith@foo.org>
  • If the patch is a new feature
    • tag the patch subject with ANDROID:
    • add a Bug: tag with the Android bug (required for android-specific features)
Description
No description provided
Readme 7.9 GiB
Languages
C 97.7%
Assembly 1.6%
Makefile 0.3%
Perl 0.1%