Kever Yang a83ef907f0 ANDROID: GKI: Add for rockchip platform basic symbol
52 function symbol(s) added
  'int __clk_mux_determine_rate(struct clk_hw *, struct clk_rate_request *)'
  'int __genphy_config_aneg(struct phy_device *, bool)'
  'int __kfifo_to_user(struct __kfifo *, void *, unsigned long int, unsigned int *)'
  'unsigned int _bcd2bin(unsigned char)'
  'unsigned char _bin2bcd(unsigned int)'
  'void clk_bulk_put(int, struct clk_bulk_data *)'
  'struct clk_hw * clk_hw_register_composite(struct device *, const char *, const char * const *, int, struct clk_hw *, const struct clk_ops *, struct clk_hw *, const struct clk_ops *, struct clk_hw *, const struct clk_ops *, unsigned long int)'
  'struct clk * clk_register_divider_table(struct device *, const char *, const char *, unsigned long int, void *, u8, u8, u8, const struct clk_div_table *, spinlock_t *)'
  'struct clk * clk_register_mux_table(struct device *, const char *, const char * const *, u8, unsigned long int, void *, u8, u32, u8, u32 *, spinlock_t *)'
  'struct opp_table * dev_pm_opp_register_set_opp_helper(struct device *, int(*)(struct dev_pm_set_opp_data *))'
  'struct opp_table * dev_pm_opp_set_prop_name(struct device *, const char *)'
  'void dev_pm_opp_unregister_set_opp_helper(struct opp_table *)'
  'int devfreq_event_disable_edev(struct devfreq_event_dev *)'
  'int devfreq_event_enable_edev(struct devfreq_event_dev *)'
  'struct devfreq_event_dev * devfreq_event_get_edev_by_phandle(struct device *, const char *, int)'
  'int devfreq_event_get_edev_count(struct device *, const char *)'
  'int devfreq_event_get_event(struct devfreq_event_dev *, struct devfreq_event_data *)'
  'struct devfreq_event_dev * devm_devfreq_event_add_edev(struct device *, struct devfreq_event_desc *)'
  'int devm_devfreq_register_opp_notifier(struct device *, struct devfreq *)'
  'int down_write_trylock(struct rw_semaphore *)'
  'int genphy_resume(struct phy_device *)'
  'int genphy_soft_reset(struct phy_device *)'
  'int genphy_suspend(struct phy_device *)'
  's32 i2c_smbus_read_i2c_block_data(const struct i2c_client *, u8, u8, u8 *)'
  's32 i2c_smbus_write_i2c_block_data(const struct i2c_client *, u8, u8, const u8 *)'
  'struct iio_poll_func * iio_alloc_pollfunc(irqreturn_t(*)(int, void *), irqreturn_t(*)(int, void *), int, struct iio_dev *, const char *, ...)'
  'void iio_buffer_init(struct iio_buffer *)'
  'void iio_buffer_put(struct iio_buffer *)'
  'void iio_dealloc_pollfunc(struct iio_poll_func *)'
  'void iio_device_attach_buffer(struct iio_dev *, struct iio_buffer *)'
  's64 iio_get_time_ns(const struct iio_dev *)'
  'int iio_push_to_buffers(struct iio_dev *, void *)'
  'void iio_trigger_notify_done(struct iio_trigger *)'
  'int match_string(const char * const *, size_t, const char *)'
  'int mdiobus_read(struct mii_bus *, int, u32)'
  'int mdiobus_write(struct mii_bus *, int, u32, u16)'
  'unsigned int of_clk_get_parent_count(const struct device_node *)'
  'struct nvmem_cell * of_nvmem_cell_get(struct device_node *, const char *)'
  'int phy_drivers_register(struct phy_driver *, int, struct module *)'
  'void phy_drivers_unregister(struct phy_driver *, int)'
  'int pm_clk_add(struct device *, const char *)'
  'int pm_clk_add_clk(struct device *, struct clk *)'
  'int pm_clk_create(struct device *)'
  'void pm_clk_destroy(struct device *)'
  'int pm_clk_resume(struct device *)'
  'int pm_clk_suspend(struct device *)'
  'unsigned int regulator_get_linear_step(struct regulator *)'
  'int regulator_register_notifier(struct regulator *, struct notifier_block *)'
  'int regulator_unregister_notifier(struct regulator *, struct notifier_block *)'
  'int reset_controller_register(struct reset_controller_dev *)'
  'int scmi_driver_register(struct scmi_driver *, struct module *, const char *)'
  'void scmi_driver_unregister(struct scmi_driver *)'

7 variable symbol(s) added
  'const struct clk_ops clk_divider_ops'
  'const struct clk_ops clk_divider_ro_ops'
  'const struct clk_ops clk_fractional_divider_ops'
  'const struct clk_ops clk_gate_ops'
  'const struct clk_ops clk_mux_ops'
  'const struct clk_ops clk_mux_ro_ops'
  'struct workqueue_struct * system_freezable_wq'

Bug: 239396464
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I568d224fbebb463f44bf73d2dd286823286c106a
Signed-off-by: Giuliano Procida <gprocida@google.com>
2022-11-02 15:52:56 +00:00
2022-01-11 15:45:50 +01:00
2022-02-16 15:14:37 +01:00
2022-03-19 14:13:08 +01:00
2022-06-19 02:47:56 +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 script/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%